]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
powerpc: Fix adapt_count update in __lll_unlock_elision
[thirdparty/glibc.git] / ChangeLog
1 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2
3 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4 (__lll_unlock_elision): Fix adapt_count decrement.
5
6 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
7
8 * README.pretty-printers (Known issues): Warn about printers not
9 always covering everything.
10 * nptl/nptl-printers.py (MutexPrinter): Change output.
11 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
12
13 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
14
15 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
16 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
17 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
18 (__lll_lock_elision): Do not test futex before starting a
19 transaction. Use __glibc_likely instead of __builtin_expect.
20 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
21 (__lll_trylock_elision): Do not test futex before starting a
22 transaction. Use __glibc_likely instead of __builtin_expect.
23
24 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
25
26 * po/Makefile (update-translations): New target.
27
28 2017-01-19 Joseph Myers <joseph@codesourcery.com>
29
30 [BZ #21061]
31 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
32
33 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
34
35 * elf/dl-tunables (get_next_env): Always advance envp.
36 * stdlib/tst-empty-env.c: New test case.
37 * stdlib/Makefile (tests): Use it.
38
39 2017-01-19 Joseph Myers <joseph@codesourcery.com>
40
41 [BZ #21047]
42 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
43 name for instruction.
44 [!__SOFTFP__] (_FPU_SETCW): Likewise.
45
46 2017-01-18 Joseph Myers <joseph@codesourcery.com>
47
48 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
49 for make install.
50
51 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
52
53 * po/bg.po: Merge from Translation Project.
54 * po/fr.po: Likewise.
55 * po/ko.po: Likewise.
56 * po/nl.po: Likewise.
57 * po/sv.po: Likewise.
58
59 2017-01-18 Joseph Myers <joseph@codesourcery.com>
60
61 * manual/install.texi (Tools for Compilation): Update GCC version
62 known to work to build glibc.
63 * INSTALL: Regenerated.
64
65 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
66
67 [BZ #21006]
68 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
69
70 2017-01-16 Joseph Myers <joseph@codesourcery.com>
71
72 [BZ #21045]
73 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
74 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
75 to __sigprocmask.
76
77 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
78
79 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
80 wrap-around.
81 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
82
83 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
84
85 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
86
87 * NEWS: Fix typo.
88
89 2016-01-13 Torvald Riegel <triegel@redhat.com>
90
91 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
92 barriers and comments.
93 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
94 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
95 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
96
97 2016-01-13 Torvald Riegel <triegel@redhat.com>
98
99 [BZ #19402]
100 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
101 mutexes.
102
103 2016-01-13 Torvald Riegel <triegel@redhat.com>
104
105 [BZ #20985]
106 * nptl/Makefile: Adapt.
107 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
108 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
109 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
110 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
111 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
112 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
113 lll_robust* functions and adapt.
114 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
115 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
116 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
117 __lll_robust_timedlock, __lll_robust_unlock): Remove.
118 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
119 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
120 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
121 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
122 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
123 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
124 __lll_robust_timedlock, __lll_robust_unlock): Remove.
125 * nptl/lowlevelrobustlock.c: Remove file.
126 * nptl/lowlevelrobustlock.sym: Likewise.
127 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
128 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
129
130 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
131
132 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
133
134 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
135
136 * po/cs.po: Merge translations from the Translation Project.
137 * po/de.po: Likewise.
138 * po/pl.po: Likewise.
139 * po/ru.po: Likewise.
140 * po/tr.po: Likewise.
141 * po/uk.po: Likewise.
142 * po/vi.po: Likewise.
143 * po/zh_CN.po: Likewise.
144
145 2017-01-12 Joseph Myers <joseph@codesourcery.com>
146
147 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
148
149 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
150 object.
151
152 2017-01-11 Joseph Myers <joseph@codesourcery.com>
153
154 [BZ #16458]
155 * bits/uintn-identity.h: New file.
156 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
157 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
158 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
159 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
160 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
161 * string/endian.h: Include <bits/uintn-identity.h>.
162 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
163 __uint16_identity.
164 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
165 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
166 __uint32_identity.
167 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
168 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
169 __uint64_identity.
170 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
171 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
172 __uint16_identity.
173 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
174 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
175 __uint32_identity.
176 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
177 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
178 __uint64_identity.
179 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
180 * string/Makefile (headers): Add bits/uintn-identity.h.
181 (tests): Add test-endian-types.
182 * string/test-endian-types.c: New file.
183 * inet/Makefile (tests): Add test-hnto-types.
184 * inet/test-hnto-types.c: New file.
185
186 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
187
188 * po/be.po: Update from Translation Project.
189 * po/bg.po: Likewise.
190 * po/ca.po: Likewise.
191 * po/cs.po: Likewise.
192 * po/da.po: Likewise.
193 * po/de.po: Likewise.
194 * po/el.po: Likewise.
195 * po/eo.po: Likewise.
196 * po/es.po: Likewise.
197 * po/fi.po: Likewise.
198 * po/fr.po: Likewise.
199 * po/gl.po: Likewise.
200 * po/hr.po: Likewise.
201 * po/hu.po: Likewise.
202 * po/ia.po: Likewise.
203 * po/id.po: Likewise.
204 * po/it.po: Likewise.
205 * po/ja.po: Likewise.
206 * po/ko.po: Likewise.
207 * po/lt.po: Likewise.
208 * po/nb.po: Likewise.
209 * po/nl.po: Likewise.
210 * po/pl.po: Likewise.
211 * po/pt_BR.po: Likewise.
212 * po/ru.po: Likewise.
213 * po/rw.po: Likewise.
214 * po/sk.po: Likewise.
215 * po/sl.po: Likewise.
216 * po/sv.po: Likewise.
217 * po/tr.po: Likewise.
218 * po/uk.po: Likewise.
219 * po/vi.po: Likewise.
220 * po/zh_CN.po: Likewise.
221 * po/zh_TW.po: Likewise.
222
223 2017-01-11 Joseph Myers <joseph@codesourcery.com>
224
225 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
226 -Wformat-truncation instead of -Wformat-length.
227 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
228 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
229 GCC 7.
230 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
231 (do_test): Ignore -Wformat-truncation for GCC 7.
232
233 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
234 buffer used to print long int value.
235
236 * elf/sotruss-lib.c (init): Increase space allocated for pid by
237 one byte. Print it with %ld, cast to long int.
238
239 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
240
241 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
242 (re.fullmatch, subprocess.run): Likewise.
243
244 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
245
246 * po/libc.pot: Regenerate.
247
248 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
249
250 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
251 (min_strlen): Likewise.
252 (disable_tunable): Likewise.
253 (maybe_disable_malloc_check): Rename to
254 maybe_enable_malloc_check.
255 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
256 if /etc/suid-debug file exists.
257 (__tunables_init): Update caller.
258 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
259 secure.
260
261 2016-01-10 Torvald Riegel <triegel@redhat.com>
262
263 * nptl/DESIGN-rwlock.txt: Remove.
264 * nptl/lowlevelrwlock.sym: Remove.
265 * nptl/Makefile: Add new tests.
266 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
267 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
268 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
269 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
270 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
271 PTHREAD_RWLOCK_FUTEX_USED): New.
272 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
273 implementation.
274 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
275 (__pthread_rwlock_rdlock): Adapt.
276 * nptl/pthread_rwlock_timedrdlock.c
277 (pthread_rwlock_timedrdlock): Adapt.
278 * nptl/pthread_rwlock_timedwrlock.c
279 (pthread_rwlock_timedwrlock): Adapt.
280 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
281 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
282 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
283 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
284 (__pthread_rwlock_wrlock): Adapt.
285 * nptl/tst-rwlock10.c: Adapt.
286 * nptl/tst-rwlock11.c: Adapt.
287 * nptl/tst-rwlock17.c: New file.
288 * nptl/tst-rwlock18.c: New file.
289 * nptl/tst-rwlock19.c: New file.
290 * nptl/tst-rwlock2b.c: New file.
291 * nptl/tst-rwlock8.c: Adapt.
292 * nptl/tst-rwlock9.c: Adapt.
293 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
294 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
295 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
296 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
297 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
298 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
299 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
300 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
301 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
302 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
303 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
304 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
305 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
306 (pthread_rwlock_t): Adapt.
307 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
308 (pthread_rwlock_t): Adapt.
309 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
310 * nptl/nptl-printers.py (): Adapt.
311 * nptl/nptl_lock_constants.pysym: Adapt.
312 * nptl/test-rwlock-printers.py: Adapt.
313 * nptl/test-rwlockattr-printers.c: Adapt.
314 * nptl/test-rwlockattr-printers.py: Adapt.
315
316 2017-01-10 Joseph Myers <joseph@codesourcery.com>
317
318 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
319 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
320 (fma_test_data): Likewise.
321 (hypot_test_data): Likewise.
322 (log1p_test_data): Likewise.
323 (modf_test_data): Likewise.
324 (pow_test_data): Likewise.
325 (remainder_test_data): Likewise.
326 (remquo_test_data): Likewise.
327 (scalb_test_data): Likewise.
328 (scalbn_test_data): Likewise.
329 (scalbln_test_data): Likewise.
330 * math/gen-libm-test.pl (parse_args): Transform
331 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
332 on the rounding mode.
333
334 2017-01-09 Joseph Myers <joseph@codesourcery.com>
335
336 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
337 xfail-rounding:ibm128-libgcc automatically to tests overflowing
338 and those that can underflow to zero.
339 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
340 add others.
341 * math/auto-libm-test-out: Regenerated.
342
343 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
344 supported.
345 (feholdexcept_tests): Skip tests requiring exceptions or rounding
346 modes support if not supported.
347
348 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
349 Add libc.so PLT entry.
350 (__tls_get_addr): Make ld.so PLT entry optional.
351
352 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
353
354 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
355 * string/bits/string3.h: ... here.
356
357 2017-01-05 Joseph Myers <joseph@codesourcery.com>
358
359 [BZ #21028]
360 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
361 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
362 if EXCEPTION_TESTS returns false.
363
364 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
365
366 [BZ #20558]
367 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
368 strings_fortified.h.
369 [__USE_MISC] (bzero): Likewise.
370 [__USE_MISC] (explicit_bzero): Likewise.
371 * string/strings.h: Include strings_fortified.h.
372 * string/Makefile (headers): Add strings_fortified.h.
373 * string/bits/strings_fortified.h: New file.
374 * include/bits/strings_fortified.h: Likewise.
375
376 2017-01-05 Joseph Myers <joseph@codesourcery.com>
377
378 * elf/tst-tls13.c (TIMEOUT): Remove.
379 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
380 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
381 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
382 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
383 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
384
385 [BZ #21026]
386 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
387 (readahead): New syscall entry.
388
389 2017-01-04 Joseph Myers <joseph@codesourcery.com>
390
391 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
392 around tests of strncat with large sizes.
393
394 * malloc/tst-malloc.c: Include <libc-internal.h>.
395 (do_test): Disable -Walloc-size-larger-than= around tests of
396 malloc with negative sizes.
397 * malloc/tst-mcheck.c: Include <libc-internal.h>.
398 (do_test): Disable -Walloc-size-larger-than= around tests of
399 malloc and realloc with negative sizes.
400 * malloc/tst-realloc.c: Include <libc-internal.h>.
401 (do_test): Disable -Walloc-size-larger-than= around tests of
402 realloc with negative sizes.
403
404 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
405 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
406 allowed to 16 ulps.
407 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
408 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
409 * math/auto-libm-test-out: Regenerated.
410
411 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
412
413 * math/Makefile (libm-calls): Move wrappers...
414 (libm-compat-call-auto): Here.
415 (libm-routines): Add items in libm-compat-calls-auto.
416 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
417 the filenames of the wrappers that have been renamed.
418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
420
421 * math/w_acos.c: Add _compat suffix to filename.
422 * math/w_acosf.c: Likewise.
423 * math/w_acosh.c: Likewise.
424 * math/w_acoshf.c: Likewise.
425 * math/w_acoshl.c: Likewise.
426 * math/w_acosl.c: Likewise.
427 * math/w_asin.c: Likewise.
428 * math/w_asinf.c: Likewise.
429 * math/w_asinl.c: Likewise.
430 * math/w_atan2.c: Likewise.
431 * math/w_atan2f.c: Likewise.
432 * math/w_atan2l.c: Likewise.
433 * math/w_atanh.c: Likewise.
434 * math/w_atanhf.c: Likewise.
435 * math/w_atanhl.c: Likewise.
436 * math/w_cosh.c: Likewise.
437 * math/w_coshf.c: Likewise.
438 * math/w_coshl.c: Likewise.
439 * math/w_exp10.c: Likewise.
440 * math/w_exp10f.c: Likewise.
441 * math/w_exp10l.c: Likewise.
442 * math/w_exp2.c: Likewise.
443 * math/w_exp2f.c: Likewise.
444 * math/w_exp2l.c: Likewise.
445 * math/w_fmod.c: Likewise.
446 * math/w_fmodf.c: Likewise.
447 * math/w_fmodl.c: Likewise.
448 * math/w_hypot.c: Likewise.
449 * math/w_hypotf.c: Likewise.
450 * math/w_hypotl.c: Likewise.
451 * math/w_j0.c: Likewise.
452 * math/w_j0f.c: Likewise.
453 * math/w_j0l.c: Likewise.
454 * math/w_j1.c: Likewise.
455 * math/w_j1f.c: Likewise.
456 * math/w_j1l.c: Likewise.
457 * math/w_jn.c: Likewise.
458 * math/w_jnf.c: Likewise.
459 * math/w_jnl.c: Likewise.
460 * math/w_log10.c: Likewise.
461 * math/w_log10f.c: Likewise.
462 * math/w_log10l.c: Likewise.
463 * math/w_log2.c: Likewise.
464 * math/w_log2f.c: Likewise.
465 * math/w_log2l.c: Likewise.
466 * math/w_log.c: Likewise.
467 * math/w_logf.c: Likewise.
468 * math/w_logl.c: Likewise.
469 * math/w_pow.c: Likewise.
470 * math/w_powf.c: Likewise.
471 * math/w_powl.c: Likewise.
472 * math/w_remainder.c: Likewise.
473 * math/w_remainderf.c: Likewise.
474 * math/w_remainderl.c: Likewise.
475 * math/w_scalb.c: Likewise.
476 * math/w_scalbf.c: Likewise.
477 * math/w_scalbl.c: Likewise.
478 * math/w_sinh.c: Likewise.
479 * math/w_sinhf.c: Likewise.
480 * math/w_sinhl.c: Likewise.
481 * math/w_sqrt.c: Likewise.
482 * math/w_sqrtf.c: Likewise.
483 * math/w_sqrtl.c: Likewise.
484 * math/w_tgamma.c: Likewise.
485 * math/w_tgammaf.c: Likewise.
486 * math/w_tgammal.c: Likewise.
487
488 * math/w_acos_compat.c: New file copied from above and
489 adjusted for new #includes path
490 * math/w_acosf_compat.c: Likewise.
491 * math/w_acosh_compat.c: Likewise.
492 * math/w_acoshf_compat.c: Likewise.
493 * math/w_acoshl_compat.c: Likewise.
494 * math/w_acosl_compat.c: Likewise.
495 * math/w_asin_compat.c: Likewise.
496 * math/w_asinf_compat.c: Likewise.
497 * math/w_asinl_compat.c: Likewise.
498 * math/w_atan2_compat.c: Likewise.
499 * math/w_atan2f_compat.c: Likewise.
500 * math/w_atan2l_compat.c: Likewise.
501 * math/w_atanh_compat.c: Likewise.
502 * math/w_atanhf_compat.c: Likewise.
503 * math/w_atanhl_compat.c: Likewise.
504 * math/w_cosh_compat.c: Likewise.
505 * math/w_coshf_compat.c: Likewise.
506 * math/w_coshl_compat.c: Likewise.
507 * math/w_exp10_compat.c: Likewise.
508 * math/w_exp10f_compat.c: Likewise.
509 * math/w_exp10l_compat.c: Likewise.
510 * math/w_exp2_compat.c: Likewise.
511 * math/w_exp2f_compat.c: Likewise.
512 * math/w_exp2l_compat.c: Likewise.
513 * math/w_fmod_compat.c: Likewise.
514 * math/w_fmodf_compat.c: Likewise.
515 * math/w_fmodl_compat.c: Likewise.
516 * math/w_hypot_compat.c: Likewise.
517 * math/w_hypotf_compat.c: Likewise.
518 * math/w_hypotl_compat.c: Likewise.
519 * math/w_j0_compat.c: Likewise.
520 * math/w_j0f_compat.c: Likewise.
521 * math/w_j0l_compat.c: Likewise.
522 * math/w_j1_compat.c: Likewise.
523 * math/w_j1f_compat.c: Likewise.
524 * math/w_j1l_compat.c: Likewise.
525 * math/w_jn_compat.c: Likewise.
526 * math/w_jnf_compat.c: Likewise.
527 * math/w_jnl_compat.c: Likewise.
528 * math/w_log10_compat.c: Likewise.
529 * math/w_log10f_compat.c: Likewise.
530 * math/w_log10l_compat.c: Likewise.
531 * math/w_log2_compat.c: Likewise.
532 * math/w_log2f_compat.c: Likewise.
533 * math/w_log2l_compat.c: Likewise.
534 * math/w_log_compat.c: Likewise.
535 * math/w_logf_compat.c: Likewise.
536 * math/w_logl_compat.c: Likewise.
537 * math/w_pow_compat.c: Likewise.
538 * math/w_powf_compat.c: Likewise.
539 * math/w_powl_compat.c: Likewise.
540 * math/w_remainder_compat.c: Likewise.
541 * math/w_remainderf_compat.c: Likewise.
542 * math/w_remainderl_compat.c: Likewise.
543 * math/w_scalb_compat.c: Likewise.
544 * math/w_scalbf_compat.c: Likewise.
545 * math/w_scalbl_compat.c: Likewise.
546 * math/w_sinh_compat.c: Likewise.
547 * math/w_sinhf_compat.c: Likewise.
548 * math/w_sinhl_compat.c: Likewise.
549 * math/w_sqrt_compat.c: Likewise.
550 * math/w_sqrtf_compat.c: Likewise.
551 * math/w_sqrtl_compat.c: Likewise.
552 * math/w_tgamma_compat.c: Likewise.
553 * math/w_tgammaf_compat.c: Likewise.
554 * math/w_tgammal_compat.c: Likewise.
555
556 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
557 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
558 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
559 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
560 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
561 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
562 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
563 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
564 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
565 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
566 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
567 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
568 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
569 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
570 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
571 * sysdeps/ia64/fpu/w_powl.c: Likewise.
572 * sysdeps/ia64/fpu/w_powf.c: Likewise.
573 * sysdeps/ia64/fpu/w_pow.c: Likewise.
574 * sysdeps/ia64/fpu/w_logl.c: Likewise.
575 * sysdeps/ia64/fpu/w_logf.c: Likewise.
576 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
577 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
578 * sysdeps/ia64/fpu/w_log2.c: Likewise.
579 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
580 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
581 * sysdeps/ia64/fpu/w_log10.c: Likewise.
582 * sysdeps/ia64/fpu/w_log.c: Likewise.
583 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
584 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
585 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
586 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
587 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
588 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
589 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
590 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
591 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
592 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
593 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
594 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
595 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
596 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
597 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
598 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
599 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
600 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
601 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
602 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
603 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
604 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
605 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
606 * sysdeps/ia64/fpu/w_asin.c: Likewise.
607 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
608 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
609 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
610 * sysdeps/ia64/fpu/w_acos.c: Likewise.
611 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
612 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
613 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
614 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
615 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
616 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
617 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
618 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
619 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
620 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
621 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
622 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
623 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
624 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
625 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
626 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
627 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
628 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
629 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
630 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
631 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
632 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
633 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
634 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
635 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
636 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
637 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
638 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
639 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
640 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
641 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
642 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
643 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
644 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
645 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
646 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
647 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
648 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
649 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
650 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
651 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
652 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
653 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
654 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
655 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
657 Likewise.
658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
659 Likewise.
660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
662 Likewise.
663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
664 Likewise.
665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
666 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
667 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
668 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
669 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
670 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
671 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
676 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
677 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
678 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
679 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
680
681 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
682 and adjusted for new #includes path
683 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
684 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
685 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
686 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
687 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
688 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
689 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
690 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
691 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
692 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
693 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
694 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
695 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
696 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
697 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
698 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
699 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
700 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
701 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
702 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
703 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
704 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
705 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
706 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
707 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
708 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
709 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
710 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
711 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
712 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
713 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
714 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
715 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
716 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
717 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
718 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
719 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
720 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
721 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
722 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
723 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
724 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
725 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
726 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
727 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
728 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
729 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
730 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
731 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
732 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
733 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
734 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
735 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
736 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
737 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
738 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
739 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
740 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
741 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
742 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
743 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
744 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
745 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
746 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
747 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
748 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
749 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
750 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
751 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
752 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
753 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
754 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
755 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
756 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
757 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
758 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
759 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
760 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
761 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
762 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
763 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
764 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
765 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
766 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
767 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
768 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
769 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
770 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
771 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
772 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
773 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
774 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
775 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
776 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
777 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
778 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
779 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
780 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
781 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
783 Likewise.
784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
785 Likewise.
786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
787 Likewise.
788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
789 Likewise.
790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
791 Likewise.
792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
793 Likewise.
794 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
795 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
796 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
797 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
798 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
799 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
801 Likewise.
802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
803 Likewise.
804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
805 Likewise.
806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
807 Likewise.
808 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
809 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
810 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
811 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
812
813 2017-01-04 Joseph Myers <joseph@codesourcery.com>
814
815 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
816 __jmp_buf_internal_tag.
817
818 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
819 preserve NaN payload if [__mips_nan2008].
820 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
821
822 [BZ #21022]
823 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
824
825 2017-01-03 Joseph Myers <joseph@codesourcery.com>
826
827 * sysdeps/i386/fpu/libm-test-ulps: Update.
828
829 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
830
831 * sysdeps/ia64/strcat.c: Remove file.
832 * sysdeps/powerpc/strcat.c: Likewise.
833 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
834 C implementation.
835 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
836 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
837
838 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
839 Steven Munroe <sjmunroe@us.ibm.com>
840 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
841
842 [BZ #20822]
843 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
844 (__lll_lock_elision): Access adapt_count via C11 atomics.
845 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
846 (__lll_trylock_elision): Likewise.
847 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
848 (__lll_unlock_elision): Update adapt_count variable inside the
849 critical section using C11 atomics.
850
851 2017-01-03 Joseph Myers <joseph@codesourcery.com>
852
853 * math/test-fenvinline.c (do_test): Disable tests of raised
854 exceptions if !EXCEPTION_TESTS (FLOAT).
855
856 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
857
858 [BZ #19390]
859 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
860 maximum string size.
861 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
862 in pointer addition.
863 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
864 Likewise.
865
866 2017-01-03 Joseph Myers <joseph@codesourcery.com>
867
868 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
869 passed to tst-ldconfig-X.sh.
870
871 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
872
873 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
874
875 2017-01-02 Joseph Myers <joseph@codesourcery.com>
876
877 [BZ #21019]
878 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
879 New syscall entry.
880 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
881 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
882 lseek.
883
884 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
885 power4 glibc for powerpc-linux-gnu.
886
887 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
888
889 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
890 semctl.
891
892 2017-01-02 Joseph Myers <joseph@codesourcery.com>
893
894 * math/test-nearbyint-except.c: Include <stdbool.h>.
895 (any_supported): New variable.
896 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
897 set any_supported.
898 (do_test): Return 77 if no floating-point type supported
899 exceptions.
900
901 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
902 condition on [__mips_hard_float].
903
904 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
905
906 [BZ #21014]
907 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
908 in pointer addition.
909 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
910
911 2017-01-02 Torvald Riegel <triegel@redhat.com>
912
913 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
914 new condvar.
915
916 2017-01-02 Joseph Myers <joseph@codesourcery.com>
917
918 * scripts/build-many-glibcs.py (Context.checkout): Default
919 binutils version to 2.28 branch.
920
921 2017-01-01 Florian Weimer <fweimer@redhat.com>
922
923 * support/support_format_netent.c (support_format_netent): Work
924 around alpha struct netent definition difference.
925
926 2017-01-01 Florian Weimer <fweimer@redhat.com>
927
928 * support/xwrite.c (xwrite): Use %td for pointer difference.
929
930 2017-01-01 Florian Weimer <fweimer@redhat.com>
931
932 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
933 have-tunables only.
934 (tests-static): Add tst-malloc-usable-static-tunables for
935 have-tunables only.
936
937 2017-01-01 Joseph Myers <joseph@codesourcery.com>
938
939 * scripts/config.guess: Update to version 2017-01-01.
940 * scripts/config.sub: Update to version 2017-01-01.
941
942 * NEWS: Update copyright dates.
943 * catgets/gencat.c (print_version): Likewise.
944 * csu/version.c (banner): Likewise.
945 * debug/catchsegv.sh: Likewise.
946 * debug/pcprofiledump.c (print_version): Likewise.
947 * debug/xtrace.sh (do_version): Likewise.
948 * elf/ldconfig.c (print_version): Likewise.
949 * elf/ldd.bash.in: Likewise.
950 * elf/pldd.c (print_version): Likewise.
951 * elf/sotruss.sh: Likewise.
952 * elf/sprof.c (print_version): Likewise.
953 * iconv/iconv_prog.c (print_version): Likewise.
954 * iconv/iconvconfig.c (print_version): Likewise.
955 * locale/programs/locale.c (print_version): Likewise.
956 * locale/programs/localedef.c (print_version): Likewise.
957 * login/programs/pt_chown.c (print_version): Likewise.
958 * malloc/memusage.sh (do_version): Likewise.
959 * malloc/memusagestat.c (print_version): Likewise.
960 * malloc/mtrace.pl: Likewise.
961 * manual/libc.texinfo: Likewise.
962 * nptl/version.c (banner): Likewise.
963 * nscd/nscd.c (print_version): Likewise.
964 * nss/getent.c (print_version): Likewise.
965 * nss/makedb.c (print_version): Likewise.
966 * posix/getconf.c (main): Likewise.
967 * scripts/test-installation.pl: Likewise.
968 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
969
970 * All files with FSF copyright notices: Update copyright dates
971 using scripts/update-copyrights.
972 * intl/plural.c: Regenerated.
973 * locale/programs/charmap-kw.h: Likewise.
974 * locale/programs/locfile-kw.h: Likewise.
975
976 2016-12-31 Florian Weimer <fweimer@redhat.com>
977
978 [BZ #20593]
979 Update DNS RR type definitions.
980 * scripts/gen-rrtypes.py: New file.
981 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
982 BIND-internal RR type not used on the Internet. Add ns_t_ds,
983 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
984 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
985 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
986 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
987 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
988 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
989 ns_t_ta, ns_t_dlv.
990 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
991 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
992 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
993 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
994 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
995 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
996 Define.
997 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
998 entry for ns_t_zxfr.
999
1000 2016-12-31 Florian Weimer <fweimer@redhat.com>
1001
1002 [BZ #18784]
1003 CVE-2015-5180
1004 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
1005 T_UNSPEC. Adjust value.
1006 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
1007 * resolv/res_query.c (__libc_res_nquery): Likewise.
1008 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
1009 QTYPEs.
1010 * resolv/tst-resolv-qtypes.c: New file.
1011 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
1012 (tst-resolv-qtypes): Link against libresolv and libpthread.
1013
1014 2016-12-31 Florian Weimer <fweimer@redhat.com>
1015
1016 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
1017
1018 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1019
1020 * manual/tunables.texi: New chapter.
1021 * manual/Makefile (chapters): Add it.
1022 * manual/probes.texi (@node): Point to the Tunables chapter.
1023
1024 * Makeconfig (have-tunables): Check for non-negative instead
1025 of positive.
1026 * configure.ac: Add 'valstring' as a valid value for
1027 --enable-tunables.
1028 * configure: Regenerate.
1029 * elf/Makefile (have-tunables): Check for non-negative instead
1030 of positive.
1031 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
1032 dl-tunables.c.
1033 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
1034 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
1035 (tunables_strdup): Likewise.
1036 (disable_tunables): Likewise.
1037 (parse_tunables): Likewise.
1038 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
1039 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
1040 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
1041 (TUNABLES_FRONTEND_yes): New macro, define as
1042 TUNABLES_FRONTEND_valstring by default.
1043 * manual/install.texi: Document new acceptable values for
1044 --enable-tunables.
1045 * INSTALL: Regenerate.
1046
1047 * config.make.in (have-loop-to-function): Define.
1048 * elf/Makefile (CFLAGS-dl-tunables.c): Add
1049 -fno-tree-loop-distribute-patterns.
1050 * elf/dl-tunables.c: Include libc-internals.h.
1051 (GLIBC_TUNABLES): New macro.
1052 (tunables_strdup): New function.
1053 (parse_tunables): New function.
1054 (min_strlen): New function.
1055 (__tunables_init): Use the new functions and macro.
1056 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
1057 * malloc/tst-malloc-usable-tunables.c: New test case.
1058 * malloc/tst-malloc-usable-static-tunables.c: New test case.
1059 * malloc/Makefile (tests, tests-static): Add tests.
1060
1061 * manual/install.texi: Add --enable-tunables option.
1062 * INSTALL: Regenerate.
1063 * README.tunables: New file.
1064 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
1065 (before-compile): Generate dl-tunable-list.h early.
1066 * config.h.in: Add HAVE_TUNABLES.
1067 * config.make.in: Add have-tunables.
1068 * configure.ac: Add --enable-tunables option.
1069 * configure: Regenerate.
1070 * csu/init-first.c (__libc_init_first): Move
1071 __libc_init_secure earlier...
1072 * csu/init-first.c (LIBC_START_MAIN):... to here.
1073 Include dl-tunables.h, libc-internal.h.
1074 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
1075 binaries.
1076 * elf/Makefile (dl-routines): Add dl-tunables.
1077 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
1078 namespace.
1079 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
1080 only when !HAVE_TUNABLES.
1081 * elf/rtld.c (process_envvars): Likewise.
1082 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
1083 (_dl_sysdep_start): Call __tunables_init.
1084 * elf/dl-tunable-types.h: New file.
1085 * elf/dl-tunables.c: New file.
1086 * elf/dl-tunables.h: New file.
1087 * elf/dl-tunables.list: New file.
1088 * malloc/tst-malloc-usable-static.c: New test case.
1089 * malloc/Makefile (tests-static): Add it.
1090 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
1091 Define TUNABLE_NAMESPACE.
1092 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
1093 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
1094 callback functions.
1095 (ptmalloc_init): Set tunable values.
1096 * scripts/gen-tunables.awk: New file.
1097 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
1098 (_dl_sysdep_start): Call __tunables_init.
1099
1100 2016-12-31 Florian Weimer <fweimer@redhat.com>
1101
1102 * resolv/resolv.h (RES_BLAST): Deprecate.
1103 * resolv/res_debug.c (p_option): Remove RES_BLAST.
1104 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
1105 to RES_BLAST.
1106
1107 2016-12-27 Florian Weimer <fweimer@redhat.com>
1108
1109 [BZ #19582]
1110 Deprecate RES_USE_INET6.
1111 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
1112 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
1113 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
1114 RES_USE_INET6.
1115 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
1116 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
1117 (_nss_nisplus_gethostbyaddr_r): Likewise.
1118 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
1119 of res_use_inet6.
1120 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
1121 instead of RES_USE_INET6.
1122 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
1123 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
1124 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
1125 Likewise.
1126 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
1127 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
1128 Likewise.
1129 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
1130 (_nss_dns_gethostbyname_r): Likewise.
1131 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
1132 alternate RES_USE_INET6 handling.
1133 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
1134 instead of RES_USE_INET6.
1135 * resolv/res_init.c (res_setoptions): Likewise.
1136 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
1137 * resolv/resolv-internal.h: New file.
1138 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
1139 make the deprecation warning non-fatal.
1140 * resolv/README (Using the resolver in multi-threaded code): Drop
1141 reference to RES_USE_INET6.
1142 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
1143 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
1144
1145 2016-12-31 Florian Weimer <fweimer@redhat.com>
1146
1147 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
1148 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
1149 tst-resolv-search.
1150 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
1151 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
1152 with libresolv and libpthread.
1153 * resolv/tst-bug18665.c: New file.
1154 * resolv/tst-bug18665-tcp: Likewise.
1155 * resolv/tst-res_use_inet6: Likewise.
1156 * resolv/tst-resolv-basic: Likewise.
1157 * resolv/tst-resolv-network: Likewise.
1158 * resolv/tst-resolv-search: Likewise.
1159 * support/Makefile (libsupport-routines): Add check_addrinfo,
1160 check_dns_packet, check_hostent, check_netent, resolv_test,
1161 support_format_address_family, support_format_addrinfo,
1162 support_format_dns_packet, support_format_herrno,
1163 support_format_hostent, support_format_netent, support_run_diff,
1164 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
1165 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
1166 xstrdup, xwrite.
1167 * support/check_addrinfo.c: New file.
1168 * support/check_dns_packet.c: Likewise.
1169 * support/check_hostent.c: Likewise.
1170 * support/check_netent.c: Likewise.
1171 * support/check_nss.h: Likewise.
1172 * support/format_nss.h: Likewise.
1173 * support/resolv_test.c: Likewise.
1174 * support/resolv_test.h: Likewise.
1175 * support/run_diff.h: Likewise.
1176 * support/support_format_address_family.c: Likewise.
1177 * support/support_format_addrinfo.c: Likewise.
1178 * support/support_format_dns_packet.c: Likewise.
1179 * support/support_format_herrno.c: Likewise.
1180 * support/support_format_hostent.c: Likewise.
1181 * support/support_format_netent.c: Likewise.
1182 * support/support_run_diff.c: Likewise.
1183 * support/xaccept.c: Likewise.
1184 * support/xbind.c: Likewise.
1185 * support/xconnect.c: Likewise.
1186 * support/xfclose.c: Likewise.
1187 * support/xfopen.c: Likewise.
1188 * support/xgetsockname.c: Likewise.
1189 * support/xlisten.c: Likewise.
1190 * support/xmemstream.c: Likewise.
1191 * support/xmemstream.h: Likewise.
1192 * support/xpoll.c: Likewise.
1193 * support/xpthread_once.c: Likewise.
1194 * support/xrecvfrom.c: Likewise.
1195 * support/xsendto.c: Likewise.
1196 * support/xsetsockopt.c: Likewise.
1197 * support/xstdio.h: Likewise.
1198 * support/xstrdup.c: Likewise.
1199 * support/support.h (xstrdup): Declare.
1200 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
1201 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
1202 * support/xthread.h (xpthread_once): Likwise.
1203 * support/xunistd.h (xwrite): Declare.
1204
1205 2016-12-31 Florian Weimer <fweimer@redhat.com>
1206
1207 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
1208 (test_verbose): Declare.
1209 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
1210 * support/support_test_main.c (default_options): Likewise.
1211 (usage, support_test_main): Handle 'v'.
1212 (test_verbose): Define.
1213 * support/tst-support_record_failure.c (do_test): Use
1214 test_verbose.
1215 * support/tst-support_record_failure-2.sh (different_status): Add
1216 --verbose test.
1217
1218 2016-12-31 Florian Weimer <fweimer@redhat.com>
1219
1220 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
1221 test failures are recorded.
1222 * support/check.c (support_print_failure_impl): Call
1223 support_record_failure.
1224 (support_exit_failure_impl): Call support_record_failure if status
1225 indicates failure.
1226 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
1227 * support/xasprintf.c (xasprintf): Likewise.
1228 * support/xfork.c (xfork): Likewise.
1229 * support/xpthread_check_return.c (xpthread_check_return):
1230 Likewise.
1231 * support/xsocket.c (xsocket): Likeweise.
1232 * support/xwaitpid.c (xwaitpid): Likewise.
1233 * support/support_record_failure.c (struct test_failures): Adjust
1234 to coding style.
1235 * support/support_test_verify_impl.c (support_test_verify_impl):
1236 Adjust error messages.
1237 * support/tst-support_record_failure-2.sh (different_status):
1238 Adjust error messages.
1239
1240 2016-12-31 Florian Weimer <fweimer@redhat.com>
1241
1242 * support/namespace.h: New file.
1243 * support/support_become_root.c: Likewise.
1244 * support/support_enter_network_namespace.c: Likewise.
1245 * support/tst-support-namespace.c: Likewise.
1246 * support/xsocket.c: Likewise.
1247 * support/xsocket.h: Likewise.
1248 * support/Makefile (libsupport-routines): Add support_become_root,
1249 support_enter_network_namespace, xsocket.
1250 (tests): Add tst-support-namespace.
1251
1252 2016-12-31 Florian Weimer <fweimer@redhat.com>
1253
1254 [BZ #17252]
1255 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
1256 __USE_GNU.
1257
1258 2016-12-31 Torvald Riegel <triegel@redhat.com>
1259
1260 [BZ #13165]
1261 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
1262 use new algorithm.
1263 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1264 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1265 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1266 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1267 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
1268 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
1269 __condvar_cleanup_waiting, __condvar_dec_grefs,
1270 __pthread_cond_wait_common): New.
1271 (__condvar_cleanup): Remove.
1272 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
1273 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
1274 Likewise.
1275 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
1276 Likewise.
1277 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
1278 * nptl/tst-cond1.c: Add comment.
1279 * nptl/tst-cond20.c (do_test): Adapt.
1280 * nptl/tst-cond22.c (do_test): Likewise.
1281 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
1282 structure.
1283 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1284 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1285 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1286 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
1287 Likewise.
1288 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1289 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1290 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1291 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1292 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1293 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
1294 Likewise.
1295 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
1296 Likewise.
1297 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1298 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
1299 (COND_CLOCK_BITS): Adapt.
1300 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
1301 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
1302 __PTHREAD_COND_SHARED_MASK): New.
1303 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
1304 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
1305 * nptl/nptl_lock_constants.pysym: Adapt.
1306 * nptl/test-cond-printers.py: Adapt.
1307 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
1308 cond_compat_check_and_clear): Adapt.
1309 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
1310 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
1311 (__pthread_cond_timedwait): ... and move here.
1312 * nptl/DESIGN-condvar.txt: Remove file.
1313 * nptl/lowlevelcond.sym: Likewise.
1314 * nptl/pthread_cond_timedwait.c: Likewise.
1315 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
1316 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
1317 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
1318 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
1319 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
1320 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
1321 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
1322 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
1323 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
1324 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
1325 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
1326 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
1327 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
1328 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
1329 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
1330 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
1331
1332 2016-12-31 Joseph Myers <joseph@codesourcery.com>
1333
1334 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1335 (fromfp): New declaration.
1336 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1337 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1338 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1339 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
1340 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
1341 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1342 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1343 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1344 * math/math.h: Include <bits/types.h>.
1345 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
1346 constant and macro.
1347 (FP_INT_DOWNWARD): Likewise.
1348 (FP_INT_TOWARDZERO): Likewise.
1349 (FP_INT_TONEARESTFROMZERO): Likewise.
1350 (FP_INT_TONEAREST): Likewise.
1351 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
1352 (fromfpf): Likewise.
1353 (fromfpl): Likewise.
1354 (ufromfp): Likewise.
1355 (ufromfpf): Likewise.
1356 (ufromfpl): Likewise.
1357 (fromfpx): Likewise.
1358 (fromfpxf): Likewise.
1359 (fromfpxl): Likewise.
1360 (ufromfpx): Likewise.
1361 (ufromfpxf): Likewise.
1362 (ufromfpxl): Likewise.
1363 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
1364 s_fromfpxF and s_ufromfpxF.
1365 * math/gen-fromfp-tests.py: New file.
1366 * math/gen-fromfp-tests-inputs: Likewise.
1367 * math/libm-test.inc: Include <stdint.h>
1368 (check_intmax_t): New function.
1369 (check_uintmax_t): Likewise.
1370 (struct test_fiu_M_data): New type.
1371 (struct test_fiu_U_data): Likewise.
1372 (RUN_TEST_fiu_M): New macro.
1373 (RUN_TEST_LOOP_fiu_M): Likewise.
1374 (RUN_TEST_fiu_U): Likewise.
1375 (RUN_TEST_LOOP_fiu_U): Likewise.
1376 (fromfp_test_data): New array.
1377 (fromfp_test): New function.
1378 (fromfpx_test_data): New array.
1379 (fromfpx_test): New function.
1380 (ufromfp_test_data): New array.
1381 (ufromfp_test): New function.
1382 (ufromfpx_test_data): New array.
1383 (ufromfpx_test): New function.
1384 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
1385 ufromfpx_test.
1386 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
1387 characters.
1388 * math/test-tgmath-ret.c: Include <stdint.h>.
1389 (rm): New variable.
1390 (width): Likewise.
1391 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
1392 called function.
1393 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
1394 CHECK_RET_CONST_TYPE.
1395 (CHECK_RET_CONST_DOUBLE): Likewise.
1396 (CHECK_RET_CONST_LDOUBLE): Likewise.
1397 (CHECK_RET_CONST): Take extra arguments and pass them to calls
1398 macros.
1399 (fromfp): New CHECK_RET_CONST call.
1400 (ufromfp): Likewise.
1401 (fromfpx): Likewise.
1402 (ufromfpx): Likewise.
1403 (do_test): Call check_return_fromfp, check_return_ufromfp,
1404 check_return_fromfpx and check_return_ufromfpx.
1405 * math/test-tgmath.c: Include <stdint.h>
1406 (NCALLS): Increase to 138.
1407 (F(compile_test)): Initialize i. Call fromfp functions.
1408 (F(fromfp)): New function.
1409 (F(fromfpx)): Likewise.
1410 (F(ufromfp)): Likewise.
1411 (F(ufromfpx)): Likewise.
1412 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
1413 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
1414 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
1415 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
1416 ufromfpxl.
1417 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
1418 ufromfp and ufromfpx.
1419 * math/fromfp.h: New file.
1420 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
1421 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
1422 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
1423 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
1424 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
1425 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
1426 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
1427 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
1428 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
1429 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
1430 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
1431 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
1432 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
1433 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
1434 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
1435 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
1436 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
1437 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
1438 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
1439 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
1440 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
1441 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
1442 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
1443 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
1444 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
1445 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
1446 ufromfp, fromfpx and ufromfpx.
1447 (CFLAGS-nldbl-fromfp.c): New variable.
1448 (CFLAGS-nldbl-fromfpx.c): Likewise.
1449 (CFLAGS-nldbl-ufromfp.c): Likewise.
1450 (CFLAGS-nldbl-ufromfpx.c): Likewise.
1451 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
1452 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
1453 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
1454 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
1455 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
1456 * sysdeps/nacl/libm.abilist: Update.
1457 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1458 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1459 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1460 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1461 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1462 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1463 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1464 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1465 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1466 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1467 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1468 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1470 Likewise.
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1472 Likewise.
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1474 Likewise.
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1476 Likewise.
1477 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1478 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1479 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1480 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1481 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1483 Likewise.
1484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1485 Likewise.
1486 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1487 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1488 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1489
1490 2016-12-30 Florian Weimer <fweimer@redhat.com>
1491
1492 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
1493 compat-gethnamaddr.
1494 (CPPFLAGS): Remove.
1495 * resolv/gethnamaddr.c: Rename ...
1496 * resolv/compat-gethnamaddr.c: ... to this file.
1497 (_endhtent): Make static.
1498 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
1499 symbol.
1500 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
1501 compat symbol.
1502 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
1503 symbol.
1504 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
1505 Turn into compat symbol.
1506 * include/resolv.h (_endhtent): Remove declaration.
1507
1508 2016-12-30 Joseph Myers <joseph@codesourcery.com>
1509
1510 * bits/types.h (__intmax_t): New typedef.
1511 (__uintmax_t): Likewise.
1512 * sysdeps/generic/stdint.h: Include <bits/types.h>.
1513 (intmax_t): Define using __intmax_t.
1514 (uintmax_t): Define using __uintmax_t.
1515
1516 * support/Makefile (tests-special): Make definition conditional on
1517 [$(run-built-tests) = yes].
1518 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
1519 on [$(run-built-tests) = yes].
1520
1521 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
1522
1523 * Rules (tests): Add tests-printers-programs to tests to be
1524 built.
1525
1526 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1527
1528 * sysvipc/Makefile (tests): Add test-sysvshm.
1529 * sysvipc/test-sysvshm.c: New file.
1530
1531 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
1532 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
1533 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
1534 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
1535 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
1536 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
1537 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
1538 Likewise.
1539 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
1540 Likewise.
1541 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
1542 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
1543 is defined.
1544
1545 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
1546 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
1547 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
1548 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
1549 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
1550 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
1551 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
1552 Likewise.
1553 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
1554 Likewise.
1555 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
1556 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
1557 defined.
1558
1559 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1560 oldshmctl.
1561 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
1562 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
1563 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
1564 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
1565 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
1566 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
1567 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
1568 Likewise.
1569 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
1570 Likewise.
1571 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
1572 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
1573 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
1574 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
1575 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
1576 implementation.
1577 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
1578 if it is defined.
1579
1580 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
1581 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
1582 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
1583 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
1584 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
1585 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
1586 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
1587 Likewise.
1588 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
1589 Likewise.
1590 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
1591 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1592 Define to __NR_osf_shmat.
1593 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
1594 defined.
1595
1596 * sysvipc/Makefile (tests): Add test-sysvsem.
1597 * sysvipc/test-sysvsem.c: New file.
1598
1599 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
1600 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
1601 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
1602 Likewise.
1603 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
1604 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
1605 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
1606 Likewise.
1607 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
1608 Likewise.
1609 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
1610 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
1611 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
1612 add a comment about s390 syscall difference from default one.
1613 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
1614 syscall if it is defined.
1615
1616 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
1617 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
1618 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
1619 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
1620 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
1621 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
1622 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
1623 Likewise.
1624 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
1625 Likewise.
1626 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
1627 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
1628 defined.
1629
1630 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
1631 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
1632 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
1633 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
1634 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
1635 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
1636 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
1637 Likewise.
1638 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
1639 Likewise.
1640 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
1641 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
1642 if it is defined.
1643
1644 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1645 oldsemctl.
1646 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
1647 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
1648 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
1649 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1650 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
1651 implementation.
1652 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
1653 syscall if it is defined.
1654 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
1655 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
1656 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
1657 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
1658 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
1659 Likewise.
1660 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
1661
1662 * sysvipc/Makefile (tests): Add test-sysvmsg.
1663 * sysvipc/test-sysvmsg.c: New file.
1664 * support/check.h (FAIL_UNSUPPORTED): New define.
1665
1666 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
1667 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
1668 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
1669 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
1670 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
1671 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
1672 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
1673 Likewise.
1674 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
1675 Likewise.
1676 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
1677 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
1678 define.
1679
1680 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
1681 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
1682 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
1683 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
1684 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
1685 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
1686 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
1687 Likewise.
1688 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
1689 Likewise.
1690 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
1691 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
1692 if defined.
1693
1694 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
1695 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
1696 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1697 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1698 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1699 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
1700 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1701 Likewise.
1702 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
1703 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
1704 Likewise.
1705 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
1706 if defined.
1707 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
1708
1709 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1710 oldmsgctl.
1711 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
1712 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
1713 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
1714 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
1715 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1716 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1717 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1718 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1719 Likewise.
1720 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
1721 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
1722 implementation.
1723 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
1724 if defined.
1725
1726 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
1727 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
1728 definition and define its own.
1729 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
1730 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
1731 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
1732 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
1733 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
1734 definitions to common header.
1735 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
1736 operation from ipc_ops.h.
1737
1738 * sysdeps/unix/sysv/linux/kernel-features.h
1739 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
1740 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1741 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
1742 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1743 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1744 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1745 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1746 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1747 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1748 * sysdeps/unix/sysv/linux/s390/kernel-features.h
1749 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1750 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1751 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1752 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1753 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1754
1755 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1756
1757 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
1758 overflow in pointer addition.
1759
1760 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1761
1762 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1763 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
1764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1765 (strchr): Add __strchr_power8 to list of strchr functions.
1766 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
1767 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
1768 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
1769 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
1770 (strchr): Add __strchr_power8 to ifunc list.
1771 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
1772 (__strchrnul): Add __strchrnul_power8 to ifunc list.
1773 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
1774 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
1775
1776 2016-12-28 Florian Weimer <fweimer@redhat.com>
1777
1778 * support/Makefile (libsupport-routines): Add
1779 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
1780 (tests): Add tst-support_record_failure.
1781 (tests-special): tst-support_record_failure-2.
1782 (tst-support_record_failure-2.out): Depend on
1783 tst-support_record_failure-2.sh and tst-support_record_failure.
1784 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
1785 (support_test_verify_impl, support_record_failure)
1786 (support_report_failure, support_report_failure_reset): Declare.
1787 * support/support_test_main.c (adjust_exit_status): New function.
1788 (support_test_main): Call it to incorporate record test failures.
1789 * support/support_test_verify_impl.c: New file.
1790 * support/support_record_failure.c: Likewise.
1791 * support/tst-support_record_failure.c: Likewise.
1792 * support/tst-support_record_failure-2.sh: Likewise.
1793 * support/xunistd.h: Likewise.
1794 * support/xfork.c: Likewise.
1795 * support/xwaitpid.c: Likewise.
1796
1797 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
1798
1799 * scripts/check-c++-types.sh: Add comments.
1800
1801 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
1802
1803 [BZ #19514]
1804 * resolv/res_send.c: Fix typo in comment.
1805 * sysdeps/i386/i386-mcount.S: Likewise.
1806 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1807 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1808 * sysdeps/sparc/sparc-mcount.S: Likewise.
1809
1810 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1811
1812 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
1813 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
1814 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1815 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1816 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
1817 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
1818 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
1819 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
1820
1821 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1822
1823 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
1824
1825 2016-12-27 Florian Weimer <fweimer@redhat.com>
1826
1827 [BZ #17252]
1828 * posix/unistd.h (getentropy): Declare.
1829
1830 2016-12-27 Florian Weimer <fweimer@redhat.com>
1831
1832 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
1833 Remove.
1834 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
1835 (cmd): Remove spoof, nospoof, spoofalert.
1836 (parse_line): Ignore spoof-related lines.
1837 (do_init): Do not process RESOLV_SPOOF_CHECK.
1838
1839 2016-12-27 Florian Weimer <fweimer@redhat.com>
1840
1841 [BZ #20964]
1842 sunrpc: Always obtain AF_INET addresses from NSS.
1843 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
1844 * sunrpc/rpc_gethostbyname.c: New file.
1845 * sunrpc/Makefile (routines): Add it.
1846 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
1847 * sunrpc/clnt_simp.c (callrpc): Likewise.
1848 * sunrpc/getrpcport.c (getrpcport): Likewise.
1849
1850 2016-12-27 Florian Weimer <fweimer@redhat.com>
1851
1852 * sunrpc/rpcinfo.c: Remove.
1853 * sunrpc/Makefile: Remove comments referring to rpcinfo.
1854
1855 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1856
1857 [BZ# 19387]
1858 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
1859 addition.
1860 * string/test-memchr.c (do_test): Remove alignment limitation.
1861 (test_main): Add test that trigger BZ# 19387.
1862
1863 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1864
1865 [BZ #7065]
1866 Enable stack protectore if requested by ./configure.
1867 * Makeconfig (+stack-protector): New variable.
1868 (+cflags): Use it.
1869
1870 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1871
1872 [BZ #7065]
1873 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
1874 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
1875 (__rt_sigreturn_stub): Use inhibit_stack_protector.
1876 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1877 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
1878
1879 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1880
1881 [BZ #7065]
1882 * login/Makefile (pt_chown-cflags): Remove.
1883 * nscd/Makefile (CFLAGS-nscd): Likewise.
1884 * resolv/Makefile (CFLAGS-libresolv): Likewise.
1885
1886 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1887
1888 [BZ #7065]
1889 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1890 non-libc-linking testcase.
1891
1892 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1893 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1894 Florian Weimer <fweimer@redhat.com>
1895
1896 [BZ #7065]
1897 PLT avoidance for __stack_chk_fail*.
1898 * debug/Makefile (CFLAGS-stack_chk_fail.c)
1899 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1900 * debug/stack_chk_fail.c (__stack_chk_fail): Add
1901 __stack_chk_fail_local alias.
1902 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1903 (__stack_chk_fail): Turn into hidden reference to
1904 __stack_chk_fail_local.
1905
1906 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1907
1908 [BZ #7065]
1909 * configure.ac: Add check for unsupported stack-protection level.
1910 (libc_cv_predef_stack_protector): Remove.
1911 (no_ssp): New variable.
1912 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1913 (stack_protector): Set to -fno-stack-protector similarly.
1914 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1915 (libc_cv_asm_set_directive): Likewise.
1916 (libc_cv_protected_data): Likewise.
1917 (libc_cv_z_combreloc): Likewise.
1918 (libc_cv_hashstyle): Likewise.
1919 (libc_cv_has_glob_dat): Likewise.
1920 (libc_cv_output_format): Likewise.
1921 (libc_cv_output_format): Likewise.
1922 (libc_cv_ehdr_start): Likewise.
1923 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1924 (LIBC_LINKER_FEATURE): Likewise.
1925 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1926
1927 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1928
1929 [BZ #7065]
1930 * elf/Makefile (dummy-stack-chk-fail): New.
1931 (librtld.map): Use it.
1932
1933 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1934
1935 [BZ #7065]
1936 Compile the dynamic linker without stack protection.
1937 * elf/Makefile (elide-stack-protector): New.
1938 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1939 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1940 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1941 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1942
1943 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1944
1945 [BZ #7065]
1946 * config.make.in (have-ssp, no-stack-protector): New.
1947 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1948 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1949 (CFLAGS-sbrk.op): Likewise.
1950 (CFLAGS-brk.o): Likewise.
1951 (CFLAGS-brk.op): Likewise.
1952 * string/Makefile (CFLAGS-memcpy.c): Likewise.
1953 (CFLAGS-wordcopy.c): Likewise.
1954
1955 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1956
1957 [BZ #7065]
1958 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1959 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1960 * include/libc-symbols.h (inhibit_stack_protector): New macro.
1961 (__ifunc_resolver): Use it.
1962 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1963 inhibit_stack_protector.
1964 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1965 * elf/ifuncmain7.c (foo_ifunc): Likewise.
1966 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1967 (foo_protected_ifunc): Likewise.
1968 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1969 (foo_protected_ifunc): Likewise.
1970 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1971 * sysdeps/nacl/nacl_interface_query.c
1972 (nacl_interface_query_ifunc): Likewise.
1973 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1974 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1975 Likewise.
1976 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1977 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1978 the generated vDSO syscall resolver.
1979
1980 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1981 Florian Weimer <fweimer@redhat.com>
1982
1983 [BZ #7065]
1984 Initialize the stack guard earlier when linking statically.
1985 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1986 (__pthread_initialize_minimal): Declare.
1987 * csu/libc-start.c (__pthread_initialize_minimal): Remove
1988 declaration.
1989 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
1990 stack canary and apply_irel initialization up. Call
1991 __pthread_initialize_minimal only if linked in.
1992 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1993 constant values.
1994 (__pthread_initialize_minimal): Remove.
1995 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1996 (__pthread_initialize_minimal_internal): Do not call
1997 __libc_setup_tls.
1998
1999 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2000
2001 [BZ #7065]
2002 * configure.ac (libc_cv_ssp): Move up.
2003 (libc_cv_ssp_strong): Likewise.
2004 (libc_cv_ssp_all): New.
2005 (stack_protector): Augment, adding -fstack-protector-all.
2006 (no_stack_protector): New.
2007 (STACK_PROTECTOR_LEVEL): New.
2008 (AC_ARG_ENABLE(stack-protector)): New configure flag.
2009 * manual/install.texi (--enable-stack-protector): Document it.
2010 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
2011
2012 2016-12-24 Carlos O'Donell <carlos@redhat.com>
2013
2014 * README.pretty-printers: Must specify CPPFLAGS-* also.
2015 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
2016 (CPPFLAGS-test-mutex-printers.c): Define.
2017 (CPPFLAGS-test-condattr-printers.c): Define.
2018 (CPPFLAGS-test-cond-printers.c): Define.
2019 (CPPFLAGS-test-rwlockattr-printers.c): Define.
2020 (CPPFLAGS-test-rwlock-printers.c): Define.
2021
2022 * nss/Makefile [ifeq (yes,$(have-thread-library))]
2023 (tests): Add tst-cancel-getpwuid_r.
2024 * nss/tst-cancel-getpwuid_r.c: New file.
2025
2026 [BZ #11941]
2027 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
2028 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
2029 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
2030 tst-nodelete-dlclose.
2031 (modules-names): Add tst-nodelete-dlclose-dso and
2032 tst-nodelete-dlclose-plugin.
2033 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
2034 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
2035 ($(objpfx)tst-nodelete-dlclose): Define.
2036 ($(objpfx)tst-nodelete-dlclose.out): Define.
2037
2038 2016-12-23 Florian Weimer <fweimer@redhat.com>
2039
2040 * scripts/test_printers_common.py: Log GDB output in case of
2041 Python detection failure.
2042
2043 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
2044
2045 * configure.ac: Check for python3 or python.
2046 * configure: Regenerated.
2047 * config.make.in (PYTHON): New variable.
2048 * benchtests/Makefile: Don't define PYTHON.
2049 (bench): Define target only if PYTHON was defined.
2050 * Rules: Don't define PYTHON.
2051 Define pretty printer targets only if PYTHON was defined.
2052 (tests-printers): Add to tests-unsupported if PYTHON is not
2053 found.
2054 (python-flags, python-invoke): Remove.
2055 (tests-printers-out): Use PYTHON instead of python-invoke.
2056
2057 2016-12-21 Joseph Myers <joseph@codesourcery.com>
2058
2059 [BZ #20978]
2060 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2061 Compare name == NULL, not name != NULL.
2062
2063 * manual/texinfo.tex: Update to version 2016-09-18.18 with
2064 trailing whitespace removed.
2065 * scripts/config.guess: Update to version 2016-10-02.
2066 * scripts/config.sub: Update to version 2016-11-19.
2067 * scripts/install-sh: Update to version 2016-01-11.22.
2068 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
2069 * scripts/move-if-change: Update to version 2016-01-11 22:04.
2070
2071 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2072
2073 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
2074 (do_one_test) Restore original string so iteration works.
2075 * string/string-inlines.c (do_test): Create better input strings.
2076 (test_main) Reduce number of testruns.
2077 * string/string-inlines.c (__old_strsep_1c): New function.
2078 (__old_strsep_2c): Likewise.
2079 (__old_strsep_3c): Likewise.
2080 * string/strsep.c (__strsep): Remove case of small delim string.
2081 Call strcspn directly rather than strpbrk.
2082 * string/bits/string2.h (__strsep): Remove define.
2083 (__strsep_1c): Remove.
2084 (__strsep_2c): Remove.
2085 (__strsep_3c): Remove.
2086 (strsep): Remove.
2087 * sysdeps/unix/sysv/linux/internal_statvfs.c
2088 (__statvfs_getflags): Rename to __strsep.
2089
2090 2016-12-21 Florian Weimer <fweimer@redhat.com>
2091
2092 * csu/libc-tls.c (_dl_tls_setup): Remove.
2093 * elf/dl-tls.c (_dl_tls_setup): Likewise.
2094 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
2095 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
2096
2097 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
2098
2099 [BZ #7065]
2100 * sysdeps/x86_64/Makefile [$(subdir) = elf]
2101 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
2102
2103 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
2104 Florian Weimer <fweimer@redhat.com>
2105
2106 [BZ #7065]
2107 * csu/Makefile (tests): Empty assignment and document it.
2108 (tests-static): Remove.
2109 * csu/tst-empty.c: Move to...
2110 * misc/tst-empty.c: ... here. Switch to new test driver.
2111 * csu/tst-atomic.c: Move to...
2112 * misc/tst-atomic.c: ... here. Switch to new test driver.
2113 * csu/tst-atomic-long.c: Move to...
2114 * misc/tst-atomic-long.c: ... here.
2115 * misc/Makefile (tests): Add tst-empty, tst-atomic,
2116 tst-atomic-long.
2117 (tests-static): Add tst-empty.
2118
2119 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
2120
2121 * manual/nss.texi: Change incorrect @vtable to @table.
2122 * manual/arith.texi: Convert @tables of variables to @vtables
2123 and remove unnecessary indexing.
2124 * manual/filesys.texi: Likewise.
2125 * manual/llio.texi: Likewise.
2126 * manual/memory.texi: Likewise.
2127 * manual/process.texi: Likewise.
2128 * manual/resource.texi: Likewise.
2129 * manual/search.texi: Likewise.
2130 * manual/signal.texi: Likewise.
2131 * manual/socket.texi: Likewise.
2132 * manual/stdio.texi: Likewise.
2133 * manual/sysinfo.texi: Likewise.
2134 * manual/syslog.texi: Likewise.
2135 * manual/terminal.texi: Likewise.
2136 * manual/time.texi: Likewise.
2137 * manual/users.texi: Likewise.
2138
2139 2016-12-21 Joseph Myers <joseph@codesourcery.com>
2140
2141 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2142 (roundeven): New declaration.
2143 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
2144 macro.
2145 * math/Versions (roundeven): New libm symbol at version
2146 GLIBC_2.25.
2147 (roundevenf): Likewise.
2148 (roundevenl): Likewise.
2149 * math/Makefile (libm-calls): Add s_roundevenF.
2150 * math/libm-test.inc (roundeven_test_data): New array.
2151 (roundeven_test): New function.
2152 (main): Call roundeven_test.
2153 * math/test-tgmath.c (NCALLS): Increase to 134.
2154 (F(compile_test)): Call roundeven.
2155 (F(roundeven)): New function.
2156 * manual/arith.texi (Rounding Functions): Document roundeven,
2157 roundevenf and roundevenl.
2158 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
2159 * include/math.h (roundeven): Use libm_hidden_proto.
2160 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
2161 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
2162 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
2163 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
2164 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
2165 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
2166 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2167 roundeven.
2168 (CFLAGS-nldbl-roundeven.c): New variable.
2169 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
2170 * sysdeps/nacl/libm.abilist: Update.
2171 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2172 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2173 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2174 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2175 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2176 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2177 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2178 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2179 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2180 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2181 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2182 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2184 Likewise.
2185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2186 Likewise.
2187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2188 Likewise.
2189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2190 Likewise.
2191 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2192 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2193 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2194 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2195 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2196 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2197 Likewise.
2198 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2199 Likewise.
2200 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2201 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2202 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2203
2204 2016-12-20 Joseph Myers <joseph@codesourcery.com>
2205
2206 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
2207 preprocessor indentation inside #if.
2208
2209 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2210
2211 * math/libm-test.inc (fmt_ftostr): New function.
2212 (print_float, check_float_internal): Replace some uses of
2213 FTOSTR with uses of fmt_ftostr.
2214 (print_max_error, print_complex_max_error, print_function_ulps)
2215 (print_complex_function_ulps): Remove uses of the macros
2216 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
2217 * math/test-double.h (FTOSTR): Define to strfromd.
2218 (PRINTF_EXPR): Delete.
2219 (PRINTF_XEXPR): Likewise.
2220 (PRINTF_NEXPR): Likewise.
2221 * math/test-float.h (FTOSTR): Define to strfromf.
2222 (PRINTF_EXPR): Delete.
2223 (PRINTF_XEXPR): Likewise.
2224 (PRINTF_NEXPR): Likewise.
2225 * math/test-ldouble.h (FTOSTR): Define to strfroml.
2226 (PRINTF_EXPR): Delete.
2227 (PRINTF_XEXPR): Likewise.
2228 (PRINTF_NEXPR): Likewise.
2229
2230 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2231
2232 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
2233 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
2234 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2235 (__lll_lock_elision): Decrement adapt_count while unlocking
2236 instead of before locking.
2237 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2238 (__lll_trylock_elision): Likewise.
2239 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
2240 (__lll_unlock_elision): Likewise.
2241
2242 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2243
2244 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
2245 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
2246 Use __libc_tbegin_retry macro.
2247
2248 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2249
2250 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
2251 Add -msoft-float.
2252 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
2253 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2254 Use __libc_t* transaction macros instead of __builtin_t*.
2255 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2256 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2257
2258 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2259
2260 * sysdeps/unix/sysv/linux/s390/elision-lock.c
2261 (__lll_lock_elision): Use atomics to load / store adapt_count.
2262 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2263 (__lll_trylock_elision): Likewise.
2264
2265 2016-12-20 Florian Weimer <fweimer@redhat.com>
2266
2267 Do not require memset elimination in explicit_bzero test.
2268 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
2269 (enum test_expectation): Add NO_EXPECTATIONS.
2270 (subtests): NO_EXPECTATIONS for ordinary clear.
2271 (check_test_buffer): Handle NO_EXPECTATIONS.
2272 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
2273
2274 2016-12-20 Joseph Myers <joseph@codesourcery.com>
2275
2276 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2277 (fmaxmag): New declaration.
2278 (fminmag): Likewise.
2279 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
2280 macro.
2281 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
2282 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
2283 (fmaxmagf): Likewise.
2284 (fmaxmagl): Likewise.
2285 (fminmag): Likewise.
2286 (fminmagf): Likewise.
2287 (fminmagl): Likewise.
2288 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
2289 * math/s_fmaxmag_template.c: New file.
2290 * math/s_fminmag_template.c: Likewise.
2291 * math/libm-test.inc (fmaxmag_test_data): New array.
2292 (fmaxmag_test): New function.
2293 (fminmag_test_data): New array.
2294 (fminmag_test): New function.
2295 (main): Call fmaxmag_test and fminmag_test.
2296 * math/test-tgmath.c (NCALLS): Increase to 132.
2297 (F(compile_test)): Call fmaxmag and fminmag.
2298 (F(fminmag)): New function.
2299 (F(fmaxmag)): Likewise.
2300 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
2301 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
2302 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
2303 fminmag.
2304 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
2305 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
2306 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2307 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2308 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
2309 and fminmag.
2310 (CFLAGS-nldbl-fmaxmag.c): New variable.
2311 (CFLAGS-nldbl-fminmag.c): Likewise.
2312 * sysdeps/nacl/libm.abilist: Update.
2313 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2314 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2315 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2316 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2317 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2318 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2319 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2320 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2321 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2322 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2323 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2324 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2326 Likewise.
2327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2328 Likewise.
2329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2330 Likewise.
2331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2332 Likewise.
2333 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2334 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2335 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2336 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2337 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2339 Likewise.
2340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2341 Likewise.
2342 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2343 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2344 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2345
2346 2016-12-19 Torvald Riegel <triegel@redhat.com>
2347
2348 [BZ #20973]
2349 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
2350 wake-up in robust mutexes.
2351 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2352
2353 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2354
2355 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
2356 (CFLAGS-bench-fmaxf.c): New rule.
2357 (CFLAGS-bench-fminf.c): Likewise.
2358 * benchtests/fmaxf-inputs: New file.
2359 * benchtests/fminf-inputs: Likewise.
2360
2361 * benchtests/Makefile (bench-math): Add fmin and fmax.
2362 (CFLAGS-bench-fmax.c): New rule.
2363 (CFLAGS-bench-fmin.c): Likewise.
2364 * benchtests/fmax-inputs: New file.
2365 * benchtests/fmin-inputs: Likewise.
2366
2367 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
2368 parenthesis.
2369 (CMDLINE_PROCESS): Define using function instead of macro.
2370 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
2371 of test-skeleton.
2372 * benchtests/bench-memchr.c: Likewise.
2373 * benchtests/bench-memcmp.c: Likewise.
2374 * benchtests/bench-memcpy-large.c: Likewise.
2375 * benchtests/bench-memcpy.c: Likewise.
2376 * benchtests/bench-memmem.c: Likewise.
2377 * benchtests/bench-memmove-large.c: Likewise.
2378 * benchtests/bench-memmove.c: Likewise.
2379 * benchtests/bench-memset-large.c: Likewise.
2380 * benchtests/bench-memset.c: Likewise.
2381 * benchtests/bench-rawmemchr.c: Likewise.
2382 * benchtests/bench-strcasecmp.c: Likewise.
2383 * benchtests/bench-strcasestr.c: Likewise.
2384 * benchtests/bench-strcat.c: Likewise.
2385 * benchtests/bench-strchr.c: Likewise.
2386 * benchtests/bench-strcmp.c: Likewise.
2387 * benchtests/bench-strcpy.c: Likewise.
2388 * benchtests/bench-strcpy_chk.c: Likewise.
2389 * benchtests/bench-strlen.c: Likewise.
2390 * benchtests/bench-strncasecmp.c: Likewise.
2391 * benchtests/bench-strncmp.c: Likewise.
2392 * benchtests/bench-strncpy.c: Likewise.
2393 * benchtests/bench-strnlen.c: Likewise.
2394 * benchtests/bench-strpbrk.c: Likewise.
2395 * benchtests/bench-strrchr.c: Likewise.
2396 * benchtests/bench-strsep.c: Likewise.
2397 * benchtests/bench-strspn.c: Likewise.
2398 * benchtests/bench-strstr.c: Likewise.
2399 * benchtests/bench-strtok.c: Likewise.
2400
2401 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
2402
2403 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
2404 stepping identification.
2405 (init_cpu_features): Add handle of Haswell.
2406
2407 2016-11-25 Jim Meyering <meyering@fb.com>
2408
2409 [BZ #20386]
2410 Let gcc detect assert(a = 1) errors.
2411 * assert/assert.h (assert): Rewrite, retaining the old definintion
2412 when required, but otherwise putting the expression as-is in an "if"
2413 expression (hence, with no added parentheses) within a statement
2414 expression.
2415
2416 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
2417
2418 * benchtests/Makefile (binaries-benchset): Depend on libsupport
2419 DSO.
2420
2421 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
2422
2423 * Rules (python-flags, python-invoke): New.
2424 ($(test-printers-out)): Use $(python-flags).
2425
2426 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2427
2428 * manual/arith.texi (Math Error Reporting): Document that sNaN
2429 arguments are not considered domain errors.
2430
2431 2016-12-16 Zack Weinberg <zackw@panix.com>
2432 Florian Weimer <fweimer@redhat.com>
2433 Nick Mathewson <nickm@torproject.org>
2434
2435 * string/explicit_bzero.c: New routine.
2436 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
2437 * string/Makefile (routines, strop-tests, tests): Add them.
2438 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
2439 * string/string.h [__USE_MISC]: Declare explicit_bzero.
2440
2441 * debug/explicit_bzero_chk.c: New routine.
2442 * debug/Makefile (routines): Add it.
2443 * debug/tst-chk1.c: Test fortification of explicit_bzero.
2444 * string/bits/string3.h: Fortify explicit_bzero.
2445
2446 * manual/string.texi: Document explicit_bzero.
2447 * NEWS: Mention addition of explicit_bzero.
2448
2449 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
2450 data before returning, using explicit_bzero.
2451 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
2452 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2453 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2454
2455 * include/string.h: Redirect internal uses of explicit_bzero
2456 to __explicit_bzero_chk[_internal].
2457 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
2458 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
2459 * sysdeps/arm/nacl/libc.abilist
2460 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2461 * sysdeps/unix/sysv/linux/alpha/libc.abilist
2462 * sysdeps/unix/sysv/linux/arm/libc.abilist
2463 * sysdeps/unix/sysv/linux/hppa/libc.abilist
2464 * sysdeps/unix/sysv/linux/i386/libc.abilist
2465 * sysdeps/unix/sysv/linux/ia64/libc.abilist
2466 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2467 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2468 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2469 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2470 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2471 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2472 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2473 * sysdeps/unix/sysv/linux/nios2/libc.abilist
2474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2478 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2479 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2480 * sysdeps/unix/sysv/linux/sh/libc.abilist
2481 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2482 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2485 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2486 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2487 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2488 Add entries for explicit_bzero and __explicit_bzero_chk.
2489
2490 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2491
2492 * math/fenv.h
2493 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
2494 (FE_SNANS_ALWAYS_SIGNAL): New macro.
2495 * math/test-fe-snans-always-signal.c: New file.
2496 * math/Makefile (tests): Add test-fe-snans-always-signal.
2497 (CFLAGS-test-fe-snans-always-signal.c): New variable.
2498 * manual/arith.texi (Infinity and NaN): Document
2499 FE_SNANS_ALWAYS_SIGNAL.
2500
2501 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2502
2503 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
2504 bracket.
2505
2506 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2507
2508 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
2509 before calling execv.
2510
2511 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2512
2513 [BZ# 20971]
2514 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
2515 overflow in pointer addition.
2516 * string/test-memchr.c (do_test): Add an argument to pass as
2517 the size on memchr.
2518 (test_main): Add check for SIZE_MAX.
2519
2520 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2521
2522 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
2523 (libm-calls): Add w_scalblnF.
2524 * math/w_scalbln.c: Remove.
2525 * math/w_scalblnf.c: Likewise.
2526 * math/w_scalblnl.c: Likewise.
2527 * math/w_scalbln_template.c: New file with type-generic
2528 implementation based on math/w_scalbln.c.
2529 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
2530 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
2531
2532 2016-12-15 Joseph Myers <joseph@codesourcery.com>
2533
2534 [BZ #20947]
2535 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
2536 either is a signaling NaN.
2537 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
2538 follow fmaxl more closely.
2539 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
2540 when either is a signaling NaN.
2541 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
2542 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
2543 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
2544 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
2545 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
2546 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
2547 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
2548 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
2549 (fmin_test_data): Likewise.
2550
2551 2016-12-15 Andreas Schwab <schwab@suse.de>
2552
2553 * support/support_test_main.c (support_test_main): Don't shadow
2554 file-local variable test_pid.
2555
2556 2016-12-15 Joseph Myers <joseph@codesourcery.com>
2557
2558 [BZ #20947]
2559 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
2560 either is a signaling NaN.
2561 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
2562
2563 2016-12-14 Joseph Myers <joseph@codesourcery.com>
2564
2565 [BZ #20947]
2566 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
2567 when either is a signaling NaN.
2568 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
2569
2570 * bits/long-double.h: New file.
2571 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
2572 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
2573 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
2574 * sysdeps/mips/bits/long-double.h: Likewise.
2575 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
2576 * math/Makefile (headers): Add bits/long-double.h.
2577 * misc/sys/cdefs.h: Include <bits/long-double.h>.
2578 * stdlib/strtold.c: Include <bits/long-double.h> instead of
2579 <bits/wordsize.h>.
2580 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
2581 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
2582 * math/math.h: Do not include <bits/mathdef.h>.
2583 * sysdeps/aarch64/bits/mathdef.h: Remove file.
2584 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
2585 inclusion.
2586 * sysdeps/ia64/bits/mathdef.h: Remove file.
2587 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
2588 * sysdeps/mips/bits/mathdef.h: Likewise.
2589 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2590 * sysdeps/s390/bits/mathdef.h: Likewise.
2591 * sysdeps/sparc/bits/mathdef.h: Likewise.
2592 * sysdeps/x86/bits/mathdef.h: Likewise.
2593 * sysdeps/s390/s390-32/bits/wordsize.h
2594 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
2595 conditional code.
2596 * sysdeps/s390/s390-64/bits/wordsize.h
2597 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2598 Likewise.
2599 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
2600 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2601 Likewise.
2602 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
2603 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2604 Likewise.
2605 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2606 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2607 Likewise.
2608
2609 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
2610 <linux/falloc.h>.
2611 (FALLOC_FL_KEEP_SIZE): Remove.
2612 (FALLOC_FL_PUNCH_HOLE): Likewise.
2613 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
2614 (FALLOC_FL_ZERO_RANGE): Likewise.
2615
2616 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2617
2618 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
2619
2620 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2621
2622 * sysdeps/unix/sysv/linux/renameat.c: New file.
2623 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
2624
2625 * sysdeps/unix/sysv/linux/rename.c: New file.
2626 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
2627
2628 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
2629
2630 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
2631 * string/strtok.c (strtok): Change to tailcall __strtok_r.
2632 * string/strtok_r.c (__strtok_r): Optimize for performance.
2633 * string/string-inlines.c (__old_strtok_r_1c): New function.
2634 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
2635
2636 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2637
2638 * math/Makefile (gen-libm-calls): Add w_log1pF.
2639 (libm-calls): Remove w_log1pF.
2640 * math/w_log1p.c: Remove.
2641 * math/w_log1pf.c: Likewise.
2642 * math/w_log1pl.c: Likewise.
2643 * math/w_log1p_template.c: New file with type-generic
2644 implementation based on math/w_log1p.c.
2645 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
2646 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
2647
2648 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
2649
2650 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
2651
2652 2016-12-14 Joseph Myers <joseph@codesourcery.com>
2653
2654 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2655 kernel version to 4.9.
2656
2657 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
2658
2659 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
2660 ($(inst_libdir)/libm.a): Fix rule to create the target only.
2661
2662 2016-12-13 Andreas Schwab <schwab@suse.de>
2663
2664 * sysdeps/powerpc/dl-procinfo.c: Don't define
2665 _dl_powerpc_platforms.
2666 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
2667 constants instead of referencing _dl_powerpc_platforms.
2668 (_dl_platform_string): Remove.
2669
2670 2016-12-13 Florian Weimer <fweimer@redhat.com>
2671
2672 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
2673
2674 2016-12-13 Florian Weimer <fweimer@redhat.com>
2675
2676 * Rules (binaries-shared-tests, binaries-pie-tests)
2677 (binaries-static-tests): Link with $(link-extra-libs-tests).
2678 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
2679 Remove $(link-extra-libs-tests).
2680
2681 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2682
2683 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2684 (sysdep_routines): Add strncmp_power9.
2685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2686 (strncmp): Add __strncmp_power9 to list of strncmp functions.
2687 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
2688 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
2689 (strncmp): Add __strncmp_power9 to ifunc list.
2690 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
2691
2692 2016-12-12 Florian Weimer <fweimer@redhat.com>
2693
2694 [BZ #17252]
2695 Add getentropy, getrandom.
2696 * stdlib/sys/random.h: New file.
2697 (headers): Add it.
2698 * stdlib/Makefile (routines): Add getentropy, getrandom.
2699 (tests): Add tst-getrandom.
2700 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
2701 * stdlib/getentropy.c: New file.
2702 * stdlib/getrandom.c: Likewise.
2703 * stdlib/tst-getrandom.c: Likewise.
2704 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
2705 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
2706 * manual/crypt.texi (Unpredictable Bytes): New section.
2707 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
2708 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
2709 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2710 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2711 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2712 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2713 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2714 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2715 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2716 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2717 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2718 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2719 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2720 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2721 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2722 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2724 Likewise.
2725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2726 Likewise.
2727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2729 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2730 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2731 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2732 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2733 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2736 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2737 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2738 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2739
2740 2016-12-10 Florian Weimer <fweimer@redhat.com>
2741
2742 [BZ #20956]
2743 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
2744 as additional compiler barriers.
2745 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
2746 (fn2, do_test): Declare with external linkage.
2747 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
2748 (do_test): Declare with external linkage.
2749 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
2750 (do_test): Declare with external linkage.
2751 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
2752 (do_test): Declare with external linkage.
2753
2754 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
2755
2756 * support/support_test_main.c (support_test_main): Use correct
2757 timeout.
2758
2759 2016-12-09 Carlos O'Donell <carlos@redhat.com>
2760 Florian Weimer <fweimer@redhat.com>
2761
2762 [BZ #16421]
2763 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
2764 and __u6_addr32 members.
2765 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
2766 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
2767 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
2768 Use __u6_addr32.
2769 * inet/tst-checks.c: Use <support/test-driver.c>
2770 * inet/tst-checks-posix.c: New file.
2771 * inet/Makefile (tests): Add it.
2772 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
2773
2774 2016-12-09 Florian Weimer <fweimer@redhat.com>
2775
2776 New subdirectory support for build and test infrastructure.
2777 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
2778 setting install-lib.
2779 * Makeconfig (link-extra-libs-tests): Define.
2780 (+link-pie-tests, +link-static-tests, +link-tests): Use
2781 link-extra-libs-tests.
2782 (rpath-dirs, all-subdirs): Add support.
2783 (built-modules): Add libsupport.
2784 (libsupport): Define.
2785 * support: New directory.
2786 * support/Makefile: New file.
2787 * support/check.c: Likewise.
2788 * support/check.h: Likewise.
2789 * support/delayed_exit.c: Likewise.
2790 * support/ignore_stderr.c: Likewise.
2791 * support/oom_error.c: Likewise.
2792 * support/set_fortify_handler.c: Likewise.
2793 * support/support.h: Likewise.
2794 * support/temp_file-internal.h: Likewise.
2795 * support/temp_file.c: Likewise.
2796 * support/test-driver.c: Likewise.
2797 * support/test-driver.h: Likewise.
2798 * support/test_main.c: Likewise.
2799 * support/write_message.c: Likewise.
2800 * support/xasprintf.c: Likewise.
2801 * support/xcalloc.c: Likewise.
2802 * support/xmalloc.c: Likewise.
2803 * support/xpthread_barrier_destroy.c: Likewise.
2804 * support/xpthread_barrier_init.c: Likewise.
2805 * support/xpthread_barrier_wait.c: Likewise.
2806 * support/xpthread_cancel.c: Likewise.
2807 * support/xpthread_check_return.c: Likewise.
2808 * support/xpthread_cond_wait.c: Likewise.
2809 * support/xpthread_create.c: Likewise.
2810 * support/xpthread_detach.c: Likewise.
2811 * support/xpthread_join.c: Likewise.
2812 * support/xpthread_mutex_lock.c: Likewise.
2813 * support/xpthread_mutex_unlock.c: Likewise.
2814 * support/xpthread_sigmask.c: Likewise.
2815 * support/xpthread_spin_lock.c: Likewise.
2816 * support/xpthread_spin_unlock.c: Likewise.
2817 * support/xrealloc.c: Likewise.
2818 * support/xsignal.h: Likewise.
2819 * support/xthread.h: Likewise.
2820 * support_tempfile.h: Likewise.
2821 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
2822 (TEST_DATA_LIMIT): Remove unused macro.
2823 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
2824 <support/check.h>.
2825 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
2826 (ignore_stderr, set_fortify_handler): Remove. Now in
2827 <support/support.h>.
2828 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
2829 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
2830 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
2831 (xpthread_join): Remove. Now in <support/xthread.h>.
2832 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
2833 Introduce legacy wrappers.
2834 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
2835 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
2836 (write_message): Remove.
2837 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
2838 test-skeleton.c.
2839 * io/test-open-tmpfile: Likewise.
2840 * io/tst-posix_fallocate-common.c: Likewise.
2841 * libio/tst-fseek.c: Likewise.
2842 * malloc/tst-malloc-backtrace.c: Likewise.
2843 * malloc/tst-malloc-fork-deadlock.c: Likewise.
2844 * malloc/tst-malloc-thread-exit.c: Likewise.
2845 * nptl/tst-cancel7.c: Likewise.
2846 * nptl/tst-cleanup0.c: Likewise.
2847 * posix/tst-posix_fadvise-common.c: Likewise.
2848 * rt/tst-shm.c: Likewise.
2849 * time/bug-getdate1.c: Likewise.
2850 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2851 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
2852 * elf/Makefile (tst-piemod1.so): Link against libsupport.
2853
2854 2016-12-08 Joseph Myers <joseph@codesourcery.com>
2855
2856 * Rules [$(run-built-tests) != no] (tests-expected): Add
2857 $(tests-printers).
2858 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
2859
2860 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
2861
2862 [BZ #20539]
2863 * math/Makefile (install-lib-ldscripts): Add libm.a.
2864 (install_subdir): Remove.
2865 (install-others): Add.
2866 ($(inst_libdir)/libm.a): Add rule for installation as
2867 linker script.
2868 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
2869
2870 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
2871
2872 * INSTALL: Regenerated.
2873 * Makeconfig: Add comments and whitespace to make the control flow
2874 clearer.
2875 (+link-printers-tests, +link-pie-printers-tests,
2876 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
2877 built-rtld-LDFLAGS, link-libc-rpath,
2878 link-libc-tests-after-rpath-link,
2879 link-libc-printers-tests): New.
2880 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2881 link-libc-tests): Use the new variables as required.
2882 * Makerules ($(py-const)): New rule.
2883 generated: Add $(py-const).
2884 * README.pretty-printers: New file.
2885 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2886 (others): Depend on $(py-const).
2887 (tests): Depend on $(tests-printers-programs) or
2888 $(tests-printers-out),
2889 as required. Pass $(tests-printers) to merge-test-results.sh.
2890 * manual/install.texi: Add requirements for testing the pretty
2891 printers.
2892 * nptl/Makefile (gen-py-const-headers, pretty-printers,
2893 tests-printers, CFLAGS-test-mutexattr-printers.c
2894 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2895 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2896 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2897 * nptl/nptl-printers.py: New file.
2898 * nptl/nptl_lock_constants.pysym: Likewise.
2899 * nptl/test-cond-printers.c: Likewise.
2900 * nptl/test-cond-printers.py: Likewise.
2901 * nptl/test-condattr-printers.c: Likewise.
2902 * nptl/test-condattr-printers.py: Likewise.
2903 * nptl/test-mutex-printers.c: Likewise.
2904 * nptl/test-mutex-printers.py: Likewise.
2905 * nptl/test-mutexattr-printers.c: Likewise.
2906 * nptl/test-mutexattr-printers.py: Likewise.
2907 * nptl/test-rwlock-printers.c: Likewise.
2908 * nptl/test-rwlock-printers.py: Likewise.
2909 * nptl/test-rwlockattr-printers.c: Likewise.
2910 * nptl/test-rwlockattr-printers.py: Likewise.
2911 * scripts/gen-py-const.awk: Likewise.
2912 * scripts/test_printers_common.py: Likewise.
2913 * scripts/test_printers_exceptions.py: Likewise.
2914
2915 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2916
2917 * scripts/build-many-glibcs.py (Context.__init__): Take strip
2918 argument.
2919 (Glibc.build_glibc): Strip installed shared libraries if
2920 requested.
2921 (get_parser): Add --strip option.
2922 (main): Update Context call.
2923
2924 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2925 Dominik Vogt <vogt@linux.vnet.ibm.com>
2926
2927 [BZ #20847]
2928 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2929 array bounds for else branch.
2930 (__execvpe): Style fixes.
2931 * posix/tst-vfork3.c (run_script): New function.
2932 (create_script): Likewise.
2933 (do_test): Use run_script internal function.
2934 (do_prepare): Use create_script internal function.
2935
2936 2016-12-07 Andreas Schwab <schwab@suse.de>
2937
2938 * sysdeps/unix/sysv/linux/x86/elision-conf.h
2939 (__elision_available): Don't declare.
2940 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2941 (__elision_available): Don't define.
2942 (elision_init): Don't set __elision_available.
2943
2944 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2945
2946 [BZ #20940]
2947 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2948 return Inf for arguments Inf and sNaN.
2949 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2950 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2951 Likewise.
2952 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2953 Likewise.
2954 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2955 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2956 for arguments Inf and sNaN. When returning a NaN, compute it by
2957 arithmetic on the arguments.
2958 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2959 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2960 arguments.
2961
2962 2016-12-06 Joseph Myers <joseph@codesourcery.com>
2963
2964 [BZ #20916]
2965 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2966 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
2967 to compute result.
2968 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2969 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2970
2971 2016-12-05 Torvald Riegel <triegel@redhat.com>
2972
2973 * include/atomic.h (__atomic_check_size_ls): New.
2974 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2975 atomic_store_release): Use it.
2976 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2977 (elision_adapt, ELIDE_LOCK): Use atomics.
2978 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2979 atomics and improve code comments.
2980 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2981 (__lll_trylock_elision): Likewise.
2982
2983 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2984
2985 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2986 programs.
2987
2988 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2989
2990 [BZ #20916]
2991 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2992 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
2993 arguments to compute result.
2994 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2995 1 for arguments (sNaN, 0) or (1, sNaN).
2996 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2997 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2998
2999 [BZ #20919]
3000 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
3001 NaN first argument when raised to power 0.
3002 * math/w_pow.c (__pow): Do not check for NaN or zero results from
3003 raising to power zero.
3004 * math/w_powf.c (__powf): Likewise.
3005 * math/w_powl.c (__powl): Likewise.
3006 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
3007 pow (0, 0) or pow (NaN, 0).
3008
3009 2016-12-02 Carlos O'Donell <carlos@redhat.com>
3010
3011 [BZ #20918]
3012 * configure.ac: Test for static NSS cryptographic libraries and set
3013 libc_cv_static_nss_crypt.
3014 * configure: Regenerate.
3015 * config.make.in (static-nss-crypt): Define.
3016 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
3017 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
3018 (CFLAGS-tst-linkall-static.c): Define.
3019 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
3020 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
3021 ($(objpfx)tst-linkall-static): Define.
3022 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
3023 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
3024
3025 2016-12-02 Florian Weimer <fweimer@redhat.com>
3026
3027 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
3028 (one-hundred, tst-tls-many-dynamic-modules): Define.
3029 (modules-names): Add $(tst-tls-many-dynamic-modules).
3030 (tst-tls-manydynamic%mod.os): Build with special preprocessor
3031 macros.
3032 (tst-tls-manydynamic): Link against libdl, libpthread.
3033 (tst-tls-manydynamic.out): The test needs the test modules at run
3034 time.
3035 * elf/tst-tls-manydynamic.c: New file.
3036 * elf/tst-tls-manydynamic.h: Likewise.
3037 * elf/tst-tls-manydynamicmod.c: Likewise.
3038
3039 2016-12-02 Florian Weimer <fweimer@redhat.com>
3040
3041 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
3042 (TLS_DTV_UNALLOCATED): Add.
3043 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
3044 offsets.
3045
3046 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
3047
3048 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3049
3050 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
3051
3052 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
3053 Add -fno-optimize-sibling-calls.
3054
3055 2016-12-02 Joseph Myers <joseph@codesourcery.com>
3056
3057 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
3058 New declaration.
3059 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
3060 macro.
3061 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
3062 New macro.
3063 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
3064 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
3065 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
3066 (llogbf): Likewise.
3067 (llogbl): Likewise.
3068 * math/Makefile (gen-libm-calls): Add w_llogbF.
3069 (tests): Add test-fp-llogb-constants.
3070 * math/w_llogb_template.c: New file. Based on
3071 math/w_ilogb_template.c.
3072 * math/libm-test.inc (llogb_test_data): New array.
3073 (llogb_test): New function.
3074 (main): Call llogb_test.
3075 * math/test-fp-llogb-constants.c: New file. Based on
3076 math/test-fp-ilogb-constants.c.
3077 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
3078 (do_test): Call check_return_llogb.
3079 * math/test-tgmath.c (NCALLS): Increase to 126.
3080 (F(compile_test)): Call llogb.
3081 (F(llogb)): New function.
3082 * manual/math.texi (Exponents and Logarithms): Document llogb,
3083 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
3084 * manual/libm-err-tab.pl (@all_functions): Add llogb.
3085 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
3086 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
3087 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
3088 (CFLAGS-nldbl-llogb.c): New variable.
3089 * sysdeps/nacl/libm.abilist: Update.
3090 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3091 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3092 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3093 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3094 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3095 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3096 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3097 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3098 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3099 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3100 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3101 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3103 Likewise.
3104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3105 Likewise.
3106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3107 Likewise.
3108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3109 Likewise.
3110 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3111 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3112 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3113 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3114 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3116 Likewise.
3117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3118 Likewise.
3119 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3120 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3121 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3122
3123 2016-12-01 Joseph Myers <joseph@codesourcery.com>
3124
3125 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
3126 _Float128 instead of long double.
3127 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
3128
3129 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
3130 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
3131 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
3132 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
3133 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
3134 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
3135 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
3136 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
3137 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
3138 Likewise.
3139
3140 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3141
3142 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
3143 Remove redirection to __strrchr_ppc.
3144
3145 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3146
3147 * sysdeps/powerpc/powerpc64/multiarch/Makefile
3148 (sysdep_routines): Add strcmp_power9.
3149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3150 (strcmp): Add __strcmp_power9 to list of strcmp functions.
3151 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
3152 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
3153 (strcmp): Add __strcmp_power9 to ifunc list.
3154 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
3155
3156 2016-12-01 Joseph Myers <joseph@codesourcery.com>
3157
3158 * bits/fp-logb.h: New file.
3159 * sysdeps/ia64/bits/fp-logb.h: Likewise.
3160 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
3161 * sysdeps/x86/bits/fp-logb.h: Likewise.
3162 * math/Makefile (headers): Add bits/fp-logb.h.
3163 * math/math.h: Include <bits/fp-logb.h>.
3164 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
3165 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
3166 * bits/mathdef.h (FP_ILOGB0): Remove.
3167 (FP_ILOGBNAN): Likewise.
3168 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
3169 (FP_ILOGBNAN): Likewise.
3170 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
3171 (FP_ILOGBNAN): Likewise.
3172 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
3173 (FP_ILOGBNAN): Likewise.
3174 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
3175 (FP_ILOGBNAN): Likewise.
3176 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
3177 (FP_ILOGBNAN): Likewise.
3178 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
3179 (FP_ILOGBNAN): Likewise.
3180 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
3181 (FP_ILOGBNAN): Likewise.
3182 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
3183 (FP_ILOGBNAN): Likewise.
3184 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
3185 (FP_ILOGBNAN): Likewise.
3186
3187 * scripts/build-many-glibcs.py: Add bot to usage message. Import
3188 time module.
3189 (Context.__init__): Initialize self.logsdir_old.
3190 (Context.run_builds): Handle bot action.
3191 (Context.bot_cycle): Copy logs directory before running builds.
3192 (Context.bot_run_self): Take argument for whether to check
3193 subprocess result. Flush stdout before running subprocess.
3194 (Context.bot): New function.
3195 (get_parser): Allow bot action.
3196
3197 2016-11-30 Joseph Myers <joseph@codesourcery.com>
3198
3199 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
3200 Import email.mime.text, email.utils and smtplib modules.
3201 (Context.__init__): Initialize self.bot_config_json.
3202 (Context.run_builds): Handle bot-cycle action.
3203 (Context.load_bot_config_json): New function.
3204 (Context.part_build_old): Likewise.
3205 (Context.bot_cycle): Likewise.
3206 (Context.bot_build_mail): Likewise.
3207 (Context.bot_run_self): Likewise.
3208 (get_parser): Allow bot-cycle action.
3209
3210 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3211
3212 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
3213 Remove redirection to __stpcpy_ppc.
3214
3215 2016-11-30 Florian Weimer <fweimer@redhat.com>
3216
3217 Remove __libc_memalign from ld.so because it is unused.
3218 * elf/dl-minimal.c: Update comment on the malloc implementation.
3219 (malloc): Renamed from __libc_memalign, replacing the original
3220 malloc implementation. Replace the align parameter with
3221 MALLOC_ALIGNMENT.
3222 * elf/Versions (ld): Update comment and remove __libc_memalign.
3223 * sysdeps/nacl/ld.abilist: Likewise.
3224 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
3225 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
3226 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
3227 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
3228 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
3229 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
3230 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
3231 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
3232 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
3233 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
3234 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
3235 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
3236 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
3237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
3238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3240 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
3241 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
3242 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
3243 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
3244 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
3245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
3246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
3247 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
3248 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
3249 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
3250 * sysdeps/generic/localplt.data (ld.so): Likewise.
3251 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3252 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3253 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3254 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3255 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3256 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3257 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3258 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
3259 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3261 (ld.so): Likewise.
3262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3263 (ld.so): Likewise.
3264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3265 Likewise.
3266 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3267 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3268 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
3269 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
3270 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3271
3272 2016-11-30 Florian Weimer <fweimer@redhat.com>
3273
3274 [BZ #16628]
3275 Implement _dl_catch_error, _dl_signal_error in libc.so.
3276 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
3277 (catch_hook): Define as thread-local or regular variable,
3278 depending on DL_ERROR_BOOTSTRAP.
3279 (CATCH_HOOK): Remove.
3280 (dl_signal_error, _dl_catch_error): Use
3281 catch_hook. Add hidden definition for libc.
3282 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
3283 for DL_ERROR_BOOTSTRAP only.
3284 * elf/dl-error.c: New file.
3285 * elf/dl-error-minimal.c: Likewise.
3286 * elf/tst-latepthread.c: Likewise.
3287 * elf/tst-latepthreadmod.c: Likewise.
3288 * elf/Makefile (routines): Add dl-error.
3289 (dl-routines): Remove dl-error.
3290 (rtld-routines): Add dl-error-minimal.
3291 [build-shared] (tests): Add tst-latepthread.
3292 (module-names): Add tst-latepthreadmod.
3293 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
3294 symbol.
3295 (tst-latepthreadmod.so): Link against libpthread.
3296 (tst-latepthread): Link against libdbl.
3297 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
3298 _dl_catch_error.
3299 [ld] (GLIBC_PRIVATE): Likewise.
3300 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
3301 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
3302 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
3303 directly.
3304 * elf/dl-tsd.c: Remove file.
3305 * elf/rtld.c (_rtld_global_ro): Remove initializers for
3306 _dl_catch_error, _dl_signal_error.
3307 (_dl_initial_error_catch_tsd): Remove definition.
3308 (do_preload): Remove initialization of dl_error_catch_tsd.
3309 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
3310 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
3311 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3312 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3313 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
3314 set dl_error_catch_tsd.
3315 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
3316 _dl_error_catch_tsd member.
3317 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
3318 members.
3319 (_dl_initial_error_catch_tsd): Remove declaration.
3320 (_dl_dprintf): Provide definition for use outside of ld.so.
3321 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
3322 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
3323 prototype for libc.
3324 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
3325 _dl_catch_error.
3326 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3327 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3328 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3329 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3330 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3331 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3332 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3333 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3334 Likewise.
3335 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3337 (ld.so): Likewise.
3338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3339 (ld.so): Likewise.
3340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3341 Likewise.
3342 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3343 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3344 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3345 Likewise.
3346 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3347 Likewise.
3348 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3349
3350 2016-11-30 Florian Weimer <fweimer@redhat.com>
3351
3352 [BZ #4099]
3353 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
3354 _IO_BUFSIZ (8192).
3355
3356 2016-11-30 Carlos O'Donell <carlos@redhat.com>
3357
3358 * PROJECTS: Remove file.
3359
3360 2016-11-29 Florian Weimer <fweimer@redhat.com>
3361
3362 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
3363
3364 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
3365 Steve Ellcey <sellcey@caviumnetworks.com>
3366
3367 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
3368 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
3369 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
3370 fxstatat.
3371 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
3372 lxstat.
3373 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
3374 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
3375 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
3376 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
3377 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
3378 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
3379 __xstat.
3380
3381 2016-11-29 Florian Weimer <fweimer@redhat.com>
3382
3383 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
3384 Define.
3385 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
3386 definition.
3387
3388 2016-11-29 Florian Weimer <fweimer@redhat.com>
3389
3390 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
3391 version and turn into strong alias. Remove compat symbol.
3392
3393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3394 (__longjmp): Remove.
3395
3396 2016-11-29 Joseph Myers <joseph@codesourcery.com>
3397
3398 * bits/fp-fast.h: New file.
3399 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
3400 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
3401 * math/Makefile (headers): Add bits/fp-fast.h.
3402 * math/math.h: Include <bits/fp-fast.h>.
3403 * bits/mathdef.h (FP_FAST_FMA): Remove.
3404 (FP_FAST_FMAF): Likewise.
3405 (FP_FAST_FMAL): Likewise.
3406 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
3407 (FP_FAST_FMAF): Likewise.
3408 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
3409 (FP_FAST_FMAF): Likewise.
3410 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
3411 (FP_FAST_FMAF): Likewise.
3412 (FP_FAST_FMAL): Likewise.
3413 * sysdeps/arm/bits/mathdef.h: Remove file.
3414 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
3415 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3416 * sysdeps/tile/bits/mathdef.h: Likewise.
3417
3418 2016-11-28 Joseph Myers <joseph@codesourcery.com>
3419
3420 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
3421 * math/w_ilogb.c: Remove.
3422 * math/w_ilogbf.c: Likewise.
3423 * math/w_ilogbl.c: Likewise.
3424 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
3425 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
3426 * math/Makefile (gen-libm-calls): Add w_ilogbF.
3427 (libm-calls): Remove w_ilogbF.
3428 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
3429 (LDOUBLE_ilogbl_libm_version): New macro.
3430
3431 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
3432
3433 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
3434 [!__STRICT_ANSI__ && !__cplusplus].
3435
3436 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
3437
3438 [BZ #20750]
3439 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
3440 of PIC.
3441
3442 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3443 Yury Norov <ynorov@caviumnetworks.com>
3444 Steve Ellcey <sellcey@caviumnetworks.com>
3445
3446 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
3447 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
3448 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
3449 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
3450 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
3451 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
3452 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
3453 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
3454 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
3455 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
3456 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
3457 to get correct reg name for ILP32.
3458 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
3459 (RELA_SIZE): New Macro.
3460 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
3461 to support ILP32.
3462 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
3463 cast for ILP32 mode.
3464 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
3465 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
3466 * sysdeps/aarch64/memset.S (__memset): Ditto.
3467 * sysdeps/aarch64/strchr.S (strchr): Ditto.
3468 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
3469 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
3470 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
3471 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
3472 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
3473 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
3474 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
3475 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
3476 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
3477 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
3478 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
3479 change PTR_MANGLE call to use register numbers instead of names.
3480 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
3481 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
3482 ILP32 mode, change PTR_MANGLE calls to use register numbers.
3483 * sysdeps/aarch64/start.S (_start): Ditto.
3484 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
3485 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
3486 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
3487 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
3488 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
3489 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
3490 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
3491 Make defined values dependent on __ILP32__.
3492 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
3493 (sem_t): Change __align type.
3494 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
3495 PTR_SIZE): New Macros.
3496 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
3497 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
3498 Set when in ILP32 mode.
3499 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
3500 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
3501 Set elf flags for ILP32.
3502 (add_system_dir): Set ILP32 library directories.
3503 * sysdeps/unix/sysv/linux/aarch64/init-first.c
3504 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
3505 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
3506 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
3507 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
3508 New Macros.
3509 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
3510
3511 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
3512
3513 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
3514 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
3515 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
3516
3517 2016-11-28 Joseph Myers <joseph@codesourcery.com>
3518
3519 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
3520 <asm/cachectl.h>.
3521
3522 2016-11-27 Zack Weinberg <zackw@panix.com>
3523
3524 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
3525 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
3526
3527 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3528
3529 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
3530 error_t to fix usage in C++ programs.
3531
3532 2016-11-26 Joseph Myers <joseph@codesourcery.com>
3533
3534 * scripts/build-many-glibcs.py: Import datetime module.
3535 (Context.__init__): Load JSON build state. Initialize list of
3536 status logs.
3537 (Context.run_builds): Update saved build state.
3538 (Context.add_makefile_cmdlist): Update list of status logs.
3539 (Context.load_build_state_json): New function.
3540 (Context.store_build_state_json): Likewise.
3541 (Context.clear_last_build_state): Likewise.
3542 (Context.update_build_state): Likewise.
3543 (CommandList.status_logs): Likewise.
3544
3545 2016-11-25 Joseph Myers <joseph@codesourcery.com>
3546
3547 * scripts/build-many-glibcs.py (Context.__init__): Save text of
3548 script being executed.
3549 (Context.get_script_text): New function.
3550 (Context.exec_self): Likewise.
3551 (Context.checkout): Re-exec script if changed by checkout process.
3552
3553 2016-11-24 Joseph Myers <joseph@codesourcery.com>
3554
3555 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3556 (setpayloadsig): New declaration.
3557 * math/Versions (setpayloadsig): New libm symbol at version
3558 GLIBC_2.25.
3559 (setpayloadsigf): Likewise.
3560 (setpayloadsigl): Likewise.
3561 * math/Makefile (libm-calls): Add s_setpayloadsigF.
3562 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
3563 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
3564 (setpayloadsig_test_data): New array.
3565 (setpayloadsig_test): New function.
3566 (main): Call setpayloadsig_test.
3567 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
3568 setpayloadsigf and setpayloadsigl.
3569 * manual/libm-err-tab.pl: Update comment on interfaces without
3570 ulps tabulated.
3571 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
3572 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
3573 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
3574 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
3575 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
3576 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
3577 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3578 setpayloadsig.
3579 (CFLAGS-nldbl-setpayloadsig.c): New variable.
3580 * sysdeps/nacl/libm.abilist: Update.
3581 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3582 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3583 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3584 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3585 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3586 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3587 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3588 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3589 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3590 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3591 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3592 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3594 Likewise.
3595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3596 Likewise.
3597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3598 Likewise.
3599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3600 Likewise.
3601 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3602 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3603 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3604 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3605 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3607 Likewise.
3608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3609 Likewise.
3610 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3611 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3612 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3613
3614 * scripts/build-many-glibcs.py: Import json module.
3615 (Context.__init__): Take replace_sources argument. Load
3616 versions.json.
3617 (Context.load_versions_json): New function.
3618 (Context.store_json): Likewise.
3619 (Context.store_versions_json): Likewise.
3620 (Context.set_component_version): Likewise.
3621 (Context.checkout): Update versions.json. Check for and handle
3622 changes of version. Prefer previously explicitly specified
3623 version to default version.
3624 (Context.checkout_vcs): Return a revision identifier.
3625 (Context.git_checkout): Likewise.
3626 (Context.gcc_checkout): Likewise.
3627 (get_parser): Add --replace-sources option.
3628 (main): Pass replace_sources argument to Context call.
3629
3630 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3631
3632 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
3633 * nptl/allocatestack.c (allocate_stack): Likewise.
3634 (__reclaim_stacks): Likewise.
3635 (setxid_signal_thread): Obtain pid through syscall.
3636 * nptl/nptl-init.c (sigcancel_handler): Likewise.
3637 (sighandle_setxid): Likewise.
3638 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
3639 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3640 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3641 Likewise.
3642 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3643 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
3644 comment.
3645 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
3646 * nptl/descr.h (struct pthread): Change comment about pid value.
3647 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
3648 pid assert.
3649 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
3650 Do not set pid value.
3651 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
3652 pid cache check.
3653 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
3654 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
3655 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
3656 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
3657 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
3658 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3659 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
3660 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
3661 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
3662 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
3663 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
3664 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3665 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
3666 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3667 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
3668 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
3669 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3670 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
3671 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3672 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
3673 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
3674 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3675 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
3676 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3677 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
3678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3680 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3681 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3682 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3683 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
3684 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3685 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
3686 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3687 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
3688 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3689 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
3690 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3691 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
3692 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3693 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3694 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
3695 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
3696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3698 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3699 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3700 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3701 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3702 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3703 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
3704 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3705 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
3706 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
3707 struct access.
3708 (clone_test): Remove function.
3709 (do_test): Rewrite to take in consideration pid is not cached anymore.
3710
3711 2016-11-24 Joseph Myers <joseph@codesourcery.com>
3712
3713 * bits/flt-eval-method.h: New file.
3714 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
3715 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
3716 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
3717 * math/Makefile (headers): Add bits/flt-eval-method.h.
3718 * math/math.h: Include <bits/flt-eval-method.h>.
3719 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
3720 [__USE_ISOC99] (double_t): Likewise.
3721 * bits/mathdef.h (float_t): Remove.
3722 (double_t): Likewise.
3723 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
3724 (double_t): Likewise.
3725 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
3726 (double_t): Likewise.
3727 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
3728 (double_t): Likewise.
3729 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
3730 (double_t): Likewise.
3731 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
3732 (double_t): Likewise.
3733 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
3734 (double_t): Likewise.
3735 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
3736 (double_t): Likewise.
3737 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
3738 (double_t): Likewise.
3739 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
3740 (double_t): Likewise.
3741 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
3742 (double_t): Likewise.
3743 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
3744 (double_t): Likewise.
3745 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
3746 (double_t): Likewise.
3747 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
3748 (double_t): Likewise.
3749
3750 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
3751
3752 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
3753 instead of PIC.
3754
3755 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3756
3757 [BZ #20859]
3758 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
3759 (-0x7fffffff) instead of 0x80000001.
3760 * math/test-fp-ilogb-constants.c: New file.
3761 * math/Makefile (tests): Add test-fp-ilogb-constants.
3762
3763 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
3764
3765 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
3766 (_init): Use it in place of hardcoded R_MIPS_JALR.
3767 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
3768 (_init): Use it in place of hardcoded R_MIPS_JALR.
3769 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
3770 (_init): Use it in place of hardcoded R_MIPS_JALR.
3771
3772 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3773
3774 [BZ #20787]
3775 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
3776 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
3777 (double_t): Do not define to double if [__x86_64__] when
3778 __FLT_EVAL_METHOD__ is nonzero.
3779 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
3780 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
3781 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3782 test-flt-eval-method-387 and test-flt-eval-method-sse.
3783 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
3784 variable.
3785 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
3786
3787 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
3788
3789 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
3790 use of -fno-isolate-erroneous-paths options for tilepro.
3791
3792 2016-11-23 Florian Weimer <fweimer@redhat.com>
3793
3794 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
3795 structure initialization is no longer needed.
3796
3797 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3798
3799 [BZ #20855]
3800 * bits/mathdef.h (float_t): Define to float.
3801 * math/test-flt-eval-method.c: New file.
3802 * math/Makefile (tests): Add test-flt-eval-method.
3803 (CFLAGS-test-flt-eval-method.c): New variable.
3804
3805 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
3806
3807 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
3808 and __fstatfs. Make them aliases of __fstatfs64 if
3809 STATFS_IS_STATFS64 is set to non-zero.
3810 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
3811 and __statfs64.
3812 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
3813 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
3814 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
3815 for __statfs and statfs.
3816 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
3817 to 0.
3818 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
3819 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
3820 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
3821 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3822 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3823 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
3826 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
3827 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3828 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
3829 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
3830
3831 2016-11-22 Andreas Schwab <schwab@suse.de>
3832
3833 * misc/mkstemp.c: Include <fcntl.h>.
3834 * misc/mkstemps.c: Likewise.
3835 * misc/mkostemp.c: Likewise.
3836 * misc/mkostemps.c: Likewise.
3837
3838 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
3839
3840 [BZ #20847]
3841 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3842 array bounds.
3843 (__execvpe): Likewise.
3844
3845 2016-11-22 Joseph Myers <joseph@codesourcery.com>
3846
3847 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
3848 -fno-isolate-erroneous-paths options for tilepro.
3849
3850 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
3851
3852 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
3853 to 0 when in 32 bit mode.
3854 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
3855 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3856 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3857 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3859 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3860 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
3861 XSTAT_IS_XSTAT64 test.
3862 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
3863 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
3864 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
3865 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
3866 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
3867 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
3868 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
3869 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
3870 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
3871 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
3872 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
3873
3874 2016-11-19 Joseph Myers <joseph@codesourcery.com>
3875
3876 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3877 (setpayload): New declaration.
3878 * math/Versions (setpayload): New libm symbol at version
3879 GLIBC_2.25.
3880 (setpayloadf): Likewise.
3881 (setpayloadl): Likewise.
3882 * math/Makefile (libm-calls): Add s_setpayloadF.
3883 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3884 test_Ff_b1_data.
3885 (RUN_TEST_Ff_b1): New macro.
3886 (RUN_TEST_LOOP_Ff_b1): Likewise.
3887 (canonicalize_test_data): Update type.
3888 (setpayload_test_data): New array.
3889 (setpayload_test): New function.
3890 (main): Call setpayload_test.
3891 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3892 setpayloadf and setpayloadl.
3893 * manual/libm-err-tab.pl: Update comment on interfaces without
3894 ulps tabulated.
3895 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3896 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3897 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3898 Likewise.
3899 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3900 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3901 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3902 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3903 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3904 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3905 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3906 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3907 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3908 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3909 setpayload.
3910 (CFLAGS-nldbl-setpayload.c): New variable.
3911 * sysdeps/nacl/libm.abilist: Update.
3912 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3913 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3914 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3915 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3916 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3917 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3918 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3919 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3920 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3921 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3922 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3923 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3925 Likewise.
3926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3927 Likewise.
3928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3929 Likewise.
3930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3931 Likewise.
3932 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3933 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3934 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3935 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3936 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3938 Likewise.
3939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3940 Likewise.
3941 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3942 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3943 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3944
3945 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3946
3947 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3948 * include/unistd.h: Extend comment about __access_noerrno return
3949 semantics.
3950 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3951 (access_common): Correct typo for EACCES.
3952
3953 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
3954
3955 * sysdeps/tile/math-tests.h: New file.
3956
3957 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3958 (__old_set_dataplane): Rename from set_dataplane and make a
3959 compatibility symbol.
3960 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3961 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3962 sys/dataplane.h.
3963
3964 2016-11-18 Joseph Myers <joseph@codesourcery.com>
3965
3966 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3967 script quote words in command output to log suitably for input to
3968 the shell.
3969
3970 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
3971 Maciej W. Rozycki <macro@imgtec.com>
3972
3973 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3974 `.Lno_weak_fn' label.
3975 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3976 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3977
3978 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3979 Yury Norov <ynorov@caviumnetworks.com>
3980
3981 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3982 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3983 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3984 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3985 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3986 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3987 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3988 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3989 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3990 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3991 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3992 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3993 (sysdep_routines): Remove oldgetrlimit64.
3994 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3995 (sysdep_routines): Likewise.
3996 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3997 (sysdep_routines): Likewise.
3998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3999 [$(subdir) = resource] (sysdep_routines): Likewise.
4000 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
4001 [$(subdir) = resource] (sysdep_routines): Likewise.
4002 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
4003 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
4004 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
4005 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
4006 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
4007 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
4008 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
4009 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
4010 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
4011 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
4012 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
4013 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
4014 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
4015 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
4016 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
4017 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
4018 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
4019 setrlimit and getrlimit.
4020 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4021 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4022 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
4023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
4024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
4025 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
4026 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
4027 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4028 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4029 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
4030 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
4031 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
4032 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
4033 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
4034 (__old_getrlimit64): Add compatibility symbol.
4035 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
4036
4037 2016-11-17 Joseph Myers <joseph@codesourcery.com>
4038
4039 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
4040 newly built gmp, mpfr and mpc.
4041
4042 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
4043
4044 2016-11-16 Joseph Myers <joseph@codesourcery.com>
4045
4046 * conform/Makefile (linknamespace-libs): Rename to
4047 linknamespace-libs-thr.
4048 (linknamespace-libs-posix): New variable.
4049 (linknamespace-libs-xsi): Likewise.
4050 (linknamespace-libs-XPG3): Include libcrypt.a.
4051 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
4052 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
4053 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
4054 (linknamespace-libs-XOPEN2K): Likewise.
4055 (linknamespace-libs-XOPEN2K8): Likewise.
4056 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
4057
4058 [BZ #20829]
4059 * stdio-common/Versions (__snprintf): Add to version
4060 GLIBC_PRIVATE.
4061 * include/stdio.h (__snprintf): Use libc_hidden_proto.
4062 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
4063 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
4064 of snprintf.
4065 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4066
4067 2016-11-16 Zack Weinberg <zackw@panix.com>
4068
4069 * string/string.h: Remove obsolete comment stating that
4070 strcoll_l and strxfrm_l have not yet been standardized.
4071
4072 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4073
4074 * hurd/hurd.h (__hurd_fail_noerrno): New function.
4075 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
4076 __access_noerrno.
4077 * io/access.c (__access_noerrno): New function.
4078 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
4079 (hurd_fail_seterrno): Likewise.
4080 (access_common): Likewise.
4081 (__access_noerrno): Likewise.
4082 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
4083 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
4084 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
4085 macro.
4086
4087 2016-11-16 Joseph Myers <joseph@codesourcery.com>
4088
4089 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
4090 Only declare fpregs if [__SH_FPU_ANY__].
4091
4092 2016-11-15 Joseph Myers <joseph@codesourcery.com>
4093
4094 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
4095 Make code unconditional.
4096 [!(__SH4__ || __SH4A__)]: Remove conditional code.
4097
4098 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
4099
4100 * manual/sysinfo.texi (S_APPEND): Delete.
4101 (S_IMMUTABLE): Likewise.
4102
4103 2016-11-15 Denis Kaganovich <mahatma@eu.by>
4104 Magnus Granberg <zorry@gentoo.org>
4105 Mike Frysinger <vapier@gentoo.org>
4106
4107 [BZ #20662]
4108 * configure.ac (libc_cv_predef_stack_protector): Also check for
4109 __stack_chk_fail_local symbols.
4110 * configure: Regenerated.
4111
4112 2016-11-15 Florian Weimer <fweimer@redhat.com>
4113
4114 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4115 (libc_hidden_def): Remove redefinition.
4116 (__sigsetjmp): Add hidden definition.
4117 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4118 (libc_hidden_def): Remove redefinition.
4119 (__sigsetjmp): Add hidden definition.
4120
4121 2016-11-14 Joseph Myers <joseph@codesourcery.com>
4122
4123 * scripts/build-many-glibcs.py (os.path): Do not import.
4124 (Context): Inherit explicitly from object. Remove blank line
4125 between class and docstring.
4126 (Config): Likewise.
4127 (Glibc): Likewise.
4128 (Command): Likewise.
4129 (CommandList): Likewise.
4130 (Context.write_files): Store chmod mode in a variable.
4131
4132 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
4133 LIBC_SLIBDIR_RTLDDIR for tilegx32.
4134 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
4135
4136 2016-11-14 Zack Weinberg <zackw@panix.com>
4137
4138 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
4139 creating or re-creating it.
4140
4141 * string/bits/string2.h: Fix typo in comment.
4142
4143 2016-11-14 Zack Weinberg <zackw@panix.com>
4144
4145 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
4146 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
4147 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
4148 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
4149 of redirected function names.
4150
4151 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
4152 as well. Document that MESSAGE must be a single string literal.
4153
4154 2016-11-11 Joseph Myers <joseph@codesourcery.com>
4155
4156 * scripts/build-many-glibcs.py: New file.
4157
4158 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
4159 (do_test): Disable -Wmaybe-uninitialized around uses of
4160 except_mask.
4161
4162 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
4163
4164 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
4165
4166 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
4167 (atomic_store_release): Provide tilepro-specific implementations.
4168
4169 2016-11-10 Joseph Myers <joseph@codesourcery.com>
4170
4171 * math/math.h (__MATH_TG): New macro.
4172 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
4173 [__USE_ISOC99] (signbit): Likewise.
4174 [__USE_ISOC99] (isfinite): Likewise.
4175 [__USE_ISOC99] (isnan): Likewise.
4176 [__USE_ISOC99] (isinf): Likewise.
4177 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
4178 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
4179 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
4180 __MATH_TG and __MATH_EVAL_FMT2.
4181 * sysdeps/generic/math_private.h (fabs_tg): Define using
4182 __MATH_TG.
4183 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
4184 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
4185 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
4186 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
4187 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
4188 macro.
4189 (__iscanonical): Likewise.
4190 (iscanonical): Define using __MATH_TG.
4191
4192 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4193
4194 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
4195 guards.
4196
4197 * sysdeps/unix/sysv/linux/access.c: New file.
4198 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
4199
4200 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
4201
4202 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
4203 and __WORDSIZE32_PTRDIFF_LONG.
4204
4205 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
4206
4207 * sysdeps/aarch64/libm-test-ulps: Regenerated.
4208
4209 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4210
4211 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
4212 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
4213 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
4214 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
4215 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
4216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
4217 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
4218 * sysdeps/unix/sysv/linux/truncate.c: New file.
4219 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
4220 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4221 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
4222 Remove.
4223 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
4224 Likewise.
4225
4226 * posix/tst-truncate-common.c: New file.
4227 * posix/tst-truncate.c: Use tst-truncate-common.c.
4228 * posix/tst-truncate64.c: Likewise and add LFS tests.
4229 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
4230 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
4231 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
4232 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
4233 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
4234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
4235 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
4236 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
4237 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
4238 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4239 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
4240 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
4241 Remove.
4242 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
4243 Likewise.
4244
4245 2016-11-08 Joseph Myers <joseph@codesourcery.com>
4246
4247 [BZ #20790]
4248 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
4249 to MAXLINESIZE.
4250 * sunrpc/bug20790.x: New file.
4251 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
4252 variable.
4253 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
4254 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
4255
4256 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
4257
4258 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
4259
4260 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
4261 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
4262 calloc, realloc, free, memalign and __libc_memalign rather than
4263 making them optional.
4264
4265 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
4266 for libc.so.
4267
4268 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4269
4270 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
4271 ptw-lseek64.
4272 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
4273 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
4274 Likewise.
4275 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
4276 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
4277 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
4278 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
4279 * sysdeps/unix/sysv/linux/lseek.c: New file.
4280 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
4281 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
4282 __libc_lseek64 from auto-generation.
4283 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4284 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
4285
4286 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4287
4288 * nptl/tst-basic1.c (tf, do_test): Use write_message.
4289 * nptl/tst-cleanup1.c (do_test): Likewise.
4290 * nptl/tst-cleanup3.c (do_test): Likewise.
4291 * nptl/tst-key1.c (do_test): Likewise.
4292 * nptl/tst-key2.c (tf, do_test): Likewise.
4293 * nptl/tst-key3.c (tf, do_test): Likewise.
4294 * nptl/tst-stdio1.c (do_test): Likewise.
4295 * nptl/tst-stdio2.c (do_test): Likewise.
4296
4297 * nptl/tst-kill3.c (handler): Use write_message in place of write.
4298 * nptl/tst-kill6.c (handler): Likewise.
4299 * nptl/tst-tls2.c (CB): Likewise.
4300 * nptl/tst-tls3.c (CB): Likewise.
4301
4302 2016-11-07 Joseph Myers <joseph@codesourcery.com>
4303
4304 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
4305
4306 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
4307 Steve Ellcey <sellcey@caviumnetworks.com>
4308
4309 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
4310 __ASSUME_ST_INO_64_BIT as 0
4311 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
4312 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
4313 over the code where __ASSUME_ST_INO_64_BIT is used.
4314 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4315 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4316 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4317
4318 2016-11-07 Florian Weimer <fweimer@redhat.com>
4319
4320 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4321 Document ABI exposure of the __kind offset.
4322 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4323 Mention reason for the __kind offset exposure in the ABI.
4324 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4325 Likewise.
4326 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4327 Likewise.
4328 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4329 Likewise.
4330 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
4331 (struct __pthread_mutex_s): Likewise.
4332 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4333 Likewise.
4334 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4335 Likewise.
4336 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4337 Likewise.
4338 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4339 Likewise.
4340 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4341 Likewise.
4342 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4343 Likewise.
4344 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4345 (struct __pthread_mutex_s): Likewise.
4346 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4347 (struct __pthread_mutex_s): Likewise.
4348 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
4349 Likewise.
4350
4351 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
4352
4353 * test-skeleton.c: Document do_test usage.
4354
4355 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
4356
4357 * iconv/gconv.h (__gconv_info): Define __data element using a
4358 zero-length array.
4359
4360 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
4361
4362 * math/test-tgmath2.c: Split up test function.
4363
4364 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4365
4366 * Rules (tests-expected): New variable, depending on
4367 $(run-built-tests).
4368 (tests): Pass $(tests-expected) to merge-test-results.sh, not
4369 $(tests).
4370
4371 * Rules [$(run-built-tests) = no] (tests): Do not depend on
4372 $(tests-unsupported).
4373
4374 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4375
4376 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4377 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
4378
4379 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4380
4381 [BZ #20768]
4382 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
4383 __fegetenv instead of fegetenv.
4384
4385 [BZ #14139]
4386 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
4387 (find_files): Obtain platform name from libm-test-ulps-name and
4388 store in %pplatforms.
4389 (canonicalize_platform): Remove.
4390 (print_platforms): Use $pplatforms directly.
4391 (by_platforms): Do not allow for platforms missing from
4392 %pplatforms.
4393 * sysdeps/aarch64/libm-test-ulps-name: New file.
4394 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
4395 * sysdeps/arm/libm-test-ulps-name: Likewise.
4396 * sysdeps/generic/libm-test-ulps-name: Likewise.
4397 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
4398 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
4399 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
4400 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
4401 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
4402 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
4403 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
4404 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
4405 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
4406 * sysdeps/nios2/libm-test-ulps-name: Likewise.
4407 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
4408 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
4409 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
4410 * sysdeps/sh/libm-test-ulps-name: Likewise.
4411 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
4412 * sysdeps/tile/libm-test-ulps-name: Likewise.
4413 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
4414
4415 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
4416
4417 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
4418 (test-xfail-check-execstack): New variable.
4419
4420 * sysdeps/mips/localplt.data: New file.
4421
4422 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
4423 Steve Ellcey <sellcey@caviumnetworks.com>
4424
4425 * bits/wordsize.h: Add documentation.
4426 * sysdeps/aarch64/bits/wordsize.h : New file
4427 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
4428 definitions.
4429 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
4430 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
4431 with #if instead of #ifdef.
4432 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
4433 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
4434 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
4435 Add or change defines.
4436 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
4437 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4438 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
4439 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
4440 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4441 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4442 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
4443 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
4444 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
4445 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4446 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
4447 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
4448 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
4449 * sysdeps/x86/bits/wordsize.h: Likewise.
4450
4451 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
4452 Kevin Petit <kevin.petit@arm.com>
4453
4454 * sysdeps/aarch64/memchr.S (__memchr): New file.
4455
4456 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4457
4458 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
4459
4460 2016-11-03 Joseph Myers <joseph@codesourcery.com>
4461
4462 [BZ #19398]
4463 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
4464 $(linknamespace-symlists-tests).
4465
4466 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
4467
4468 * time/tst-strptime2.c: Ignore -Wformat-length warning.
4469
4470 2016-11-02 Florian Weimer <fweimer@redhat.com>
4471 Carlos O'Donell <carlos@redhat.com>
4472
4473 [Bug #20729]
4474 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
4475 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
4476 for -Os related change.
4477
4478 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
4479
4480 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
4481
4482 2016-11-01 Joseph Myers <joseph@codesourcery.com>
4483
4484 [BZ #19673]
4485 * manual/math.texi (Exponents and Logarithms): Correct description
4486 of clog10.
4487
4488 2016-10-31 Carlos O'Donell <carlos@redhat.com>
4489
4490 [Bz #20729]
4491 * locale/weight.h: Include libc-internal.h.
4492 * locale/weightwc.h: Likewise.
4493 * nptl/nptl_dbP.h: Likewise.
4494
4495 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
4496
4497 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
4498 when it is MACH_PORT_NULL.
4499
4500 2016-10-31 Andreas Schwab <schwab@suse.de>
4501
4502 [BZ #20707]
4503 * posix/glob.c (glob): Initialize pglob before checking for
4504 GLOB_BRACE. Don't call glob recursively if pattern contains no
4505 valid brace expression despite GLOB_BRACE.
4506 * posix/globtest.sh: Test it.
4507
4508 2016-10-28 Carlos O'Donell <carlos@redhat.com>
4509
4510 [BZ #20729]
4511 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
4512 Define.
4513 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
4514 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
4515 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
4516 for seq2.back_us and seq1.back_us only for -Os compiles.
4517 * locale/weightwc.h (findix): Likewise.
4518 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
4519 DB_GET_FIELD_ADDRESS only for -Os compiles.
4520 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
4521 for slen only for -Os compiles.
4522 * string/strcoll_l.c (get_next_seq): Ignore
4523 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
4524 for -Os compiles.
4525
4526 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
4527 * include/crypt.h: New file.
4528
4529 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4530
4531 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
4532 from test-skeleton.c.
4533 (statclass): Replace calls to write with calls to write_message.
4534
4535 2016-10-28 Joseph Myers <joseph@codesourcery.com>
4536
4537 * math/math.h
4538 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
4539 New macro.
4540 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
4541 Likewise.
4542 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
4543 Likewise.
4544 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
4545 SNANL.
4546 * math/test-double.h (snan_value_MACRO): New macro.
4547 * math/test-float.h (snan_value_MACRO): Likewise.
4548 * math/test-ldouble.h (snan_value_MACRO): Likewise.
4549 * math/libm-test.inc (issignaling_test_data): Add tests of
4550 snan_value_MACRO.
4551
4552 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4553
4554 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
4555 behavior when eliding a lock not held by the current thread.
4556 * sysdeps/powerpc/nptl/elide.h: Likewise.
4557
4558 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4559
4560 [BZ #20728]
4561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
4562 branch to _exit() by a function call.
4563
4564 2016-10-28 Florian Weimer <fweimer@redhat.com>
4565
4566 * malloc/malloc.c: Update chunk layout comments.
4567 (chunk_main_arena): Update comment.
4568
4569 2016-10-28 Florian Weimer <fweimer@redhat.com>
4570
4571 * crypt/sha256.c, crypt/sha256-block.c,
4572 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
4573 sha256_process_block to __sha256_process_block.
4574 * crypt/sha512.c, crypt/sha512-block.c,
4575 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
4576 sha512_process_block to __sha512_process_block.
4577
4578 2016-10-28 Carlos O'Donell <carlos@redhat.com>
4579
4580 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
4581
4582 * math/test-nan-overflow.c: Include stdlib.h for malloc.
4583
4584 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
4585
4586 [BZ #20019]
4587 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
4588 definition in unrelocated shared library.
4589 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4590
4591 2016-10-28 Florian Weimer <fweimer@redhat.com>
4592
4593 [BZ #20729]
4594 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
4595 * sysdeps/unix/sysv/linux/i386/Makefile
4596 (uses-6-syscall-arguments): Define.
4597 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
4598 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
4599 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
4600 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
4601 Likewise.
4602 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
4603 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
4604 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
4605 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
4606 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
4607 (CFLAGS-fallocate64.os): Likewise.
4608 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
4609 (CFLAGS-pthread_rwlock_timedrdlock.os)
4610 (CFLAGS-pthread_rwlock_timedwrlock.o)
4611 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
4612 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
4613 (CFLAGS-sem_timedwait.os): Likewise.
4614
4615 2016-10-28 Florian Weimer <fweimer@redhat.com>
4616
4617 * elf/tst-linkall-static.c: New file.
4618 * elf/Makefile (tests-static): Add tst-linkall-static.
4619 (tst-linkall-static): Link against static libraries.
4620
4621 2016-10-27 Florian Weimer <fweimer@redhat.com>
4622
4623 * malloc/malloc.c (sysmalloc): Initialize previous size field of
4624 mmaped chunks.
4625
4626 2016-10-28 Florian Weimer <fweimer@redhat.com>
4627
4628 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
4629 members to mchunk_prev_size, mchunk_size.
4630 (chunk_main_arena): Reverse sense and rename from
4631 chunk_non_main_arena.
4632 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
4633 mchunk_size instead of size.
4634 (set_non_main_arena): Define.
4635 (chunksize): Use chunksize_nomask instead of direct member access.
4636 (chunksize_nomask): Define.
4637 (next_chunk): Use chunksize instead of direct member access.
4638 (prev_size, set_prev_size): Define.
4639 (prev_chunk): Use prev_size instead of direct member access.
4640 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
4641 (inuse_bit_at_offset, set_inuse_bit_at_offset)
4642 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
4643 (mchunk_prev_size, mchunk_size): Poison tokens.
4644 (unlink): Use chunksize_nomask, prev_size accessors.
4645 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
4646 (do_check_free_chunk): Use prev_size accessor.
4647 (sysmalloc): Use set_prev_size, set_head accessors.
4648 (munmap_chunk, mremap_chunk): Use prev_size accessor.
4649 (__libc_free): Use chunksize_nomask accessor.
4650 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
4651 chunk_main_arena accessors.
4652 (_int_free): Use chunksize_nomask, prev_size accessors.
4653 (malloc_consolidate): Use chunksize, prev_size accessors.
4654 (_int_realloc): Use chunksize_nomask accessor.
4655 (_int_memalign): Use set_prev_size accessor.
4656 (__malloc_info): Use chunksize_nomask accessor.
4657 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
4658 accessors.
4659 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
4660 (heap_trim): Use chunksize_nomask, prev_size accessors.
4661
4662 2016-10-28 Joseph Myers <joseph@codesourcery.com>
4663
4664 [BZ #19380]
4665 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
4666 for inexact results.
4667 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
4668 of inexact result where mpfr_subnormalize is the only inexact
4669 step.
4670 * stdlib/tst-strtod-round-data.h: Regenerated.
4671 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
4672 Define to 0.
4673 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
4674
4675 2016-10-27 David S. Miller <davem@davemloft.net>
4676
4677 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
4678
4679 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
4680
4681 * malloc/malloc.c (do_set_mallopt_check): New function.
4682 (do_set_mmap_threshold): Likewise.
4683 (do_set_mmaps_max): Likewise.
4684 (do_set_top_pad): Likewise.
4685 (do_set_perturb_byte): Likewise.
4686 (do_set_trim_threshold): Likewise.
4687 (do_set_arena_max): Likewise.
4688 (do_set_arena_test): Likewise.
4689 (__libc_mallopt): Use them.
4690
4691 2016-10-26 Joseph Myers <joseph@codesourcery.com>
4692
4693 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4694 (canonicalize): New declaration.
4695 * math/Versions (canonicalize): New libm symbol at version
4696 GLIBC_2.25.
4697 (canonicalizef): Likewise.
4698 (canonicalizel): Likewise.
4699 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
4700 * math/s_canonicalize_template.c: New file.
4701 * math/libm-test.inc: Update comment on functions tested and
4702 testing of NaN payloads.
4703 (TEST_NAN_PAYLOAD): New macro.
4704 (NO_TEST_INLINE): Update value.
4705 (XFAIL_TEST): Likewise.
4706 (ERRNO_UNCHANGED): Likewise.
4707 (ERRNO_EDOM): Likewise.
4708 (ERRNO_ERANGE): Likewise.
4709 (IGNORE_RESULT): Likewise.
4710 (NON_FINITE): Likewise.
4711 (TEST_SNAN): Likewise.
4712 (NO_TEST_MATHVEC): Likewise.
4713 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
4714 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
4715 (struct test_Ffp_b1_data): New type.
4716 (RUN_TEST_Ffp_b1): New macro.
4717 (RUN_TEST_LOOP_Ffp_b1): Likewise.
4718 (canonicalize_test_data): New array.
4719 (canonicalize_test): New function.
4720 (main): Call canonicalize_test.
4721 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
4722 canonicalizef and canonicalizel.
4723 * manual/libm-err-tab.pl: Update comment on interfaces without
4724 ulps tabulated.
4725 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
4726 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
4727 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4728 canonicalize.
4729 (CFLAGS-nldbl-canonicalize.c): New variable.
4730 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
4731 to ...
4732 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
4733 ... here.
4734 (do_test): Also test canonicalizel.
4735 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
4736 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
4737 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
4738 file.
4739 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
4740 Use libm_hidden_def.
4741 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
4742 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
4743 (do_test): Also test canonicalizel.
4744 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
4745 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
4746 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
4747 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
4748 libm_hidden_def.
4749 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
4750 macro.
4751 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
4752 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
4753 * sysdeps/nacl/libm.abilist: Update.
4754 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4755 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4756 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4757 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4758 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4759 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4760 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4761 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4762 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4763 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4764 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4765 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4767 Likewise.
4768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4769 Likewise.
4770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4771 Likewise.
4772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4773 Likewise.
4774 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4775 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4776 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4777 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4778 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4780 Likewise.
4781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4782 Likewise.
4783 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4784 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4785 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4786
4787 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
4788 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4789 getpayload.
4790 (CFLAGS-nldbl-getpayload.c): New variable.
4791
4792 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4793
4794 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
4795 integer from the format string.
4796
4797 2016-10-26 Florian Weimer <fweimer@redhat.com>
4798
4799 [BZ #19473]
4800 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
4801 declarations.
4802 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
4803 weak aliases.
4804 * malloc/hooks.c (__malloc_get_state): Remove definition.
4805 (malloc_get_state): New stub implementation as
4806 compatibility symbol.
4807 (malloc_set_state): Rename from __malloc_set_state. Turn into
4808 compat symbol.
4809 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
4810 malloc_set_state.
4811 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
4812
4813 2016-10-26 Florian Weimer <fweimer@redhat.com>
4814
4815 * iconvdata/iso646.c (enum variant): Drop illegal_var.
4816 (names): Turn into concatenation of strings.
4817 (gconv_init): Adapt iteration over names.
4818
4819 2016-10-26 Florian Weimer <fweimer@redhat.com>
4820
4821 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
4822 make const.
4823 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
4824 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
4825 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
4826 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
4827 character in sbconv.
4828 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
4829 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
4830 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
4831
4832 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
4833
4834 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
4835
4836 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
4837 (M_TRIM_THRESHOLD): Likewise.
4838
4839 * manual/memory.texi (M_ARENA_TEST): Add documentation.
4840 (M_ARENA_MAX): Likewise.
4841 * malloc/malloc.c: Remove obsolete comment.
4842
4843 * manual/memory.texi: Add environment variable alternatives to
4844 setting mallopt parameters.
4845
4846 2016-10-26 Carlos O'Donell <carlos@redhat.com>
4847
4848 * include/atomic.h
4849 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
4850 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
4851
4852 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4853
4854 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
4855 * stdlib/tst-strfrom.h: New file.
4856 * stdlib/tst-strfrom.c: New file.
4857 * stdlib/tst-strfrom-locale.c: New file.
4858
4859 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
4860 * stdlib/bug-strtod2.c: Likewise.
4861 * stdlib/tst-strtod-round-skeleton.c: Likewise.
4862 * stdlib/tst-strtod6.c: Likewise.
4863 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
4864
4865 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4866
4867 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
4868 * manual/arith.texi: Document strfromd, strfromf, strfroml.
4869 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
4870 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
4871 * stdlib/stdlib.h (strfromd): New declaration.
4872 (strfromf): Likewise.
4873 (strfroml): Likewise.
4874 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
4875 strfrom.
4876 * stdlib/strfromd.c: New file.
4877 * stdlib/strfromf.c: Likewise.
4878 * stdlib/strfroml.c: Likewise.
4879 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
4880 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4881 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4882 * sysdeps/arm/nacl/libc.abilist: Update.
4883 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4884 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4885 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4886 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4887 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4888 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4889 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4890 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4891 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4892 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4893 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4894 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4895 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4896 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4901 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4902 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4903 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4904 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4905 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4908 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4909 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4910 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4911
4912 2016-10-25 Joseph Myers <joseph@codesourcery.com>
4913
4914 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4915 instead of cmpli.
4916 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4917 instead of cmpli.
4918
4919 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
4920
4921 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4922 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4923 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4924 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4925 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4926 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4927
4928 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4929
4930 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4931 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4932 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4933 SYSCALL_LL64_PRW.
4934 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4935 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4936 __ASSUME_PRW_DUMMY_ARG.
4937 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4938 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4939 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4940 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4941 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4942 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4943
4944 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
4945
4946 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4947
4948 2016-10-22 Florian Weimer <fweimer@redhat.com>
4949
4950 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4951 "C++", to override a potential extern "C" directive around the
4952 header file inclusion.
4953
4954 2016-10-21 Joseph Myers <joseph@codesourcery.com>
4955
4956 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4957
4958 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4959
4960 * sysdeps/powerpc/fpu/fenv_private.h:
4961 (_FPU_MASK_ALL): Rename to...
4962 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4963 XE FPSCR bits.
4964
4965 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4966
4967 (_FPU_MASK_ROUNDING): Rename to...
4968 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4969 NI bits.
4970
4971 (_FPU_MASK_EXCEPT_ROUND): Rename to...
4972 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4973 bits and rounding bits.
4974
4975 (__libc_feholdbits_ppc): New inline function to mask, set,
4976 and pontentially clear FSPCR bits, and change MSR[FE] bits.
4977 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4978 (libc_feholdexcept_setround_ppc): Likewise.
4979
4980 (__libc_femergeenv_ppc): New function to dynamically mask both
4981 old and new FP environments and merge.
4982 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4983 (libc_feresetround_ppc): Likewise.
4984 (libc_feupdateenv_test_ppc): Likewise.
4985 (libc_feupdateenv_ppc): Likewise.
4986
4987 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4988 of ISA RN bits, and update macro names.
4989 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4990 effectively the same as the previously mentioned function.
4991
4992 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4993 usage with fe_resetround_ppc.
4994
4995 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4996 to be used.
4997 (libc_feholdexcept_setround_ctxf): Likewise.
4998 (libc_feholdexcept_setround_ctxl): Likewise.
4999
5000 2016-10-21 Florian Weimer <fweimer@redhat.com>
5001
5002 [BZ #20715]
5003 * math/math.h [__cplusplus] (iszero): Define as function template.
5004 * math/Makefile [CXX] (tests): Add test-math-iszero.
5005 (CFLAGS-test-math-iszero.cc): Set.
5006 * math/test-math-iszero.cc: New file.
5007
5008 2016-10-20 Joseph Myers <joseph@codesourcery.com>
5009
5010 [BZ #20660]
5011 * sysdeps/arm/e_sqrt.c: New file.
5012 * sysdeps/arm/e_sqrtf.c: Likewise.
5013
5014 2016-10-19 Joseph Myers <joseph@codesourcery.com>
5015
5016 [BZ #20718]
5017 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
5018 not use floating-point comparisons to test sign.
5019 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
5020 Likewise.
5021
5022 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5023 (getpayload): New declaration.
5024 * math/Versions (getpayload): New libm symbol at version
5025 GLIBC_2.25.
5026 (getpayloadf): Likewise.
5027 (getpayloadl): Likewise.
5028 * math/Makefile (libm-calls): Add s_getpayloadF.
5029 * math/libm-test.inc: Include <nan-high-order-bit.h>.
5030 (struct test_f_f_data): Add comment.
5031 (RUN_TEST_fp_f): New macro.
5032 (RUN_TEST_LOOP_fp_f): Likewise.
5033 (getpayload_test_data): New array.
5034 (getpayload_test): New function.
5035 (main): Call getpayload_test.
5036 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
5037 descriptor.
5038 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
5039 getpayloadf and getpayloadl.
5040 * manual/libm-err-tab.pl: Update comment on interfaces without
5041 ulps tabulated.
5042 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
5043 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
5044 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
5045 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
5046 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
5047 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
5048 * sysdeps/nacl/libm.abilist: Update.
5049 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5050 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5051 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5052 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5053 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5054 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5055 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5056 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5057 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5058 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5059 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5060 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5062 Likewise.
5063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5064 Likewise.
5065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5066 Likewise.
5067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5068 Likewise.
5069 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5070 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5071 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5072 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5073 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5075 Likewise.
5076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5077 Likewise.
5078 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5079 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5080 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5081
5082 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5083
5084 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
5085 tst-fallocate{64}.
5086 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
5087 on syscall return.
5088
5089 2016-10-17 Carlos O'Donell <carlos@redhat.com>
5090
5091 [BZ #20689]
5092 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
5093 usable.
5094
5095 2016-10-17 Joseph Myers <joseph@codesourcery.com>
5096
5097 * sysdeps/generic/nan-high-order-bit.h: New file.
5098 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
5099 * sysdeps/mips/nan-high-order-bit.h: Likewise.
5100 * sysdeps/hppa/math_private.h: Remove file.
5101 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
5102 not define here.
5103 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
5104 <nan-high-order-bit.h>.
5105 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5106 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
5107 <nan-high-order-bit.h>.
5108 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5109 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
5110 <nan-high-order-bit.h>.
5111 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5112 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
5113 <nan-high-order-bit.h>.
5114 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5115 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
5116 <nan-high-order-bit.h>.
5117 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5118 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
5119 <nan-high-order-bit.h>.
5120 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5121 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
5122 <nan-high-order-bit.h>.
5123 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5124 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
5125 <nan-high-order-bit.h>.
5126 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5127 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
5128 <nan-high-order-bit.h>.
5129 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5130 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
5131 <nan-high-order-bit.h>.
5132 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5133 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
5134 <nan-high-order-bit.h>.
5135 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5136 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
5137 <nan-high-order-bit.h>.
5138 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5139 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
5140 <nan-high-order-bit.h>.
5141 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5142 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
5143 <nan-high-order-bit.h>.
5144 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5145 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
5146 <nan-high-order-bit.h>.
5147 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5148 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
5149 <nan-high-order-bit.h>.
5150 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5151 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
5152 <nan-high-order-bit.h>.
5153 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5154 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
5155 <nan-high-order-bit.h>.
5156 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5157
5158 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5159
5160 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
5161
5162 2016-09-22 John David Anglin <dave.anglin@bell.net>
5163
5164 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
5165 abort-instr.h.
5166 (EFAULT): Remove conditional define.
5167 (ENOSYS): Likewise.
5168 (atomic_compare_and_exchange_val_acq): Use instruction nullification
5169 instead of conditional branch instructions.
5170
5171 2016-10-15 Joseph Myers <joseph@codesourcery.com>
5172
5173 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5174 (totalordermag): New declaration.
5175 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
5176 New macro.
5177 * math/Versions (totalordermag): New libm symbol at version
5178 GLIBC_2.25.
5179 (totalordermagf): Likewise.
5180 (totalordermagl): Likewise.
5181 * math/Makefile (libm-calls): Add s_totalordermagF.
5182 * math/libm-test.inc (totalordermag_test_data): New array.
5183 (totalordermag_test): New function.
5184 (main): Call totalordermag_test.
5185 * math/test-tgmath.c (NCALLS): Increase to 125.
5186 (F(compile_test)): Call totalordermag.
5187 (F(totalordermag)): New function.
5188 * manual/arith.texi (FP Comparison Functions): Document
5189 totalordermag, totalordermagf and totalordermagl.
5190 * manual/libm-err-tab.pl: Update comment on interfaces without
5191 ulps tabulated.
5192 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
5193 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
5194 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
5195 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
5196 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
5197 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
5198 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
5199 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5200 totalordermag.
5201 (CFLAGS-nldbl-totalordermag.c): New variable.
5202 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
5203 (do_test): Also test totalordermagl.
5204 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
5205 Likewise.
5206 * sysdeps/nacl/libm.abilist: Update.
5207 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5208 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5209 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5210 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5211 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5212 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5213 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5214 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5215 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5216 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5217 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5218 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5220 Likewise.
5221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5222 Likewise.
5223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5224 Likewise.
5225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5226 Likewise.
5227 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5228 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5229 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5230 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5231 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5232 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5233 Likewise.
5234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5235 Likewise.
5236 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5237 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5238 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5239
5240 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
5241
5242 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
5243 boolean.
5244
5245 2016-10-13 Joseph Myers <joseph@codesourcery.com>
5246
5247 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
5248 raising FE_INVALID with feraisexcept in case where part of
5249 argument is infinite, subtract that part of argument from itself.
5250 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
5251 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
5252 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5253
5254 2016-10-12 Joseph Myers <joseph@codesourcery.com>
5255
5256 * math/libm-test.inc (totalorder_test_data): Add more tests.
5257
5258 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
5259
5260 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
5261 Undefine weak_alias and add a comment why mips64 require
5262 versioning.
5263
5264 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
5265
5266 [BZ #20647]
5267 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
5268 maximum CPUID level is less than 2.
5269
5270 2016-10-12 Joseph Myers <joseph@codesourcery.com>
5271
5272 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5273 (totalorder): New declaration.
5274 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
5275 New macro.
5276 * math/Versions (totalorder): New libm symbol at version
5277 GLIBC_2.25.
5278 (totalorderf): Likewise.
5279 (totalorderl): Likewise.
5280 * math/Makefile (libm-calls): Add s_totalorderF.
5281 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
5282 string.
5283 * math/libm-test.inc (PAYLOAD_DIG): New macro.
5284 (qnan_value_pl): Likewise.
5285 (snan_value_pl): Likewise.
5286 (qnan_value): Define using qnan_value_pl.
5287 (snan_value): Define using snan_value_pl.
5288 (struct test_ff_i_data): Add comment about which tests use this
5289 structure.
5290 (RUN_TEST_ff_b): New macro.
5291 (RUN_TEST_LOOP_ff_b): Likewise.
5292 (totalorder_test_data): New array.
5293 (totalorder_test): New function.
5294 (main): Call totalorder_test.
5295 * math/test-tgmath.c (NCALLS): Increase to 122.
5296 (F(compile_test)): Call totalorder.
5297 (F(totalorder)): New function.
5298 * manual/arith.texi (FP Comparison Functions): Document
5299 totalorder, totalorderf and totalorderl.
5300 * manual/libm-err-tab.pl: Update comment on interfaces without
5301 ulps tabulated.
5302 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
5303 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
5304 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
5305 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
5306 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
5307 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
5308 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
5309 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5310 totalorder.
5311 (CFLAGS-nldbl-totalorder.c): New variable.
5312 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
5313 file.
5314 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5315 Add test-totalorderl-ldbl-128ibm.
5316 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
5317 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
5318 test-totalorderl-ldbl-96.
5319 * sysdeps/nacl/libm.abilist: Update.
5320 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5321 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5322 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5323 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5324 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5325 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5326 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5327 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5328 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5329 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5330 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5331 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5333 Likewise.
5334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5335 Likewise.
5336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5337 Likewise.
5338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5339 Likewise.
5340 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5341 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5342 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5343 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5344 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5346 Likewise.
5347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5348 Likewise.
5349 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5350 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5351 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5352
5353 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5354
5355 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
5356 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
5357 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
5358 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
5359 remove ENOSYS implementation.
5360 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
5361 Consolidate all Linux implementations.
5362
5363 2016-10-11 Florian Weimer <fweimer@redhat.com>
5364
5365 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
5366 * resolv/herror.c (herror): Cast away const-ness.
5367 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
5368 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
5369
5370 2016-10-11 Joseph Myers <joseph@codesourcery.com>
5371
5372 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
5373 instead of M_NAN + M_NAN.
5374 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5375
5376 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5377
5378 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
5379 unused variable 'p'.
5380
5381 2016-10-09 Alan Modra <amodra@gmail.com>
5382 Andreas Schwab <schwab@linux-m68k.org>
5383
5384 [BZ #20554]
5385 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
5386 [PIC && !SHARED]: Set up PIC register for PLT call.
5387
5388 2016-10-07 Joseph Myers <joseph@codesourcery.com>
5389
5390 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
5391 conditional on value of [__FLT_EVAL_METHOD__].
5392 * math/test-iseqsig-excess-precision.c: New file.
5393 * math/Makefile (tests): Add test-iseqsig-excess-precision.
5394
5395 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5396
5397 * math/s_iseqsig_template.c: Include math-private.h.
5398
5399 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
5400 * posix/tst-posix_fadvise.c: New file.
5401 * posix/tst-posix_fadvise64.c: Likewise.
5402 * posix/tst-posix_fadvise-common.c: Likewise.
5403 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5404 (__ASSUME_FADVISE64_64_6ARG): Define.
5405 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5406 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
5407 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5408 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
5409 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
5410 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
5411 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
5412 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5413 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
5414 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
5415 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
5416 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
5417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
5418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
5419 Likewise.
5420 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
5421 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
5422 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
5423 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5424 Alias to __posix_fadvise64_l32.
5425 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
5426 Add compat definition to posix_fadvise64.
5427 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5428 Add versioned definition to posix_fadvise64.
5429 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
5430 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
5431 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
5432 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
5433 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
5434
5435 * io/Makefile (tests): Add tst-posix_fallocate and
5436 tst-posix_fallocate64.
5437 * io/tst-posix_fallocate-common.c: New file.
5438 * io/tst-posix_fallocate.c: Likewise.
5439 * io/tst-posix_fallocate64.c: Likewise.
5440 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
5441 file.
5442 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
5443 Likewise.
5444 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
5445 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
5446 Likewise.
5447 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
5448 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
5449 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
5450 SYSCALL_LL to pass both offset and len arguments.
5451 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
5452 Likewise.
5453 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
5454 __libc_pwrite64 alias used by posix_fallocate64.
5455
5456 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5457 tst-fallocate64.
5458 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5459 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5460 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5461 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5462 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5463 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5464 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5465 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5466 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5467 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5468 macro on offset argument.
5469 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5470 SYSCALL_LL64 on offset argument.
5471
5472 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5473 tst-fallocate64.
5474 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5475 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5476 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5477 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5478 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5479 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5480 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5481 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5482 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5483 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5484 macro on offset argument.
5485 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5486 SYSCALL_LL64 on offset argument.
5487 * test-skeleton.c (FAIL_RET): Add macro.
5488 (FAIL_EXIT): Likewise.
5489 (FAIL_EXIT1): Likewise.
5490 (_FAIL): Likewise.
5491
5492 2016-10-07 Florian Weimer <fweimer@redhat.com>
5493
5494 [BZ #20629]
5495 resolv: Remove RES_USEBSTRING and its implementation.
5496 * resolv/resolv.h (RES_USEBSTRING): Remove.
5497 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
5498 (digitvalue, encode_bitstring, decode_bitstring): Remove.
5499 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
5500 (labellen): Remove extended label types support.
5501 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
5502 * resolv/res_init.c (res_setoptions): Likewise.
5503 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5504
5505 2016-10-07 Florian Weimer <fweimer@redhat.com>
5506
5507 resolv: Remove RES_NOIP6DOTINT and its implementation.
5508 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
5509 (RES_NOIP6DOTINT): Remove.
5510 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
5511 handling.
5512 * resolv/res_debug.c (p_option): Likewise.
5513 * resolv/res_init.c (res_setoptions): Likewise.
5514 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5515
5516 2016-10-07 Florian Weimer <fweimer@redhat.com>
5517
5518 resolv: Deprecate unimplemented flags.
5519 * misc/sys/cdefs.h (__glibc_macro_warning1)
5520 (__glibc_macro_warning): Define.
5521 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
5522 (RES_KEEPTSIG): Mark as deprecated.
5523 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
5524 RES_NOCHECKNAME, RES_KEEPTSIG.
5525 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
5526
5527 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5528
5529 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
5530 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
5531 Use strong_alias to create symbols for glibc verison 2.19.
5532
5533 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5534
5535 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
5536
5537 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5538
5539 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
5540
5541 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5542
5543 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
5544
5545 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5546
5547 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5548 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
5549 in header for using it as type for ifunc function because __GI_* symbols
5550 for ppc32 do not target the ifunc symbols.
5551 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5552
5553 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5554
5555 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
5556 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
5557 libc_ifunc_hidden_def.
5558 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
5559 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
5560 Redirect ifunced function in header for using it as type of ifunc'ed
5561 function. Redefine libc_hidden_def to use fallback non ifunc'ed
5562 function for __GI_* symbol.
5563 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
5564 * include/libc-symbols.h
5565 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
5566
5567 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5568
5569 [BZ #20478]
5570 * sysdeps/s390/multiarch/ifunc-resolve.h
5571 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
5572 to create ifunc symbols.
5573 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
5574 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
5575 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
5576 for using it as type for ifunc function.
5577 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5578 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5579 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5580 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5581 * sysdeps/s390/multiarch/strcat.c: Likewise.
5582 * sysdeps/s390/multiarch/strchr.c: Likewise.
5583 * sysdeps/s390/multiarch/strcmp.c: Likewise.
5584 * sysdeps/s390/multiarch/strcpy.c: Likewise.
5585 * sysdeps/s390/multiarch/strcspn.c: Likewise.
5586 * sysdeps/s390/multiarch/strlen.c: Likewise.
5587 * sysdeps/s390/multiarch/strncmp.c: Likewise.
5588 * sysdeps/s390/multiarch/strncpy.c: Likewise.
5589 * sysdeps/s390/multiarch/strnlen.c: Likewise.
5590 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
5591 * sysdeps/s390/multiarch/strrchr.c: Likewise.
5592 * sysdeps/s390/multiarch/strspn.c: Likewise.
5593 * sysdeps/s390/multiarch/wcschr.c: Likewise.
5594 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5595 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
5596 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
5597 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5598 * sysdeps/s390/multiarch/wmemset.c: Likewise.
5599 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5600 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
5601 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
5602 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5603 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
5604 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
5605
5606 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5607
5608 * include/libc-symbols.h (__ifunc_resolver):
5609 New macro is used by __ifunc* macros.
5610 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
5611 depending on HAVE_GCC_IFUNC.
5612 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
5613 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
5614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5615 Redirect ifunced function in header for using as type for ifunc function.
5616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
5617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
5618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
5619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
5620 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5621 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5622 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5623 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5624 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5625 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5626 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5627 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5628 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5629 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
5632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
5634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5635 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5636 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5637 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5638 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5639 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5640 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5641 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5642 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5643 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5644 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5645 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5646 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5647 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
5648 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
5650 Add libc_hidden_def() and use libc_ifunc_hidden() macro
5651 instead of libc_ifunc() macro.
5652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
5653 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5654
5655 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5656
5657 * config.h.in (HAVE_GCC_IFUNC): New undef.
5658 * configure.ac: Add check if gcc supports attribute ifunc feature.
5659 * configure: Regenerated.
5660 * manual/install.texi: Add recommendation for gcc with
5661 indirect-function support.
5662 * INSTALL: Regenerated.
5663
5664 2016-10-06 Joseph Myers <joseph@codesourcery.com>
5665
5666 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
5667 macro.
5668 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5669 (__iseqsig): New declaration.
5670 * math/s_iseqsig_template.c: New file.
5671 * math/Versions (__iseqsigf): New libm symbol at version
5672 GLIBC_2.25.
5673 (__iseqsig): Likewise.
5674 (__iseqsigl): Likewise.
5675 * math/libm-test.inc (iseqsig_test_data): New array.
5676 (iseqsig_test): New function.
5677 (main): Call iseqsig_test.
5678 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
5679 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
5680 * manual/libm-err-tab.pl: Update comment on interfaces without
5681 ulps tabulated.
5682 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
5683 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
5684 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
5685 * sysdeps/nacl/libm.abilist: Update.
5686 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5687 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5688 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5689 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5690 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5691 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5692 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5693 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5694 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5695 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5696 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5697 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5699 Likewise.
5700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5701 Likewise.
5702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5703 Likewise.
5704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5705 Likewise.
5706 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5707 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5708 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5709 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5710 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5712 Likewise.
5713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5714 Likewise.
5715 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5716 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5717 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5718
5719 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
5720
5721 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
5722 do_sincos_2, sloww, sloww1): Update comments.
5723
5724 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
5725 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
5726
5727 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
5728 K boolean and rename it.
5729 (__sin): Adjust.
5730 (__cos): Adjust.
5731
5732 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
5733 Siddhesh Poyarekar <siddhesh@sourceware.org>
5734
5735 * manual/nss.texi: Fix typos in the manual.
5736
5737 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
5738
5739 * manual/contrib.texi: Fix typos in the manual.
5740
5741 * manual/maint.texi: Fix typos in the manual.
5742
5743 * manual/install.texi: Fix typos in the manual.
5744 * INSTALL: Regenerated.
5745
5746 * manual/lang.texi: Fix typos in the manual.
5747
5748 * manual/probes.texi: Fix typos in the manual.
5749
5750 * manual/threads.texi: Fix typos in the manual.
5751
5752 * manual/debug.texi: Fix typos in the manual.
5753
5754 * manual/crypt.texi: Fix typos in the manual.
5755
5756 * manual/conf.texi: Fix typos in the manual.
5757
5758 * manual/sysinfo.texi: Fix typos in the manual.
5759
5760 * manual/users.texi: Fix typos in the manual.
5761
5762 * manual/job.texi: Fix typos in the manual.
5763
5764 * manual/process.texi: Fix typos in the manual.
5765
5766 * manual/argp.texi: Fix typos in the manual.
5767 * manual/getopt.texi: Likewise.
5768 * manual/startup.texi: Likewise.
5769
5770 * manual/signal.texi: Fix typos in the manual.
5771
5772 * manual/setjmp.texi: Fix typos in the manual.
5773
5774 * manual/resource.texi: Fix typos in the manual.
5775
5776 * manual/time.texi: Fix typos in the manual.
5777
5778 * manual/arith.texi: Fix typos in the manual.
5779
5780 * manual/math.texi: Fix typos in the manual.
5781
5782 * manual/syslog.texi: Fix typos in the manual.
5783
5784 * manual/terminal.texi: Fix typos in the manual.
5785
5786 * manual/socket.texi: Fix typos in the manual.
5787
5788 * manual/filesys.texi: Fix typos in the manual.
5789
5790 * manual/llio.texi: Fix typos in the manual.
5791
5792 * manual/stdio.text: Fix typos in the manual.
5793
5794 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
5795
5796 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
5797 instead of K1.
5798
5799 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
5800 SHIFT_QUADRANT and make it bool.
5801 (do_sincos_2): Likewise.
5802 (sloww): Likewise.
5803 (sloww1): Likewise.
5804 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
5805 (__cos): Likewise.
5806
5807 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5808
5809 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5810
5811 2016-10-04 Joseph Myers <joseph@codesourcery.com>
5812
5813 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
5814 Define to __WORDSIZE, not conditional on [LONG_MAX ==
5815 0x7fffffffL].
5816 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5817
5818 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5819
5820 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
5821 inline by __inline__.
5822 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
5823 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
5824 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
5825 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
5826 sigset_t from signal.h.
5827 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
5828 which is already required.
5829
5830 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
5831
5832 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5833
5834 2016-10-03 Joseph Myers <joseph@codesourcery.com>
5835
5836 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
5837 (struct tcp_repair_window): New type.
5838
5839 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5840
5841 * libio/tst-memstream3.c: Include string.h.
5842
5843 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5844
5845 [BZ #18241]
5846 [BZ #20181]
5847 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
5848 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
5849 write position is at the end the buffer.
5850 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
5851 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
5852 (_IO_str_seekoff): Set correct offset from negative displacement and
5853 set EINVAL for invalid ones.
5854 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
5855 buffer length.
5856 (_IO_wstr_switch_to_get_mode): New function.
5857 (_IO_wstr_seekoff): Set correct offset from negative displacement and
5858 set EINVAL for invalid ones.
5859 * libio/tst-memstream3.c: New file.
5860 * libio/tst-wmemstream3.c: Likewise.
5861 * manual/examples/memstrm.c: Remove warning when priting size_t.
5862
5863 2016-09-30 Joseph Myers <joseph@codesourcery.com>
5864
5865 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
5866 macro to use __builtin_fma.
5867 * sysdeps/x86_64/fpu/dla.h: Remove file.
5868
5869 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5870 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
5871 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
5872
5873 2016-09-30 Carlos O'Donell <carlos@redhat.com>
5874
5875 [BZ #20292]
5876 * elf/Makefile (routines): Add dl-addr-obj.
5877 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
5878 tst-_dl_addr_inside_object.
5879 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
5880 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5881 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5882 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5883 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5884 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5885 * elf/dl-open.c: Likewise.
5886 * elf/dl-addr-obj.c: New file.
5887 * elf/tst-_dl_addr_inside_object.c: New file.
5888
5889 2016-09-30 Joseph Myers <joseph@codesourcery.com>
5890
5891 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5892 <bits/iscanonical.h>.
5893 * bits/iscanonical.h: New file.
5894 * math/s_iscanonicall.c: Likewise.
5895 * math/Versions (__iscanonicall): New libm symbol at version
5896 GLIBC_2.25.
5897 * math/libm-test.inc (iscanonical_test_data): New array.
5898 (iscanonical_test): New function.
5899 (main): Call iscanonical_test.
5900 * math/Makefile (headers): Add bits/iscanonical.h.
5901 (type-ldouble-routines): Add s_iscanonicall.
5902 * manual/arith.texi (Floating Point Classes): Document
5903 iscanonical.
5904 * manual/libm-err-tab.pl: Update comment on interfaces without
5905 ulps tabulated.
5906 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5907 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5908 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5909 Likewise.
5910 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5911 test-iscanonical-ldbl-128ibm.
5912 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5913 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5914 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5915 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5916 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5917 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5918 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5920 Likewise.
5921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5922 Likewise.
5923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5924 Likewise.
5925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5926 Likewise.
5927 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5928 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5929
5930 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5931
5932 * string/bits/string3.h: Remove C++ style comments.
5933
5934 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
5935
5936 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5937 instead of ternary condition.
5938 (do_sincos_2): Likewise.
5939 (__sin): Likewise.
5940 (__cos): Likewise.
5941 (slow): Likewise.
5942 (sloww): Likewise.
5943 (sloww1): Likewise.
5944 (bsloww): Likewise.
5945 (bsloww1): Likewise.
5946
5947 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5948 instead of ternary condition.
5949 (do_sin_slow): Likewise.
5950 (do_sincos_1): Likewise.
5951 (do_sincos_2): Likewise.
5952 (__cos): Likewise.
5953 (sloww): Likewise.
5954 (sloww1): Likewise.
5955 (sloww2): Likewise.
5956 (bsloww): Likewise.
5957 (bsloww1): Likewise.
5958 (bsloww2): Likewise.
5959
5960 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5961 check from here...
5962 (slow2): ... and here...
5963 (__sin): ... to here.
5964
5965 2016-09-28 Joseph Myers <joseph@codesourcery.com>
5966
5967 * math/math.h
5968 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5969 Cast argument to its own type.
5970 * math/test-iszero-excess-precision.c: New file.
5971 * math/Makefile (tests): Add test-iszero-excess-precision.
5972 (CFLAGS-test-iszero-excess-precision.c): New variable.
5973
5974 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5975
5976 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5977 field, add err field.
5978 (__spawni_child): Report error through err member instead of pipe.
5979 (__spawnix): Likewise.
5980
5981 2016-09-28 Zack Weinberg <zackw@panix.com>
5982
5983 * scripts/check-installed-headers.sh: Generalize treatment of
5984 sys/elf.h to all target architectures.
5985
5986 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5987 deleted typedef ucontext_t.
5988
5989 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5990
5991 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5992 (__INTERNAL_SYSCALL1): Likewise.
5993 (__INTERNAL_SYSCALL2): Likewise.
5994 (__INTERNAL_SYSCALL3): Likewise.
5995 (__INTERNAL_SYSCALL4): Likewise.
5996 (__INTERNAL_SYSCALL5): Likewise.
5997 (__INTERNAL_SYSCALL6): Likewise.
5998 (__INTERNAL_SYSCALL7): Likewise.
5999 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
6000 (__INTERNAL_SYSCALL_NARGS): Likewise.
6001 (__INTERNAL_SYSCALL_DISP): Likewise.
6002 (INTERNAL_SYSCALL_CALL): Likewise.
6003 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
6004 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
6005 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
6006 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
6007 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
6008 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
6009 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
6010 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
6011 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
6012 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
6013 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
6014 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
6015 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
6016
6017 2016-09-23 Joseph Myers <joseph@codesourcery.com>
6018
6019 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
6020 macro.
6021 * math/libm-test.inc (iszero_test_data): New array.
6022 (iszero_test): New function.
6023 (main): Call iszero_test.
6024 * manual/arith.texi (Floating Point Classes): Document iszero.
6025 * manual/libm-err-tab.pl: Update comment on interfaces without
6026 ulps tabulated.
6027
6028 2016-09-23 Zack Weinberg <zackw@panix.com>
6029
6030 * scripts/check-installed-headers.sh: New script.
6031 * Rules: In each directory that defines header files to be installed,
6032 run check-installed-headers.sh on them as a special test.
6033 * Makefile: Likewise for the headers installed at top level.
6034
6035 * include/aliases.h, include/alloca.h, include/argz.h
6036 * include/arpa/nameser.h, include/arpa/nameser_compat.h
6037 * include/elf.h, include/envz.h, include/err.h
6038 * include/execinfo.h, include/fpu_control.h, include/getopt.h
6039 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
6040 * include/link.h, include/malloc.h, include/mcheck.h
6041 * include/mntent.h, include/netinet/ether.h
6042 * include/nss.h, include/obstack.h, include/printf.h
6043 * include/pty.h, include/resolv.h, include/rpc/auth.h
6044 * include/rpc/auth_des.h, include/rpc/auth_unix.h
6045 * include/rpc/clnt.h, include/rpc/des_crypt.h
6046 * include/rpc/key_prot.h, include/rpc/netdb.h
6047 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
6048 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
6049 * include/rpc/rpc_msg.h, include/rpc/svc.h
6050 * include/rpc/svc_auth.h, include/rpc/xdr.h
6051 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
6052 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
6053 * include/rpcsvc/ypupd.h, include/shadow.h
6054 * include/stdio_ext.h, include/sys/epoll.h
6055 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
6056 * include/sys/prctl.h, include/sys/profil.h
6057 * include/sys/statfs.h, include/sys/sysctl.h
6058 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
6059 * sysdeps/arm/nacl/include/bits/setjmp.h
6060 * sysdeps/mips/include/sys/asm.h
6061 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
6062 * sysdeps/unix/sysv/linux/include/sys/timex.h
6063 * sysdeps/x86/fpu/include/bits/fenv.h:
6064 Add #ifndef _ISOMAC guard around internal declarations.
6065 Add multiple-inclusion guard if not already present.
6066
6067 2016-09-23 Zack Weinberg <zackw@panix.com>
6068
6069 * sysdeps/generic/sys/ucontext.h
6070 * sysdeps/arm/sys/ucontext.h
6071 * sysdeps/i386/sys/ucontext.h
6072 * sysdeps/m68k/sys/ucontext.h
6073 * sysdeps/mips/sys/ucontext.h
6074 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
6075 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
6076 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
6077 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
6078 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
6079 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
6080 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
6081 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
6082 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
6083 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
6084 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
6085 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
6086 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
6087 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
6088 Include both bits/sigcontext.h and bits/sigstack.h.
6089 Fix grammar error in comment, if present.
6090
6091 * bits/sigstack.h
6092 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
6093 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
6094 * sysdeps/unix/sysv/linux/bits/sigstack.h
6095 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
6096 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
6097 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
6098 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
6099 * bits/sigcontext.h
6100 * sysdeps/mach/hurd/i386/bits/sigcontext.h
6101 * sysdeps/unix/sysv/linux/bits/sigcontext.h
6102 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
6103 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
6104 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
6105 as well as signal.h, if this was not already allowed. Request
6106 definition of size_t if necessary. Minimize semantically-null
6107 differences across files.
6108
6109 2016-09-23 Zack Weinberg <zackw@panix.com>
6110
6111 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
6112 Remove all logic conditional on __need macros. Move all the
6113 conditionally defined types to their own headers...
6114 * time/bits/types/clock_t.h: Define clock_t here.
6115 * time/bits/types/clockid_t.h: Define clockid_t here.
6116 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
6117 * time/bits/types/struct_timespec.h: Define struct timespec here.
6118 * time/bits/types/struct_timeval.h: Define struct timeval here.
6119 * time/bits/types/struct_tm.h: Define struct tm here.
6120 * time/bits/types/time_t.h: Define time_t here.
6121 * time/bits/types/timer_t.h: Define timer_t here.
6122 * time/Makefile: Install the new headers.
6123
6124 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
6125 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
6126 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
6127 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
6128 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
6129 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
6130 * sysdeps/unix/sysv/linux/bits/resource.h
6131 * sysdeps/unix/sysv/linux/bits/timex.h
6132 * sysdeps/unix/sysv/linux/mips/bits/resource.h
6133 * sysdeps/unix/sysv/linux/net/ppp_defs.h
6134 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
6135 * sysdeps/unix/sysv/linux/sys/acct.h
6136 * sysdeps/unix/sysv/linux/sys/timerfd.h
6137 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
6138 * time/sys/time.h, time/sys/timeb.h
6139 Use the new bits/types headers.
6140
6141 * include/time.h: Remove __need logic.
6142 * include/bits/time.h
6143 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
6144 * include/bits/types/time_t.h, include/bits/types/timer_t.h
6145 * include/bits/types/struct_itimerspec.h
6146 * include/bits/types/struct_timespec.h
6147 * include/bits/types/struct_timeval.h
6148 * include/bits/types/struct_tm.h:
6149 New wrapper headers.
6150
6151 2016-09-23 Zack Weinberg <zackw@panix.com>
6152
6153 * sysdeps/mach/hurd/net/if_ppp.h
6154 * sysdeps/unix/sysv/linux/net/if_ppp.h:
6155 Only define struct ifpppstatsreq and struct ifpppcstatsreq
6156 if __USE_MISC is defined, to ensure struct ifreq is declared.
6157
6158 * inet/netinet/ether.h: Condition all function prototypes
6159 on __USE_MISC, to ensure struct ether_addr is declared.
6160
6161 * socket/bits/types/struct_osockaddr.h: New header.
6162 * include/bits/types/struct_osockaddr.h: New wrapper.
6163 * socket/Makefile: Install the new header.
6164 * socket/sys/socket.h, inet/protocols/talkd.h:
6165 Refer to bits/types/struct_osockaddr.h for the definition of
6166 struct osockaddr.
6167
6168 2016-09-23 Zack Weinberg <zackw@panix.com>
6169
6170 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
6171 * inet/protocols/routed.h, inet/protocols/talkd.h
6172 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
6173 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
6174 * sysdeps/generic/netinet/if_ether.h
6175 * sysdeps/generic/netinet/in_systm.h
6176 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
6177 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6178 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
6179 * sysdeps/mach/hurd/net/if_arp.h
6180 * sysdeps/mach/hurd/net/if_ppp.h
6181 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
6182 * sysdeps/unix/sysv/linux/bits/in.h
6183 * sysdeps/unix/sysv/linux/net/ethernet.h
6184 * sysdeps/unix/sysv/linux/net/if_arp.h
6185 * sysdeps/unix/sysv/linux/net/if_ppp.h
6186 * sysdeps/unix/sysv/linux/net/if_shaper.h
6187 * sysdeps/unix/sysv/linux/net/route.h
6188 * sysdeps/unix/sysv/linux/netinet/if_ether.h
6189 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6190 * sysdeps/unix/sysv/linux/netinet/if_tr.h
6191 * sysdeps/unix/sysv/linux/netipx/ipx.h
6192 * sysdeps/unix/sysv/linux/sys/acct.h
6193 * include/arpa/nameser.h, include/resolv.h:
6194 Change all uses of u_char to unsigned char,
6195 u_short and ushort to unsigned short, u_int and uint to unsigned int,
6196 u_long and ulong to unsigned long, u_int8_t to uint8_t,
6197 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
6198 and u_int64_t and u_quad_t to uint64_t.
6199
6200 * mach/sys/reboot.h: Remove two casts of integer literals
6201 to the types they already have.
6202
6203 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
6204 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
6205 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
6206 from referring to 'unsigned char' to 'uint8_t' for consistency with
6207 the macro definition below.
6208
6209 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
6210 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
6211 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
6212 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
6213 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
6214 * sysdeps/unix/sysv/linux/sys/acct.h
6215 * include/arpa/nameser.h, include/resolv.h:
6216 Fix indentation disrupted by mechanical edits.
6217
6218 * inet/protocols/talkd.h, resolv/arpa/nameser.h
6219 * sysdeps/generic/netinet/in_systm.h
6220 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6221 * sysdeps/gnu/netinet/udp.h
6222 * sysdeps/unix/sysv/linux/net/ethernet.h
6223 * sysdeps/unix/sysv/linux/net/if_arp.h
6224 * sysdeps/unix/sysv/linux/net/if_ppp.h
6225 * sysdeps/unix/sysv/linux/net/if_shaper.h
6226 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6227 * sysdeps/unix/sysv/linux/netinet/if_tr.h
6228 * sysdeps/unix/sysv/linux/netipx/ipx.h
6229 * sysdeps/unix/sysv/linux/sys/acct.h
6230 Include stdint.h for uintNN_t definitions.
6231 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
6232
6233 2016-09-23 Zack Weinberg <zackw@panix.com>
6234
6235 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
6236 * sysdeps/unix/sysv/linux/netrose/rose.h:
6237 Include sys/socket.h and netax25/ax25.h.
6238
6239 * inet/netinet/icmp6.h, inet/netinet/ip6.h
6240 * resolv/arpa/nameser_compat.h:
6241 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
6242
6243 * sysdeps/unix/sysv/linux/sys/quota.h:
6244 Use __caddr_t instead of caddr_t.
6245 * sysdeps/unix/sysv/linux/sys/timerfd.h:
6246 Use __clockid_t instead of clockid_t.
6247
6248 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
6249
6250 * argp/argp.h: Check whether _LIBC is defined before expanding it.
6251 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
6252 expanding it.
6253
6254 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
6255 Define __glibc_c99_flexarr_available to 1 when the compiler
6256 supports C99-compatible flexible array members, 0 otherwise.
6257 * sysdeps/unix/sysv/linux/bits/socket.h
6258 * sysdeps/mach/hurd/bits/socket.h
6259 * bits/socket.h: Use __glibc_c99_flexarr_available in
6260 definitions of struct cmsghdr and CMSG_DATA.
6261
6262 2016-09-23 Florian Weimer <fweimer@redhat.com>
6263
6264 * manual/nss.texi (NSS Modules Interface): Adjust function return
6265 type to enum nss_status. Document errnop argument. Clarify
6266 h_errnop semantics. Fix cross-reference formatting.
6267 (NSS Module Function Internals): Mention that *errnop needs to be
6268 set on failure, but not to zero.
6269
6270 2016-09-23 Florian Weimer <fweimer@redhat.com>
6271
6272 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
6273 (get_random_name): New functions.
6274 (check_wrapper_flags_mode): Use linkat to give the new file a name
6275 determined by get_random_name.
6276 (do_test): Add calls to test open64 and openat64.
6277
6278 2016-09-23 Florian Weimer <fweimer@redhat.com>
6279
6280 * test-skeleton.c: Remove #include <stdarg.h>.
6281
6282 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
6283
6284 [BZ #19826]
6285 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
6286 initialization of static TLS entries.
6287 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
6288 * nptl/allocatestack.c (init_one_static_tls): Likewise.
6289
6290 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6291
6292 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
6293 _hurd_malloc_fork_prepare.
6294 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
6295 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
6296 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
6297 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
6298 (_hurd_fork_child_hook): Drop malloc_fork_child.
6299 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
6300 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
6301 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
6302 after locking locks (notably hurd_dtable_lock). Call
6303 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
6304 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
6305 __malloc_fork_unlock_child.
6306 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
6307
6308 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
6309
6310 * soft-fp/extendhftf2.c: New.
6311 * soft-fp/fixhfti.c: Likewise.
6312 * soft-fp/fixunshfti.c: Likewise.
6313 * soft-fp/floattihf.c: Likewise.
6314 * soft-fp/floatuntihf.c: Likewise.
6315 * soft-fp/half.h: Likewise.
6316 * soft-fp/trunctfhf2.c: Likewise.
6317
6318 2016-09-21 Joseph Myers <joseph@codesourcery.com>
6319
6320 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
6321 macro.
6322 * math/libm-test.inc (issubnormal_test_data): New array.
6323 (issubnormal_test): New function.
6324 * manual/arith.texi (Floating Point Classes): Document
6325 issubnormal.
6326 * manual/libm-err-tab.pl: Update comment on interfaces without
6327 ulps tabulated.
6328
6329 * sysdeps/generic/stdint.h: Define
6330 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6331 <bits/libc-header-start.h> instead of including <features.h>.
6332 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
6333 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
6334 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
6335 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
6336 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
6337 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
6338 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
6339 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
6340 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
6341 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
6342 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
6343 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
6344 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
6345 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
6346 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
6347 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
6348 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
6349 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
6350 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
6351 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
6352 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
6353 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
6354 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
6355 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
6356 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
6357 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
6358 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
6359 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
6360 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
6361 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
6362 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
6363 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
6364 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
6365 * manual/arith.texi (Integers): Document these macros for types
6366 specified by width properties.
6367 * manual/lang.texi (Width of Type): Document these macros for
6368 other standard typedefs.
6369 * stdlib/tst-width-stdint.c: New file.
6370 * stdlib/Makefile (tests): Add tst-width-stdint.
6371
6372 2016-09-21 Florian Weimer <fweimer@redhat.com>
6373
6374 [BZ #20016]
6375 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
6376 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
6377 Move ...
6378 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
6379 ... here, as compatibility symbols in a new file.
6380 * resolv/Makefile (libresolv-routines): Add compat-hooks.
6381 * resolv/res_init.c (__res_vinit): Adjust member names.
6382 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
6383 * resolv/resolv.h (res_sendhookact, res_send_qhook)
6384 (res_send_rhook): Remove.
6385 (struct __res_state): Rename qhook, rhook members.
6386
6387 2016-09-21 Florian Weimer <fweimer@redhat.com>
6388
6389 malloc: Use __libc_lock wrappers.
6390 * malloc/arena.c (list_lock, free_list_lock): Define using
6391 __libc_lock_define_initialized.
6392 (arena_lock): Adjust formatting.
6393 * malloc/malloc.c (struct malloc_state): Define mutex using
6394 __libc_lock_define.
6395 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
6396 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
6397 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
6398 (mutex_unlock, mutex_trylock): Remove.
6399 (__pthread_initialize): Remove unused macro.
6400 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
6401 (mutex_unlock, mutex_trylock): Remove.
6402
6403 2016-09-21 Florian Weimer <fweimer@redhat.com>
6404
6405 [BZ #20592]
6406 Remove RR type classification macros.
6407 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
6408 (ns_t_udp_p, ns_t_xfr_p): Remove.
6409
6410 2016-09-21 Florian Weimer <fweimer@redhat.com>
6411
6412 Remove misleading version information.
6413 * resolv/arpa/nameser.h (__NAMESER): Remove.
6414 * resolv/arpa/nameser_compat.h (__BIND): Remove.
6415
6416 2016-09-21 Florian Weimer <fweimer@redhat.com>
6417
6418 Remove the always-defined BIND_4_COMPAT macro.
6419 * resolv/arpa/nameser.h: Unconditionally include
6420 <arpa/nameser_compat.h>.
6421 (BIND_4_COMPAT): Remove.
6422 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
6423
6424 2016-09-21 Florian Weimer <fweimer@redhat.com>
6425
6426 [BZ #20591]
6427 Remove obsolete DNSSEC support.
6428 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
6429 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
6430 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
6431 (ns_verify_tcp, ns_verify_tcp_init): Remove.
6432 (ns_cert_types): Add comment.
6433 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
6434 separately.
6435 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
6436 (dst_s_dns_key_id): Remove.
6437 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
6438 variables.
6439
6440 2016-09-21 Florian Weimer <fweimer@redhat.com>
6441
6442 [BZ #20524]
6443 * manual/string.texi (String/Array Comparison): Clarify the
6444 strverscmp behavior.
6445
6446 2016-09-21 Florian Weimer <fweimer@redhat.com>
6447
6448 * test-skeleton.c (xasprintf): Add function.
6449 * io/tst-open-tmpfile.c: New test.
6450 * io/Makefile (tests): Add it.
6451
6452 2016-09-21 Florian Weimer <fweimer@redhat.com>
6453
6454 Avoid running $(CXX) during build to obtain header file paths.
6455 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
6456 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
6457 * Makerules (cstdlib, cmath): Remove variables. Use
6458 $(c++-cstdlib-header), $(c++-cmath-header) instead.
6459 * configure: Regenerate.
6460
6461 2016-09-21 Florian Weimer <fweimer@redhat.com>
6462
6463 * Makeconfig (all-object-suffixes): Include .op only if
6464 $(build-profile).
6465
6466 2016-09-21 Florian Weimer <fweimer@redhat.com>
6467
6468 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
6469 conditionals. Do not define PATH_MAX.
6470
6471 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6472
6473 * posix/Makefile (tests): Add tst-spawn3.
6474 * posix/tst-spawn3.c: New file.
6475 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
6476 if it is already opened for open action.
6477
6478 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
6479 all signals when executing the clone vfork child.
6480 (SIGALL_SET): Remove macro.
6481
6482 * nptl/Makefile (tests): Add tst-exec5.
6483 * nptl/tst-exec5.c: New file.
6484 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
6485 asynchronous cancellation.
6486
6487 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
6488
6489 * hurd/exc2signal.c: #include <hurd/signal.h>
6490 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
6491 'sigcode', 'error' parameters with 'detail' parameter. Fix code
6492 accordingly.
6493 * mach/mach_error.c (mach_error): Fix old-style function definition.
6494 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
6495
6496 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6497
6498 * math/Makefile (libm-calls): Remove s_nanF.
6499 (gen-libm-calls): Add s_nanF.
6500
6501 * math/s_nan.c: Refactor into ...
6502 * math/s_nan_template.c: New file.
6503
6504 * math/s_nanf.c: Removed.
6505 * math/s_nanl.c: Removed.
6506 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
6507 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
6508
6509 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6510 (LDOUBLE_nanl_libm_version): New macro.
6511
6512 * sysdeps/generic/math-type-macros-double.h:
6513 (M_STRTO_NAN): New macro.
6514 * sysdeps/generic/math-type-macros-float.h: Likewise.
6515 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6516
6517 * sysdeps/generic/math-type-macros.h: Document
6518 M_STRTO_NAN.
6519
6520 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6521
6522 * math/s_nanf.c: Remove __nanf undef.
6523 * math/s_nan.c: Remove __nan undef.
6524 * math/s_nanl.c: Remove __nanl undef.
6525
6526 * sysdeps/generic/math_private.h (__nan): Remove macro
6527 override.
6528 (__nanf): Likewise.
6529 (__nanl): Likewise.
6530
6531 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6532
6533 * math/Makefile (gen-all-calls): New variable.
6534 (generated): Replace gen-libm-calls with gen-all-calls.
6535 (gen-libm-templates.stmp): Likewise. Also, ensure
6536 the output directory exists or is created and add
6537 dependency on the Makefile.
6538 (calls): Move s_ldexpF into gen-calls.
6539 (gen-calls): New variable.
6540
6541 * math/s_ldexpf.c: Removed.
6542 * math/s_ldexpl.c: Removed.
6543 * math/s_ldexp.c: Refactored into ...
6544 * math/s_ldexp_template.c: New file.
6545
6546 * sysdeps/generic/math-type-macros-double.h: Remove
6547 redundant fall-through definition of declare_mgen_alias.
6548 (declare_mgen_alias_2): New macro.
6549
6550 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
6551 New macro for function aliased to two exported symbols.
6552
6553 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
6554 new template file.
6555 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6556
6557 2016-09-20 Florian Weimer <fweimer@redhat.com>
6558
6559 * Makeconfig (all-object-suffixes): Remove .og.
6560 * Makerules (elide-routines.og): Remove.
6561 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
6562 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
6563 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
6564
6565 2016-09-20 Florian Weimer <fweimer@redhat.com>
6566
6567 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
6568 .os objects.
6569
6570 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6571
6572 [BZ #20615]
6573 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
6574 fpu directory by non-fpu.
6575 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
6576 on non-fpu directory from a fpu directory.
6577
6578 2016-09-19 Joseph Myers <joseph@codesourcery.com>
6579
6580 * include/limits.h: Define
6581 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6582 <bits/libc-header-start.h> instead of including <features.h>.
6583 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
6584 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
6585 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
6586 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
6587 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
6588 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
6589 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
6590 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
6591 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6592 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
6593 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
6594 * manual/lang.texi (Width of Type): Document these macros.
6595 * stdlib/tst-width.c: New file.
6596 * stdlib/Makefile (tests): Add tst-width.
6597
6598 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6599
6600 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
6601 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
6602
6603 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6604
6605 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
6606 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6607 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6608
6609 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6610
6611 [BZ #18243]
6612 * rt/Makefile (test): Add tst-shm-cancel.
6613 * rt/tst-shm-cancel.c: New file.
6614 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
6615
6616 [BZ #18243]
6617 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
6618 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
6619 definition.
6620 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
6621 uncontended case.
6622 * nptl/sem_wait.c (__new_sem_wait): Likewise.
6623 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
6624 (tf): Fix check for uncontended case.
6625 (do_test): Likewise.
6626 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
6627 (tf): Fix check for uncontended case.
6628 (do_test): Likewise.
6629 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
6630 (tf): Fix check for uncontended case.
6631 (do_test): Likewise.
6632 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
6633 (tf): Fix check for uncontended case.
6634 (do_test): Likewise.
6635
6636 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
6637 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
6638
6639 [BZ #15765]
6640 * nptl/Makefile (tests): Add tst-sem16.
6641 * nptl/tst-sem16.c: New file.
6642 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
6643
6644 * nptl/sem_open.c (sem_open): Init pad value to 0.
6645 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6646 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6647
6648 2016-09-15 Florian Weimer <fweimer@redhat.com>
6649
6650 [BZ #20611]
6651 * inet/Makefile (routines): Add inet6_scopeid_pton.
6652 (tests): Add tst-inet6_scopeid_pton.
6653 * inet/inet6_scopeid_pton.c: New file.
6654 * inet/net-internal.h: Likewise.
6655 * inet/tst-inet6_scopeid_pton.c: New test.
6656 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
6657 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
6658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6659
6660 2016-09-14 Florian Weimer <fweimer@redhat.com>
6661
6662 Remove support for compiling wrappers with PTW.
6663 * sysdeps/nptl/Makeconfig: Drop ptw- support.
6664 * nptl/Makefile (pthread-compat-wrappers): Define.
6665 (libpthread-routines): Use pthread-compat-wrappers.
6666 * sysdeps/unix/sysv/linux/alpha/Makefile
6667 (libpthread-routines, libpthread-shared-only-routines): Remove
6668 ptw- prefix.
6669 * sysdeps/s390/nptl/Makefile
6670 (libpthread-routines, libpthread-shared-only-routines): Likewise.
6671 * sysdeps/ia64/nptl/Makefile
6672 (libpthread-routines, libpthread-shared-only-routines): Likewise.
6673 * sysdeps/nacl/Makefile (libpthread-routines): Use
6674 pthread-compat-wrappers to filter the routines list instead of the
6675 ptw- prefix.
6676
6677 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6678
6679 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
6680 with L() and remove explicit suffix, convert real literals
6681 which can be equivalentally substituted with integers, and
6682 transform -L(x) to L(-x).
6683
6684 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6714 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6715 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6716 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6717 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6720 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6721 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6725 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6728 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6730 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6731 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6732 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6733 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6734
6735 2016-09-13 Florian Weimer <fweimer@redhat.com>
6736
6737 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
6738
6739 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
6740
6741 * malloc/Makefile (tests): Remove individual static test names
6742 and just add all of tests-static.
6743
6744 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
6745
6746 2016-09-07 Joseph Myers <joseph@codesourcery.com>
6747
6748 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
6749 file.
6750
6751 * sysdeps/sparc/fpu/fegetmode.c: New file.
6752 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
6753
6754 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
6755 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
6756
6757 * sysdeps/s390/fpu/fegetmode.c: New file.
6758 * sysdeps/s390/fpu/fesetmode.c: Likewise.
6759
6760 * sysdeps/powerpc/fpu/fegetmode.c: New file.
6761 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
6762 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
6763 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
6764 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
6765 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
6766
6767 * sysdeps/mips/fpu/fegetmode.c: New file.
6768 * sysdeps/mips/fpu/fesetmode.c: Likewise.
6769
6770 * sysdeps/m68k/fpu/fegetmode.c: New file.
6771 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
6772
6773 * sysdeps/ia64/fpu/fegetmode.c: New file.
6774 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
6775
6776 * sysdeps/hppa/fpu/fegetmode.c: New file.
6777 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
6778
6779 * sysdeps/arm/fegetmode.c: New file.
6780 * sysdeps/arm/fesetmode.c: Likewise.
6781
6782 * sysdeps/alpha/fpu/fegetmode.c: New file.
6783 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
6784
6785 * sysdeps/aarch64/fpu/fegetmode.c: New file.
6786 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
6787
6788 * math/fegetmode.c: New file.
6789 * math/fesetmode.c: Likewise.
6790 * sysdeps/i386/fpu/fegetmode.c: Likewise.
6791 * sysdeps/i386/fpu/fesetmode.c: Likewise.
6792 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
6793 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
6794 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
6795 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
6796 declaration.
6797 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
6798 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
6799 typedef.
6800 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6801 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6802 (femode_t): New typedef.
6803 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6804 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6805 (femode_t): New typedef.
6806 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6807 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6808 (femode_t): New typedef.
6809 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6810 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6811 (femode_t): New typedef.
6812 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6813 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6814 (femode_t): New typedef.
6815 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6816 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6817 (femode_t): New typedef.
6818 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6819 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6820 (femode_t): New typedef.
6821 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6822 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6823 (femode_t): New typedef.
6824 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6825 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6826 (femode_t): New typedef.
6827 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6828 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6829 (femode_t): New typedef.
6830 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
6831 declaration.
6832 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6833 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6834 (femode_t): New typedef.
6835 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6836 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6837 (femode_t): New typedef.
6838 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6839 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6840 (femode_t): New typedef.
6841 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6842 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6843 (femode_t): New typedef.
6844 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6845 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6846 (femode_t): New typedef.
6847 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6848 * manual/arith.texi (FE_DFL_MODE): Document macro.
6849 (fegetmode): Document function.
6850 (fesetmode): Likewise.
6851 * math/Versions (fegetmode): New libm symbol at version
6852 GLIBC_2.25.
6853 (fesetmode): Likewise.
6854 * math/Makefile (libm-support): Add fegetmode and fesetmode.
6855 (tests): Add test-femode and test-femode-traps.
6856 * math/test-femode-traps.c: New file.
6857 * math/test-femode.c: Likewise.
6858 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
6859 alias for __fe_dfl_env.
6860 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
6861 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
6862 (__fe_dfl_mode): Likewise.
6863 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
6864 version GLIBC_2.25.
6865 * sysdeps/nacl/libm.abilist: Update.
6866 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6867 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6868 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6869 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6870 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6871 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6872 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6873 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6874 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6875 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6876 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6877 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6879 Likewise.
6880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6881 Likewise.
6882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6883 Likewise.
6884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6885 Likewise.
6886 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6887 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6888 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6889 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6890 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6892 Likewise.
6893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6894 Likewise.
6895 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6896 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6897 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6898
6899 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
6900
6901 [BZ #20495]
6902 [BZ #20508]
6903 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6904 processors, set Use_dl_runtime_resolve_slow and set
6905 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6906 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6907 New.
6908 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6909 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6910 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6911 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6912 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6913 if Use_dl_runtime_resolve_opt is set. Use
6914 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6915 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6916 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
6917 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6918 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6919 New.
6920 (_dl_runtime_resolve_opt): Likewise.
6921 (_dl_runtime_profile): Define only if _dl_runtime_profile is
6922 defined.
6923
6924 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
6925
6926 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6927 __libc_memalign with "+ RELA R_390_GLOB_DAT".
6928
6929 2016-09-06 Florian Weimer <fweimer@redhat.com>
6930
6931 Convert malloc to __libc_lock. Automated part, using this Perl
6932 s/// command:
6933 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6934 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6935 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6936 conversion.
6937
6938 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
6939
6940 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6941 (linknamespace-symlists-tests): Likewise.
6942 (linknamespace-header-tests): Likewise.
6943
6944 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
6945
6946 [BZ #19810]
6947 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6948 * elf/tst-noload.c: New test case.
6949 * elf/Makefile (tests): Add tst-noload.
6950
6951 2016-09-02 Roland McGrath <roland@hack.frob.com>
6952
6953 * sysdeps/nacl/dup.c: Add libc_hidden_def.
6954
6955 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6956 not any more.
6957
6958 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6959
6960 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6961
6962 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6963 (do_cos_slow): Likewise.
6964 (do_sin): Likewise.
6965 (do_sin_slow): Likewise.
6966 (slow): Likewise.
6967 (slow1): Likewise.
6968 (slow2): Likewise.
6969 (sloww): Likewise.
6970 (sloww1): Likewise.
6971 (sloww2): Likewise.
6972 (bsloww): Likewise.
6973 (bsloww1): Likewise.
6974 (bsloww2): Likewise.
6975 (cslow2): Likewise.
6976
6977 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6978
6979 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6980 arguments. Consolidate input partitioning from callers here.
6981 (do_cos_slow): Likewise.
6982 (do_sin): Likewise.
6983 (do_sin_slow): Likewise.
6984 (do_sincos_1): Remove the no longer necessary input partitioning.
6985 (do_sincos_2): Likewise.
6986 (__sin): Likewise.
6987 (__cos): Likewise.
6988 (slow1): Likewise.
6989 (slow2): Likewise.
6990 (sloww1): Likewise.
6991 (sloww2): Likewise.
6992 (bsloww1): Likewise.
6993 (bsloww2): Likewise.
6994 (cslow2): Likewise.
6995
6996 2016-09-02 Florian Weimer <fweimer@redhat.com>
6997
6998 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6999 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
7000 outside of allocated array.
7001
7002 2016-09-02 Florian Weimer <fweimer@redhat.com>
7003
7004 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
7005 instead of MB_CUR_MAX to avoid variable-length array.
7006
7007 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7008
7009 * math/Makefile (libm-calls): Remove k_rem_pio2F.
7010 (type-double-routines): Add k_rem_pio2.
7011 (type-float-routines): Add k_rem_pio2f.
7012
7013 * sysdeps/generic/math_private.h:
7014 (__kernel_rem_pio2l): Removed.
7015
7016 * math/k_rem_pio2l.c: Removed.
7017 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
7018 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
7019 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
7020 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
7021
7022 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7023
7024 * math/Makefile (gen-libm-calls): Add s_fmin
7025 (libm-calls): Remove above.
7026
7027 * math/s_fmin.c: Refactor into ...
7028 * math/s_fmin_template.c: New file.
7029
7030 * math/s_fminf.c: Removed.
7031 * math/s_fminl.c: Removed.
7032 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7033 (LDOUBLE_fmin_libm_version): New macro.
7034
7035 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
7036 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
7037
7038 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7039
7040 * math/Makefile: (gen-libm-calls): Add s_fmax.
7041 (libm-calls): Remove above.
7042
7043 * math/s_fmax.c: Refactor into ...
7044 * math/s_fmax_template.c: New file.
7045 * math/s_fmaxf.c: Removed.
7046 * math/s_fmaxl.c: Removed.
7047
7048 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7049 (LDOUBLE_fmaxl_libm_version): New macro.
7050
7051 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
7052 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
7053
7054 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
7055 s_fmin.c to pick the aarch64 version of the file.
7056 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
7057 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
7058
7059 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7060
7061 * math/Makefile: (gen-libm-calls): Add s_nextdown.
7062 (libm-calls): Remove above.
7063
7064 * math/s_nextdown.c: Refactor into ...
7065 * math/s_nextdown_template.c: New file.
7066 * math/s_nextdownf.c: Removed.
7067 * math/s_nextdownl.c: Removed.
7068
7069 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
7070
7071 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7072
7073 * math/Makefile (gen-libm-calls): Add s_fdim.
7074 (libm-calls): Move to above.
7075
7076 * math/s_fdim.c: Renamed and refactored into to ...
7077 * math/s_fdim_template.c: New file.
7078 * math/s_fdiml.c: Removed.
7079 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
7080 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
7081
7082 * sysdeps/generic/math-type-macros-double.h:
7083 (declare_mgen_alias): Don't declare if already declared.
7084 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
7085 Likewise.
7086
7087 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7088 (declare_mgen_alias): Don't declare if already declared.
7089 (M_LIBM_NEED_COMPAT): Likewise.
7090 (declare_mgen_libm_compat): Likewise.
7091 (LDOUBLE_fdiml_libm_version): New macro.
7092
7093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7094 Include math/s_fdim.c now that ldbl-opt version is not needed.
7095 (declare_mgen_alias): New macro to disable aliasing.
7096
7097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
7098 (declare_mgen_alias): Likewise.
7099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
7100 (declare_mgen_alias): Likewise.
7101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
7102 (declare_mgen_alias): Likewise.
7103 (M_LIBM_NEED_COMPAT): Likewise.
7104
7105 2016-09-01 Florian Weimer <fweimer@redhat.com>
7106
7107 [BZ #20525]
7108 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
7109 Include <linux/quota.h>.
7110 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
7111 and btodb.
7112 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
7113 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
7114 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
7115 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
7116 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
7117 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
7118 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
7119 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
7120 types.
7121 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
7122 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
7123
7124 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7125
7126 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
7127 (gammal_positive): Fix spacing.
7128 (__ieee754_gammal_r): Likewise.
7129
7130 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7131
7132 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
7133 (_Float128): Define as long double, always.
7134 (L): Apply long double type suffix, always.
7135
7136 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
7137 _Float128, excepting comments.
7138
7139 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7140 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7141 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7142 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7143 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7144 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7145 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7146 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7147 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7148 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
7149 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7150 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7151 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7152 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7153 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7154 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7155 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7156 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7157 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7158 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7159 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7160 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7161 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7162 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7163 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7164 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7165 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7166 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7167 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7168 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7169 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7170 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7171 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7172 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7173 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7174 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7175 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7176 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7177 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7178 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7179 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7181 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7182 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7183 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7185 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7186 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7187 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7188 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7189 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7190 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7191 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7192 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7193 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
7194 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7195 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7196 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7197 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7198 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7199 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7200 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7201 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7202 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7203 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7204 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
7205 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7206 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7207
7208 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
7209 _Float128, and include math_private.h.
7210 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7211
7212 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
7213 long double semantics.
7214 (_Float128): Likewise.
7215 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
7216 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7217 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
7218 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
7219
7220 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7221
7222 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
7223 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
7224 * sysdeps/s390/configure: Regenerated.
7225 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
7226 instruction for raising over-/underflow if z196 zarch is supported
7227 by default.
7228 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
7229
7230 2016-08-30 Svante Signell <svante.signell@gmail.com>
7231
7232 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
7233 it point to a dumb buffer for RPC to fill it.
7234
7235 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
7236
7237 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
7238 instead of if/else.
7239 (do_sin_slow): Likewise.
7240 (do_sincos_1): Use fabs instead of if/else.
7241 (do_sincos_2): Likewise.
7242 (__sin): Likewise.
7243 (__cos): Likewise.
7244 (slow2): Likewise.
7245 (sloww): Likewise.
7246 (sloww1): Likewise. Drop argument M.
7247 (sloww2): Use fabs instead of if/else.
7248 (bsloww): Likewise.
7249 (bsloww1): Likewise.
7250 (bsloww2): Likewise.
7251
7252 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
7253 fall through comment.
7254 (do_sincos_1): Likewise.
7255
7256 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
7257 Consolidate switch cases 0 and 2.
7258
7259 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7260
7261 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
7262 (libm-calls): Remove the above.
7263
7264 * math/s_cexp_template.c: Update using type-generic macros.
7265 * math/s_clog10_template.c: Likewise.
7266 * math/s_cpow_template.c: Likewise.
7267 * math/s_clog_template.c: Likewise.
7268 * math/s_cproj_template.c: Likewise.
7269 * math/s_csqrt_template.c: Likewise.
7270
7271 * math/s_cexp.c: Removed.
7272 * math/s_cexpf.c: Removed.
7273 * math/s_cexpl.c: Removed.
7274 * math/s_clog10.c: Removed.
7275 * math/s_clog10f.c: Removed.
7276 * math/s_clog10l.c: Removed.
7277 * math/s_cpow.c: Removed.
7278 * math/s_cpowf.c: Removed.
7279 * math/s_cpowl.c: Removed.
7280 * math/s_clog.c: Removed.
7281 * math/s_clogf.c: Removed.
7282 * math/s_clogl.c: Removed.
7283 * math/s_cproj.c: Removed.
7284 * math/s_cprojf.c: Removed.
7285 * math/s_cprojl.c: Removed.
7286 * math/s_csqrt.c: Removed.
7287 * math/s_csqrtf.c: Removed.
7288 * math/s_csqrtl.c: Removed.
7289
7290 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
7291 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
7292 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
7293 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
7294 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
7295 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
7296
7297 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
7298 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
7299 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
7300 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
7301 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
7302 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
7303 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
7304 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
7305 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
7306 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
7307 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
7308
7309 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
7310 version.
7311
7312 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
7313 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
7314 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
7315 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
7316
7317 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7318
7319 * s_cexp_template.c: Copy of s_cexp.c.
7320 * s_clog_template.c: Copy of s_clog.c.
7321 * s_clog10_template.c: Copy of s_clog10.c.
7322 * s_cpow_template.c: Copy of s_cpow.c.
7323 * s_cproj_template.c: Copy of s_cproj.c.
7324 * s_csqrt_template.c: Copy of s_csqrt.c.
7325
7326 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7327
7328 [BZ #20517]
7329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7330 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
7331 exported.
7332
7333 2016-08-29 Joseph Myers <joseph@codesourcery.com>
7334
7335 * math/fetestexceptflag.c: New file.
7336 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
7337 Stefan Liebler.
7338 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7339 (fetestexceptflag): New function declaration.
7340 * manual/arith.texi (fetestexceptflag): Document function.
7341 * math/Versions (fetestexceptflag): New libm symbol at version
7342 GLIBC_2.25.
7343 * math/Makefile (libm-support): Add fetestexceptflag.
7344 (tests): Add test-fetestexceptflag.
7345 * math/test-fetestexceptflag.c: New file.
7346 * sysdeps/nacl/libm.abilist: Update.
7347 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7348 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7349 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7350 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7351 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7352 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7353 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7354 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7355 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7356 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7357 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7358 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7360 Likewise.
7361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7362 Likewise.
7363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7364 Likewise.
7365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7366 Likewise.
7367 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7368 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7369 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7370 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7371 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7373 Likewise.
7374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7375 Likewise.
7376 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7377 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7378 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7379
7380 2016-08-26 Florian Weimer <fweimer@redhat.com>
7381
7382 [BZ #20432]
7383 Avoid strong references to malloc-internal symbols when linking
7384 statically, to support statically interposed mallocs.
7385 * include/libc-symbols.h (call_function_static_weak): New macro.
7386 * malloc/Makefile (tests): Add tst-interpose-nothread,
7387 tst-interpose-thread, tst-interpose-static-nothread,
7388 tst-interpose-static-thread.
7389 (tests-static): Add tst-interpose-static-nothread,
7390 tst-interpose-static-thread.
7391 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
7392 tst-interpose-aux-thread.o.
7393 (test-extras): Add tst-interpose-aux-nothread,
7394 tst-interpose-aux-thread.
7395 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
7396 tst-interpose-aux-nothread.o.
7397 (tst-interpose-thread, tst-interpose-static-thread): Link with
7398 tst-interpose-aux-thread.o and libthread.
7399 * malloc/tst-interpose-aux-nothread.c: New file.
7400 * malloc/tst-interpose-aux-thread.c: Likewise.
7401 * malloc/tst-interpose-aux.c: Likewise.
7402 * malloc/tst-interpose-aux.h: Likewise.
7403 * malloc/tst-interpose-nothread.c: Likewise.
7404 * malloc/tst-interpose-skeleton.c: Likewise.
7405 * malloc/tst-interpose-static-nothread.c: Likewise.
7406 * malloc/tst-interpose-static-thread.c: Likewise.
7407 * malloc/tst-interpose-thread.c: Likewise.
7408 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
7409 * sysdeps/mach/hurd/fork.c (__fork): Only call
7410 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7411 __malloc_fork_unlock_child if defined.
7412 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7413
7414 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7415
7416 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
7417 timespec C99 designated initialization.
7418
7419 2016-08-26 Florian Weimer <fweimer@redhat.com>
7420
7421 [BZ #19946]
7422 Avoid expected SIGALRM signals.
7423 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
7424 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
7425 (xpthread_create, xpthread_detach, xpthread_join)
7426 (delayed_exit_thread, delayed_exit): New functions.
7427 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
7428 (tf): Use xpthread_cond_wait.
7429 (do_test): Likewise. Replace alarm with delayed_exit.
7430 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7431 (do_test): Call delayed_exit. Report failure.
7432 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7433 (do_test): Call delayed_exit.
7434 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7435 (do_test): Call delayed_exit. Use xpthread_join. Report error.
7436 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7437 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
7438 error.
7439 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7440 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
7441 error.
7442 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
7443 (do_test): Call delayed_exit.
7444 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
7445 (do_test): Call delayed_exit.
7446 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
7447 (do_test): Call delayed_exit instead of alarm. Use
7448 xpthread_mutex_lock.
7449 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
7450 (do_test): Call delayed_exit instead of alarm. Use
7451 xpthread_mutex_lock.
7452 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
7453 (do_test): Call delayed_exit instead of alarm.
7454 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
7455 (do_test): Call delayed_exit instead of alarm. Use
7456 xpthread_spin_lock.
7457 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
7458 (do_test): Call delayed_exit instead of alarm. Use
7459 xpthread_join.
7460
7461 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
7462
7463 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
7464 adjust CFA when allocating register save area on re-aligned
7465 stack.
7466
7467 2016-08-26 Florian Weimer <fweimer@redhat.com>
7468
7469 * string/tst-cmp.c: New test.
7470 * string/Makefile (tests): Add it.
7471
7472 2016-08-25 Mark Wielaard <mark@klomp.org>
7473
7474 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
7475 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
7476 (check_tree_recurse): Use newly defined accessors.
7477 (check_tree): Likewise.
7478 (maybe_split_for_insert): Likewise.
7479 (__tfind): Likewise.
7480 (__tdelete): Likewise.
7481 (trecurse): Likewise.
7482 (tdestroy_recurse): Likewise.
7483 (__tsearch): Likewise. And add asserts for malloc alignment.
7484 (__twalk): Cast root to node in case CHECK_TREE is defined.
7485
7486 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
7487
7488 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
7489
7490 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7491
7492 * math/Makefile (libm-gen-calls): Add
7493 catan, catanh, ctan, ctanh.
7494 (libm-calls): Remove the above.
7495
7496 * math/s_catan_template.c: Update using type-generic macros.
7497 * math/s_catanh_template.c: Likewise.
7498 * math/s_ctan_template.c: Likewise.
7499 * math/s_ctanh_template.c: Likewise.
7500
7501 * math/s_catanf.c: Removed.
7502 * math/s_catan.c: Removed.
7503 * math/s_catanl.c: Removed.
7504 * math/s_catanhf.c: Removed.
7505 * math/s_catanh.c: Removed.
7506 * math/s_catanhl.c: Removed.
7507 * math/s_ctanf.c: Removed.
7508 * math/s_ctan.c: Removed.
7509 * math/s_ctanl.c: Removed.
7510 * math/s_ctanhf.c: Removed.
7511 * math/s_ctanh.c: Removed.
7512 * math/s_ctanhl.c: Removed.
7513
7514 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
7515 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
7516 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
7517 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
7518 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
7519 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
7520
7521 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
7522 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
7523 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
7524 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
7525
7526 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7527
7528 * s_catan_template.c: Copy of s_catan.c.
7529 * s_catanh_template.c: Copy of s_catanh.c.
7530 * s_ctan_template.c: Copy of s_ctan.c.
7531 * s_ctanh_template.c: Copy of s_ctanh.c.
7532
7533 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7534
7535 * math/Makefile (gen-libm-calls): Move
7536 casin, casinh, csin, csinh here.
7537 (libm-calls): Remove the above.
7538
7539 * math/s_casin_template.c: Update using type-generic macros.
7540 * math/s_casinh_template.c: Likewise.
7541 * math/s_csin_template.c: Likewise.
7542 * math/s_csinh_template.c: Likewise.
7543 * math/k_casinh_template.c: Likewise.
7544
7545 * math/s_casinf.c: Removed.
7546 * math/s_casin.c: Removed.
7547 * math/s_casinl.c: Removed.
7548 * math/s_casinh.c: Removed.
7549 * math/s_casinhf.c: Removed.
7550 * math/s_casinhl.c: Removed.
7551 * math/s_csin.c: Removed.
7552 * math/s_csinf.c: Removed.
7553 * math/s_csinl.c: Removed.
7554 * math/s_csinh.c: Removed.
7555 * math/s_csinhf.c: Removed.
7556 * math/s_csinhl.c: Removed.
7557 * math/k_casinh.c: Removed.
7558 * math/k_casinhf.c: Removed.
7559 * math/k_casinhl.c: Removed.
7560
7561 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
7562 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
7563 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
7564 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
7565
7566 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
7567 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
7568 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
7569 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
7570 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
7571 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
7572 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
7573 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
7574
7575 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
7576 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
7577 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
7578 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
7579
7580 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
7581 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
7582 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
7583 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
7584
7585 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7586
7587 * s_casin_template.c: Copy of s_casin.c.
7588 * s_casinh_template.c: Copy of s_casinh.c.
7589 * s_csin_template.c: Copy of s_csin.c.
7590 * s_csinh_template.c: Copy of s_csinh.c.
7591 * k_casinh_template.c: Copy of k_casinh.c.
7592
7593 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
7594
7595 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
7596
7597 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7598
7599 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
7600 (mul_split) Remove, rename as mul_splitl, remove
7601 redundant float.h include, and include via mul_splitl.h
7602
7603 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7605 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7606 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7607 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7608
7609 * math/mul_splitl.h: New file.
7610
7611 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
7612 Move into mul_split.h, and remove redundant float.h include.
7613
7614 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7615 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7616 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7617 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
7618
7619 * math/mul_split.h: New file.
7620
7621 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7622
7623 * math/Makefile (libm-gen-calls): Move
7624 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
7625 (libm-calls): Remove above.
7626
7627 * math/s_cacos_template.c: Update using type-generic macros.
7628 * math/s_cacosh_template.c: Likewise.
7629 * math/s_ccos_template.c: Likewise.
7630 * math/s_ccosh_template.c: Likewise.
7631
7632 * math/s_cacosf.c: Removed.
7633 * math/s_cacos.c: Removed.
7634 * math/s_cacosl.c: Removed.
7635 * math/s_cacoshf.c: Removed.
7636 * math/s_cacosh.c: Removed.
7637 * math/s_cacoshl.c: Removed.
7638 * math/s_ccosf.c: Removed.
7639 * math/s_ccos.c: Removed.
7640 * math/s_ccosl.c: Removed.
7641 * math/s_ccoshf.c: Removed.
7642 * math/s_ccosh.c: Removed.
7643 * math/s_ccoshl.c: Removed.
7644
7645 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
7646 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
7647 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
7648 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
7649 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
7650 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
7651
7652 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
7653 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
7654 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
7655 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
7656
7657 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
7658 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
7659 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
7660 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
7661
7662 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7663
7664 * s_cacos_template.c: Copy of s_cacos.c.
7665 * s_cacosh_template.c: Copy of s_cacosh.c.
7666 * s_ccos_template.c: Copy of s_ccos.c.
7667 * s_ccosh_template.c: Copy of s_ccosh.c.
7668
7669 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7670
7671 * stdlib/tst-strtod-round-skeleton.c:
7672 Refactored from tst-strtod-round.c.
7673
7674 (L_): New macro to apply literal modifier.
7675 (FNPFX): New macro to select str or wcs prefix.
7676 (CHAR): New macro to choose wchar_t or char.
7677 (STRM): New macro to choose printf for tested character type.
7678
7679 (STRTO): New macro to choose appropriate string -> real function.
7680 (FNPFXS): Stringitized version of FNPFX.
7681 (STR): Support for above macro.
7682 (STRX): Likewise.
7683
7684 (TEST): Update with above macros.
7685 (test): Likewise.
7686 (GEN_ONE_TEST): Likewise.
7687 (test_in_one_mode): Likewise.
7688
7689 * stdlib/tst-strtod-round.c: New file.
7690 * wcsmbs/tst-wcstod-round.c: New file.
7691
7692 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
7693 (tst-wcstod-round): Add libm depencency for fesetround.
7694
7695 2016-08-19 Zack Weinberg <zackw@panix.com>
7696
7697 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
7698
7699 2016-08-18 Torvald Riegel <triegel@redhat.com>
7700
7701 [BZ #20477]
7702 * resolv/res_hconf.c (do_init): Use atomic access.
7703 * resolv/res_hconf.h: Add comments.
7704 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
7705 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
7706 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7707
7708 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
7709
7710 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7711 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
7712 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7713 Likewise.
7714
7715 2016-08-18 Florian Weimer <fweimer@redhat.com>
7716
7717 [BZ #16907]
7718 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
7719 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
7720 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
7721 (__attribute__): Remove definition.
7722
7723 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7724
7725 * sysdeps/ieee754/ldbl-128/e_asinl.c:
7726 Remove unused sqrtl declaration.
7727
7728 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7729
7730 * math/Makefile: (gen-libm-templates.stmp): New rule.
7731 (libm-calls): Move carg conj cimag and cabs into ...
7732 (gen-libm-calls): New variable.
7733 (generated): Inform Make objects from gen-libm-calls
7734 may be generated.
7735
7736 * sysdeps/generic/math-type-macros.h: New file.
7737 * sysdeps/generic/math-type-macros-float.h: Likewise.
7738 * sysdeps/generic/math-type-macros-double.h: Likewise.
7739 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7740 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
7741 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
7742
7743 * math/cabs.c: Refactor into
7744 * math/cabs_template.c: new file.
7745 * math/cabsf.c: Removed.
7746 * math/cabsl.c: Removed.
7747 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
7748 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
7749
7750 * math/carg.c: Refactor into
7751 * math/carg_template.c: new file.
7752 * math/cargf.c: Removed.
7753 * math/cargl.c: Removed.
7754 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
7755 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
7756
7757 * math/conj.c: Refactor into
7758 * math/conj_template.c: new file.
7759 * math/conjf.c: Removed.
7760 * math/conjl.c: Removed.
7761 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
7762 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
7763
7764 * math/cimag.c: Refactor into
7765 * math/cimag_template.c: new file.
7766 * math/cimagf.c: Removed.
7767 * math/cimagl.c: Removed.
7768 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7769 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7770
7771 * math/cimag.c: Refactor into
7772 * math/cimag_template.c: new file.
7773 * math/cimagf.c: Removed.
7774 * math/cimagl.c: Removed.
7775 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7776 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7777
7778 2016-08-17 Florian Weimer <fweimer@redhat.com>
7779
7780 Reduce time to expected nptl/tst-once5 failure.
7781 * nptl/tst-once5.cc (TIMEOUT): Define.
7782
7783 2016-08-17 Florian Weimer <fweimer@redhat.com>
7784
7785 [BZ #20452]
7786 Avoid additional copies of objects in libc.a in static libraries.
7787 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
7788 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
7789 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
7790 rt-sysdep.
7791 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
7792 Add nptl-sysdep.
7793 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
7794 Add ptw-sysdep.
7795 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
7796 rt-sysdep.
7797 * sysdeps/unix/sysv/linux/alpha/Makefile
7798 (libpthread-shared-only-routines): Add ptw-sysdep,
7799 ptw-sigprocmask, ptw-rt_sigaction.
7800 * sysdeps/unix/sysv/linux/ia64/Makefile
7801 (librt-shared-only-routines): Add rt-sysdep.
7802 * sysdeps/unix/sysv/linux/i386/Makefile
7803 (libpthread-shared-only-routines): Add libc-do-syscall.
7804 * sysdeps/unix/sysv/linux/microblaze/Makefile
7805 (libpthread-shared-only-routines): Add sysdep.
7806 * sysdeps/unix/sysv/linux/powerpc/Makefile
7807 (librt-shared-only-routines): Add rt-sysdep.
7808 (libpthread-shared-only-routines): Add sysdep.
7809 * sysdeps/unix/sysv/linux/s390/Makefile
7810 (librt-shared-only-routines): Add rt-sysdep.
7811 * sysdeps/unix/sysv/linux/sparc/Makefile
7812 (librt-shared-only-routines): Add rt-sysdep.
7813 (libpthread-shared-only-routines): Add sysdep.
7814 * sysdeps/unix/sysv/linux/tile/Makefile
7815 (libpthread-shared-only-routines): Likewise.
7816
7817 2016-08-16 Joseph Myers <joseph@codesourcery.com>
7818
7819 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
7820 Mask implicit bit out of unpacked value.
7821 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
7822 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
7823 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
7824
7825 * sysdeps/sparc/fpu/fesetexcept.c: New file.
7826
7827 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
7828
7829 * sysdeps/s390/fpu/fesetexcept.c: New file.
7830
7831 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
7832 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
7833 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
7834
7835 * sysdeps/mips/fpu/fesetexcept.c: New file.
7836
7837 * sysdeps/m68k/fpu/fesetexcept.c: New file.
7838
7839 * sysdeps/ia64/fpu/fesetexcept.c: New file.
7840
7841 * sysdeps/hppa/fpu/fesetexcept.c: New file.
7842
7843 * sysdeps/arm/fesetexcept.c: New file.
7844
7845 * sysdeps/alpha/fpu/fesetexcept.c: New file.
7846
7847 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
7848
7849 * math/fesetexcept.c: New file.
7850 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
7851 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
7852 * math/fenv.h: Define
7853 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7854 <bits/libc-header-start.h> instead of including <features.h>.
7855 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
7856 declaration.
7857 * manual/arith.texi (fesetexcept): Document function.
7858 * math/Versions (fesetexcept): New libm symbol at version
7859 GLIBC_2.25.
7860 * math/Makefile (libm-support): Add fesetexcept.
7861 (tests): Add test-fesetexcept and test-fesetexcept-traps.
7862 * math/test-fesetexcept.c: New file.
7863 * math/test-fesetexcept-traps.c: Likewise.
7864 * sysdeps/nacl/libm.abilist: Update.
7865 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7866 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7867 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7868 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7869 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7870 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7871 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7872 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7873 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7874 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7875 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7876 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7878 Likewise.
7879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7880 Likewise.
7881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7882 Likewise.
7883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7884 Likewise.
7885 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7886 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7887 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7888 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7889 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7891 Likewise.
7892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7893 Likewise.
7894 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7895 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7896 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7897
7898 2016-08-16 Florian Weimer <fweimer@redhat.com>
7899
7900 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7901 New.
7902 (do_test): Apply default_stack_size_in_mb if not set.
7903 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7904
7905 2016-08-15 Andreas Schwab <schwab@suse.de>
7906
7907 [BZ #20435]
7908 CVE-2016-6323
7909 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7910 as .cantunwind.
7911
7912 2016-08-12 Joseph Myers <joseph@codesourcery.com>
7913
7914 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7915 comment from fraiseexcpt.c.
7916
7917 * math/test-fexcept.c (feraiseexcept_exact): New function.
7918 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7919 (test_except): Likewise.
7920
7921 2016-08-10 Joseph Myers <joseph@codesourcery.com>
7922
7923 [BZ #20455]
7924 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7925 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7926 to be restored.
7927
7928 * math/test-fexcept-traps.c: New file.
7929 * math/test-fexcept.c: Likewise.
7930 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7931 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7932 macro.
7933 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7934 (EXCEPTION_SET_FORCES_TRAP): Likewise.
7935
7936 2016-08-09 Torvald Riegel <triegel@redhat.com>
7937
7938 * include/atomic.h (atomic_fetch_and_relaxed,
7939 atomic_fetch_and_release, atomic_fetch_or_release,
7940 atomic_fetch_xor_release): New.
7941
7942 2016-08-06 Christian Seiler <christian@iwakd.de>
7943
7944 [BZ #20444]
7945 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7946 MACH_PORT_NULL.
7947
7948 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7949
7950 * math/s_fdim.c: Avoid alias renamed.
7951 * math/s_fdimf.c: Likewise.
7952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7953 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7954 Add s_fdimf-vis3, s_fdim-vis3.
7955 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7956 (CFLAGS-s_fdim-vis3.c): Likewise.
7957 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7958 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7959
7960 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7961
7962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7963 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7964 Remove s_fdimf-vis3, s_fdim-vis3.
7965 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7966 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7973 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7974 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7975
7976 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7977
7978 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7979 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7980 -Wa,-Av9a -mvis.
7981
7982 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7983
7984 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7985 LIT() to individual constants in simple expressions
7986 after splitting on spaces.
7987 (_apply_lit): Rename replaced version, and use it to
7988 apply to what appears to be a token.
7989
7990 * math/libm-test.inc: Fix many, many issues with
7991 spacing.
7992
7993 2016-08-05 Joseph Myers <joseph@codesourcery.com>
7994
7995 * math/math.h: Move comment about <bits/mathdef.h> definitions
7996 above inclusion of <bits/mathdef.h>. Do not mention
7997 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7998
7999 2016-08-05 Torvald Riegel <triegel@redhat.com>
8000
8001 * include/atomic.h (atomic_exchange_relaxed): New.
8002
8003 2016-08-04 Joseph Myers <joseph@codesourcery.com>
8004
8005 * math/e_scalb.c: Do not include <fenv.h>.
8006 (invalid_fn): Do calculation resulting in NaN instead of raising
8007 FE_INVALID and returning a NaN explicitly.
8008 * math/e_scalbf.c: Do not include <fenv.h>.
8009 (invalid_fn): Do calculation resulting in NaN instead of raising
8010 FE_INVALID and returning a NaN explicitly.
8011 * math/e_scalbl.c: Do not include <fenv.h>.
8012 (invalid_fn): Do calculation resulting in NaN instead of raising
8013 FE_INVALID and returning a NaN explicitly.
8014
8015 2016-08-04 Carlos O'Donell <carlos@redhat.com>
8016
8017 * po/de.po: Updated from Translation Project.
8018 * po/fi.po: Likewise.
8019 * po/sv.po: Likewise.
8020
8021 2016-08-04 Florian Weimer <fweimer@redhat.com>
8022
8023 [BZ #20452]
8024 Use sysdep.o from libc.a in static libraries.
8025 * sysdeps/unix/sysv/linux/i386/Makefile
8026 (libpthread-shared-only-routines): Add sysdep.
8027 (librt-shared-only-routines): Likewise.
8028
8029 2016-08-03 Joseph Myers <joseph@codesourcery.com>
8030
8031 * math/tgmath.h (nextdown): Define if
8032 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
8033 (nextup): Likewise.
8034
8035 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
8036 macro.
8037 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
8038 Document.
8039 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
8040 Document macro.
8041 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
8042 (exp10f): Likewise.
8043 (exp10l): Likewise.
8044 * math/bits/mathcalls.h (exp10): Declare if
8045 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
8046
8047 * manual/arith.texi (nextup): Fix typo in last change.
8048
8049 2016-08-03 Zack Weinberg <zackw@panix.com>
8050
8051 [BZ #19239]
8052 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
8053 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
8054 define major, minor, and makedev to issue deprecation warnings on use.
8055 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
8056 previously-activated deprecation warnings for these macros and prevent
8057 subsequent inclusions of this header from having any effect.
8058 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
8059 including <sys/sysmacros.h>, and undefine it again afterward.
8060
8061 2016-08-03 Zack Weinberg <zackw@panix.com>
8062
8063 * sysdeps/generic/sys/sysmacros.h: Delete file.
8064 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
8065 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
8066 * bits/sysmacros.h: ... here; this encoding is now the generic
8067 encoding. Now defines only the following macros:
8068 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
8069 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
8070 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
8071
8072 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
8073 bits/sysmacros.h and the above new macros to generate the
8074 public implementations of major, minor, and makedev.
8075 * misc/tst-makedev.c: New test.
8076 * include/sys/sysmacros.h: New wrapper.
8077
8078 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
8079 (routines): Add makedev.
8080 (tests): Add tst-makedev.
8081 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
8082 gnu_dev_makedev.
8083 * posix/Makefile (headers): Remove sys/sysmacros.h.
8084 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
8085
8086 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
8087 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
8088 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
8089 * sysdeps/unix/sysv/linux/alpha/libc.abilist
8090 * sysdeps/unix/sysv/linux/arm/libc.abilist
8091 * sysdeps/unix/sysv/linux/hppa/libc.abilist
8092 * sysdeps/unix/sysv/linux/i386/libc.abilist
8093 * sysdeps/unix/sysv/linux/ia64/libc.abilist
8094 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8095 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
8096 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
8097 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8098 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8099 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8100 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8101 * sysdeps/unix/sysv/linux/nios2/libc.abilist
8102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8106 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
8107 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8108 * sysdeps/unix/sysv/linux/sh/libc.abilist
8109 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8110 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8113 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
8114 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
8115 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
8116 Add GLIBC_2.25.
8117
8118 * include/features.h (__glibc_clang_prereq): New macro.
8119 * misc/sys/cdefs.h (__glibc_clang_has_extension)
8120 (__attribute_deprecated_msg__): New macros.
8121
8122 2016-08-03 Joseph Myers <joseph@codesourcery.com>
8123
8124 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
8125 macro.
8126 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
8127 * manual/arith.texi (issignaling): Document as ISO from TS
8128 18661-1:2014.
8129 (nextup): Likewise.
8130 (nextupf): Likewise.
8131 (nextupl): Likewise.
8132 (nextdown): Likewise.
8133 (nextdownf): Likewise.
8134 (nextdownl): Likewise.
8135 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
8136 macro.
8137 * math/math.h: Define
8138 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8139 <bits/libc-header-start.h> instead of including <features.h>.
8140 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
8141 [__USE_GNU].
8142 * math/bits/mathcalls.h (nextdown): Declare if
8143 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
8144 (nextup): Likewise.
8145 (__issignaling): Likewise.
8146
8147 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8148
8149 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
8150 check, and remove __glibc_likely hint
8151 from FP_INFINITE check.
8152 * s_csinhf.c (__csinhf): Likewise.
8153
8154 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
8155 hint from FP_INFINITE check.
8156 * s_csinhl.c (__csinhl): Likewise.
8157
8158 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8159
8160 * math/Makefile (libm-calls): Insert F placeholder into
8161 object names. Move w_lgamma_compat* routines into
8162 (libm-compat-calls): New variable.
8163 (libm-compat-calls-ldouble-yes): New variable.
8164 (calls): Insert F placeholder.
8165 (generated): Redefine using new type-foreach macro call.
8166 (routines): Likewise.
8167
8168 (types): New variable to hold a list of symbolic names
8169 for each type supported by the target machine.
8170 (libm-routines): Redefine using new types variable.
8171 (type-foreach): macro to replace fooF with the
8172 appropriately suffixed foo for each types.
8173
8174 (type-ldouble-suffix): New variable.
8175 (type-ldouble-routines): Likewise.
8176 (type-ldouble-yes): Likewise.
8177 (type-double-suffix): Likewise.
8178 (type-double-routines): Likewise.
8179 (type-float-suffix): Likewise.
8180 (type-float-routines): Likewise.
8181
8182 (dbl-only-routines): Remove.
8183 (long-c-yes): Likewise.
8184 (long-m-routines): Likewise.
8185 (long-m-support): Likewise.
8186 (long-m-yes): Likewise.
8187 (test-longdouble-yes): Likewise.
8188
8189 (test-float.o): Simplify by increasing the scope of the
8190 recipe which adds libm-test.stmp to the vector types.
8191 (test-ifloat.o): Likewise.
8192 (test-float-finite.o): Likewise.
8193 (test-double.o): Likewise
8194 (test-idouble.o): Likewise.
8195 (test-double-finite.o): Likewise.
8196 (test-ldouble.o): Likewise
8197 (test-ildoubl.o): Likewise.
8198 (test-ldouble-finite.o): Likewise.
8199
8200 (libm-tests): Redefine type tests using foreach and the
8201 list of types in types.
8202
8203 (CPPFLAGS-test-ildoubl.c): Rename to
8204 (CPPFLAGS-test-ildouble.c): New variable
8205
8206 * math/test-ildoubl.c: Rename to
8207 * math/test-ildouble.c: New file.
8208
8209 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8210
8211 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
8212 Use fabsl instead of fabs.
8213 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
8214 Likewise.
8215 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
8216 Add long double suffix to constant to ensure proper
8217 promotion to long double.
8218
8219 2016-08-03 Tom Tromey <tom@tromey.com>
8220
8221 [BZ #20311]
8222 * nptl_db/Makefile (headers): Add proc_service.h.
8223 * nptl_db/proc_service.h: Add include guard. Use
8224 __BEGIN/__END_DECLS.
8225 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
8226 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
8227 arguments.
8228
8229
8230 2016-08-03 Florian Weimer <fweimer@redhat.com>
8231
8232 [BZ #17730]
8233 Avoid using memalign for TCB allocations.
8234 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
8235 (_dl_allocate_tls_storage): Use malloc and manual alignment.
8236 Avoid alignment gap in the TLS_DTV_AT_TP case.
8237 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
8238 determine the pointer to free.
8239 * nptl/tst-tls3-malloc.c: New test.
8240 * nptl/Makefile (tests): Add it.
8241 (tst-tls3-malloc): Link with libdl, libpthread.
8242 (LDFLAGS-tst-tls3-malloc): Set.
8243 (tst-tls3-malloc.out): Depend on DSO used in test.
8244
8245 2016-08-03 Florian Weimer <fweimer@redhat.com>
8246
8247 [BZ #17730]
8248 Avoid using memalign for TLS allocations.
8249 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
8250 is_static member with to_free member.
8251 (union dtv): Use struct dtv_pointer.
8252 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
8253 dtv_pointer instead of is_static.
8254 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
8255 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
8256 instead of val.
8257 (allocate_dtv_entry): New function.
8258 (allocate_and_init): Return struct dtv_pointer. Call
8259 allocate_dtv_entry instead of __libc_memalign.
8260 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
8261 instead of val.
8262 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
8263 instead of is_static. Adjust call to allocate_and_init.
8264 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
8265 struct dtv_pointer instead of val.
8266
8267 2016-08-03 Florian Weimer <fweimer@redhat.com>
8268
8269 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
8270 (MALLOC_ALIGN_MASK): Move ...
8271 * malloc/malloc-internal.h: ... to here.
8272 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
8273
8274 2016-08-03 Joseph Myers <joseph@codesourcery.com>
8275
8276 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
8277 (UDP_ENCAP_GTP1U): Likewise.
8278
8279 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
8280 (PF_MAX): Update value.
8281 (AF_QIPCRTR): New macro.
8282
8283 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
8284
8285 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
8286 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8287 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8288 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8289 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8290 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8291 s_truncf-vis3, s_trunc-vis3.
8292 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
8293 (CFLAGS-s_ceil-vis3.c): Likewise.
8294 (CFLAGS-s_floorf-vis3.c): Likewise.
8295 (CFLAGS-s_floor-vis3.c): Likewise.
8296 (CFLAGS-s_truncf-vis3.c): Likewise.
8297 (CFLAGS-s_trunc-vis3.c): Likewise.
8298 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
8299 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
8301 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
8303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8304 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
8305 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8306 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
8307 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8308 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
8309 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8310
8311 2016-08-02 David S. Miller <davem@davemloft.net>
8312
8313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8314 (__nearbyint_vis3): Don't check for sNaN before float register is
8315 loaded with the incoming argument.
8316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8317 (__nearbyintf_vis3): Likewise.
8318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
8319 Likewise.
8320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
8321 Likewise.
8322
8323 * string/test-strncmp.c (do_test_limit): Make sure the test data
8324 stream is aligned as required for the type "CHAR".
8325 (do_test): Likewise.
8326
8327 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
8328
8329 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
8330 by beq instructions jumping to the end of the function.
8331 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
8332 clobber list. Use "i" constraint instead of "X".
8333 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
8334 of "X".
8335
8336 2016-08-02 Joseph Myers <joseph@codesourcery.com>
8337
8338 * bits/libc-header-start.h: New file.
8339 * Makefile (headers): Add bits/libc-header-start.h.
8340 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
8341 (__GLIBC_USE): New macro.
8342 * libio/stdio.h: Define
8343 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8344 <bits/libc-header-start.h> instead of including <features.h>.
8345 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
8346 (open_memstream): Likewise.
8347 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
8348 (__asprintf): Likewise.
8349 (asprintf): Likewise.
8350 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
8351 (getdelim): Likewise.
8352 (getline): Likewise.
8353 * string/string.h: Define
8354 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8355 <bits/libc-header-start.h> instead of including <features.h>.
8356 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
8357 (strndup): Likewise.
8358 * wcsmbs/wchar.h: Define
8359 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8360 <bits/libc-header-start.h> instead of including <features.h>.
8361 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
8362 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
8363
8364 2016-08-02 Florian Weimer <fweimer@redhat.com>
8365
8366 Support linking against compatibility symbols, for use in tests.
8367 * include/libc-symbols.h (symbol_version_reference): New macro.
8368 (symbol_version): Use it.
8369 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
8370 (compat_symbol): Use compat_symbol_reference.
8371 (compat_symbol_1, compat_symbol_2): Remove.
8372 (compat_symbol_reference, compat_symbol_reference_1)
8373 (compat_symbol_reference_2): New macro. Use
8374 symbol_version_reference.
8375
8376 2016-08-02 Florian Weimer <fweimer@redhat.com>
8377
8378 [BZ #19469]
8379 * malloc/Makefile (CPPFLAGS): Compile tests with
8380 -DTEST_NO_MALLOPT.
8381 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
8382
8383 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
8384
8385 [BZ #20033]
8386 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
8387 finite version.
8388 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
8389 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
8390 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
8391 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
8392 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
8393 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
8394 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
8395 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
8396 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
8397 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
8398 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
8399 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
8400 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
8401 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
8402 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
8403 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
8404 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
8405 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
8406 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
8407 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
8408 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
8409 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
8410 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
8411 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
8412 in zero power.
8413
8414 2016-08-02 Florian Weimer <fweimer@redhat.com>
8415
8416 [BZ #20370]
8417 * malloc/arena.c (get_free_list): Update comment. Assert that
8418 arenas on the free list have no attached threads.
8419 (remove_from_free_list): New function.
8420 (reused_arena): Call it.
8421
8422 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
8423
8424 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
8425 when it is a NaN.
8426 [_IEEE_FP_INEXACT] Remove.
8427 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
8428 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
8429 when it is a NaN.
8430 [_IEEE_FP_INEXACT] Remove.
8431 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
8432 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
8433 when it is a NaN.
8434 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
8435 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
8436 when its absolute value is greater than 0x1.0p52.
8437 [_IEEE_FP_INEXACT] Remove.
8438 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
8439 when its absolute value is greater than 0x1.0p23.
8440 [_IEEE_FP_INEXACT] Remove.
8441
8442 2016-08-01 Carlos O'Donell <carlos@redhat.com>
8443
8444 * version.h (RELEASE): Set to "development"
8445 (VERSION): Set to 2.24.90.
8446 * NEWS: Add 2.25 section.
8447
8448 * version.h (RELEASE): Set to "stable"
8449 (VERSION): Set to 2.24.
8450 * include/features.h (__GLIBC_MINOR__): Set to 24.
8451
8452 * NEWS: Add 2.24 fixed bugs.
8453 * po/libc.pot: Regenerate.
8454
8455 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
8456
8457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8458 [$(subdir) = math] (libm-sysdep_routines): Remove.
8459 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8460 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8461 s_truncf-vis3, s_trunc-vis3.
8462 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
8464 file.
8465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
8466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
8467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
8471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
8472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
8474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
8475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
8476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
8477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
8478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
8479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
8480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
8484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
8485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
8486 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
8487 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8488 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8490 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8491 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8492 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
8493 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8494 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8495 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
8496 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8497 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8498 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
8499 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
8500 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
8501 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
8502 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8503 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8504 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
8505 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
8506 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
8507 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
8508
8509 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
8510
8511 [BZ #20384]
8512 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
8513 test-double-libmvec-sincos-avx-main.o,
8514 test-double-libmvec-sincos-avx2-main.o,
8515 test-double-libmvec-sincos-main.o,
8516 test-float-libmvec-sincosf-avx-main.o,
8517 test-float-libmvec-sincosf-avx2-main.o and
8518 test-float-libmvec-sincosf-main.o.
8519 test-float-libmvec-sincosf-avx512-main.o.
8520 ($(objpfx)test-double-libmvec-sincos): Also link with
8521 $(objpfx)test-double-libmvec-sincos-main.o.
8522 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
8523 $(objpfx)test-double-libmvec-sincos-avx-main.o.
8524 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
8525 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
8526 ($(objpfx)test-float-libmvec-sincosf): Also link with
8527 $(objpfx)test-float-libmvec-sincosf-main.o.
8528 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
8529 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
8530 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
8531 test-double-libmvec-sincos-avx512-main.o and
8532 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
8533 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
8534 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
8535 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
8536 (CFLAGS-test-double-libmvec-sincos.c): Removed.
8537 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
8538 (CFLAGS-test-double-libmvec-sincos-main.c): New.
8539 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
8540 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
8541 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
8542 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
8543 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
8544 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
8545 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
8546 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
8547 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
8548 -DREQUIRE_AVX2.
8549 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
8550 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
8551 -DREQUIRE_AVX512F.
8552 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
8553 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
8554 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8555 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
8556 file.
8557 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
8558 Likewise.
8559 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
8560 Likewise.
8561 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
8562 Likewise.
8563 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
8564 Likewise.
8565 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
8566 Likewise.
8567 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
8568 Likewise.
8569 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
8570 Likewise.
8571
8572 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
8573
8574 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
8575
8576 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
8577
8578 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
8579 and typo in a comment about AT_HWCAP entry.
8580
8581 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8582
8583 * sysdeps/aarch64/libm-test-ulps: Updated.
8584
8585 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8586
8587 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
8588 of r13 as it is not restored in mvcle case.
8589
8590 2016-07-19 Mike Frysinger <vapier@gentoo.org>
8591
8592 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
8593 Rename "ret" to "__ret".
8594 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
8595 inline_syscall5, inline_syscall6): Likewise.
8596
8597 2016-07-19 Will Newton <will.newton@gmail.com>
8598
8599 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
8600 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
8601 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
8602 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
8603 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
8604
8605 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
8606
8607 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
8608 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
8609 -mfpmath=387 with $(rtld-CFLAGS).
8610 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
8611 $(rtld-CFLAGS).
8612
8613 2016-07-18 Ross Burton <ross.burton@intel.com>
8614 Khem Raj <raj.khem@gmail.com>
8615
8616 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
8617 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
8618 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
8619 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
8620 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
8621 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
8622 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
8623 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
8624 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
8625 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
8626 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
8627 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
8628 R_METAG_TLS_DTPOFF): New.
8629
8630 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
8631 Matt Clay <mclay@lycos.com>
8632
8633 [BZ #20357]
8634 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
8635 to call __mpsin/__mpcos and to negate values.
8636 * math/auto-libm-test-in: Add test.
8637 * math/auto-libm-test-out: Regenerate.
8638
8639 2016-07-18 Zack Weinberg <zackw@panix.com>
8640
8641 * grp/Makefile: Don't install the internal header grp-merge.h.
8642
8643 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
8644
8645 * sysdeps/aarch64/libm-test-ulps: Regenerated.
8646
8647 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
8648
8649 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
8650
8651 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8652
8653 [BZ #15368]
8654 * sysdeps/unix/sysv/linux/nptl-signals.h
8655 (__nptl_clear_internal_signals): New function.
8656 (__libc_signal_block_all): Likewise.
8657 (__libc_signal_block_app): Likewise.
8658 (__libc_signal_restore_set): Likewise.
8659 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
8660 implementation.
8661 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
8662 the cached pid/tid value in pthread structure.
8663
8664 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
8665
8666 [BZ #20347]
8667 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8668
8669 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8670
8671 [BZ #20348]
8672 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
8673 preadv64, pwrite64 and pwritev64.
8674
8675 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8676
8677 [BZ #20350]
8678 * posix/tst-preadwrite.c: Renamed to ...
8679 * posix/tst-preadwrite-common.c: This.
8680 (PREAD): Removed.
8681 (PWRITE): Likewise.
8682 (STRINGIFY): Likewise.
8683 (STRINGIFY2): Likewise.
8684 (do_prepare): Make it static and remove function arguments.
8685 (do_test): Likewise.
8686 (PREPARE): Updated.
8687 (TEST_FUNCTION): New.
8688 (name): Make it static.
8689 (fd): Likewise.
8690 (do_prepare): Use create_temp_file.
8691 (do_test): Renamed to ...
8692 (do_test_with_offset): This. Make it static and accept offset.
8693 Properly check return value of PWRITE and PREAD. Return bytes
8694 read. Don't close fd nor unlink name.
8695 * posix/tst-preadwrite.c: Rewrite.
8696 * posix/tst-preadwrite64.c: Likewise.
8697
8698 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8699
8700 [BZ #20309]
8701 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
8702 -mtls-dialect=gnu2 works.
8703 * configure: Regenerated.
8704 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
8705 (tests): Add tst-gnu2-tls1.
8706 (modules-names): Add tst-gnu2-tls1mod.
8707 ($(objpfx)tst-gnu2-tls1): New.
8708 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
8709 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
8710 * elf/tst-gnu2-tls1.c: New file.
8711 * elf/tst-gnu2-tls1mod.c: Likewise.
8712 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
8713 bytes for push in the PLT entry to align the stack.
8714
8715 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
8716
8717 [BZ #20349]
8718 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
8719
8720 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8721
8722 [BZ #18707]
8723 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
8724 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
8725
8726 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8727
8728 * sysdeps/unix/sysv/linux/sysdep.h
8729 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
8730 guards.
8731 * misc/tst-preadvwritev-common.c: New file.
8732 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
8733 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
8734 a check for files larger than 2GB.
8735
8736 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8737 (__ASSUME_OFF_DIFF_OFF64): Remove define.
8738 * sysdeps/unix/sysv/linux/pread.c
8739 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
8740 __OFF_T_MATCHES_OFF64_T.
8741 * sysdeps/unix/sysv/linux/pread64.c
8742 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
8743 * sysdeps/unix/sysv/linux/preadv.c
8744 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
8745 * sysdeps/unix/sysv/linux/preadv64.c
8746 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
8747 * sysdeps/unix/sysv/linux/pwrite.c
8748 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
8749 * sysdeps/unix/sysv/linux/pwrite64.c
8750 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
8751 * sysdeps/unix/sysv/linux/pwritev.c
8752 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
8753 * sysdeps/unix/sysv/linux/pwritev64.c
8754 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
8755
8756 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
8757
8758 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8759 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
8760
8761 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
8762
8763 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
8764
8765 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
8766
8767 [BZ #20240]
8768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
8769 (CFLAGS-s_modf-ppc32.c): New variable.
8770 (CFLAGS-s_modff-ppc32.c): Likewise.
8771 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8772 (CFLAGS-s_modf-ppc64.c): Likewise.
8773 (CFLAGS-s_modff-ppc64.c): Likewise.
8774
8775 2016-07-07 Andreas Schwab <schwab@suse.de>
8776
8777 [BZ #20263]
8778 * nptl/tst-robust10.c: New test.
8779 * nptl/Makefile (tests): Add tst-robust10.
8780
8781 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
8782
8783 [BZ #20263]
8784 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
8785
8786 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
8787
8788 * sysdeps/s390/linkmap.h (struct link_map_machine):
8789 Remove member gotplt and add member jmprel.
8790 * sysdeps/s390/s390-32/dl-machine.h
8791 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
8792 instead of gotplt with &got[3].
8793 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
8794 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8795
8796 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
8797
8798 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
8799
8800 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8801
8802 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
8803 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
8804 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8805 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
8806 * libio/vtables.c (_IO_vtable_check)
8807 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8808 * libio/libioP.h (IO_set_accept_foreign_vtables)
8809 [!PTR_MANGLE]: Do not call PTR_MANGLE.
8810
8811 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
8812
8813 [BZ #20314]
8814 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
8815 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
8816 $(common-objpfx)cmath.
8817 ($(common-objpfx)cstdlib): New target.
8818 ($(common-objpfx)cmath): Likewise.
8819
8820 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
8821
8822 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
8823
8824 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8825
8826 [BZ #20327]
8827 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
8828 are not part of the string.
8829
8830 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8831
8832 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
8833 * nptl/tst-cancel4-common.h (fifoname): New variable.
8834 (fifofd): Likewise.
8835 (cl_fifo): New function.
8836 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
8837 SIGINT.
8838 (tf_open): Add early cancel test.
8839
8840 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
8841
8842 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
8843
8844 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
8845
8846 * sysdeps/generic/ldsodefs.h
8847 (dl_symbol_visibility_binds_local_p): New inline function.
8848 * elf/dl-addr.c (determine_info): Treat hidden and internal
8849 symbols as local.
8850 * elf/dl-lookup.c (do_lookup_x): Likewise.
8851 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
8852
8853 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
8854
8855 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
8856 invalid exception for a sNaN input.
8857 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8858 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8859 (__nearbyint_vis3): Likewise
8860 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8861 (__nearbyintf_vis3): Likewise
8862 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
8863 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8864 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
8865 Likewise.
8866 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
8867 Likewise.
8868
8869 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
8870
8871 [BZ #20139]
8872 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
8873 (HAVE_AVX512DQ_ASM_SUPPORT): This.
8874 * sysdeps/x86_64/configure.ac: Require assembler from binutils
8875 2.24 or above.
8876 (HAVE_AVX512_ASM_SUPPORT): Removed.
8877 (HAVE_AVX512DQ_ASM_SUPPORT): New.
8878 * sysdeps/x86_64/configure: Regenerated.
8879 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
8880 check unconditional.
8881 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8882 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8883 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8884 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8885 Likewise.
8886 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8887 Likewise.
8888 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8889 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8890 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8891 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8892 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8893 Likewise.
8894 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8895 Likewise.
8896 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8897 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8898 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8899 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8900 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8901 Likewise.
8902 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8903 Likewise.
8904 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8905 Likewise.
8906 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8907 Likewise.
8908 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8909 Likewise.
8910 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8911 Likewise.
8912 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8913 Likewise.
8914 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8915 Likewise.
8916 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8917 Likewise.
8918 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8919 Likewise.
8920 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8921 Likewise.
8922
8923 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
8924
8925 [BZ #20024]
8926 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8927 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8928 of this implementation of vector function.
8929 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8930 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8931 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8932 Likewise.
8933 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8934 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8935 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8936 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8937 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8938 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8939 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8940 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8941 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8942 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8943 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8944 for testing vector sincos with fixed ABI.
8945 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8946 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8947 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8948 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8949 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8950 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8951 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8952 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8953 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8954 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8955 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8956 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8957 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8958 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8959 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8960 * sysdeps/x86_64/fpu/Makefile: Added new tests.
8961
8962 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8963
8964 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8965
8966 2016-06-30 Anton Blanchard <anton@samba.org>
8967
8968 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8969 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8970 s_sinf-ppc64.
8971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8974 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8975
8976 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8977
8978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8980 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8981 e_expf-ppc64.
8982 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8983 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8984 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8985 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8986
8987 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
8988
8989 [BZ #20277]
8990 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8991 when SHARED is defined.
8992
8993 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
8994
8995 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8996 (index_arch_Prefer_ERMS): Likewise.
8997 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8998 __memcpy_erms for Prefer_ERMS.
8999 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9000 (__memmove_erms): Enabled for libc.a.
9001 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
9002 __memmove_erms or Prefer_ERMS.
9003 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
9004 __mempcpy_erms for Prefer_ERMS.
9005 * sysdeps/x86_64/multiarch/memset.S (memset): Return
9006 __memset_erms for Prefer_ERMS.
9007
9008 2016-06-30 Andreas Schwab <schwab@suse.de>
9009
9010 [BZ #20262]
9011 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
9012 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
9013 of memory.
9014
9015 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
9016
9017 [BZ #18645]
9018 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
9019 (test-extras): Add tst-cleanupx4aux.
9020 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
9021 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
9022 tst-cleanupx4aux.o.
9023 * nptl/tst-cleanupx4aux.c: New file.
9024
9025 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
9026
9027 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
9028
9029 2016-06-29 Andreas Schwab <schwab@suse.de>
9030
9031 [BZ #20260]
9032 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
9033 address before the beginning of the string as an integer to avoid
9034 array-bounds warning.
9035
9036 2016-06-28 Richard Henderson <rth@redhat.com>
9037
9038 * elf/elf.h (EM_BPF): New.
9039 (EM_NUM): Update.
9040 (R_BPF_NONE, R_BPF_MAP_FD): New.
9041
9042 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
9043 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
9044 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
9045 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
9046 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
9047 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
9048 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
9049 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
9050 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
9051 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
9052 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
9053 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
9054 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
9055 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
9056 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
9057 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
9058 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
9059 (EM_NUM): Update.
9060
9061 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
9062
9063 [BZ #18960]
9064 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
9065 Set _nl_current_LC_CATEGORY_used to two instead of one.
9066
9067 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
9068
9069 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
9070 (do_test): ... this.
9071 (TEST_FUNCTION): New macro.
9072 Include test-skeleton.c.
9073 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
9074 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
9075
9076 2016-06-27 Joseph Myers <joseph@codesourcery.com>
9077
9078 [BZ #15479]
9079 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
9080 floating-point environment rather than just control word.
9081 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9082 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
9083 floating-point environment, with "invalid" exceptions merged in,
9084 rather than just control word.
9085 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
9086 * math/libm-test.inc (trunc_test_data): Do not allow spurious
9087 "inexact" exceptions.
9088
9089 [BZ #15479]
9090 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
9091 floating-point environment rather than just control word.
9092 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9093 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
9094 floating-point environment, with "invalid" exceptions merged in,
9095 rather than just control word.
9096 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
9097 * math/libm-test.inc (floor_test_data): Do not allow spurious
9098 "inexact" exceptions.
9099
9100 [BZ #15479]
9101 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
9102 floating-point environment rather than just control word.
9103 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9104 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
9105 floating-point environment, with "invalid" exceptions merged in,
9106 rather than just control word.
9107 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
9108 * math/libm-test.inc (ceil_test_data): Do not allow spurious
9109 "inexact" exceptions.
9110
9111 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
9112
9113 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
9114 __libc_vfork.
9115 (__vfork) [IS_IN (libc)]: Remove alias.
9116 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
9117 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9118 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9119
9120 2016-06-24 Torvald Riegel <triegel@redhat.com>
9121
9122 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
9123 of atomic_compare_and_exchange_bool_rel.
9124 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9125 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
9126 catomic_compare_and_exchange_bool_rel): Remove.
9127 * sysdeps/aarch64/atomic-machine.h
9128 (atomic_compare_and_exchange_bool_rel): Likewise.
9129 * sysdeps/alpha/atomic-machine.h
9130 (atomic_compare_and_exchange_bool_rel): Likewise.
9131 * sysdeps/arm/atomic-machine.h
9132 (atomic_compare_and_exchange_bool_rel): Likewise.
9133 * sysdeps/mips/atomic-machine.h
9134 (atomic_compare_and_exchange_bool_rel): Likewise.
9135 * sysdeps/microblaze/atomic-machine.h
9136 ( __arch_compare_and_exchange_bool_8_rel,
9137 __arch_compare_and_exchange_bool_16_rel): Likewise.
9138 * sysdeps/powerpc/atomic-machine.h
9139 ( __arch_compare_and_exchange_bool_8_rel,
9140 __arch_compare_and_exchange_bool_16_rel): Likewise.
9141 * sysdeps/powerpc/powerpc32/atomic-machine.h
9142 ( __arch_compare_and_exchange_bool_32_rel,
9143 __arch_compare_and_exchange_bool_64_rel): Likewise.
9144 * sysdeps/powerpc/powerpc64/atomic-machine.h
9145 ( __arch_compare_and_exchange_bool_32_rel,
9146 __arch_compare_and_exchange_bool_64_rel): Likewise.
9147 * sysdeps/tile/atomic-machine.h
9148 (atomic_compare_and_exchange_bool_rel): Likewise.
9149
9150 2016-06-23 Joseph Myers <joseph@codesourcery.com>
9151
9152 [BZ #20296]
9153 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
9154 when either argument is a NaN.
9155 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9156 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
9157
9158 * math/libm-test.inc (snan_value_ld): New macro.
9159 (isgreater_test_data): Add sNaN tests.
9160 (isgreaterequal_test_data): Likewise.
9161 (isless_test_data): Likewise.
9162 (islessequal_test_data): Likewise.
9163 (islessgreater_test_data): Likewise.
9164 (isunordered_test_data): Likewise.
9165 (nextafter_test_data): Likewise.
9166 (nexttoward_test_data): Likewise.
9167 (remainder_test_data): Likewise.
9168 (remquo_test_data): Likewise.
9169 (significand_test_data): Likewise.
9170 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
9171
9172 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
9173
9174 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
9175 environment macros are defined.
9176 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
9177
9178 2016-06-23 Florian Weimer <fweimer@redhat.com>
9179
9180 [BZ #20191]
9181 Implement vtable verification in libio.
9182 * Makerules (shlib.lds): Place __libc_IO_vtables section.
9183 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
9184 * debug/vdprintf_chk.c (__vdprintf_chk): Call
9185 _IO_new_file_init_internal instead of _IO_file_init.
9186 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
9187 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
9188 * libio/Makefile (routines): Add vtables.
9189 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
9190 (_IO_init): Remove, not for internal use.
9191 (_IO_init_internal): Declare, internal replacement for _IO_init.
9192 (_IO_file_init): Remove, not for internal use.
9193 (_IO_new_file_init): Remove, not for internal use.
9194 (_IO_new_file_init_internal): Declare, internal replacement for
9195 _IO_new_file_init.
9196 (_IO_old_file_init): Remove, not for internal use.
9197 (_IO_old_file_init_internal): Declare, internal replacement for
9198 _IO_old_file_init.
9199 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
9200 internal use.
9201 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
9202 Declare.
9203 (libio_vtable): New macro.
9204 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
9205 functions.
9206 * libio/fileops.c (_IO_new_file_init_internal): Rename from
9207 _IO_new_file_init.
9208 (_IO_new_file_init): New externally visible wrapper which disables
9209 vtable verification.
9210 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
9211 Define as vtables.
9212 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
9213 (_IO_init): New externally visible wrapper which disables
9214 vtable verification.
9215 * libio/iofdopen.c (_IO_new_fdopen): Call
9216 _IO_new_file_init_internal instead of _IO_file_init. Adjust
9217 comment.
9218 * libio/iofopen.c (__fopen_internal): Call
9219 _IO_new_file_init_internal instead of _IO_file_init.
9220 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
9221 Define as vtables.
9222 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
9223 _IO_new_file_init_internal instead of _IO_file_init.
9224 * libio/iopopen.c (_IO_new_popen): Likewise.
9225 (_IO_proc_jumps): Define as vtable.
9226 * libio/iovdprintf.c (_IO_vdprintf): Call
9227 _IO_new_file_init_internal instead of _IO_file_init.
9228 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
9229 (__open_memstream): Call _IO_init_internal instead of _IO_init.
9230 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
9231 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
9232 _IO_old_file_init.
9233 (_IO_old_file_init): New externally visible wrapper which disables
9234 vtable verification.
9235 (_IO_old_file_jumps): Define as vtable.
9236 * libio/oldiofdopen.c (_IO_old_fdopen): Call
9237 _IO_old_file_init_internal instead of _IO_old_file_init.
9238 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9239 * libio/oldiopopen.c (_IO_old_popen): Likewise.
9240 (_IO_old_proc_jumps): Define as vtable.
9241 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
9242 Define as vtables.
9243 * libio/vtables.c: New file.
9244 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
9245 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
9246 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
9247 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
9248 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
9249 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
9250 instead of _IO_init.
9251
9252 2016-06-23 Florian Weimer <fweimer@redhat.com>
9253
9254 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
9255
9256 2016-06-23 Florian Weimer <fweimer@redhat.com>
9257
9258 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
9259 potentially unused.
9260
9261 2016-06-22 Florian Weimer <fweimer@redhat.com>
9262
9263 * test-skeleton.c (write_message): New function.
9264 * malloc/tst-mallocfork2.c (write_message): Remove.
9265 * debug/tst-longjmp_chk2.c (write_indented): New function.
9266 (write_message): Remove.
9267 (stackoverflow_handler): Call write_indented.
9268
9269 2016-06-22 Joseph Myers <joseph@codesourcery.com>
9270
9271 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
9272 "inexact" exceptions after fnstenv.
9273 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9274 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9275 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9276
9277 2015-06-22 Zack Weinberg <zackw@panix.com>
9278
9279 * sysdeps/generic/bits/hwcap.h: Moved to ...
9280 * bits/hwcap.h: Here.
9281
9282 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
9283
9284 * sysdeps/aarch64/memcpy.S (memcpy):
9285 Further tuning for performance.
9286
9287 2016-06-21 Florian Weimer <fweimer@redhat.com>
9288
9289 [BZ #20284]
9290 * malloc/arena.c (reused_arena): Do not return NULL if we start
9291 out with a non-corrupted arena.
9292
9293 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9294
9295 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
9296 * misc/tst-preadvwritev.c: New file.
9297 * misc/tst-preadvwritev64.c: Likewise.
9298 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
9299 usage.
9300 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
9301 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
9302 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
9303 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
9304
9305 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
9306
9307 [BZ #19654]
9308 * sysdeps/x86_64/fpu/Makefile: Added new tests.
9309 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
9310 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
9311 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
9312 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
9313 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
9314 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
9315 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
9316 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
9317 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
9318 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
9319 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
9320 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
9321 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
9322 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
9323 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
9324 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
9325 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
9326 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
9327 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
9328 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
9329 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
9330 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
9331 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
9332 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
9333 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
9334
9335 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
9336
9337 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
9338 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
9339
9340 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
9341
9342 * sysdeps/aarch64/memcpy.S (memcpy):
9343 Rewrite of optimized memcpy and memmove.
9344 * sysdeps/aarch64/memmove.S (memmove): Remove
9345 memmove code (merged into memcpy.S).
9346
9347 2016-06-20 Florian Weimer <fweimer@redhat.com>
9348
9349 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
9350 * sysdeps/generic/dl-dtv.h: New file.
9351 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9352 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
9353 (dtv_t): Remove.
9354 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9355 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
9356 (dtv_t): Remove.
9357 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9358 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
9359 (dtv_t): Remove.
9360 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9361 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
9362 (dtv_t): Remove.
9363 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9364 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
9365 (dtv_t): Remove.
9366 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9367 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
9368 (dtv_t): Remove.
9369 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9370 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
9371 (dtv_t): Remove.
9372 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
9373 (dtv_t): Remove.
9374 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9375 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
9376 (dtv_t): Remove.
9377 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9378 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
9379 (dtv_t): Remove.
9380 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9381 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
9382 (dtv_t): Remove.
9383 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9384 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
9385 (dtv_t): Remove.
9386 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9387 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
9388 (dtv_t): Remove.
9389 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9390 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
9391 (dtv_t): Remove.
9392 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9393 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
9394 (dtv_t): Remove.
9395 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9396 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
9397 (dtv_t): Remove.
9398
9399 2016-06-20 Florian Weimer <fweimer@redhat.com>
9400
9401 Revert symbol poisoning of __malloc_initialize_hook.
9402 * include/stdc-predef.h (__malloc_initialize_hook): Remove
9403 poisoning.
9404 * malloc/Makefile: Remove un-poisoning.
9405 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
9406 instead of old__malloc_initialize_hook.
9407 * malloc/malloc-hooks.h: Likewise.
9408 * malloc/malloc.c: Likewise.
9409 * malloc/mcheck-init.c: Likewise.
9410
9411 2016-06-19 Carlos O'Donell <carlos@redhat.com>
9412
9413 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
9414
9415 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
9416
9417 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
9418 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
9419 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9420 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9421
9422 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9423
9424 * NEWS: Mention addition of nextup and nextdown.
9425 * manual/arith.texi: Document nextup and nextdown.
9426 * manual/libm-err-tab.pl: Add nextup and nextdown.
9427 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
9428 * math/Versions (libm): Add GLIBC_2.24.
9429 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
9430 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9431 Add new test.
9432 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
9433 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
9434 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
9435 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
9436 (nextup_test_data): Likewise.
9437 (nextdown_test_data): Likewise.
9438 * math/s_nextdown.c: New file.
9439 * math/s_nextdownf.c: Likewise.
9440 * math/s_nextdownl.c: Likewise.
9441 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
9442 F(nextup): New function.
9443 F(nextdown): Likewise.
9444 * math/tgmath.h: Add nextup and nextdown.
9445 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
9446 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
9447 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9448 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9449 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9450 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
9451 Add nextup and nextdown.
9452 (CFLAGS-nldbl-nextup.c): New variable.
9453 (CFLAGS-nldbl-nextdown.c): Likewise.
9454 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
9455 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
9456 * sysdeps/nacl/libm.abilist: Update.
9457 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9458 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9459 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9460 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9461 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9462 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9463 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9464 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9465 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9466 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9467 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9468 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9471 Likewise.
9472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9474 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9475 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9476 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9477 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9478 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
9480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
9481 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9482 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9483 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
9484 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9485
9486 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9487
9488 * manual/pattern.texi: Fix typos & grammar errors.
9489
9490 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9491
9492 * manual/search.texi: Fix typos & grammar errors.
9493
9494 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9495
9496 * manual/message.texi: Fix typos & grammar errors.
9497
9498 2016-06-16 Mike Frysinger <vapier@gentoo.org>
9499
9500 * manual/contrib.texi: Fix spelling typos.
9501 * manual/crypt.texi: Likewise.
9502 * manual/filesys.texi: Likewise.
9503 * manual/locale.texi: Likewise.
9504 * manual/message.texi: Likewise.
9505 * manual/nss.texi: Likewise.
9506 * manual/string.texi: Likewise.
9507
9508 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9509
9510 * manual/locale.texi: Fix typos & grammar errors.
9511
9512 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9513
9514 * manual/charset.texi: Fix typos & grammar errors.
9515
9516 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9517
9518 * manual/string.texi: Fix typos.
9519
9520 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9521
9522 * manual/ctype.texi: Fix typos.
9523
9524 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9525
9526 * manual/memory.texi: Fix various typos & grammar errors.
9527
9528 2016-06-14 Joseph Myers <joseph@codesourcery.com>
9529
9530 [BZ #20255]
9531 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
9532 * math/libm-test.inc (fdim_test_data): Add another test.
9533
9534 [BZ #6796]
9535 [BZ #20255]
9536 [BZ #20256]
9537 * math/s_fdim.c: Include <math_private.h>.
9538 (__fdim): Use math_narrow_eval on result.
9539 * math/s_fdimf.c: Include <math_private.h>.
9540 (__fdimf): Use math_narrow_eval on result.
9541 * sysdeps/i386/fpu/s_fdim.S: Remove file.
9542 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
9543 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
9544 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
9545 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
9546 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
9547 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
9548 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
9549 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
9550 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
9551 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
9552 * math/libm-test.inc (fdim_test_data): Expect errno setting on
9553 overflow. Add sNaN tests.
9554
9555 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
9556 fpclassify.
9557 * math/s_fdimf.c (__fdimf): Likewise.
9558 * math/s_fdiml.c (__fdiml): Likewise.
9559
9560 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9561
9562 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9563 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
9564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9565 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9566 ifunc'ed strcasecmp/strncasecmp.
9567 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
9568 [EALIGN]: Removed.
9569 [END]: Likewise.
9570 [__strcasecmp]: Define instead of the above to control symbol name.
9571 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
9572 for __strcasecmp_power8.
9573 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
9574 for __strncasecmp_power8.
9575 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
9576 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
9577 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
9578 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
9579 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
9580 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
9581
9582 2016-06-13 Joseph Myers <joseph@codesourcery.com>
9583
9584 [BZ #20252]
9585 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
9586 arguments when second argument is a NaN.
9587 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
9588 qNaN tests.
9589
9590 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
9591 (conj_test_data): Likewise.
9592 (copysign_test_data): Likewise.
9593 (creal_test_data): Likewise.
9594 (fma_test_data): Likewise.
9595 (fmod_test_data): Likewise.
9596
9597 [BZ #20250]
9598 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
9599 itself.
9600 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
9601 zero input to itself.
9602 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
9603 Likewise.
9604 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
9605 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
9606 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9607 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
9608 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
9609
9610 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9611
9612 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
9613 * nptl/tst-cancel4-common.c: New file.
9614 * nptl/tst-cancel4-common.h: Likewise.
9615 * nptl/tst-cancel4.c: Move common definitions to
9616 tst-cancel4-common.{c,h} file.
9617 * nptl/tst-cancel4_1.c: New test.
9618 * nptl/tst-cancel4_2.c: New test.
9619
9620 2016-06-13 Florian Weimer <fweimer@redhat.com>
9621
9622 [BZ #20248]
9623 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
9624 (write_message): New function.
9625 (stackoverflow_handler): Call it instead of printf, to avoid
9626 excessive stack usage by printf.
9627 (do_test): Restore SIGSEGV, SIGBUS default handlers.
9628
9629 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9630
9631 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
9632 (prio_inherit_missing): Remove define.
9633 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9634 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9635 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
9636 Likewise.
9637 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9638 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9639 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9640 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9641 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9642 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9643
9644 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9645
9646 [BZ #19670]
9647 [BZ #19672]
9648
9649 * io/test-lfs.c (do_prepare): Use xmalloc.
9650 * io/tst-fcntl.c (do_prepare): Likewise.
9651 * libio/tst-fopenloc.c (do_bz17916): Likewise.
9652 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
9653 * login/tst-utmp.c (do_prepare): Likewise.
9654 * posix/tst-exec.c (do_prepare): Likewise.
9655 * posix/tst-pathconf.c (prepare): Likewise.
9656 * posix/tst-spawn.c (do_prepare): Likewise.
9657 * posix/tst-truncate.c (do_prepare): Likewise.
9658 * rt/tst-aio.c (do_prepare): Likewise.
9659 * rt/tst-aio64.c (do_prepare): Likewise.
9660
9661 2016-06-11 Florian Weimer <fweimer@redhat.com>
9662
9663 [BZ #20237]
9664 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
9665 (get*ent): Set entidx to NULL during initialization. If entidx is
9666 NULL, start iteration from the beginning.
9667
9668 2016-06-11 Florian Weimer <fweimer@redhat.com>
9669
9670 * malloc/malloc.c (musable): Return correct size for dumped fake
9671 mmapped chunk.
9672
9673 2016-06-11 Florian Weimer <fweimer@redhat.com>
9674
9675 [BZ #20222]
9676 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
9677 (_IO_cookie_write): Likewise.
9678 (_IO_cookie_seek): Likewise.
9679 (_IO_cookie_close): Likewise.
9680 (_IO_old_cookie_seek): Likewise.
9681 (set_callbacks): New function.
9682 (_IO_cookie_init): Call set_callbacks to copy callbacks.
9683
9684 2016-06-11 Marko Myllynen <myllynen@redhat.com>
9685
9686 * locale/programs/localedef.c (oldstyle_tables): Remove.
9687 * locale/programs/localedef.h (oldstyle_tables): Likewise.
9688
9689 2016-06-10 Joseph Myers <joseph@codesourcery.com>
9690
9691 [BZ #20240]
9692 * math/Makefile (CFLAGS-s_modf.c): New variable.
9693 (CFLAGS-s_modff.c): Likewise.
9694 (CFLAGS-s_modfl.c): Likewise.
9695 * math/libm-test.inc (modf_test_data): Add sNaN tests.
9696
9697 2016-06-09 Carlos O'Donell <carlos@redhat.com>
9698
9699 [BZ #20215]
9700 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
9701 [!__GNUC_PREREQ (3,2)]: Likewise.
9702
9703 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
9704
9705 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
9706 (msghdr.msg_controllen): Likewise.
9707 (cmsghdr.cmsg_len): Likewise.
9708 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
9709 ptw-oldsendmsg.
9710 (CFLAGS-oldrecvmsg.c): Remove rule.
9711 (CFLAGS-oldsendmsg.c): Likewise.
9712 (CFLAGS-recvmsg.c): Add rule.
9713 (CFLAGS-sendmsg.c): Likewise.
9714 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
9715 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
9716 (CFLAGS-recvmsg.c): Remove rule.
9717 (CFLAGS-sendmsg.c): Likewise.
9718 (CFLAGS-oldrecvmsg.c): Likewise.
9719 (CFLAGS-oldsendmsg.c): Likewise.
9720 (CFLAGS-recvmmsg.c): Likewise.
9721 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
9722 to kernel defined interfaces.
9723 (msghdr.msg_controllen): Likewise.
9724 (cmsghdr.cmsg_len): Likewise.
9725 (msghdr.__glibc_reserved1): Remove member.
9726 (msghdr.__glibc_reserved2): Likewise.
9727 (cmsghdr.__glibc_reserved1): Likewise.
9728 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
9729 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
9730 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9731 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9732 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
9733 version.
9734 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9735 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
9736 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9737 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
9738 Remove recvmsg and sendmsg.
9739 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
9740 Likewise.
9741 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9742 Likewise.
9743 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9744 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9745 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9746 Likewise.
9747 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9748 Likewise.
9749 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
9750 [libc] (GLIBC_2.24): Likewise.
9751 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9752 Likewise.
9753 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9754 Likewise.
9755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9756 [libc] (GLIBC_2.24): Likewise.
9757 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9758 Likewise.
9759 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9760 Likewise.
9761 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9762 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9763 Likewise.
9764 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9765 Likewise.
9766 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9767 Likewise.
9768 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
9769 Likewise.
9770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
9771 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
9772 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
9773 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
9774 version for {recv,send,recm,sendm}msg.
9775 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9776 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9777 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9778 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9779 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9780 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9781 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9782 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9783 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9784 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9785 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9786 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9788 Likewise.
9789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9790 Likewise.
9791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9793 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9794 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9795 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9796 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9797 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9798 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9801 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9802 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9803 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9804
9805 2016-06-10 Florian Weimer <fweimer@redhat.com>
9806
9807 [BZ #19564]
9808 Remove __malloc_initialize_hook from the API.
9809 * malloc/malloc.h (__malloc_initialize_hook): Remove.
9810 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
9811 #pragma GCC poison.
9812 * malloc/malloc-hooks.h: New file.
9813 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
9814 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
9815 (old__malloc_initialize_hook): Rename from
9816 __malloc_initialize_hook to evade poisoning. Turn into compat
9817 symbol.
9818 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
9819 __malloc_initialize_hook.
9820 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
9821 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
9822 * manual/memory.texi (Hooks for Malloc): Remove
9823 __malloc_initialize_hook. Adjust hook example.
9824
9825 2016-06-09 Joseph Myers <joseph@codesourcery.com>
9826
9827 [BZ #20235]
9828 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
9829 itself.
9830 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9831 * math/libm-test.inc (log2_test_data): Add sNaN tests.
9832
9833 [BZ #20234]
9834 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
9835 infinity or NaN input to itself.
9836
9837 [BZ #20233]
9838 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
9839 to itself.
9840
9841 [BZ #20232]
9842 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
9843 itself.
9844
9845 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
9846
9847 * sysdeps/x86_64/start.S (_start): Always indirect branch to
9848 __libc_start_main via GOT.
9849
9850 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
9851
9852 * sysdeps/x86_64/memcopy.h: New file.
9853 * sysdeps/x86_64/wordcopy.c: Likewise.
9854
9855 2016-06-09 Florian Weimer <fweimer@redhat.com>
9856
9857 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
9858 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
9859 <cstdlib>.
9860 (optimization_barrier): New.
9861 (do_test): Use it. Call quick_exit in the global namespace.
9862 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
9863 instead of <cstdlib>, <thread>.
9864 (optimization_barrier): New.
9865 (non_main_thread): Adjust declaration. Call optimization_barrier.
9866 Call quick_exit in the global namespace.
9867 (do_test): Call optimization_barrier. Use pthread_create,
9868 pthread_join instead of std::thread.
9869
9870 2016-06-09 Andreas Schwab <schwab@suse.de>
9871
9872 [BZ #19755]
9873 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
9874 new entries in auto-propagate mode.
9875 * nscd/grpcache.c (cache_addgr): Likewise.
9876
9877 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9878
9879 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
9880 New functions.
9881 (add_temp_file): Use them.
9882
9883 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
9884
9885 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9886
9887 2016-06-08 Joseph Myers <joseph@codesourcery.com>
9888
9889 [BZ #20229]
9890 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9891 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9892 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9893
9894 [BZ #20228]
9895 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9896 itself.
9897 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9898 * math/libm-test.inc (log10_test_data): Add sNaN tests.
9899
9900 [BZ #20227]
9901 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9902 itself.
9903 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9904 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9905 * math/libm-test.inc (log_test_data): Add sNaN tests.
9906
9907 [BZ #20226]
9908 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9909 itself.
9910 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9911 * math/libm-test.inc (exp_test_data): Add sNaN tests.
9912 (exp10_test_data): Likewise.
9913 (expm1_test_data): Likewise.
9914
9915 [BZ #20225]
9916 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9917 itself.
9918 * math/s_ldexpf.c (__ldexpf): Likewise.
9919 * math/s_ldexpl.c (__ldexpl): Likewise.
9920 * math/w_scalbln.c (__w_scalbln): Likewise.
9921 * math/w_scalblnf.c (__w_scalblnf): Likewise.
9922 * math/w_scalblnl.c (__w_scalblnl): Likewise.
9923 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9924 (scalbln_test_data): Likewise.
9925
9926 [BZ #20224]
9927 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9928 argument to itself.
9929 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9930
9931 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9932
9933 [BZ #19776]
9934 * sysdeps/x86_64/memcpy.S: Make it dummy.
9935 * sysdeps/x86_64/mempcpy.S: Likewise.
9936 * sysdeps/x86_64/memmove.S: New file.
9937 * sysdeps/x86_64/memmove_chk.S: Likewise.
9938 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9939 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9940 * sysdeps/x86_64/memmove.c: Removed.
9941 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9942 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9943 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9944 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9945 Likewise.
9946 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9947 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9949 memcpy-sse2-unaligned, memmove-avx-unaligned,
9950 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9951 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9952 (__libc_ifunc_impl_list): Replace
9953 __memmove_chk_avx512_unaligned_2 with
9954 __memmove_chk_avx512_unaligned. Remove
9955 __memmove_chk_avx_unaligned_2. Replace
9956 __memmove_chk_sse2_unaligned_2 with
9957 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
9958 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
9959 with __memmove_avx512_unaligned. Replace
9960 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9961 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
9962 with __memcpy_chk_avx512_unaligned. Remove
9963 __memcpy_chk_avx_unaligned_2. Replace
9964 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9965 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
9966 Replace __memcpy_avx512_unaligned_2 with
9967 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
9968 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
9969 with __mempcpy_chk_avx512_unaligned. Remove
9970 __mempcpy_chk_avx_unaligned_2. Replace
9971 __mempcpy_chk_sse2_unaligned_2 with
9972 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
9973 Replace __mempcpy_avx512_unaligned_2 with
9974 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
9975 Replace __mempcpy_sse2_unaligned_2 with
9976 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
9977 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9978 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9979 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9980 if processor has ERMS. Default to __memcpy_sse2_unaligned.
9981 (ENTRY): Removed.
9982 (END): Likewise.
9983 (ENTRY_CHK): Likewise.
9984 (libc_hidden_builtin_def): Likewise.
9985 Don't include ../memcpy.S.
9986 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9987 __memcpy_chk_avx512_unaligned_erms and
9988 __memcpy_chk_avx512_unaligned. Use
9989 __memcpy_chk_avx_unaligned_erms and
9990 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9991 Default to __memcpy_chk_sse2_unaligned.
9992 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9993 Change function suffix from unaligned_2 to unaligned.
9994 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9995 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9996 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9997 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
9998 (ENTRY): Removed.
9999 (END): Likewise.
10000 (ENTRY_CHK): Likewise.
10001 (libc_hidden_builtin_def): Likewise.
10002 Don't include ../mempcpy.S.
10003 (mempcpy): New. Add a weak alias.
10004 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
10005 __mempcpy_chk_avx512_unaligned_erms and
10006 __mempcpy_chk_avx512_unaligned. Use
10007 __mempcpy_chk_avx_unaligned_erms and
10008 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
10009 Default to __mempcpy_chk_sse2_unaligned.
10010
10011 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
10012
10013 [BZ #19881]
10014 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
10015 into ...
10016 * sysdeps/x86_64/memset.S: This.
10017 (__bzero): Removed.
10018 (__memset_tail): Likewise.
10019 (__memset_chk): Likewise.
10020 (memset): Likewise.
10021 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
10022 defined.
10023 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
10024 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
10025 (__memset_zero_constant_len_parameter): Check SHARED instead of
10026 PIC.
10027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10028 memset-avx2 and memset-sse2-unaligned-erms.
10029 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10030 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
10031 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
10032 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10033 (__bzero): Enabled.
10034 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
10035 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
10036 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
10037 or __memset_avx2_unaligned_erms if processor has ERMS. Support
10038 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
10039 (memset): Removed.
10040 (__memset_chk): Likewise.
10041 (MEMSET_SYMBOL): New.
10042 (libc_hidden_builtin_def): Replace __memset_sse2 with
10043 __memset_sse2_unaligned.
10044 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
10045 __memset_chk_sse2 and __memset_chk_avx2 with
10046 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
10047 Use __memset_chk_sse2_unaligned_erms or
10048 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
10049 __memset_chk_avx512_unaligned_erms and
10050 __memset_chk_avx512_unaligned.
10051
10052 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10053
10054 * math/gen-auto-libm-test.c (fp_format_desc): remove
10055 suffix member.
10056 (output_generic_value): Remove usage of suffix member,
10057 and the resulting unuse of the fp_format argument.
10058 (output_for_one_input_case): Remove unused fp_format
10059 parameter.
10060
10061 * math/auto-libm-test-out: Regenerate.
10062
10063 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
10064 usage with TEST_COND_ibm128.
10065 (TEST_COND_flt_32): Remove.
10066 (TEST_COND_dbl_64): Remove.
10067 (TEST_COND_ldbl_96_intel): Remove.
10068 (TEST_COND_ldbl_96_m68k): Remove.
10069 (TEST_COND_ldbl_128): Remove.
10070
10071 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10072
10073 * auto-libm-test-in:
10074 Replace flt-32 usage with binary32.
10075 Replace dbl-64 usage with binary64.
10076 Replace ldbl-intel-96 usage with intel96.
10077 Replace ldbl-m68k-96 usage with m68k96.
10078 Replace ldbl-128ibm usage with ibm128.
10079 Replace ldbl-128 usage with binary128.
10080
10081 * auto-libm-test-out: Regenerate.
10082
10083 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10084
10085 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
10086 (parse_ulps): Dynamically generate type name matching
10087 string from all_floats.
10088 (get_ulps): Generate the ulps as an array instead.
10089 (output_ulps): Dynamically compose the type based
10090 on the number of supported formats, and print
10091 the indices as type specific helper macros.
10092
10093 * math/libm-test.inc: Remove comment about CHOOSE.
10094 (ulp_data): Generate the type in libm-test-ulps.h.
10095 (ULP_IDX): New macro.
10096 (find_ulps): Update usage of max_ulp.
10097
10098 * math/test-double-vlen2.h (CHOOSE): Remove.
10099 * math/test-double-vlen4.h (CHOOSE): Likewise.
10100 * math/test-double-vlen8.h (CHOOSE): Likewise.
10101 * math/test-float.c (CHOOSE): Likewise.
10102 * math/test-float-finite.c (CHOOSE): Likewise.
10103 * math/test-double.c (CHOOSE): Likewise.
10104 * math/test-double-finite.c (CHOOSE): Likewise.
10105 * math/test-idouble.c (CHOOSE): Likewise.
10106 * math/test-ifloat.c (CHOOSE): Likewise.
10107 * math/test-ildoubl.c (CHOOSE): Likewise.
10108 * math/test-ldouble-finite.c (CHOOSE): Likewise.
10109 * math/test-ldouble.c (CHOOSE): Likewise.
10110
10111 * math/test-float.h (TEST_FLOAT): Remove.
10112 * math/test-double.h (TEST_DOUBLE): Likewise.
10113 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
10114
10115 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10116
10117 * math/gen-libm-test.pl: (apply_lit): New subroutine.
10118 (parse_args): Strip C suffix from floating point literals
10119 typed with 'f' and wrap them with LIT().
10120
10121 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
10122 (test_ff_f_data_nexttoward): Rename to
10123 (test_fj_f_data): New struct.
10124 (nexttoward_test_data): Relabel tests as
10125 TEST_fj_f instead of TEST_ff_f.
10126
10127 2016-06-08 Florian Weimer <fweimer@redhat.com>
10128
10129 Emacs bug 23726.
10130 * malloc/malloc.c (dumped_main_arena_start): Update comment.
10131 (__libc_realloc): Correct size computation for dumped fake mmapped
10132 chunks.
10133
10134 2016-06-07 Joseph Myers <joseph@codesourcery.com>
10135
10136 [BZ #20219]
10137 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
10138 to itself.
10139 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
10140
10141 [BZ #20218]
10142 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
10143 to itself.
10144 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
10145
10146 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
10147
10148 [BZ #20195]
10149 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
10150 check to ...
10151 (init_cpu_features): Here.
10152
10153 2016-06-07 Carlos O'Donell <carlos@redhat.com>
10154
10155 [BZ #20214]
10156 * sysdeps/unix/sysv/linux/bits/in.h
10157 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10158 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
10159 Define to 1.
10160 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10161 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
10162 Define to 0.
10163 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
10164 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
10165
10166 2016-06-06 Carlos O'Donell <carlos@redhat.com>
10167
10168 [BZ #20198]
10169 * stdlib/Makefile (tests): Add tst-quick_exit, and
10170 tst-thread-quick_exit.
10171 [ifeq ($(have-cxx-thread_local),yes)]
10172 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
10173 (CFLAGS-tst-thread-quick_exit.o): Likewise.
10174 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
10175 (LDLIBS-tst-thread-quick_exit): Likewise.
10176 [ifneq ($(have-cxx-thread_local),yes)]
10177 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
10178 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
10179 If run_dtors is true call __call_tls_dtors.
10180 (exit): Call __run_exit_handlers with run_dtors set to true.
10181 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
10182 definition.
10183 * stdlib/quick_exit.c (quick_exit): Remove function.
10184 (__new_quick_exit): New function.
10185 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
10186 function.
10187 * stdlib/tst-quick_exit.cc: New file.
10188 * stdlib/tst-thread-quick_exit.cc: New file.
10189 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
10190 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
10191 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
10192 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
10193 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
10194 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
10195 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
10196 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
10197 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
10198 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
10199 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
10200 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
10201 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
10202 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
10203 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
10204 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
10206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
10207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
10208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
10209 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
10210 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
10211 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
10212 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
10213 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
10214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
10215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
10216 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
10217 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
10218 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
10219
10220 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
10221
10222 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
10223 a typo in comments.
10224
10225 2016-06-06 Joseph Myers <joseph@codesourcery.com>
10226
10227 [BZ #20213]
10228 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
10229 argument to itself.
10230 * math/libm-test.inc (asin_test_data): Add sNaN tests.
10231
10232 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10233
10234 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
10235 required flags.
10236 (CFLAGS-pwritev64.c): Likewise.
10237 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
10238 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10239 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
10240 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10241 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
10242 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
10243 syscall from auto-generation.
10244 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
10245 [WORDSIZE == 64] (pwritev64): Remove macro.
10246 [!PWRITEV] (PWRITEV): Likewise.
10247 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10248 [!PWRITEV] (PWRITE): Likewise.
10249 [!PWRITEV] (OFF_T): Likewise.
10250 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10251 (LO_HI_LONG): Remove macro.
10252 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
10253 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
10254 (PWRITEV): Remove macro.
10255 (PWRITEV_REPLACEMENTE): Likewise.
10256 (PWRITE): Likewise.
10257 (OFF_T): Likewise.
10258 (pwritev64): New function.
10259 * nptl/tst-cancel4.c (tf_writev): Add test.
10260
10261 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
10262 required flags.
10263 (CFLAGS-preadv64.c): Likewise.
10264 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
10265 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10266 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
10267 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
10268 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
10269 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
10270 syscall from auto-generation.
10271 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
10272 [WORDSIZE == 64] (preadv64): Remove macro.
10273 [!PREADV] (PREADV): Likewise.
10274 [!PREADV] (PREADV_REPLACEMENT): Likewise.
10275 [!PREADV] (PREAD): Likewise.
10276 [!PREADV] (OFF_T): Likewise.
10277 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
10278 (LO_HI_LONG): Remove macro.
10279 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
10280 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
10281 (PREADV): Remove macro.
10282 (PREADV_REPLACEMENTE): Likewise.
10283 (PREAD): Likewise.
10284 (OFF_T): Likewise.
10285 (preadv64): New function.
10286 * nptl/tst-cancel4.c (tf_preadv): Add test.
10287
10288 2016-06-06 Joseph Myers <joseph@codesourcery.com>
10289
10290 [BZ #20212]
10291 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
10292 argument to itself.
10293 * math/libm-test.inc (acos_test_data): Add sNaN tests.
10294
10295 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10296
10297 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
10298 New symbol defined as libc_hidden_def.
10299 (strcasestr): Became a weak alias to __strcasestr.
10300 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
10301 according to multi-arch support. Move __stpncpy hidden
10302 definition from here to...
10303 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
10304 symbol stpncpy.
10305 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
10306 libc_hidden_builtin_def.
10307 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
10308 memset symbol to use when multi-arch support is available.
10309
10310 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
10311
10312 * dlfcn/tst-rec-dlopen.c: Include string.h.
10313
10314 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10315
10316 * manual/install.texi: Remove mention of --without-tls
10317 * INSTALL: Regenerate.
10318
10319 2016-06-05 Florian Weimer <fweimer@redhat.com>
10320
10321 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
10322 Remove.
10323 (call_function, interposed_malloc_called): New variables.
10324 (malloc): New function.
10325 (do_test): Do not change malloc hooks. Initialize malloc. Set
10326 and clear call_function as needed.
10327
10328 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
10329
10330 * include/wchar.h (__wmemset): Use __typeof.
10331
10332 2016-06-03 Carlos O'Donell <carlos@redhat.com>
10333
10334 * include/wchar.h (__wmemset): Declare function without typeof.
10335
10336 2016-06-03 Joseph Myers <joseph@codesourcery.com>
10337
10338 [BZ #20205]
10339 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
10340 exponent when incrementing negative subnormal with low mantissa
10341 word zero.
10342 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
10343 Add another test.
10344
10345 2016-06-03 Florian Weimer <fweimer@redhat.com>
10346
10347 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
10348 __wmemset instead of wmemset.
10349
10350 2016-06-02 Carlos O'Donell <carlos@redhat.com>
10351
10352 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
10353 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
10354 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
10355 __USE_KERNEL_IPV6_DEFS to 0.
10356 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
10357 Update comment.
10358
10359 2016-06-01 Florian Weimer <fweimer@redhat.com>
10360
10361 [BZ #19861]
10362 Do not use IFUNC resolver with potentially unrelocated symbol.
10363 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
10364 (DEFINE_FORK): Remove macro and inline definition.
10365 (fork_alias): Renamed from fork_ifunc.
10366 (__fork_alias): Renamed from __fork_ifunc.
10367
10368 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10369
10370 [BZ 19653]
10371 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
10372 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
10373
10374 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10375
10376 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
10377 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
10378 i386-linux-gnu).
10379 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
10380 Set to no.
10381 * sysdeps/mach/hurd/configure: Refresh.
10382
10383 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10384
10385 [BZ #20178]
10386 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
10387 on failure instead of exit.
10388
10389 2016-05-30 Roland McGrath <roland@hack.frob.com>
10390
10391 [BZ #3629]
10392 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
10393 of POSIX.1-2008.
10394
10395 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10396
10397 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
10398 Use PLT entry for calling _hurd_self_sigstate.
10399
10400 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
10401
10402 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
10403 available logical processors with SMT level type sharing L2
10404 cache for Intel processors.
10405
10406 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10407
10408 [BZ #20160]
10409 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
10410 argument to itself before returning the result.
10411 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10412 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10413 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10414 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10415 Likewise.
10416 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10417 Likewise.
10418 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
10419 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
10420 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10421 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10422 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10423 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10424
10425 [BZ #20160]
10426 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
10427 argument to itself before returning the result.
10428 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10429 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10430 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10431 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
10432 Likewise.
10433 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10434 Likewise.
10435 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
10436 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
10437 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
10438 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10439 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10440 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10441
10442 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10443
10444 * libm-test.inc: Replace usage of M_El with
10445 (lit_e): New macro.
10446
10447 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10448
10449 * libm-test.inc: Replace usage of M_PI_4l with
10450 (lit_pi_4_d): New macro.
10451
10452 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10453
10454 * libm-test.inc: Replace usage of M_PIl with
10455 (lit_pi): New macro.
10456
10457 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10458
10459 * libm-test.inc: Replace usage of M_PI2l with
10460 (lit_pi_2_d): New macro.
10461
10462 * math/test-double.h (LITM): New macro.
10463 * math/test-float.h (LITM): Likewise.
10464 * math/test-ldouble.h (LITM): Likewise.
10465
10466 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10467
10468 * libm-test.inc (M_PI_34l): Rename to
10469 (lit_pi_3_m_4_d): New Macro.
10470 (M_PI_34_LOG10El): Rename to
10471 (lit_pi_3_m_4_ln10_m_d): New Macro.
10472 (M_PI2_LOG10El): Rename to
10473 (lit_pi_2_ln10_m_d): New Macro.
10474 (M_PI4_LOG10El): Rename to
10475 (lit_pi_4_ln10_m_d): New Macro.
10476 (M_PI_LOG10El): Rename to
10477 (lit_pi_ln10_d): New Macro.
10478
10479 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10480
10481 [BZ #20157]
10482 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
10483 determine whether to negate low half if [_ARCH_PPCGR], and integer
10484 comparison otherwise.
10485 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
10486 determine whether to negate low half.
10487
10488 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
10489 (NO_TEST_INLINE_DOUBLE): Likewise.
10490 (TEST_COND_x86_64): Likewise.
10491 (TEST_COND_x86): Likewise.
10492 (M_PI_6l): Likewise.
10493
10494 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10495
10496 * math/libm-test.inc:
10497 (TEST_FLOAT): Change usage to TEST_COND_binary32.
10498 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
10499 (TEST_LDOUBLE): Update usage to evaluate as true if
10500 the guarded tests match the property being tested.
10501 (LDBL_MAX_EXP): Change to MAX_EXP.
10502 (LDBL_MIN_EXP): Change to MIN_EXP.
10503 (LDBL_MANT_DIG): Change to MANT_DIG, except for
10504 nexttoward tests.
10505
10506 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10507
10508 * math/libm-test.inc:
10509 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
10510 (TYPE_MIN): Likewise.
10511 (TYPE_TRUE_MIN): Likewise.
10512 (TYPE_MAX): Likewise.
10513 (MIN_EXP): Likewise.
10514 (MAX_EXP): Likewise.
10515 (MANT_DIG): Likewise.
10516
10517 (FSTR_MAX): New macro.
10518 (__CONCATX): Likewise.
10519 (QTYPE_STR): Likewise.
10520 (TEST_COND_binary32): Likewise.
10521 (TEST_COND_binary64): Likewise.
10522 (TEST_COND_binary128): Likewise.
10523 (TEST_COND_ibm128): Likewise.
10524 (TEST_COND_intel96): Likewise.
10525 (TEST_COND_m68k96): Likewise.
10526
10527 (TEST_COND_flt_32): Redefine as equivalent format test macro.
10528 (TEST_COND_dbl_64): Likewise.
10529 (TEST_COND_ldbl_96_intel): Likewise.
10530 (TEST_COND_ldbl_96_m68k): Likewise.
10531 (TEST_COND_ldbl_128): Likewise.
10532 (TEST_COND_ldbl_128ibm): Likewise.
10533
10534 (plus_zero): Redefine using LIT macro.
10535 (minus_zero): Likewise.
10536 (plus_infty): Redefine as (INF).
10537 (minux_infty): Redefine as (-INF).
10538 (max_value): Redefine as TYPE_MAX.
10539 (min_value): Redefine as TYPE_MIN.
10540 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
10541
10542 (print_float): Refactor to use snprintf to convert FLOAT values
10543 to string. This brings it closer to dropin replacement of strtof
10544 for the TS 18661 defined types.
10545 (update_stats): Likewise.
10546 (print_complex_function_ulps): Likewise.
10547 (print_max_error): Likewise.
10548 (print_complex_max_error): Likewise.
10549 (check_float_internal): Likewise.
10550
10551 * math/test-float.h (PREFIX): New macro.
10552 (LIT): Likewise.
10553 (TYPE_STR): Likewise.
10554 (FTOSTR): Likewise.
10555
10556 * math/test-double.h (PREFIX): New macro.
10557 (LIT): Likewise.
10558 (TYPE_STR): Likewise.
10559 (FTOSTR): Likewise.
10560
10561 * math/test-ldouble.h (PREFIX): New macro.
10562 (LIT): Likewise.
10563 (TYPE_STR): Likewise.
10564 (FTOSTR): Likewise.
10565
10566 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10567
10568 [BZ #20156]
10569 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
10570 to itself when zero or not finite.
10571 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
10572 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10573 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
10574 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10575
10576 2016-05-26 Joseph Myers <joseph@codesourcery.com>
10577
10578 [BZ #20153]
10579 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
10580 x * x + x for infinities and NaNs.
10581
10582 [BZ #20151]
10583 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
10584 argument to itself before returning result.
10585 (__ieee754_y0l): Likewise.
10586 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10587 (__ieee754_y1l).
10588
10589 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
10590 (atan_test_data): Likewise.
10591 (ceil_test_data): Likewise.
10592 (cos_test_data): Likewise.
10593 (cosh_test_data): Likewise.
10594 (erf_test_data): Likewise.
10595 (exp2_test_data): Likewise.
10596 (fabs_test_data): Likewise.
10597 (floor_test_data): Likewise.
10598 (ilogb_test_data): Likewise.
10599 (j0_test_data): Likewise.
10600 (j1_test_data): Likewise.
10601 (jn_test_data): Likewise.
10602 (lgamma_test_data): Likewise.
10603 (lrint_test_data): Likewise.
10604 (llrint_test_data): Likewise.
10605 (logb_test_data): Likewise.
10606 (lround_test_data): Likewise.
10607 (llround_test_data): Likewise.
10608 (nearbyint_test_data): Likewise.
10609 (rint_test_data): Likewise.
10610 (round_test_data): Likewise.
10611 (sin_test_data): Likewise.
10612 (sincos_test_data): Likewise.
10613 (sinh_test_data): Likewise.
10614 (sqrt_test_data): Likewise.
10615 (tan_test_data): Likewise.
10616 (tanh_test_data): Likewise.
10617 (tgamma_test_data): Likewise.
10618 (trunc_test_data): Likewise.
10619 (y0_test_data): Likewise.
10620 (y1_test_data): Likewise.
10621 (yn_test_data): Likewise.
10622
10623 * math/libm-test.inc: Update comment about NaN testing.
10624 (TEST_SNAN): New macro.
10625 (snan_value): Likewise.
10626 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
10627 (fpclassify_test_data): Add sNaN tests.
10628 (isfinite_test_data): Likewise.
10629 (isinf_test_data): Likewise.
10630 (isnan_test_data): Likewise.
10631 (isnormal_test_data): Likewise.
10632 (issignaling_test_data): Likewise.
10633 (signbit_test_data): Likewise.
10634 * math/gen-libm-test.pl (%beautify): Add snan_value.
10635 (show_exceptions): Add argument $test_snan.
10636 (parse_args): Handle snan_value as non-finite. Update call to
10637 show_exceptions.
10638 * math/Makefile (libm-test-no-inline-cflags): Add
10639 -fsignaling-nans.
10640
10641 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10642
10643 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
10644 (CFLAGS-oldsendmsg.c): Add rule.
10645 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
10646 Correct recvmsg symbol name.
10647 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
10648 Likewise.
10649
10650 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10651
10652 * sysdeps/unix/sysv/linux/Makefile
10653 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
10654 oldsendmmsg.
10655 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
10656 sendmmsg.
10657 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10658 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10659 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10660 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10662 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10663 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10665 Likewise.
10666 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10667 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
10668 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
10669 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
10670 iovlen and controllen fields to adjust to POSIX specification.
10671 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10672
10673 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
10674 and change to correct expected type.
10675 (msghdr.msg_controllen): Likewise.
10676 (cmsghdr.cmsg_len): Likewise.
10677 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
10678 expected POSIX assumption about the size.
10679 (msghdr.msg_controllen): Likewise.
10680 (msghdr.__glibc_reserved1): Likewise.
10681 (msghdr.__glibc_reserved2): Likewise.
10682 (cmsghdr.cmsg_len): Likewise.
10683 (cmsghdr.__glibc_reserved1): Likewise.
10684 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
10685 Add ptw-oldrecvmsg and ptw-oldsendmsg.
10686 (CFLAGS-sendmsg.c): Remove rule.
10687 (CFLAGS-recvmsg.c): Likewise.
10688 (CFLAGS-oldsendmsg.c): Add rule.
10689 (CFLAGS-oldrecvmsg.c): Likewise.
10690 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
10691 recvmsg and sendmsg.
10692 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
10693 Likewise.
10694 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
10695 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
10696 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
10697 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
10698 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
10699 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
10700 Likewise.
10701 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
10702 Likewise.
10703 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
10704 Likewise.
10705 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
10706 Likewise.
10707 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
10708 Likewise.
10709 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
10710 Likewise.
10711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
10712 (GLIBC_2.24): Likewise.
10713 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
10714 Likewise.
10715 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
10716 Likewise.
10717 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
10718 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
10719 Likewise.
10720 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
10721 Likewise.
10722 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
10723 Likewise.
10724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
10725 (GLIBC_2.24): Likewise.
10726 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
10727 Likewise.
10728 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
10729 Likewise.
10730 * sysdeps/unix/sysv/linux/Makefile
10731 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
10732 (CFLAGS-sendmsg.c): Add rule.
10733 (CFLAGS-recvmsg.c): Likewise.
10734 (CFLAGS-oldsendmsg.c): Likewise.
10735 (CFLAGS-oldrecvmsg.c): Likewise.
10736 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
10737 initialization.
10738 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10739 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10740 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
10741 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
10742 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
10743 iovlen and controllen fields to adjust to POSIX specification.
10744 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
10745 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
10746 added recvmsg and sendmsg.
10747 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10748 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10749 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10750 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10751 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10752 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10753 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10754 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10755 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10756 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10757 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10758 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10760 Likewise.
10761 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10763 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10764 Likewise.
10765 Likewise.
10766 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10767 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10768 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10769 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10770 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10771 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10773 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10775 Likewise.
10776 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10777 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10778
10779 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
10780 from auto-generation.
10781 (sendmsg): Likewise.
10782 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
10783 (sendmsg): Likewise.
10784 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
10785 (sendmsg): Likewise.
10786 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
10787 (sendmsg): Likewise.
10788 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
10789 (sendmsg): Likewise.
10790 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
10791 (sendmsg): Likewise.
10792 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
10793 Likewise.
10794 (sendmsg): Likewise.
10795 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
10796 (sendmsg): Likewise.
10797 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10798 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10799 Remove.
10800 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10801 Likewise.
10802 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10803 Undefine.
10804 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10805 Likewise.
10806 * sysdeps/unix/sysv/linux/kernel-features.h
10807 (__ASSUME_SENDMSG_SYSCALL): Define.
10808 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10809 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10810 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10811 Remove.
10812 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10813 Likewise.
10814 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10815 Undefine.
10816 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10817 Likewise.
10818 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10819 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10820 Remove.
10821 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10822 Likewise.
10823 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10824 Undefine.
10825 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10826 Likewise.
10827 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10828 (__ASSUME_SENDMSG_SYSCALL): Undefine.
10829 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10830 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10831 (__ASSUME_SENDMSG_SYSCALL): Likewise.
10832 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10833 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10834 (__ASSUME_SENDMSG_SYSCALL): Likewise.
10835 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10836
10837 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10838
10839 * stdlib/gen-tst-strtod-round.c: Add backslash to
10840 compile command in comment.
10841 (printfp): Remove the literal suffix, and define an infinite
10842 value as INF to avoid expansion clash with INFINITY.
10843 (round_str): Remove the literal suffix.
10844 (round_for_all): Likewise, remove the now duplicate ldbl-64
10845 entry, and remove some magic constants.
10846
10847 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
10848 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
10849 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
10850 (_CONCAT): New macro.
10851 (CONCAT): Likewise.
10852 (CHOOSE_ld): Likewise.
10853 (CHOOSE_f): Likewise.
10854 (CHOOSE_d): Likewise.
10855 (FTYPE_MEMBER): Likewise.
10856 (BOOL_MEMBER): Likewise.
10857 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
10858 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
10859 (_XNTRY): Likewise.
10860 (XNTRY): Likewise.
10861 (_ENTRY): Likewise.
10862 (ENTRY): Likewise.
10863 (test_exactness): Generate members via macro.
10864 (test_results): Likewise.
10865 (test): Update members.
10866 (TEST): Redefine using new macros.
10867 (INF): New macro.
10868 (fetestmodes): New structure.
10869 (do_test): Refactor to be type generic.
10870 (test_in_one_mode): Refactor duplicate code into
10871 (GEN_ONE_TEST): New macro.
10872
10873 * stdlib/tst-strtod-round-data.h: Regenerate.
10874
10875 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
10876 Extend to pass additional arbitrary parameters to
10877 generators.
10878
10879 2016-05-25 Joseph Myers <joseph@codesourcery.com>
10880
10881 [BZ #15479]
10882 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
10883 floating-point state after first floating-point operation on
10884 input. Restore full floating-point state instead of just rounding
10885 mode.
10886 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10887 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10888 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10889 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10890 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10891
10892 [BZ #15479]
10893 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10894 floating-point state after first floating-point operation on
10895 input. Restore full floating-point state instead of just rounding
10896 mode.
10897 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10898 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10899 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10900 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10901 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10902
10903 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10904
10905 [BZ #19727]
10906 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10907 valid high surrogate.
10908 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10909 of an utf16 surrogate.
10910 * iconv/gconv_simple.c (BODY): Likewise.
10911 * iconvdata/bug-iconv12.c: New file.
10912 * iconvdata/Makefile (tests): Add bug-iconv12.
10913
10914 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10915
10916 [BZ #19726]
10917 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10918 outptrp in case of an illegal input.
10919 * iconv/tst-iconv6.c: New file.
10920 * iconv/Makefile (tests): Add tst-iconv6.
10921
10922 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10923
10924 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10925 an error in case of a value in range of an utf16 low surrogate.
10926
10927 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10928
10929 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10930 an error in case of a value in range of an utf16 low surrogate.
10931
10932 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10933
10934 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10935 Move to ...
10936 * sysdeps/s390/Makefile: ... here.
10937 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10938 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10939 (BRANCH_ON_COUNT): New define.
10940 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10941 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10942 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10943 run on s390-32, too.
10944 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10945 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10946 run on s390-32, too.
10947 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10948 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10949 run on s390-32, too.
10950
10951 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10952
10953 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10954 etf3eh or new vector loop-variant.
10955
10956 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10957
10958 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10959 etf3eh or new vector loop-variant.
10960
10961 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10962
10963 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10964 or new vector loop-variant.
10965
10966 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10967
10968 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10969 Rename to TR_LOOP and usage of tr instead of troo instruction.
10970
10971 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10972
10973 * sysdeps/s390/multiarch/gconv_simple.c: New File.
10974 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10975
10976 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10977
10978 * sysdeps/s390/multiarch/8bit-generic.c: New File.
10979 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10980 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10981 New override define.
10982 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10983
10984 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10985
10986 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10987 * sysdeps/s390/configure.ac: Add test for S390 vector register
10988 support in gcc.
10989 * sysdeps/s390/configure: Regenerated.
10990
10991 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10992
10993 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10994 Install file from $(objpfx)gconv-modules.
10995 ($(objpfx)gconv-modules): Concatenate architecture specific file
10996 in variable sysdeps-gconv-modules and gconv-modules in src dir.
10997 * sysdeps/s390/gconv-modules: New file.
10998 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10999 Deleted.
11000 ($(objpfx)gconv-modules-s390): Deleted.
11001 (sysdeps-gconv-modules): New variable.
11002
11003 2016-05-24 Joseph Myers <joseph@codesourcery.com>
11004
11005 [BZ #15479]
11006 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
11007 of immediate operand to rounding instruction.
11008 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
11009 Likewise.
11010 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
11011 Likewise.
11012 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
11013 Likewise.
11014
11015 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11016
11017 * math/libm-test.inc (MIN_EXP): Directly define as
11018 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
11019
11020 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11021
11022 * math/libm-test.inc (MANT_DIG): Directly define as
11023 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
11024
11025 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11026
11027 * stdlib/gen-tst-strtod-round.c (main):
11028 Change usage to more closely match the generated
11029 output. Add usage and compilation instructions.
11030 (string_to_fp): Add and use FILE* parameter as
11031 output target.
11032 (print_fp): Likewise.
11033 (round_str): Likewise.
11034 (round_for_all): Likewise.
11035 * stdlib/tst-strtod-round.c (tests): Move into
11036 * stdlib/tst-strtod-round-data.h: New file.
11037
11038 2016-05-24 Joseph Myers <joseph@codesourcery.com>
11039
11040 [BZ #15479]
11041 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
11042 (__round): Do not force "inexact" exception.
11043 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
11044 variable.
11045 (__round): Do not force "inexact" exception.
11046 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
11047 (__roundf): Do not force "inexact" exception.
11048 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
11049 (__roundl): Do not force "inexact" exception.
11050 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
11051 (__roundl): Do not force "inexact" exception.
11052 * math/libm-test.inc (round_test_data): Do not allow spurious
11053 "inexact" exceptions.
11054
11055 [BZ #15479]
11056 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
11057 exception in comment.
11058 (huge): Remove variable.
11059 (__floor): Do not force "inexact" exception.
11060 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
11061 "inexact" exception in comment.
11062 (huge): Remove variable.
11063 (__floor): Do not force "inexact" exception.
11064 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
11065 exception in comment.
11066 (huge): Remove variable.
11067 (__floorf): Do not force "inexact" exception.
11068 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
11069 exception in comment.
11070 (huge): Remove variable.
11071 (__floorl): Do not force "inexact" exception.
11072
11073 [BZ #15479]
11074 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
11075 exception in comment.
11076 (huge): Remove variable.
11077 (__ceil): Do not force "inexact" exception.
11078 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
11079 "inexact" exception in comment.
11080 (huge): Remove variable.
11081 (__ceil): Do not force "inexact" exception.
11082 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
11083 (__ceilf): Do not force "inexact" exception.
11084 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
11085 exception in comment.
11086 (huge): Remove variable.
11087 (__ceill): Do not force "inexact" exception.
11088
11089 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
11090
11091 * config.h.in (BIND_NOW): New.
11092 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
11093 * configure: Regenerated.
11094 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
11095 indirect branch via the GOT slot.
11096
11097 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11098
11099 [BZ #19765]
11100 * sysdeps/s390/mempcpy.S: New File.
11101 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
11102 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
11103 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11104 Add mempcpy variants.
11105 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
11106 (memcpy): Adjust to be usable from mempcpy entry point.
11107 (__memcpy_mvcle): Likewise.
11108 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11109 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
11110 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
11111 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
11112 (__memcpy_z10): Likewise.
11113 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11114
11115 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11116
11117 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
11118 Remove __GI_ symbol.
11119 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
11120 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
11121 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
11122 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11123 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
11124 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
11125
11126 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11127
11128 * sysdeps/s390/s390-64/memcpy.S (memcpy):
11129 Use cghi instead of chi to compare 64bit value.
11130
11131 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11132
11133 * sysdeps/s390/s390-32/memcpy.S (memcpy):
11134 Jump to 1MB check before executing mvc-loop.
11135
11136 2016-05-24 Florian Weimer <fweimer@redhat.com>
11137
11138 [BZ #6527]
11139 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
11140 unconditionally.
11141 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
11142
11143 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11144
11145 * stdlib/tst-strtod6.c (do_test): Use new type generic
11146 invocation of the test function.
11147 (test): Refactor into ...
11148 (TEST_STRTOD): New macro base function.
11149
11150 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11151
11152 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
11153 (TEST_STRTOD): New macro.
11154 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
11155
11156 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11157
11158 * stdlib/tst-strtod6.c (do_test): Use new type generic
11159 invocation of the test function.
11160 (test): Refactor into ...
11161 (TEST_STRTOD): New macro base function.
11162
11163 2016-05-23 Florian Weimer <fweimer@redhat.com>
11164
11165 CVE-2016-4429
11166 [BZ #20112]
11167 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
11168 payload.
11169
11170 2016-05-23 Florian Weimer <fweimer@redhat.com>
11171
11172 [BZ #20111]
11173 * bits/sockaddr.h (_SS_SIZE): Define.
11174 * bits/socket.h (_SS_SIZE): Remove.
11175 (_SS_PADSIZE): Adjust to account for all padding.
11176 (struct sockaddr_storage): Update comment. Avoid implicit
11177 padding.
11178 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
11179 (_SS_PADSIZE): Adjust to account for all padding.
11180 (struct sockaddr_storage): Update comment. Avoid implicit
11181 padding.
11182 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
11183 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
11184 (_SS_PADSIZE): Adjust to account for all padding.
11185 (struct sockaddr_storage): Update comment. Avoid implicit
11186 padding.
11187 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
11188 __SS_SIZE is 126 in this version.
11189 * inet/tst-sockaddr.c: New file.
11190 * inet/Makefile (tests): Add tst-sockaddr.c
11191 (tst-sockaddr.c): Compile with non-strict aliasing.
11192
11193 2016-05-23 Joseph Myers <joseph@codesourcery.com>
11194
11195 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
11196 [XPG3 || XPG4].
11197 (NL_ARGMAX): Also expect for [XPG3].
11198 (NL_LANGMAX): Likewise.
11199 (NL_MSGMAX): Likewise.
11200 (NL_NMAX): Likewise.
11201 (NL_SETMAX): Likewise.
11202 (NL_TEXTMAX): Likewise.
11203 (NZERO): Likewise.
11204 (TMP_MAX): Likewise.
11205 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
11206 variable.
11207
11208 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
11209 (PF_MAX): Update value.
11210 (AF_KCM): New macro.
11211 (SOL_NETBEUI): Likewise.
11212 (SOL_LLC): Likewise.
11213 (SOL_DCCP): Likewise.
11214 (SOL_NETLINK): Likewise.
11215 (SOL_TIPC): Likewise.
11216 (SOL_RXRPC): Likewise.
11217 (SOL_PPPOL2TP): Likewise.
11218 (SOL_BLUETOOTH): Likewise.
11219 (SOL_PNPIPE): Likewise.
11220 (SOL_RDS): Likewise.
11221 (SOL_IUCV): Likewise.
11222 (SOL_CAIF): Likewise.
11223 (SOL_ALG): Likewise.
11224 (SOL_NFC): Likewise.
11225 (SOL_KCM): Likewise.
11226 (MSG_BATCH): New enum value and macro.
11227
11228 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
11229
11230 [BZ #18185]
11231 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
11232 sharing L2 cache to 2 for Knights Landing.
11233
11234 2016-05-20 Joseph Myers <joseph@codesourcery.com>
11235
11236 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
11237 (FTW_DP): Do not expect for [XPG3 || XPG4].
11238 (FTW_SL): Do not expect for [XPG3].
11239 (FTW_SLN): Likewise.
11240 (FTW_PHYS): Likewise.
11241 (FTW_MOUNT): Likewise.
11242 (FTW_DEPTH): Likewise.
11243 (FTW_CHDIR): Likewise.
11244 (nftw): Likewise.
11245 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
11246 variable.
11247
11248 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
11249
11250 * manual/errno.texi: Fix various typos & grammar errors.
11251
11252 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
11253
11254 * manual/intro.texi: Fix duplicated typo.
11255
11256 2016-05-19 Joseph Myers <joseph@codesourcery.com>
11257
11258 [BZ #13304]
11259 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
11260 <float.h>, <math_private.h> and <stdlib.h>.
11261 (add_split): New function.
11262 (mul_split): Likewise.
11263 (ext_val): New typedef.
11264 (store_ext_val): New function.
11265 (mul_ext_val): New function.
11266 (compare): New function.
11267 (add_split_ext): New function.
11268 (__fmal): After checking for Inf, NaN and zero, compute result as
11269 an exact sum of scaled double values in round-to-nearest before
11270 adding those up and adjusting for other rounding modes.
11271 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
11272 tests of fma.
11273 * math/auto-libm-test-out: Regenerated.
11274
11275 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11276
11277 [BZ #20119]
11278 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
11279 processor level type mask for CPUID with EAX == 11.
11280
11281 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11282
11283 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
11284 logical threads if the HTT bit is 0.
11285 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
11286 (index_cpu_HTT): Likewise.
11287 (reg_HTT): Likewise.
11288
11289 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11290
11291 [BZ #20115]
11292 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
11293 Remove alignments on jump targets.
11294
11295 2016-05-19 Joseph Myers <joseph@codesourcery.com>
11296
11297 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
11298 (getpwent): Likewise.
11299 (setpwent): Likewise.
11300 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
11301 variable.
11302
11303 * conform/data/search.h-data (insque): Do not expect for [XPG3].
11304 (remque): Likewise.
11305 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
11306 variable.
11307
11308 2016-05-18 Joseph Myers <joseph@codesourcery.com>
11309
11310 * math/libm-test.inc: Update comment not to refer to signs of NaNs
11311 not being tested.
11312
11313 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11314
11315 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11316 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
11317 call.
11318 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11319 (__condvar_cleanup1): Likewise.
11320
11321 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11322
11323 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
11324 New
11325 (__pthread_unwind): Renamed to ...
11326 (PTHREAD_UNWIND): This.
11327 (__pthread_enable_asynccancel): Replace
11328 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
11329
11330 2016-05-18 Joseph Myers <joseph@codesourcery.com>
11331
11332 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
11333 (CLONE_NEWCGROUP): New macro.
11334
11335 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
11336 (Q_GETNEXTQUOTA): New macro.
11337
11338 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11339
11340 [BZ #19907]
11341 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
11342 buffer updated by the previous run.
11343 * string/test-memcpy.c (do_one_test): Likewise.
11344 * benchtests/bench-memmove.c (do_one_test): Add a comment.
11345 * string/test-memmove.c (do_one_test): Likewise.
11346
11347 2016-05-17 Joseph Myers <joseph@codesourcery.com>
11348
11349 [BZ #20094]
11350 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
11351 not [__USE_XOPEN].
11352 (unlockpt): Likewise.
11353 (ptsname): Likewise.
11354 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
11355 variable.
11356
11357 [BZ #20076]
11358 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
11359 instead of [__USE_UNIX98].
11360 (S_ISSOCK): Likewise.
11361 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
11362 variable.
11363
11364 [BZ #20074]
11365 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
11366 [__USE_POSIX].
11367 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
11368 variable.
11369
11370 [BZ #20051]
11371 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
11372 (ttyslot): Do not declare.
11373 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
11374 (ttyslot): New prototype.
11375 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
11376 variable.
11377 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11378
11379 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11380
11381 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
11382
11383 2016-05-13 Florian Weimer <fweimer@redhat.com>
11384
11385 Fix race condition in tst-mallocfork2, use fewer resources.
11386 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
11387 to current process group.
11388 (signal_sender): Yield in the non-sleeping case.
11389
11390 2016-05-13 Joseph Myers <joseph@codesourcery.com>
11391
11392 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
11393 (ecvt): Likewise.
11394 (fcvt): Likewise.
11395 (gcvt): Likewise.
11396 (getsubopt): Likewise.
11397 (grantpt): Likewise.
11398 (initstate): Likewise.
11399 (l64a): Likewise.
11400 (mktemp): Likewise.
11401 (mkstemp): Likewise.
11402 (ptsname): Likewise.
11403 (random): Likewise.
11404 (realpath): Likewise.
11405 (setstate): Likewise.
11406 (srandom): Likewise.
11407 (ttyslot): Likewise.
11408 (unlockpt): Likewise.
11409 (valloc): Likewise.
11410
11411 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
11412 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
11413 variable.
11414
11415 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
11416
11417 [BZ #20072]
11418 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
11419 init_cpu_features only if SHARED is defined.
11420 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
11421
11422 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
11423
11424 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
11425 non-inclusive caches on Intel processors.
11426
11427 2016-05-13 Florian Weimer <fweimer@redhat.com>
11428
11429 * malloc/malloc.c (dumped_main_arena_start)
11430 (dumped_main_arena_end): New variables.
11431 (DUMPED_MAIN_ARENA_CHUNK): New macro.
11432 (do_check_chunk): Skip dumped fake mmapped chunks.
11433 (munmap_chunk): Likewise.
11434 (__libc_free): Do not adjust statistics for fake mmapped chunks.
11435 (__libc_realloc): Adjust hardening check. Always copy dumped fake
11436 mmapped chunks.
11437 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
11438 Mark dumped chunks as using mmap. Update dumped_main_arena_start
11439 and dumped_main_arena_end to cover the dumped heap.
11440
11441 2016-05-12 Joseph Myers <joseph@codesourcery.com>
11442
11443 * conform/data/time.h-data (getdate_err): Do not expect for
11444 [XPG3].
11445 (getdate): Likewise.
11446 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
11447 variable.
11448
11449 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
11450 (F_ULOCK): Likewise.
11451 (F_TEST): Likewise.
11452 (F_TLOCK): Likewise.
11453 (useconds_t): Likewise.
11454 (intptr_t): Do not expect for [XPG3] or [XPG4].
11455 (brk): Do not expect for [XPG3]
11456 (fchown): Likewise.
11457 (fchdir): Likewise.
11458 (ftruncate): Likewise.
11459 (getdtablesize): Likewise.
11460 (gethostid): Likewise.
11461 (getpagesize): Likewise.
11462 (getpgid): Likewise.
11463 (getsid): Likewise.
11464 (getwd): Likewise.
11465 (lchown): Likewise.
11466 (lockf): Likewise.
11467 (readlink): Likewise.
11468 (sbrk): Likewise.
11469 (setpgrp): Likewise.
11470 (setregid): Likewise.
11471 (setreuid): Likewise.
11472 (symlink): Likewise.
11473 (sync): Likewise.
11474 (truncate): Likewise.
11475 (ualarm): Likewise.
11476 (usleep): Likewise.
11477 (vfork): Likewise.
11478 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
11479 variable.
11480
11481 [BZ #20054]
11482 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
11483 not [__USE_UNIX98].
11484 * conform/data/unistd.h-data (gethostname): Do not expect for
11485 [XPG3].
11486
11487 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
11488 [!POSIX] (S_IFBLK): Likewise.
11489 [!POSIX] (S_IFCHR): Likewise.
11490 [!POSIX] (S_IFIFO): Likewise.
11491 [!POSIX] (S_IFREG): Likewise.
11492 [!POSIX] (S_IFDIR): Likewise.
11493 [!POSIX] (S_IFLNK): Likewise.
11494 [!POSIX] (S_IFSOCK): Likewise.
11495 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
11496 variable.
11497 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11498
11499 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
11500
11501 * sysdeps/aarch64/memset.S (__memset):
11502 Rewrite of optimized memset.
11503
11504 2016-05-12 Florian Weimer <fweimer@redhat.com>
11505
11506 [BZ #19703]
11507 Partially async-signal-safe fork for single-threaded processes.
11508 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
11509 variable. Do not acquire and reset/release malloc and libio locks
11510 in single-threaded processes.
11511 * malloc/tst-mallocfork2.c: New file.
11512 * malloc/Makefile (tests): Add it.
11513
11514 2016-05-12 Florian Weimer <fweimer@redhat.com>
11515
11516 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
11517 argument. Use scratch buffer instead of extend_alloca.
11518 (gethosts): Use scratch buffer instead of extend_alloca.
11519 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
11520 extend_alloca.
11521 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
11522
11523 2016-05-11 Joseph Myers <joseph@codesourcery.com>
11524
11525 [BZ #20055]
11526 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
11527 instead of [__USE_UNIX98].
11528 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
11529 [__USE_UNIX98].
11530 * conform/data/termios.h-data (tcgetsid): Do not expect for
11531 [XPG3].
11532 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
11533 variable.
11534 (test-xfail-XPG4/termios.h/conform): Likewise.
11535
11536 2016-05-11 Florian Weimer <fweimer@redhat.com>
11537
11538 Do not use mcheck in localedef.
11539 * locale/programs/localedef.c (turn_on_mcheck)
11540 (__malloc_initialize_hook): Remove.
11541
11542 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11543
11544 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
11545 * sysdeps/s390/s390-64/Makefile: Likewise.
11546
11547 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
11548
11549 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
11550 Remove ifunc-defines.sym.
11551 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
11552 Likewise.
11553 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
11554 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11555 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
11556 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
11557 rtld-global-offsets.sym.
11558 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
11559 * sysdeps/x86/cpu-features-offsets.sym: This.
11560 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
11561 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
11562
11563 2016-05-10 Joseph Myers <joseph@codesourcery.com>
11564
11565 [BZ #20073]
11566 * io/sys/stat.h (fchmod): Declare for
11567 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
11568 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
11569 variable.
11570
11571 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
11572 [XPG3] (S_IFSOCK): Likewise.
11573 [XPG3] (S_ISVTX): Likewise.
11574 [XPG3] (S_ISLNK): Likewise.
11575 [XPG3] (S_ISSOCK): Likewise.
11576 [XPG3] (fchmod): Likewise.
11577 [XPG3] (lstat): Likewise.
11578 [XPG3] (mknod): Likewise.
11579
11580 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
11581 [XPG3]. Expect type long and XFAIL for [XPG4].
11582 (st_blocks): Likewise.
11583
11584 [BZ #20044]
11585 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
11586 (pthread_atfork): New prototype.
11587 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
11588 variable.
11589
11590 [BZ #20043]
11591 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
11592 prototype.
11593
11594 2016-05-10 Florian Weimer <fweimer@redhat.com>
11595
11596 [BZ #20017]
11597 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
11598 gmtime.
11599
11600 2016-05-10 Florian Weimer <fweimer@redhat.com>
11601
11602 [BZ #19994]
11603 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
11604 flag in _res.options.
11605
11606 2016-05-09 Joseph Myers <joseph@codesourcery.com>
11607
11608 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
11609 [XPG3 || XPG4].
11610 (blksize_t): Likewise.
11611 (clockid_t): Likewise.
11612 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
11613 variable.
11614 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11615
11616 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
11617
11618 * sysdeps/unix/sysv/linux/s390/init-first.c:
11619 Add VDSO_SYMBOL(getcpu).
11620 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
11621 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
11622 Add VDSO_SYMBOL(getcpu).
11623 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
11624 New define HAVE_GETCPU_VSYSCALL.
11625 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11626
11627 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
11628
11629 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
11630 instead of <sysdeps/x86_64/cacheinfo.c>.
11631 * sysdeps/x86_64/cacheinfo.c: Moved to ...
11632 * sysdeps/x86/cacheinfo.c: Here.
11633
11634 2016-05-04 Florian Weimer <fweimer@redhat.com>
11635
11636 * malloc/malloc-internal.h: Adjust header file guard.
11637
11638 2016-05-04 Florian Weimer <fweimer@redhat.com>
11639
11640 [BZ #19787]
11641 * inet/getnameinfo.c (check_sprintf_result): New function.
11642 (CHECKED_SNPRINTF): New macro.
11643 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
11644 to the host buffer.
11645 (gni_host_local): Use checked_copy to copy the host name.
11646 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
11647 (gni_serv_local): Use checked_copy to copy the service name.
11648 (getnameinfo): Remove unnecessary truncation of result buffers.
11649
11650 2016-05-04 Florian Weimer <fweimer@redhat.com>
11651
11652 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
11653 in case of inet_ntop failure.
11654
11655 2016-05-04 Florian Weimer <fweimer@redhat.com>
11656
11657 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
11658 avoid long lines.
11659 (gni_host_inet_numeric): Likewise. Reduce scope of local
11660 variables.
11661 (gni_host_inet, gni_host_local): Add comment.
11662 (gni_host): Add comment. Use temporary to avoid long lines.
11663
11664 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11665
11666 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
11667 registers specifiers where general purpose registers specifiers should
11668 have been used.
11669
11670 2016-05-04 Florian Weimer <fweimer@redhat.com>
11671
11672 [BZ #19779]
11673 CVE-2016-1234
11674 Avoid copying names of directory entries.
11675 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
11676 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
11677 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
11678 (struct readdir_result): New type.
11679 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
11680 (GL_READDIR): New macros.
11681 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
11682 (convert_dirent, convert_dirent64): New functions.
11683 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
11684 convert_dirent64. Adjust references to the readdir result.
11685 * sysdeps/unix/sysv/linux/i386/glob64.c:
11686 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
11687 * posix/bug-glob2.c (LONG_NAME): Define.
11688 (filesystem): Add LONG_NAME.
11689 (my_DIR): Increase the size of room_for_dirent.
11690
11691 2016-05-03 Joseph Myers <joseph@codesourcery.com>
11692
11693 [BZ #20041]
11694 * misc/sys/select.h (__need_timespec): Only define if
11695 [__USE_XOPEN2K].
11696 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
11697 variable.
11698 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11699 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11700 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11701
11702 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11703 Segher Boessenkool <segher@gcc.gnu.org>
11704
11705 [BZ #20004]
11706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
11707 (__novec_swapcontext): Add missing load.
11708
11709 2016-05-02 Joseph Myers <joseph@codesourcery.com>
11710
11711 [BZ #20023]
11712 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
11713 <time.h>.
11714 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
11715 variable.
11716 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11717
11718 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11719
11720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
11721 flags CLONE_VM compare.
11722
11723 2016-05-02 Florian Weimer <fweimer@redhat.com>
11724
11725 [BZ #20031]
11726 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
11727 completely empty.
11728
11729 2016-05-02 Florian Weimer <fweimer@redhat.com>
11730
11731 [BZ #19573]
11732 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
11733 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
11734 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
11735 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
11736 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
11737 (hesiod_free_list): Mark as hidden.
11738 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
11739 res_set, res_get.
11740 * hesiod/hesiod.c: Remove unnecessary forward declarations.
11741 (init, __hesiod_res_get, __hesiod_res_set): Remove.
11742 (hesiod_init): Remove obsolete res_ninit call.
11743 (hesiod_end): Do not free resolver state. Do not invoke callback.
11744 (hesiod_bind): Do not call init.
11745 (get_txt_records): Use res_mkquery, res_send instead of
11746 res_nmkquery, res_nsend.
11747 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
11748 instead of _nss_hesiod_init.
11749 (_nss_hesiod_initgroups_dyn): Likewise.
11750 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
11751 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
11752 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
11753
11754 2016-05-02 Florian Weimer <fweimer@redhat.com>
11755
11756 * hesiod/hesiod_p.h (DEF_RHS): Remove.
11757 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
11758
11759 2016-05-02 Florian Weimer <fweimer@redhat.com>
11760
11761 * hesiod/hesiod.h: Remove RCS keyword.
11762 * hesiod/hesiod_p.h: Likewise.
11763
11764 * hesiod/hesiod.c: Likewise.
11765
11766 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
11767
11768 [BZ #12450]
11769 * locale/iso-639.def: Add Samogitian/sgs.
11770
11771 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
11772
11773 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
11774
11775 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
11776
11777 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
11778 Carlos O'Donell <carlos@redhat.com>
11779
11780 [BZ #19072]
11781 * grp/Makefile (headers): Add grp-merge.h
11782 (routines): Add grp-merge.
11783 * grp/getgrgid_r.c: Include grp-merge.h.
11784 (DEEPCOPY_FN): Define.
11785 (MERGE_FN): Define.
11786 * grp/getgrname_r.c: Include grp-merge.h.
11787 (DEEPCOPY_FN): Define.
11788 (MERGE_FN): Define.
11789 * grp/grp-merge.c: New file.
11790 * grp/grp-merge.h: New file.
11791 * include/grp-merge.h: New file.
11792 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
11793 __copy_grp@GLIBC_PRIVATE.
11794 * manual/nss.texi (Actions in the NSS configuration): Describe
11795 return, continue, and merge.
11796 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
11797 (DEEPCOPY_FN): Define.
11798 (MERGE_FN): Define.
11799 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
11800 (DEEPCOPY_FN): Define.
11801 (MERGE_FN): Define.
11802 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
11803 [!MERGE_FN]: Define __merge_einval.
11804 (CHECK_MERGE): Define.
11805 (REENTRANT_NAME): Process merge if do_merge is true.
11806 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
11807 (__nss_getent_r): Likewise.
11808 * nss/nsswitch.c (nss_parse_service_list): Likewise.
11809 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
11810
11811 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11812
11813 [BZ #20012]
11814 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
11815 length to calculate the buffer to read.
11816 (fmemopen_write): Set the buffer position based on bytes written.
11817 (fmemopen_seek): Return EINVAL for invalid whence modes.
11818
11819 [BZ #19957]
11820 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
11821 tst-getpid2.
11822 (test): Add tst-clone2.
11823 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
11824 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
11825 pid/tid fields for CLONE_VM.
11826 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11827 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11828 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11829 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
11830 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11831 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11832 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11833 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11835 Likewise.
11836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11837 Likewise.
11838 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11839 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11840 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11841 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11842 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11843 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11844 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11845 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
11846
11847 2016-04-29 Florian Weimer <fweimer@redhat.com>
11848
11849 [BZ #19642]
11850 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
11851 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
11852 (gni_serv_local, gni_serv): New functions extracted from
11853 getnameinfo.
11854 (getnameinfo): Call gni_host and gni_serv to perform the
11855 processing. Always free scratch buffer.
11856
11857 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11858
11859 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
11860 remaining bytes in the dest string, with zeros.
11861
11862 2016-04-29 Florian Weimer <fweimer@redhat.com>
11863
11864 [BZ #20010]
11865 CVE-2016-3706
11866 * sysdeps/posix/getaddrinfo.c
11867 (convert_hostent_to_gaih_addrtuple): New function.
11868 (gethosts): Call convert_hostent_to_gaih_addrtuple.
11869 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
11870 AF_INET data.
11871
11872 2016-04-29 Florian Weimer <fweimer@redhat.com>
11873
11874 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
11875 callback function gl_readdir.
11876 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
11877 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
11878 (glob_in_dir): Remove len. Use strdup instead of malloc and
11879 memcpy to copy the name.
11880 * manual/pattern.texi (Calling Glob): Document requirements for
11881 implementations of the gl_readdir callback function.
11882 * manual/examples/mkdirent.c: New example.
11883 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11884 per the manual guidance.
11885 * posix/tst-gnuglob.c (my_readdir): Likewise.
11886
11887 2016-04-28 Joseph Myers <joseph@codesourcery.com>
11888
11889 [BZ #20014]
11890 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11891 not [__USE_POSIX].
11892 (getchar_unlocked): Likewise.
11893 (putc_unlocked): Likewise.
11894 (putchar_unlocked): Likewise.
11895 (flockfile): Likewise.
11896 (ftrylockfile): Likewise.
11897 (funlockfile): Likewise.
11898 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11899 variable.
11900 (test-xfail-XPG4/stdio.h/conform): Likewise.
11901
11902 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11903 Expect constant.
11904 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11905 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11906 variable.
11907 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11908 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11909
11910 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11911 [__USE_LARGEFILE64] (off64_t): Likewise.
11912 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11913 variable.
11914
11915 2016-04-28 Florian Weimer <fweimer@redhat.com>
11916
11917 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11918
11919 2016-04-28 Florian Weimer <fweimer@redhat.com>
11920
11921 * resolv/inet_addr.c: Reindent preprocessor conditionals.
11922 * resolv/res_init.c: Likewise.
11923 * resolv/res_mkquery.c: Likewise.
11924
11925 2016-04-28 Florian Weimer <fweimer@redhat.com>
11926
11927 * resolv/res_init.c (isascii): Do not define. Use definition in
11928 <ctype.h>.
11929 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11930 (LOG_AUTH): Remove.
11931 (SPRINTF): Remove, adjust caller.
11932 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11933
11934 2016-04-28 Florian Weimer <fweimer@redhat.com>
11935
11936 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11937 SUNSECURITY conditional.
11938 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11939
11940 2016-04-28 Florian Weimer <fweimer@redhat.com>
11941
11942 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11943 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11944 Remove BSD-related preprocessor conditionals.
11945 * conf/portability.h: Remove.
11946
11947 2016-04-28 Florian Weimer <fweimer@redhat.com>
11948
11949 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11950 * resolv/res_data.c: Likewise.
11951
11952 2016-04-28 Florian Weimer <fweimer@redhat.com>
11953
11954 * resolv/res_comp.c: Remove code conditional on __ultrix__.
11955 * resolv/res_data.c: Remove code conditional on ultrix.
11956
11957 2016-04-28 Florian Weimer <fweimer@redhat.com>
11958
11959 * resolv/res_init.c (RFC1535): Do not define. Remove
11960 RFC1535 preprocessor conditionals.
11961 * resolv/README: Update. Do not claim strict RFC 1535 compliance
11962 because there configuration options which make the resolver
11963 behavior different.
11964
11965 2016-04-28 Florian Weimer <fweimer@redhat.com>
11966
11967 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
11968 RESOLVSORT preprocessor conditionals.
11969 * resolv/nss_dns/dns-host.c: Likewise.
11970 * resolv/res_init.c: Likewise.
11971
11972 2016-04-28 Florian Weimer <fweimer@redhat.com>
11973
11974 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
11975 is never defined.
11976
11977 2016-04-28 Florian Weimer <fweimer@redhat.com>
11978
11979 * inet/inet_lnaof.c: Remove SCSS keyword.
11980 * inet/inet_mkadr.c: Likewise.
11981 * inet/inet_net.c: Likewise.
11982 * inet/inet_netof.c: Likewise.
11983 * inet/rcmd.c: Likewise.
11984 * inet/rexec.c: Likewise.
11985 * inet/ruserpass.c: Likewise.
11986
11987 2016-04-28 Florian Weimer <fweimer@redhat.com>
11988
11989 * resolv/inet_addr.c: Remove _LIBC conditionals.
11990 * resolv/res_data.c: Likewise.
11991 * resolv/res_init.c: Likewise.
11992 * resolv/res_mkquery.c: Likewise.
11993 * resolv/res_libc.c: Update comment.
11994 * resolv/README: Update.
11995
11996 2016-04-28 Florian Weimer <fweimer@redhat.com>
11997
11998 * resolv/gethnamaddr.c: Remove SCSS keyword.
11999 * resolv/herror.c: Likewise.
12000 * resolv/inet_addr.c: Likewise.
12001 * resolv/inet_net_ntop.c: Likewise.
12002 * resolv/inet_net_pton.c: Likewise.
12003 * resolv/inet_neta.c: Likewise.
12004 * resolv/inet_ntop.c: Likewise.
12005 * resolv/inet_pton.c: Likewise.
12006 * resolv/ns_date.c: Remove RCS keyword.
12007 * resolv/ns_name.c: Likewise.
12008 * resolv/ns_netint.c: Likewise.
12009 * resolv/ns_parse.c: Likewise.
12010 * resolv/ns_print.c: Likewise.
12011 * resolv/ns_samedomain.c: Likewise.
12012 * resolv/ns_ttl.c: Likewise.
12013 * resolv/nsap_addr.c: Likewise.
12014 * resolv/res_comp.c: Remove SCSS and RCS keyword.
12015 * resolv/res_data.c: Remove RCS keyword.
12016 * resolv/res_debug.c: Remove SCSS and RCS keyword.
12017 * resolv/res_init.c: Likewise.
12018 * resolv/res_mkquery.c: Likewise.
12019 * resolv/res_query.c: Likewise.
12020 * resolv/res_send.c: Likewise.
12021
12022 2016-04-27 Joseph Myers <joseph@codesourcery.com>
12023
12024 * conform/data/stdio.h-data (fdopen): Expect also for
12025 [XPG3 || XPG4].
12026
12027 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
12028 (fseeko): Likewise.
12029 (ftello): Likewise.
12030 (ftrylockfile): Likewise.
12031 (funlockfile): Likewise.
12032 (getc_unlocked): Likewise.
12033 (getchar_unlocked): Likewise.
12034 (putc_unlocked): Likewise.
12035 (putchar_unlocked): Likewise.
12036
12037 2016-04-27 Florian Weimer <fweimer@redhat.com>
12038
12039 [BZ #19868]
12040 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
12041 DNS packet syntax checks (which were not needed before). Skip
12042 over non-PTR records.
12043
12044 2016-04-27 Florian Weimer <fweimer@redhat.com>
12045
12046 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
12047 definition. Include <stddef.h> instead.
12048
12049 2016-04-27 Florian Weimer <fweimer@redhat.com>
12050
12051 [BZ #19831]
12052 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
12053 function.
12054 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
12055 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
12056
12057 2016-04-27 Florian Weimer <fweimer@redhat.com>
12058
12059 [BZ #19862]
12060 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
12061 (getanswer_r): Do not call syslog.
12062 (gaih_getanswer_slice): Likewise.
12063 * resolv/gethnamaddr.c (AskedForGot): Remove.
12064 (getanswer): Do not call syslog.
12065 (gethostbyaddr): Likewise.
12066
12067 2016-04-27 Joseph Myers <joseph@codesourcery.com>
12068
12069 * conform/data/signal.h-data (union sigval): Expect also if
12070 [XOPEN2K].
12071 (struct sigevent): Likewise.
12072 (SIGEV_NONE): Likewise.
12073 (SIGEV_SIGNAL): Likewise.
12074 (SIGEV_THREAD): Likewise.
12075 (SIGRTMIN): Likewise.
12076 (SIGRTMAX): Likewise.
12077 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
12078 variable.
12079 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12080
12081 2016-04-27 Florian Weimer <fweimer@redhat.com>
12082
12083 [BZ #19830]
12084 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
12085 (gaih_getanswer_slice): Likewise.
12086 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
12087 Also check for availability of RR metadata.
12088
12089 2016-04-27 Florian Weimer <fweimer@redhat.com>
12090
12091 [BZ #19825]
12092 * resolv/res_send.c (send_vc): Remove early *resplen2
12093 initialization. Set *resplen2 on socket error. Call
12094 close_and_return_error for other errors.
12095
12096 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
12097
12098 * sysdeps/unix/sysv/linux/netiucv/iucv.h
12099 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
12100 (SCM_IUCV_TRGCLS): New define.
12101
12102 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12103
12104 [BZ #20005]
12105 * libio/fmemopen.c (fmemopen_write): Update internal position after
12106 write.
12107 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
12108 * stdio-common/tst-fmemopen4.c: New file..
12109
12110 2016-04-26 Joseph Myers <joseph@codesourcery.com>
12111
12112 [BZ #19996]
12113 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
12114 not [__USE_XOPEN2K].
12115 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
12116 variable.
12117
12118 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
12119 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
12120 variable.
12121
12122 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
12123 [__USE_XOPEN2K8].
12124 [__USE_LARGEFILE64] (off64_t): Likewise.
12125 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
12126 variable.
12127
12128 2016-04-25 Joseph Myers <joseph@codesourcery.com>
12129
12130 [BZ #19989]
12131 * libio/stdio.h (cuserid): Do not declare if
12132 [__USE_XOPEN2K && !__USE_GNU].
12133 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
12134 variable.
12135
12136 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12137
12138 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12139 (sysdep_routines): Add P8 and PPC64 strcspn targets.
12140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12141 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12142 ifunc'ed strcspn.
12143 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12144 [EALIGN]: Removed.
12145 [END]: Likewise
12146 [STRSPN]: Define instead of the above to control symbol name.
12147 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
12148 New file.
12149 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
12150 Likewise.
12151 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
12152 Likewise.
12153 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
12154 Likewise.
12155 * sysdeps/powerpc/powerpc64/power8/strspn.S:
12156 [INITIAL_MASK]: New macro.
12157 [STRCSPN]: Likewise.
12158 [UPDATE_MASK]: Likewise.
12159 [USE_AS_STRCSPN]: Likewise.
12160
12161 2016-04-25 Florian Weimer <fweimer@redhat.com>
12162
12163 [BZ #19931]
12164 * stdio-common/tst-vfprintf-width-prec.c: New file.
12165 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
12166 (tests-special): Add tst-vfprintf-width-prec-mem.out.
12167 (generated): Add mtrace-related files.
12168 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
12169 (tst-%-mem.out): New pattern rule, replaces
12170 tst-printf-bz18872-mem.out.
12171 * stdio-common/vfprintf.c (vfprintf): When handling a precision
12172 specifier, deallocate any previously allocated work buffer.
12173
12174 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12175
12176 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
12177 Add nop before __startcontext, add explaining comments.
12178
12179 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
12180
12181 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
12182 any more. Notably since IPV6_PKTINFO has been reintroduced with a
12183 completely different API.
12184
12185 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
12186 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
12187 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
12188 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
12189 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
12190 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
12191 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
12192 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
12193 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
12194 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
12195
12196 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
12197
12198 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
12199
12200 2016-04-23 Mike Frysinger <vapier@gentoo.org>
12201
12202 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
12203 when it is the default of 0.
12204
12205 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12206
12207 * sysdeps/powerpc/locale-defines.sym: Add new macros.
12208 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12209 (sysdep_routines): Add new strcasestr targets.
12210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12211 (__libc_ifunc_impl_list): Likewise.
12212 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
12213 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
12214 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
12215 * sysdeps/powerpc/powerpc64/power8/Makefile:
12216 New file to add strcasestr-ppc64 to sysdep_routines.
12217 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
12218 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
12219
12220 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
12221
12222 * benchtests/Makefile (wcsmbs-benchset): Include only for
12223 native builds and runs.
12224 (LOCALES): Likewise.
12225 (bench-build): Build timing-type here instead of the bench
12226 target. Generate locale only for native builds.
12227 * benchtests/README: Add note for cross-building.
12228
12229 * benchtests/Makefile (bench-clean): Clean up extra-objs.
12230
12231 * benchtests/README: Update README to include instructions on
12232 using bench-build.
12233
12234 * Makefile.in (bench-build): New target.
12235 * Rules (PHONY): Add bench-build target.
12236 * benchtests/Makefile (bench): Depend on bench-build.
12237 (bench-build): New target.
12238
12239 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12240
12241 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
12242 profil_reply_port.
12243 (profile_waiter): Do not initialize profil_reply_port.
12244 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
12245 frequency instead of tick length in us.
12246
12247 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
12248
12249 [BZ #18712]
12250 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
12251 (__old_mempcpy_small): Likewise.
12252 (__old_strcpy_small): Likewise.
12253 (__old_stpcpy_small): Likewise.
12254 (__old_strpbrk_c2): Fix compat symbol name.
12255 (__old_strpbrk_c3): Likewise.
12256 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
12257 (__mempcpy_small): Remove.
12258 (__strcpy_small): Remove.
12259 (__stpcpy_small): Remove.
12260
12261 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
12262
12263 [BZ #19400]
12264 * locale/iso-639.def: Add the Talossan/tzl language.
12265
12266 2016-04-16 Mike Frysinger <vapier@gentoo.org>
12267
12268 [BZ #16983]
12269 * locale/programs/ld-address.c (address_finish): Update postal_fmt
12270 comment. Add "ln" to strchr check on postal_fmt.
12271
12272 2016-04-16 Mike Frysinger <vapier@gentoo.org>
12273
12274 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
12275 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
12276 tel_dom_fmt.
12277
12278 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12279
12280 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12281 (sysdep_routines): Added __strlen_power8.
12282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
12283 __strlen_power8 entry.
12284 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
12285 Implementation for POWER8.
12286 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
12287 for __strlen_power8.
12288 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
12289 Implementation for POWER8.
12290
12291 2016-04-15 Mike Frysinger <vapier@gentoo.org>
12292
12293 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
12294
12295 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
12296
12297 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
12298 Goldmont and Airmont processors.
12299
12300 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
12301
12302 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
12303 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
12304 (__STRING2_SMALL_GET32): Remove.
12305 (memset): Remove.
12306 (__memset_1): Remove.
12307 (__memset_gc): Remove.
12308 (__mempcpy): Remove.
12309 (mempcpy): Remove.
12310 (__mempcpy_args): Remove.
12311 (strchr): Remove.
12312 (strcpy): Remove.
12313 (strcpy_args): Remove.
12314 (__stpcpy_args): Remove.
12315 (__strcmp_cc): Remove.
12316 (__strcmp_gc): Remove.
12317 (strstr): Remove.
12318
12319 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
12320
12321 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
12322 * nis/nis_call.c (nis_server_cache_add): Likewise.
12323
12324 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12325
12326 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
12327
12328 2016-04-14 Florian Weimer <fweimer@redhat.com>
12329
12330 * malloc/arena.c (__malloc_fork_lock_parent)
12331 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
12332 internal_function attribute.
12333
12334 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
12335
12336 * stdio-common/printf_fp.c (__printf_fp_l):
12337 Rename ___printf_fp_l to __printf_fp_l and
12338 remove strong alias. Use libc_hidden_def instead
12339 of ldbl_hidden_def macro.
12340
12341 2016-04-14 Florian Weimer <fweimer@redhat.com>
12342
12343 Remove malloc hooks from fork handler. They are no longer needed
12344 because malloc runs right before fork, and no malloc calls from
12345 other fork handlers are not possible anymore.
12346 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
12347 declarations.
12348 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
12349 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
12350 (atfork_recursive_cntr): Remove.
12351 (__malloc_fork_lock_parent): Do not override malloc hooks and
12352 thread_arena.
12353 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
12354 thread_arena.
12355 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
12356 thread_arena instead of save_arena.
12357
12358 2016-04-14 Florian Weimer <fweimer@redhat.com>
12359
12360 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
12361 (thread_atfork, thread_atfork_static): Remove.
12362 * sysdeps/mach/hurd/malloc-machine.h:
12363 (thread_atfork, thread_atfork_static): Remove.
12364
12365 2016-04-14 Florian Weimer <fweimer@redhat.com>
12366
12367 [BZ #19431]
12368 Run the malloc fork handler as late as possible to avoid deadlocks.
12369 * malloc/malloc-internal.h: New file.
12370 * malloc/malloc.c: Include it.
12371 * malloc/arena.c (ATFORK_MEM): Remove.
12372 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
12373 Update comment.
12374 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
12375 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
12376 Remove outdated comment.
12377 (ptmalloc_init): Do not call thread_atfork. Remove
12378 thread_atfork_static.
12379 * malloc/tst-malloc-fork-deadlock.c: New file.
12380 * Makefile (tests): Add tst-malloc-fork-deadlock.
12381 (tst-malloc-fork-deadlock): Link against libpthread.
12382 * manual/memory.texi (Aligned Memory Blocks): Update safety
12383 annotation comments.
12384 * sysdeps/nptl/fork.c (__libc_fork): Call
12385 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12386 __malloc_fork_unlock_child.
12387 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
12388
12389 2016-04-14 Florian Weimer <fweimer@redhat.com>
12390
12391 [BZ #19613]
12392 Remove union wait.
12393 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
12394 (w_stopsig, w_stopval): Remove.
12395 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
12396 stat_loc argument.
12397 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
12398 (__WAIT_STATUS_DEFN): Remove.
12399 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12400 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
12401 (wait, wait3, wait4): Use int * for the stat_loc argument.
12402 * posix/wait.c (__wait): Likewise.
12403 * posix/wait3.c (__wait3): Likewise.
12404 * posix/wait4.c (__wait4): Likewise.
12405 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
12406 (__WAIT_STATUS_DEFN): Remove.
12407 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12408 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
12409 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
12410 argument.
12411 * sysdeps/posix/wait.c (__libc_wait): Likewise.
12412 * sysdeps/posix/wait3.c (__wait3): Likewise.
12413 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
12414 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12415 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
12416 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
12417 stat_loc argument.
12418 * manual/process.texi (BSD Wait Functions): Remove union wait.
12419
12420 2016-04-13 Andreas Schwab <schwab@suse.de>
12421
12422 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
12423 (test-extras): Add tst-tlsalign-vars.
12424 * math/Makefile: Wrap long lines.
12425 (libm-vec-test-wrappers): Define.
12426 (test-extras): Add $(libm-vec-test-wrappers).
12427 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
12428 * nss/Makefile (extra-test-objs): Add nss_test1.os.
12429 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
12430 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
12431 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
12432 (extra-test-objs): Add corresponding objects.
12433
12434 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
12435
12436 [BZ #19928]
12437 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
12438 New.
12439 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
12440 times of shared cache size.
12441 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
12442 (VMOVNT): New.
12443 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
12444 (VMOVNT): Likewise.
12445 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
12446 (VMOVNT): Likewise.
12447 (VMOVU): Changed to movups for smaller code sizes.
12448 (VMOVA): Changed to movaps for smaller code sizes.
12449 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
12450 comments.
12451 (PREFETCH): New.
12452 (PREFETCH_SIZE): Likewise.
12453 (PREFETCHED_LOAD_SIZE): Likewise.
12454 (PREFETCH_ONE_SET): Likewise.
12455 Rewrite to use forward and backward loops, which move 4 vector
12456 registers at a time, to support overlapping addresses and use
12457 non temporal store if size is above the threshold and there is
12458 no overlap between destination and source.
12459
12460 2016-04-12 Alex Smith <alex.smith@imgtec.com>
12461
12462 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
12463 Include dl-vdso.
12464 * sysdeps/unix/sysv/linux/mips/Versions: Add
12465 __vdso_clock_gettime.
12466 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
12467 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
12468 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
12469 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
12470 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
12471 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
12472 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12473 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12474 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12475
12476 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12477
12478 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
12479 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
12480 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12481 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12482 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12483 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12486 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
12487 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
12488 syscalls generation.
12489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12490 [__NR_pwrite64] (__NR_write): Remove define.
12491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12492 [__NR_pwrite64] (__NR_write): Remove define.
12493 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
12494 Remove define.
12495 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
12496 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
12497 Remove define.
12498 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
12499 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
12500 Linux implementation as base.
12501 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12502
12503 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
12504 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
12505 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12506 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
12508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12509 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
12510 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
12511 syscall generation.
12512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12513 [__NR_pread64] (__NR_pread): Remove define.
12514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12515 [__NR_pread64] (__NR_pread): Likewise.
12516 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
12517 define.
12518 (__libc_pread): Use SYSCALL_LL macro on offset argument.
12519 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
12520 Remove define.
12521 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
12522 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
12523 Linux implementation as base.
12524 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12525 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12526 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12527
12528 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
12529 definition.
12530 (__ALIGNMENT_COUNT): Likewise.
12531 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
12532 (__ALIGNMENT_COUNT): Likewise.
12533 (SYSCALL_LL): New define.
12534 (SYSCALL_LL64): Likewise.
12535 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
12536 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
12537 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
12538 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
12539
12540 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12541 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
12542 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12543 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12544 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12545 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12546
12547 2016-04-11 Florian Weimer <fweimer@redhat.com>
12548
12549 [BZ #19865]
12550 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
12551 original buffer before retry.
12552
12553 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12554
12555 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
12556 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
12557 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
12558 GLRO(dl_auxv) list.
12559 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
12560 including <ldsodefs.h>.
12561 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
12562
12563 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
12564
12565 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
12566 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
12567 $(CPPFLAGS).
12568
12569 2016-04-09 Khem Raj <raj.khem@gmail.com>
12570
12571 [BZ #17950]
12572 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
12573 Add -mfpmath=387.
12574
12575 2016-04-09 Mike Frysinger <vapier@gentoo.org>
12576
12577 * sysdeps/i386/configure.ac: Change == to = when calling test.
12578 * sysdeps/x86_64/configure.ac: Likewise.
12579 * sysdeps/i386/configure: Regenerated.
12580 * sysdeps/x86_64/configure: Likewise.
12581
12582 2016-04-08 Mike Frysinger <vapier@gentoo.org>
12583
12584 [BZ #16137]
12585 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
12586 * benchtests/bench-strcoll.c (input_files): Likewise.
12587 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12588 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
12589 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
12590
12591 2016-04-08 Joseph Myers <joseph@codesourcery.com>
12592
12593 [BZ #19929]
12594 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
12595 [__USE_XOPEN2K8 && !__USE_GNU].
12596 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
12597 variable.
12598
12599 [BZ #19925]
12600 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
12601 define if [!__USE_MISC && __USE_XOPEN2K].
12602 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
12603 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
12604 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
12605 Likewise.
12606 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
12607 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
12608 variable.
12609 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12610
12611 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12612
12613 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12614 (sysdep_routines): Add new strspn targets.
12615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12616 (__libc_ifunc_impl_list): Add strspn.
12617 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12618 New file.
12619 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
12620 Likewise.
12621 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
12622 Likewise.
12623 * sysdeps/powerpc/powerpc64/power8/strspn.S:
12624 Likewise.
12625
12626 2016-04-07 Florian Weimer <fweimer@redhat.com>
12627
12628 * misc/hsearch_r.c: Include <limits.h>.
12629
12630 2016-04-07 Florian Weimer <fweimer@redhat.com>
12631
12632 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
12633
12634 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12635
12636 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12637 (MEMCPY_SYMBOL): New.
12638 (MEMPCPY_SYMBOL): Likewise.
12639 (MEMMOVE_CHK_SYMBOL): Likewise.
12640 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
12641 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
12642 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
12643 Provide alias for memcpy in libc.a and ld.so.
12644
12645 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12646
12647 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12648 (MEMSET_CHK_SYMBOL): New. Define if not defined.
12649 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
12650 Disabled fro now.
12651 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
12652 symbols. Properly check USE_MULTIARCH on __memset symbols.
12653
12654 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12655
12656 * benchtests/Makefile (string-benchset): Add memcpy-large,
12657 memmove-large and memset-large.
12658 * benchtests/bench-memcpy-large.c: New file.
12659 * benchtests/bench-memmove-large.c: Likewise.
12660 * benchtests/bench-memmove-large.c: Likewise.
12661 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
12662
12663 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
12664
12665 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
12666 32-bit displacement to avoid long nop between instructions.
12667
12668 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
12669
12670 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
12671 a comment on VMOVU and VMOVA.
12672
12673 2016-04-04 Florian Weimer <fweimer@redhat.com>
12674
12675 [BZ #19633]
12676 Use specified locale for number formatting in strfmon_l.
12677 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
12678 (__nl_lookup_word): New inline functions.
12679 * include/printf.h (__print_fp_l): Declare.
12680 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
12681 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
12682 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
12683 (___printf_fp): New function.
12684 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
12685 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
12686 * stdlib/tst-strfmon_l.c (do_test): New test.
12687 * stdlib/Makefile (tests): Add kt.
12688 (LOCALES): Build additional locales.
12689 (tst-strfmon_l.out): Require locales.
12690
12691 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
12692
12693 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
12694 if not in libc.
12695 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12696 Likewise.
12697 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
12698 Likewise.
12699 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12700 Likewise.
12701
12702 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
12703
12704 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12705 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
12706 with unaligned_erms.
12707 (__memmove_erms): Skip if source == destination.
12708 (__memmove_unaligned_erms): Don't check source == destination
12709 first.
12710
12711 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12712
12713 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
12714 bit_arch_Fast_Copy_Backward for Intel Core proessors.
12715
12716 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12717
12718 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
12719 * string/strspn.c (strspn): Likewise.
12720
12721 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12722
12723 * benchtests/bench-memset.c (do_test): Support 64-byte
12724 alignment.
12725 (test_main): Test 64-byte alignment.
12726
12727 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12728
12729 * benchtests/bench-memmove.c (test_main): Test 64-byte
12730 alignment.
12731
12732 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12733
12734 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
12735
12736 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12737
12738 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
12739 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
12740 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
12741
12742 * string/strpbrk.c (strpbrk): Rewrite function.
12743 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
12744 (__strpbrk_c2): Likewise.
12745 (__strpbrk_c3): Likewise.
12746 * string/string-inlines.c
12747 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
12748 Likewise.
12749 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
12750 Likewise.
12751
12752 * string/strspn.c (strcspn): Rewrite function.
12753 * string/bits/string2.h (strspn): Use __builtin_strcspn.
12754 (__strspn_c1): Remove inline function.
12755 (__strspn_c2): Likewise.
12756 (__strspn_c3): Likewise.
12757 * string/string-inlines.c
12758 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
12759 compatibility symbol.
12760 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
12761 Likewise.
12762 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
12763 Likewise.
12764 * string/string-inlines.c: Include generic version.
12765
12766 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
12767 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12768
12769 * string/Version (libc): Add GLIBC_2.24.
12770 * string/strcspn.c (strcspn): Rewrite function.
12771 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
12772 (__strcspn_c1): Remove inline function.
12773 (__strcspn_c2): Likewise.
12774 (__strcspn_c3): Likewise.
12775 * string/string-inline.c
12776 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
12777 compatibility symbol.
12778 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
12779 Likewise.
12780 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
12781 Likewise.
12782 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
12783
12784 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12785
12786 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12787 Use ahi instead of aghi to adjust stack pointer.
12788
12789 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12790
12791 [BZ #19853]
12792 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
12793 TEST to take significant digits as second parameter.
12794 [TEST]: Redefine in terms of TEST_N taking 30
12795 significant digits.
12796 (do_test): Add test case to demonstrate precision
12797 failure in the ldbl-128ibm printf.
12798 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
12799 (__mpn_extract_long_double): Carry 7 extra intermediate
12800 bits of precision to aide computing difference when
12801 signs differ.
12802
12803 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
12804
12805 [BZ #19881]
12806 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12807 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
12808 memset-avx512-unaligned-erms.
12809 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12810 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
12811 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
12812 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
12813 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
12814 __memset_sse2_unaligned_erms, __memset_erms,
12815 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
12816 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
12817 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
12818 file.
12819 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12820 Likewise.
12821 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
12822 Likewise.
12823 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
12824 Likewise.
12825
12826 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
12827
12828 [BZ #19776]
12829 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12830 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
12831 memmove-avx512-unaligned-erms.
12832 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12833 (__libc_ifunc_impl_list): Test
12834 __memmove_chk_avx512_unaligned_2,
12835 __memmove_chk_avx512_unaligned_erms,
12836 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
12837 __memmove_chk_sse2_unaligned_2,
12838 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
12839 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
12840 __memmove_avx512_unaligned_erms, __memmove_erms,
12841 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
12842 __memcpy_chk_avx512_unaligned_2,
12843 __memcpy_chk_avx512_unaligned_erms,
12844 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
12845 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
12846 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
12847 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
12848 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
12849 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
12850 __mempcpy_chk_avx512_unaligned_erms,
12851 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
12852 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
12853 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
12854 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
12855 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
12856 __mempcpy_erms.
12857 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
12858 file.
12859 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12860 Likewise.
12861 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12862 Likewise.
12863 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12864 Likewise.
12865
12866 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12867
12868 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
12869 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
12870 (La_s390_64_regs): Likewise.
12871 (La_s390_32_retval): Append vector register lrv_v24.
12872 (La_s390_64_retval): Likeweise.
12873 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12874 Handle extended structs La_s390_32_regs and La_s390_32_retval.
12875 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12876 Handle extended structs La_s390_64_regs and La_s390_64_retval.
12877
12878 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12879
12880 [BZ #19916]
12881 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
12882 to create a non-vector/vector version for _dl_runtime_resolve and
12883 _dl_runtime_profile. Move implementation to ...
12884 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
12885 (_dl_runtime_resolve) Save and restore fpr/vrs.
12886 (_dl_runtime_profile) Save and restore vrs and fix some issues
12887 if _dl_call_pltexit is called.
12888 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12889 Choose the correct resolver function if running on a machine with vx.
12890 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12891 to create a non-vector/vector version for _dl_runtime_resolve and
12892 _dl_runtime_profile. Move implementation to ...
12893 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12894 (_dl_runtime_resolve) Save and restore fpr/vrs.
12895 (_dl_runtime_profile) Save and restore vrs and fix some issues
12896 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12897 Choose the correct resolver function if running on a machine with vx.
12898
12899 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12900
12901 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12902
12903 2016-03-31 Florian Weimer <fweimer@redhat.com>
12904
12905 [BZ #19509]
12906 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12907 skip_map != NULL.
12908 * elf/tst-dlsym-error.c: New file.
12909 * elf/Makefile (tests): Add tst-dlsym-error.
12910 (tst-dlsym-error): Link against libdl.
12911
12912 2016-03-29 Joseph Myers <joseph@codesourcery.com>
12913
12914 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12915 (__ASSUME_FUTIMESAT): Remove macro.
12916 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12917
12918 2016-03-29 Florian Weimer <fweimer@redhat.com>
12919
12920 [BZ #19879]
12921 CVE-2016-3075
12922 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12923 copy name.
12924
12925 2016-03-29 Florian Weimer <fweimer@redhat.com>
12926
12927 [BZ #19837]
12928 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12929 error if parse_line fails.
12930
12931 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12932
12933 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12934 (index_cpu_ERMS): Likewise.
12935 (reg_ERMS): Likewise.
12936
12937 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
12938
12939 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12940 PER_LINUX_FDPIC): Add.
12941
12942 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12943
12944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12945 memcpy-avx512-no-vzeroupper.
12946 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12947 to ...
12948 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12949 (MEMCPY): Don't define.
12950 (MEMCPY_CHK): Likewise.
12951 (MEMPCPY): Likewise.
12952 (MEMPCPY_CHK): Likewise.
12953 (MEMPCPY_CHK): Renamed to ...
12954 (__mempcpy_chk_avx512_no_vzeroupper): This.
12955 (MEMPCPY_CHK): Renamed to ...
12956 (__mempcpy_chk_avx512_no_vzeroupper): This.
12957 (MEMCPY_CHK): Renamed to ...
12958 (__memmove_chk_avx512_no_vzeroupper): This.
12959 (MEMCPY): Renamed to ...
12960 (__memmove_avx512_no_vzeroupper): This.
12961 (__memcpy_avx512_no_vzeroupper): New alias.
12962 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12963
12964 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12965
12966 [BZ #18858]
12967 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12968 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12969 and mempcpy-avx512-no-vzeroupper.
12970 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12971 New.
12972 (MEMPCPY): Likewise.
12973 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12974 (MEMPCPY_CHK): New.
12975 (MEMPCPY): Likewise.
12976 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12977 (MEMPCPY): Likewise.
12978 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12979 (MEMPCPY): Likewise.
12980 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12981 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12982 Likewise.
12983 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12984 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12985
12986 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12987 Amit Pawar <Amit.Pawar@amd.com>
12988
12989 [BZ #19583]
12990 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12991 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12992 processors. Set Fast_Copy_Backward for AMD Excavator
12993 processors.
12994 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12995 New.
12996 (index_arch_Fast_Unaligned_Copy): Likewise.
12997 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12998 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12999
13000 2016-03-25 Florian Weimer <fweimer@redhat.com>
13001
13002 [BZ #19791]
13003 * resolv/res_send.c (close_and_return_error): New function.
13004 (send_dg): Initialize *resplen2 after reopen failure. Call
13005 close_and_return_error for error returns. On error paths without
13006 __res_iclose, initialze *resplen2 explicitly. Update comment for
13007 successful return.
13008
13009 2016-03-25 Florian Weimer <fweimer@redhat.com>
13010
13011 [BZ# 19860]
13012 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
13013 zero if the compiler does not provide the AVX512F bit.
13014
13015 2016-03-24 Joseph Myers <joseph@codesourcery.com>
13016
13017 [BZ #19848]
13018 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
13019 from 8 to 4.
13020 (__ieee754_powl): Compare integer exponent against 4 not 8.
13021 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
13022 from 8 to 4.
13023 (__ieee754_powl): Compare integer exponent against 4 not 8.
13024 * math/auto-libm-test-in: Add more tests of pow.
13025 * math/auto-libm-test-out: Regenerated.
13026 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13028
13029 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
13030
13031 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
13032 Make code unconditional.
13033 [!__NR_utimensat]: Remove conditional code.
13034 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
13035 Make code unconditional.
13036 [!__NR_utimensat]: Remove conditional code.
13037 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
13038 Make code unconditional.
13039 [!__NR_utimensat]: Remove conditional code.
13040
13041 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
13042
13043 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
13044 Make code unconditional.
13045
13046 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
13047
13048 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
13049 call-clobbered %eax on retry path.
13050 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13051
13052 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
13053
13054 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
13055 Don't set %rcx twice before "rep movsb".
13056
13057 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
13058
13059 [BZ #19583]
13060 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
13061 inline. Check family before setting family, model and
13062 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
13063 bits here.
13064 (init_cpu_features): Replace HAS_CPU_FEATURE and
13065 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
13066 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
13067 for Intel processors with usable AVX2. Call get_common_indeces
13068 for other processors with family == NULL.
13069 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
13070 (CPU_FEATURES_ARCH_P): Likewise.
13071 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
13072 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
13073
13074 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13075
13076 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
13077 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
13078 $(shared-thread-library) instead of hardcoding the path to libpthread.
13079
13080 2016-03-22 Joseph Myers <joseph@codesourcery.com>
13081
13082 * sysdeps/unix/sysv/linux/kernel-features.h
13083 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
13084 * sysdeps/unix/sysv/linux/getdents.c
13085 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
13086 [!have_no_getdents64_defined]: Likewise.
13087 (__GETDENTS): Remove __have_no_getdents64 conditional.
13088
13089 2016-03-21 Joseph Myers <joseph@codesourcery.com>
13090
13091 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
13092 Remove macro.
13093 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
13094 <kernel-features.h>.
13095 (signalfd) [__NR_signalfd4]: Make code unconditional.
13096 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
13097
13098 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13099
13100 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
13101 style.
13102
13103 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
13104
13105 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
13106 (__pthread_enable_asynccancel): Use JUMPTARGET to call
13107 __pthread_unwind.
13108 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13109 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
13110 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13111 (__condvar_cleanup1): Likewise.
13112
13113 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
13114
13115 [BZ #19822]
13116 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
13117 move it to the final $@ location.
13118
13119 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13120
13121 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
13122 access where posix_spawn success and pid argument is null.
13123 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
13124 success case.
13125
13126 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
13127
13128 * sysdeps/mach/hurd/i386/c++-types.data: New file.
13129
13130 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
13131
13132 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
13133 and __fcntl.
13134 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
13135 __fcntl only.
13136 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
13137 adding attribute_hidden to __open and __fcntl.
13138
13139 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
13140 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
13141 depend on libc-modules.h,
13142 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
13143
13144 2016-03-17 Joseph Myers <joseph@codesourcery.com>
13145
13146 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
13147 Remove macro.
13148 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
13149 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
13150 entry.
13151
13152 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
13153 Remove macro.
13154 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
13155 include <kernel-features.h>.
13156 [!__ASSUME_FALLOCATE]: Remove conditional code.
13157 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
13158
13159 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
13160
13161 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
13162 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
13163 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
13164 (_ZGVdN4v_cos_avx2): Likewise.
13165 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
13166 (_ZGVdN4v_cos): Likewise.
13167 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
13168 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
13169 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
13170 (_ZGVdN4v_exp_avx2): Likewise.
13171 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
13172 (_ZGVdN4v_exp): Likewise.
13173 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
13174 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
13175 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
13176 (_ZGVdN4v_log_avx2): Likewise.
13177 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
13178 (_ZGVdN4v_log): Likewise.
13179 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
13180 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
13181 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
13182 (_ZGVdN4vv_pow_avx2): Likewise.
13183 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
13184 (_ZGVdN4vv_pow): Likewise.
13185 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
13186 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
13187 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
13188 (_ZGVdN4v_sin_avx2): Likewise.
13189 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
13190 (_ZGVdN4v_sin): Likewise.
13191 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
13192 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
13193 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
13194 (_ZGVdN4vvv_sincos_avx2): Likewise.
13195 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
13196 (_ZGVdN4vvv_sincos): Likewise.
13197 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
13198 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
13199 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
13200 (_ZGVbN4v_cosf_sse4): Likewise.
13201 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
13202 (_ZGVdN8v_cosf_avx2): Likewise.
13203 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
13204 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
13205 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
13206 (_ZGVbN4v_expf_sse4): Likewise.
13207 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
13208 (_ZGVdN8v_expf_avx2): Likewise.
13209 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
13210 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
13211 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
13212 (_ZGVbN4v_logf_sse4): Likewise.
13213 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
13214 (_ZGVdN8v_logf_avx2): Likewise.
13215 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
13216 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
13217 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
13218 (_ZGVbN4vv_powf_sse4): Likewise.
13219 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
13220 (_ZGVdN8vv_powf_avx2): Likewise.
13221 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
13222 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
13223 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
13224 (_ZGVbN4vvv_sincosf_sse4): Likewise.
13225 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
13226 (_ZGVdN8vvv_sincosf_avx2): Likewise.
13227 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
13228 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
13229 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
13230 (_ZGVbN4v_sinf_sse4): Likewise.
13231 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
13232 (_ZGVdN8v_sinf_avx2): Likewise.
13233 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13234 Use JUMPTARGET to call callee.
13235 (WRAPPER_IMPL_SSE2_ff): Likewise.
13236 (WRAPPER_IMPL_SSE2_fFF): Likewise.
13237 (WRAPPER_IMPL_AVX): Likewise.
13238 (WRAPPER_IMPL_AVX_ff): Likewise.
13239 (WRAPPER_IMPL_AVX_fFF): Likewise.
13240 (WRAPPER_IMPL_AVX512): Likewise.
13241 (WRAPPER_IMPL_AVX512_ff): Likewise.
13242 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13243 Likewise.
13244 (WRAPPER_IMPL_SSE2_ff): Likewise.
13245 (WRAPPER_IMPL_SSE2_fFF): Likewise.
13246 (WRAPPER_IMPL_AVX): Likewise.
13247 (WRAPPER_IMPL_AVX_ff): Likewise.
13248 (WRAPPER_IMPL_AVX_fFF): Likewise.
13249 (WRAPPER_IMPL_AVX512): Likewise.
13250 (WRAPPER_IMPL_AVX512_ff): Likewise.
13251 (WRAPPER_IMPL_AVX512_fFF): Likewise.
13252
13253 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13254
13255 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
13256 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
13257 qualifier.
13258 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
13259 internal_function qualifiers.
13260
13261 2016-03-15 Carlos O'Donell <carlos@redhat.com>
13262
13263 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
13264 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
13265 * math/atest-exp.c (exp_mpn): Mark chk unused.
13266 * math/atest-exp2.c (exp_mpn): Likewise.
13267 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
13268 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
13269
13270 2016-03-15 Joseph Myers <joseph@codesourcery.com>
13271
13272 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
13273 Remove macro.
13274 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
13275 <kernel-features.h>.
13276 [__NR_ppoll]: Make code unconditional.
13277 [!__ASSUME_PPOLL]: Remove conditional code.
13278
13279 * sysdeps/unix/sysv/linux/kernel-features.h
13280 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
13281 (__ASSUME_ACCEPT4): Likewise.
13282 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13283 Define.
13284 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
13285 Likewise.
13286 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13287 Likewise.
13288 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
13289 Likewise.
13290 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
13291 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
13292 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13293 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13294 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13295 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13296 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13297 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13298 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13299 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13300 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13301 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13302 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13303 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13304 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13305 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13306 Likewise.
13307 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13308 Likewise.
13309 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13310 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13311 0x040300].
13312 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13313 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13314 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13315 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13316 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13317 0x030300].
13318 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
13319 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13320 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13321 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13322 0x040300].
13323 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13324 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13325 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13326 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13327 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13328 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13329 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13330 0x030300].
13331 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13332 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13333 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13334 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13335 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13336 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13337 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13338 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13339 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13340 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13341 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13342 0x040300].
13343 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13344 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13345 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13346 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13347 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13348 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13349 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13350 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13351 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13352 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13353 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13354 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13355 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13356 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13357 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
13358 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13359 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13360 Likewise.
13361 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13362 Likewise.
13363
13364 2016-03-15 Andreas Schwab <schwab@suse.de>
13365
13366 [BZ #19257]
13367 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
13368 statp->_u._ext.nscount as loop count.
13369
13370 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
13371
13372 * math/test-signgam-finite-c99.c: Also #undef
13373 __LIBC_INTERNAL_MATH_INLINES.
13374 * math/test-signgam-main.c: Likewise.
13375
13376 2016-03-14 Joseph Myers <joseph@codesourcery.com>
13377
13378 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
13379 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13380 (MADV_FREE): Likewise.
13381 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
13382 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
13383 EPOLLEXCLUSIVE.
13384
13385 2016-03-14 Carlos O'Donell <carlos@redhat.com>
13386
13387 * timezone/README: Remove mention of checktab.awk. Mention wiki
13388 SharedSourceFiles.
13389
13390 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
13391
13392 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
13393 WUNTRACED.
13394
13395 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13396
13397 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
13398 order to match the type of p when calling atomic_exchange_acq().
13399
13400 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13401
13402 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
13403 cfi_offset calls.
13404 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
13405 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
13406 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
13407 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
13408 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
13409
13410 2016-03-10 Carlos O'Donell <carlos@redhat.com>
13411
13412 * timezone/checktab.awk: Removed.
13413
13414 2016-03-10 Joseph Myers <joseph@codesourcery.com>
13415
13416 * manual/math.texi (Errors in Math Functions): Document relaxed
13417 accuracy goals for IBM long double.
13418 * math/libm-test.inc (test_exceptions): Always allow spurious
13419 "underflow" and "inexact" exceptions for IBM long double.
13420
13421 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
13422
13423 [BZ #19762]
13424 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13425 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
13426 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
13427 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
13428 (bit_arch_*): This for feature array.
13429 (bit_*): Renamed to ...
13430 (bit_cpu_*): This for cpu array.
13431 (index_*): Renamed to ...
13432 (index_arch_*): This for feature array.
13433 (index_*): Renamed to ...
13434 (index_cpu_*): This for cpu array.
13435 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
13436 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
13437 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
13438 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
13439 bit_##name with index_cpu_##name and bit_cpu_##name.
13440 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
13441 bit_##name with index_arch_##name and bit_arch_##name.
13442
13443 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
13444
13445 [BZ #19792]
13446 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
13447 Terminate FDE before return label.
13448
13449 2016-03-09 Joseph Myers <joseph@codesourcery.com>
13450
13451 [BZ #19790]
13452 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
13453 (rintl): Define as macro.
13454 [USE_AS_NEARBYINTL] (__rintl): Likewise.
13455 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
13456 of fesetround. Ensure results are evaluated before end of scope.
13457 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
13458 USE_AS_NEARBYINTL and include s_rintl.c.
13459 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
13460 Disable exception traps in new environment.
13461 (libc_feholdsetround_ppc_ctx): Likewise.
13462
13463 2016-03-08 Roland McGrath <roland@hack.frob.com>
13464
13465 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
13466 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
13467 (tst_audit10_aux) [__AVX512F__]: ... here.
13468
13469 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
13470
13471 * include/sys/auxv.h: New file.
13472
13473 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
13474
13475 [BZ #19759]
13476 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
13477
13478 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13479
13480 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
13481 operand modifier.
13482 (feclearexcept): Likewise.
13483
13484 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13485
13486 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
13487 to reflect the entire 32-bit HWCAP.
13488 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
13489 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
13490
13491 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
13492
13493 [BZ #19783]
13494 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
13495 $(test-via-rtld-prefix).
13496 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
13497
13498 2016-03-08 Florian Weimer <fweimer@redhat.com>
13499
13500 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
13501 union wait. Report any non-zero exit status as error.
13502
13503 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13504
13505 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
13506 configured with --enable-hardcoded-path-in-tests.
13507
13508 2016-03-08 Joseph Myers <joseph@codesourcery.com>
13509
13510 [BZ #19677]
13511 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13512 (__ieee754_remainderl): Put zero low parts in canonical form.
13513 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
13514 file. Based on
13515 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
13516 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
13517 with wrapper round test-fmodrem-ldbl-128ibm.c.
13518 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
13519 file.
13520 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
13521 Likewise.
13522 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13523 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
13524
13525 2016-03-07 Florian Weimer <fweimer@redhat.com>
13526
13527 [BZ #19610]
13528 * elf/ldconfig.c (opt_link): Update comment.
13529 (options): Update help string for option -X.
13530 (search_dir): Unlink stale symbolic link only if updating symbolic
13531 links.
13532 * elf/tst-ldconfig-X.sh: New file.
13533 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
13534 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
13535
13536 2016-03-07 Andreas Schwab <schwab@suse.de>
13537
13538 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
13539 needed arguments.
13540
13541 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
13542
13543 [BZ #15333]
13544 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
13545 to lstat64.
13546
13547 2016-03-07 Florian Weimer <fweimer@redhat.com>
13548
13549 * libio/filedoalloc.c (isatty): Remove.
13550 (local_isatty): Add comment. Call __isatty directly.
13551 (_IO_file_doallocate): Update comment. Assume _LIBC.
13552 * libio/wfiledoalloc.c (isatty): Remove.
13553 (_IO_wfile_doallocate): Update comment.
13554
13555 2016-03-07 Florian Weimer <fweimer@redhat.com>
13556
13557 [BZ #19269]
13558 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
13559 tst-audit4-aux.o.
13560 (tst-audit10): Depend on tst-audit10-aux.o.
13561 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
13562 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
13563 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
13564 instead of inline AVX code.
13565 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
13566 instead of inline AVX512 code.
13567 * sysdeps/x86_64/tst-audit4-aux.c: New file
13568 * sysdeps/x86_64/tst-audit10-aux.c: New file
13569
13570 [BZ #19648]
13571 * test-skeleton.c (main): Do not set RLIMIT_DATA.
13572
13573 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13574
13575 [BZ #14750]
13576 [BZ #10354]
13577 [BZ #18433]
13578 * include/sched.h (__clone): Add hidden prototype.
13579 (__clone2): Likewise.
13580 * include/unistd.h (__dup): Likewise.
13581 * posix/Makefile (tests): Add tst-spawn2.
13582 * posix/tst-spawn2.c: New file.
13583 * sysdeps/posix/dup.c (__dup): Add hidden definition.
13584 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
13585 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13586 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13587 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13588 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13589 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
13590 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13591 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
13592 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13593 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13595 Likewise.
13596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13597 Likewise.
13598 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13599 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13600 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13601 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13602 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13603 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13604 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13605 * sysdeps/unix/sysv/linux/nptl-signals.h
13606 (____nptl_is_internal_signal): New function.
13607 * sysdeps/unix/sysv/linux/spawni.c: New file.
13608
13609 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
13610 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
13611 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
13612 * posix/tst-execvp2.c (do_test): Likewise.
13613 * posix/tst-execvp3.c (do_test): Likewise.
13614 * posix/tst-execvp4.c (do_test): Likewise.
13615 * posix/tst-execvpe1.c: New file.
13616 * posix/tst-execvpe2.c: Likewise.
13617 * posix/tst-execvpe3.c: Likewise.
13618 * posix/tst-execvpe4.c: Likewise.
13619 * posix/tst-execvpe5.c: Likewise.
13620 * posix/tst-execvpe6.c: Likewise.
13621
13622 [BZ #19534]
13623 * posix/execl.c (execl): Remove dynamic memory allocation.
13624 * posix/execle.c (execle): Likewise.
13625 * posix/execlp.c (execlp): Likewise.
13626
13627 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
13628
13629 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
13630 Replace .text with .text.avx512.
13631 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13632 Likewise.
13633
13634 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
13635
13636 * sysdeps/generic/libnsl.abilist: New file.
13637 * sysdeps/generic/libutil.abilist: New file.
13638
13639 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
13640
13641 [BZ #19762]
13642 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
13643 HAS_ARCH_FEATURE with Fast_Rep_String.
13644 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
13645 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
13646 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
13647 Likewise.
13648 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
13649 Likewise.
13650 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
13651 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
13652 Likewise.
13653 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
13654 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
13655 Likewise.
13656
13657 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13658
13659 [BZ #19745]
13660 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13661 with *%rax in call.
13662
13663 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13664
13665 [BZ #19745]
13666 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
13667 with *__libc_start_main@GOTPCREL(%rip) in call.
13668
13669 2016-03-04 Roland McGrath <roland@hack.frob.com>
13670
13671 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
13672 inside conditional for nonempty $(CXX).
13673
13674 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
13675 nonempty.
13676
13677 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
13678 to test for empty $(CXX) rather than $(CXX) of "no".
13679
13680 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13681
13682 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
13683
13684 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
13685 H.J. Lu <hongjiu.lu@intel.com>
13686
13687 [BZ #18880]
13688 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
13689 instead of Slow_BSF, and also check for Fast_Copy_Backward to
13690 enable __memcpy_ssse3_back.
13691
13692 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
13693
13694 [BZ #19758]
13695 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13696 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
13697
13698 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13699
13700 [BZ #19490]
13701 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
13702 (__fentry__): Likewise.
13703
13704 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
13705
13706 * gmon/Makefile (noprof): Add $(sysdep_noprof).
13707 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
13708
13709 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
13710
13711 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
13712 __mcount_internal directly.
13713 (C_LABEL(__fentry__)): Likewise.
13714 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
13715 directly.
13716
13717 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
13718
13719 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13720 (__start_context): Call __setcontext directly.
13721
13722 2016-02-26 Joseph Myers <joseph@codesourcery.com>
13723
13724 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13725 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13726 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
13727 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13728 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13729 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13730 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
13731 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13732 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13733 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
13734 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13735 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13736 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13737 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13738 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13739 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13740 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
13741 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13742 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13743 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13744 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
13745 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13746 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13747 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13748 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
13749 Remove conditional code.
13750 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13751 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
13752 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13753 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13754 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
13755 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13756 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13757 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13758 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13759 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13760 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13761 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13762
13763 2016-02-24 Marko Myllynen <myllynen@redhat.com>
13764
13765 * NEWS (2.23): Fix typo in bug 19048 text.
13766
13767 2016-02-24 Carlos O'Donell <carlos@redhat.com>
13768
13769 [BZ #14259]
13770 * Makeconfig: Rename msgcatdir to localedir.
13771 Rename inst_msgcatdir to inst_localedir.
13772 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
13773 * config.make.in: Add localedir.
13774 * elf/Makefile ($(objpfx)sotruss): Use localedir.
13775 (ldd-rewrite): Likewise.
13776 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
13777 (install-others): Use inst_localedir.
13778 (CPPFLAGS): Use localedir.
13779 * locale/Makefile (locale-CPPFLAGS): Likewise.
13780 * po/Makefile (mo-installed): Use inst_localedir.
13781
13782 [BZ #19575]
13783 * localedata/charmaps/GB18030: Update comments regarding PAU to
13784 non-PUA mappings.
13785
13786 2016-02-24 Joseph Myers <joseph@codesourcery.com>
13787
13788 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
13789 test for header.
13790 * sysdeps/unix/sysv/linux/configure: Regenerated.
13791 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
13792 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
13793 Remove conditional code.
13794 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
13795
13796 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13797 Define to 3.2.0.
13798 (arch_minimum_kernel): Likewise.
13799 * sysdeps/unix/sysv/linux/configure: Regenerated.
13800 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
13801 Define to 2.6.32.
13802 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
13803 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
13804 (arch_minimum_kernel): Define to 2.6.32.
13805 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
13806 * README: Document Linux 3.2 requirement.
13807 * manual/install.texi (Linux): Document Linux 3.2 headers
13808 requirement.
13809 * INSTALL: Regenerated.
13810
13811 2016-02-24 Andreas Schwab <schwab@suse.de>
13812
13813 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
13814 if !NO_LONG_DOUBLE.
13815
13816 2016-02-22 Roland McGrath <roland@hack.frob.com>
13817
13818 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
13819 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
13820
13821 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
13822
13823 [BZ #19512]
13824 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
13825
13826 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13827
13828 * posix/tst-dir.c: Include libc-internal.h.
13829
13830 2016-02-20 Florian Weimer <fweimer@redhat.com>
13831
13832 [BZ #19056]
13833 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
13834 * manual/filesys.texi (Reading/Closing Directory): Mention
13835 deprecaion.
13836 * posix/tst-dir.c (main): Disable deprecation warning in test.
13837
13838 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
13839
13840 [BZ #19679]
13841 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
13842 Renamed to ...
13843 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
13844 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13845 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
13846 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13847 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13848 * sysdeps/x86_64/dl-trampoline.h
13849 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13850 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13851
13852 2016-02-19 Mark Wielaard <mjw@redhat.com>
13853
13854 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
13855
13856 2016-02-19 Mark Wielaard <mjw@redhat.com>
13857
13858 * elf/elf.h (R_386_GOT32X): New.
13859 (R_386_NUM): Update.
13860 (R_X86_64_GOTPCRELX: New.
13861 (R_X86_64_REX_GOTPCRELX): New.
13862 (R_X86_64_NUM): Update.
13863
13864 2016-02-19 Mike Frysinger <vapier@gentoo.org>
13865
13866 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
13867
13868 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
13869
13870 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
13871 assign attr->stackaddr to it, and adjust it down when
13872 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
13873 [_STACK_GROWS_UP]: Delete assert.
13874 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
13875 Implement stack grows up logic.
13876 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
13877 stack grows up logic.
13878
13879 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13880
13881 * NEWS: Update with 2.24 template.
13882
13883 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13884
13885 [BZ #19678]
13886 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13887 Ensure +0.0 is returned when taking the next value below the least
13888 positive value.
13889
13890 2016-02-19 Florian Weimer <fweimer@redhat.com>
13891
13892 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13893 available. Do not define NO_THREADS.
13894 * malloc/malloc.c: Do not check NO_THREADS.
13895 * malloc/arena.c: Likewise.
13896
13897 2016-02-19 Florian Weimer <fweimer@redhat.com>
13898
13899 * malloc/malloc.c (__libc_mallinfo): Update comment.
13900 (struct malloc_par): Remove max_total_mem member, it was always 0.
13901 (int_mallinfo): Store 0 into usmblks (no functional change).
13902 * malloc/hooks.c (struct malloc_state): Document that
13903 max_total_mem is always 0.
13904 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13905 always 0.
13906 * manual/memory.texi (Statistics of Malloc): Likewise.
13907
13908 2016-02-19 Florian Weimer <fweimer@redhat.com>
13909
13910 * malloc/malloc.c (sysmalloc): Do not update arena_max.
13911 * malloc/arena.c (arena_max): Remove.
13912 (heap_trim, _int_new_arena): Do not update arena_max.
13913
13914 2016-02-19 Florian Weimer <fweimer@redhat.com>
13915
13916 * resolv/res_init.c (res_ninit): Update comment.
13917
13918 2016-02-19 Florian Weimer <fweimer@redhat.com>
13919
13920 [BZ #19505]
13921 * posix/spawn_int.h: Add headers and include guard.
13922 (__spawn_valid_fd): New function.
13923 * posix/spawn_faction_addopen.c
13924 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13925 * posix/spawn_faction_addclose.c
13926 (posix_spawn_file_actions_addclose): Likewise.
13927 * posix/spawn_faction_adddup2.c
13928 (posix_spawn_file_actions_adddup2): Likewise. Add check for
13929 second file descriptor.
13930 * posix/spawn_valid_fd.c: New file.
13931 * posix/tst-posix_spawn-fd.c: New file.
13932 * posix/Makefile (routines): Add spawn_valid_fd.
13933 (tests): Add tst-posix_spawn-fd.
13934
13935 2016-02-19 Florian Weimer <fweimer@redhat.com>
13936
13937 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13938 (do_test): Limit the number of arenas, so that we can use fewer
13939 outer threads. Limit timeout to 3 seconds, in preparation for a
13940 larger TIMEOUT value.
13941
13942 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13943
13944 [BZ #19674]
13945 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13946 sign in overflowing and underflowing results when overflow or
13947 underflow is detected early. Include sign in result before rather
13948 than after scaling.
13949
13950 [BZ #19603]
13951 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13952 (__ieee754_remainderl): Adjust sign of integer version of low part
13953 when taking absolute value of high part.
13954 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13955 * math/libm-test.inc (remainder_test_data): Add another test.
13956 (remquo_test_data): Likewise.
13957
13958 2016-02-18 Joseph Myers <joseph@codesourcery.com>
13959
13960 [BZ #19602]
13961 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13962 equal high parts and both low parts zero specially.
13963 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13964 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13965 Add test-fmodl-ldbl-128ibm.
13966
13967 [BZ #19595]
13968 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13969 common logic for all cases of shifting subnormal results. Do not
13970 insert sign bit in shifted mantissa. Always pass -1023 as biased
13971 exponent to ldbl_insert_mantissa in subnormal case.
13972
13973 [BZ #19594]
13974 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13975 on high and low parts then adjust result and use
13976 ldbl_canonicalize_int if needed.
13977
13978 [BZ #19593]
13979 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13980 on high part and __floor or __ceil on low part then use
13981 ldbl_canonicalize_int if needed.
13982
13983 [BZ #19592]
13984 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13985 high and low parts then use ldbl_canonicalize_int if needed.
13986
13987 [BZ #17899]
13988 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13989 New function.
13990 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13991 on high and low parts then use ldbl_canonicalize_int if needed.
13992
13993 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13994
13995 * configure: Regenerated.
13996
13997 * po/libc.pot: Regenerated.
13998
13999 * po/be.po: Updated translation.
14000 * po/bg.po: Likewise.
14001 * po/ca.po: Likewise.
14002 * po/cs.po: Likewise.
14003 * po/da.po: Likewise.
14004 * po/el.po: Likewise.
14005 * po/eo.po: Likewise.
14006 * po/es.po: Likewise.
14007 * po/fi.po: Likewise.
14008 * po/fr.po: Likewise.
14009 * po/gl.po: Likewise.
14010 * po/hr.po: Likewise.
14011 * po/hu.po: Likewise.
14012 * po/ia.po: Likewise.
14013 * po/id.po: Likewise.
14014 * po/it.po: Likewise.
14015 * po/ja.po: Likewise.
14016 * po/lt.po: Likewise.
14017 * po/nb.po: Likewise.
14018 * po/nl.po: Likewise.
14019 * po/pt_BR.po: Likewise.
14020 * po/rw.po: Likewise.
14021 * po/sk.po: Likewise.
14022 * po/sl.po: Likewise.
14023 * po/sv.po: Likewise.
14024 * po/tr.po: Likewise.
14025 * po/zh_CN.po: Likewise.
14026 * po/zh_TW.po: Likewise.
14027
14028 * version.h (RELEAES): Set to "development".
14029 (VERSION): Set to 2.23.90.
14030
14031 * version.h (RELEASE): Set to "stable".
14032 (VERSION): Set to 2.23.
14033 * include/feature.h (__GLIBC_MINOR__): Set to 23.
14034
14035 * NEWS: Updated fixed bugs.
14036
14037 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
14038 Wilco Dijkstra <wdijkstr@arm.com>
14039
14040 [BZ #19462]
14041 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
14042 (_STRING_INLINE_unaligned): This.
14043 * include/string.h: Include <string_private.h>.
14044 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
14045 _STRING_INLINE_unaligned.
14046 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
14047 (_STRING_INLINE_unaligned): New.
14048 * sysdeps/aarch64/string_private.h: New file.
14049 * sysdeps/generic/string_private.h: Likewise.
14050 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
14051 * sysdeps/s390/string_private.h: Likewise.
14052 * sysdeps/x86/string_private.h: Likewise.
14053 * sysdeps/m68k/m680x0/m68020/bits/string.h
14054 (_STRING_ARCH_unaligned): Renamed to ...
14055 (_STRING_INLINE_unaligned): This.
14056 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
14057 to ...
14058 (_STRING_INLINE_unaligned): This.
14059 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
14060 to ...
14061 (_STRING_INLINE_unaligned): This.
14062 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
14063 to ...
14064 (_STRING_INLINE_unaligned): This.
14065
14066 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
14067 H.J. Lu <hongjiu.lu@intel.com>
14068
14069 [BZ #19590]
14070 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
14071 relocation.
14072
14073 2016-02-15 Carlos O'Donell <carlos@redhat.com>
14074
14075 [BZ #18665]
14076 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
14077 *herrno_p.
14078 (gaih_getanswer): Document functional behviour. Return tryagain
14079 if any result is tryagain.
14080 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
14081 when freed.
14082 * resolv/res_send.c: Add copyright text.
14083 (__libc_res_nsend): Document that MAXPACKET is expected.
14084 (send_vc): Document. Remove buffer reuse.
14085 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
14086 size of the buffer. Add Dprint for truncated UDP buffer.
14087
14088 2016-02-14 Carlos O'Donell <carlos@redhat.com>
14089
14090 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
14091 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
14092 * INSTALL: Regenerate.
14093
14094 2016-02-14 Jakub Jelinek <jakub@redhat.com>
14095 Jonathan Wakely <jwakely@redhat.com>
14096 Carlos O'Donell <carlos@redhat.com>
14097
14098 [BZ 19439]
14099 * math/Makefile (tests): Add test-math-isinff.
14100 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
14101 * math/bits/mathcalls.h [__USE_MISC]: Use
14102 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
14103 functions not in C++11 and which don't conflict e.g. isinff,
14104 isinfl etc.
14105 * math/test-math-isinff.cc: New file.
14106
14107 2016-02-12 Florian Weimer <fweimer@redhat.com>
14108
14109 * misc/bug18240.c (do_test): Set RLIMIT_AS.
14110
14111 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
14112
14113 [BZ #19529]
14114 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
14115
14116 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14117
14118 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14119
14120 2016-02-01 Joseph Myers <joseph@codesourcery.com>
14121
14122 [BZ #19550]
14123 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
14124 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
14125 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
14126 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
14127 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
14128 New syscall entry.
14129 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
14130 New syscall entry.
14131 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
14132 syscall entry.
14133
14134 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
14135
14136 [BZ #18240]
14137 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
14138 unsigned int wraparound.
14139
14140 2016-01-27 Florian Weimer <fweimer@redhat.com>
14141
14142 [BZ #18240]
14143 * misc/bug18240.c: New test.
14144 * misc/Makefile (tests): Add it.
14145
14146 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
14147 Joseph Myers <joseph@codesourcery.com>
14148
14149 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
14150 load in branch delay slot when less than a word of input left.
14151
14152 2016-01-27 Andreas Schwab <schwab@suse.de>
14153
14154 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
14155 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
14156 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
14157 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
14158
14159 2016-01-26 David S. Miller <davem@davemloft.net>
14160
14161 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
14162
14163 2016-01-25 David S. Miller <davem@davemloft.net>
14164
14165 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
14166 __sqrtl_finite.
14167 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
14168 instead using versioned_symbol.
14169 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
14170 of entries.
14171
14172 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
14173 __sqrtl_finite to GLIBC_2.23
14174
14175 2016-01-25 Ricchard Henderson <rth@redhat.com>
14176
14177 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14178
14179 2016-01-25 Andreas Schwab <schwab@suse.de>
14180
14181 [BZ #17514]
14182 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
14183 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
14184 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
14185 * nptl/tst-mutex-errorcheck.c: New file.
14186
14187 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14188
14189 [BZ #18560]
14190 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
14191 (IPCOP_semop): Likewise.
14192 (IPCOP_semget): Likewise.
14193 (IPCOP_semctl): Likewise.
14194 (IPCOP_msgsnd): Likewise.
14195 (IPCOP_msgrcv): Likewise.
14196 (IPCOP_msgget): Likewise.
14197 (IPCOP_msgctl): Likewise.
14198 (IPCOP_shmat): Likewise.
14199 (IPCOP_shmdt): Likewise.
14200 (IPCOP_shmget): Likewise.
14201 (IPCOP_shmctl): Likewise.
14202
14203 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14204
14205 * string/tst-endian.c: Include <libc-internal.h>.
14206 (do_test): Ignore tautological-compare warnings around
14207 "htobeXX (beXXtoh (i)) != i" and
14208 "htoleXX (leXXtoh (i)) != i" if-statements.
14209
14210 2016-01-24 David S. Miller <davem@davemloft.net>
14211
14212 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
14213 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
14214 alias.
14215 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
14216 __sqrtl_finite.
14217
14218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14219
14220 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
14221
14222 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
14223 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
14224 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14225
14226 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14227
14228 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
14229 (thread_func): Use new function to simplify barrier check.
14230 (do_test): Use new function to simplify checking barrier exit
14231 code, and actually join the child thread.
14232
14233 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14234
14235 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
14236 semicolon.
14237 (__libc_tend): Likewise.
14238 (__libc_tabort): Likewise.
14239
14240 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
14241
14242 * sysdeps/nios2/libm-test-ulps: Update.
14243 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
14244 (__gtsf2): Likewise.
14245 (__unorddf2): Likewise.
14246 (__unordsf2): Likewise.
14247 (__ledf2): Likewise.
14248
14249 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
14250
14251 * nis/nis_table.c (__follow_path): Disable diagnostic for
14252 uninitialized variable that is a false positive for gcc 4.7.
14253 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
14254
14255 2016-01-20 Roland McGrath <roland@hack.frob.com>
14256
14257 * sysdeps/nacl/lowlevellock-futex.h
14258 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
14259 Always evaluate PRIVATE argument.
14260
14261 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
14262
14263 [BZ #19490]
14264 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
14265 (pthread_cond_broadcast): Use ENTRY/END
14266 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
14267 (pthread_cond_signal): Likewise.
14268 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
14269 Likewise.
14270 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
14271 Likewise.
14272 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
14273 Likewise.
14274
14275 2016-01-20 Joseph Myers <joseph@codesourcery.com>
14276
14277 * sysdeps/ieee754/dbl-64/s_finite.c
14278 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
14279 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
14280 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
14281 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
14282 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
14283
14284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
14285 (__gtsf2): Add as optional for libc.so.
14286 (__unordsf2): Likewise.
14287 (__signbit): Remove for libc.so.
14288 (__signbitl): Likewise.
14289
14290 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14291
14292 * iconvdata/bug-iconv11.c (test_ibm93x):
14293 Use %zu printf format specifier for size_t argument.
14294
14295 2016-01-19 Joseph Myers <joseph@codesourcery.com>
14296
14297 * math/gen-libm-test.pl (parse_ulps): Do not reduce
14298 already-recorded ulps.
14299 * sysdeps/arm/libm-test-ulps: Regenerated.
14300 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14301 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14302 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14303
14304 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
14305 Paul Pluzhnikov <ppluzhnikov@google.com>
14306
14307 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
14308 assembler not supporting AVX-512.
14309
14310 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
14311
14312 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14313
14314 2016-01-18 Joseph Myers <joseph@codesourcery.com>
14315
14316 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14317 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14318
14319 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14320
14321 * sysdeps/arm/libm-test-ulps: Regenerated.
14322
14323 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14324
14325 [BZ #19451]
14326 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
14327
14328 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14329
14330 [BZ #19486]
14331 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
14332 * sysdeps/generic/fix-fp-int-convert-overflow.h
14333 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
14334 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
14335 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
14336 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
14337 Likewise.
14338 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
14339 Avoid conversions to long int where inexact exceptions
14340 could be raised.
14341 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
14342 Likewise.
14343 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
14344 Avoid conversions to long long int where inexact exceptions
14345 could be raised.
14346 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
14347 Likewise.
14348
14349 2016-01-17 Mike Frysinger <vapier@gentoo.org>
14350
14351 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
14352 * configure: Regenerated.
14353
14354 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
14355
14356 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
14357
14358 2016-01-16 Mike Frysinger <vapier@gentoo.org>
14359
14360 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
14361 outside of comment.
14362
14363 2016-01-15 Torvald Riegel <triegel@redhat.com>
14364
14365 * nptl/tst-barrier1.c: Add description on first line.
14366 * nptl/tst-barrier2.c: Likewise.
14367 * nptl/tst-barrier3.c: Likewise.
14368 * nptl/tst-barrier4.c: Likewise.
14369 * nptl/tst-barrier5.c: Likewise.
14370
14371 2016-01-15 Torvald Riegel <triegel@redhat.com>
14372
14373 [BZ #18868]
14374 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
14375
14376 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
14377
14378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
14379 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14380 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
14381 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
14382 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
14383 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
14384 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14385 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14386 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14387 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14388 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14389
14390 2016-01-15 Torvald Riegel <triegel@redhat.com>
14391
14392 [BZ #13065]
14393 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
14394 new implementation.
14395 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
14396 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
14397 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
14398 (BARRIER_IN_THRESHOLD): New macro.
14399 * nptl/pthread_barrierattr_setpshared.c
14400 (pthread_barrierattr_setpshared): Clean up.
14401 * nptl/tst-barrier4.c: Correct comment.
14402 * nptl/tst-barrier5.c: New file.
14403 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
14404 (gen-as-const-headers): Remove lowlevelbarrier.sym.
14405 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
14406 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
14407 * nptl/lowlevelbarrier.sym: Remove.
14408 * nptl/DESIGN-barrier.txt: Remove.
14409 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
14410 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
14411 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
14412 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
14413 error.
14414 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
14415 implementation.
14416
14417 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14418
14419 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
14420 (do_child): Mask SIGRTMIN while thr is running.
14421
14422 2016-01-15 Martin Sebor <msebor@redhat.com>
14423
14424 [BZ #19432]
14425 * iconvdata/Makefile: Add bug-iconv11.
14426 * iconvdata/bug-iconv11.c: New test.
14427 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
14428 * iconvdata/ibm933.c: Same.
14429 * iconvdata/ibm935.c: Same.
14430 * iconvdata/ibm937.c: Same.
14431 * iconvdata/ibm939.c: Same.
14432
14433 2016-01-15 Martin Sebor <msebor@redhat.com>
14434
14435 [BZ #19443]
14436 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
14437 [DEBUG] (_ufc_set_bits): Declare used.
14438 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
14439 [DEBUG] (print_all): Declare used.
14440 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
14441 operands of the ternary ?: expression to target type.
14442 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
14443 calling the undeclared abort.
14444 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
14445
14446 2016-01-15 Martin Sebor <msebor@redhat.com>
14447
14448 [BZ #18755]
14449 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
14450 warnings.
14451 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
14452 (__gai_create_helper_thread): Same.
14453 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
14454 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
14455 to suppress -Wmaybe-uninitialized warnings.
14456
14457 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
14458
14459 [BZ #19465]
14460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
14461 inside if.
14462 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14463 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14464 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14465
14466 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
14467
14468 [BZ #19466]
14469 * time/tst-mktime2.c (time_t_max): Removed.
14470 (time_t_min): Likewise.
14471 (TYPE_SIGNED): New.
14472 (TYPE_MINIMUM): Likewise.
14473 (TYPE_MAXIMUM): Likewise.
14474 (TIME_T_MIN): Likewise.
14475 (TIME_T_MAX): Likewise.
14476 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
14477 and TIME_T_MIN.
14478 (do_test): Likewise.
14479
14480 2016-01-14 Amit Pawar <amit.pawar@amd.com>
14481
14482 [BZ #19467]
14483 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14484 index_Fast_Unaligned_Load flag for Excavator family CPUs.
14485
14486 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
14487
14488 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
14489
14490 2016-01-13 Carlos O'Donell <carlos@redhat.com>
14491
14492 * benchtests/Makefile (PYTHON): Define.
14493 (bench-func): Use $(PYTHON) to run python scripts.
14494 ($(objpfx)bench-%.c): Likewise.
14495
14496 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
14497
14498 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
14499 leading slash when `file_name' is "/".
14500
14501 2016-01-12 Joseph Myers <joseph@codesourcery.com>
14502
14503 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
14504 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
14505 Likewise.
14506 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
14507 Likewise.
14508 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
14509 Likewise.
14510 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
14511 enum constant and macro.
14512 (PTRACE_SETSIGMASK): Likewise.
14513 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14514 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14515 (PTRACE_GETSIGMASK): Likewise.
14516 (PTRACE_SETSIGMASK): Likewise.
14517 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14518 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
14519 Likewise.
14520 (PTRACE_SETSIGMASK): Likewise.
14521 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14522 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14523 (PTRACE_GETSIGMASK): Likewise.
14524 (PTRACE_SETSIGMASK): Likewise.
14525 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14526 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
14527 Likewise.
14528 (PTRACE_SETSIGMASK): Likewise.
14529 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14530 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
14531 Likewise.
14532 (PTRACE_SETSIGMASK): Likewise.
14533 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14534 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
14535 Likewise.
14536 (PTRACE_SETSIGMASK): Likewise.
14537 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14538
14539 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
14540 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14541
14542 [BZ #19439]
14543 * math/bits/mathcalls.h
14544 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
14545 prototype.
14546 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
14547
14548 2016-01-11 Andreas Schwab <schwab@suse.de>
14549
14550 [BZ #19253]
14551 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
14552 cache when TZDEFRULES was used.
14553 * time/tst-tzname.c: New file.
14554 * time/Makefile (test): Add tst-tzname.
14555 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
14556 * timezone/Makefile (test-zones): Add $(posixrules-file).
14557 ($(testdata)/$(posixrules-file)): New rule.
14558
14559 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
14560
14561 Fix doc quoting problems with Texinfo 5
14562 Without this change, in the info file output, Texinfo 5 quotes code
14563 in text with undirected single quotes 'like this' and generates
14564 code examples that with many PDF readers cannot be cut out of PDFs
14565 and pasted into code.
14566 * manual/libc.texinfo: Configure the libc manual like the GNU
14567 Emacs manual, by using @documentencoding and setting
14568 txicodequoteundirected and txicodequotebacktick. This way,
14569 Texinfo 5 quotes code in text with directed single quotes ‘like
14570 this’ and produces examples that can be cut out of PDFs. This
14571 change causes Texinfo 5 to generate info files that contain UTF-8
14572 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
14573 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
14574
14575 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14576
14577 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
14578 __libc_tabort, __libc_tend): New wrappers that enforce compiler
14579 barriers to their respective compiler built-ins.
14580 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
14581 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
14582 * sysdeps/powerpc/sysdep.h: Likewise.
14583 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
14584 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
14585 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
14586
14587 2016-01-08 Marko Myllynen <myllynen@redhat.com>
14588
14589 * scripts/config.guess: Revert previous shebang change.
14590 * scripts/config.sub: Likewise.
14591 * scripts/mkinstalldirs: Likewise.
14592
14593 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14594
14595 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
14596 PPC_FEATURE2_HAS_IEEE128.
14597 * sysdeps/powerpc/dl-procinfo.c:
14598 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
14599
14600 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
14601
14602 [BZ #19415]
14603 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
14604 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
14605 (_dl_lookup_address): Rewrite using function resolver trampoline.
14606 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
14607 two bits in address.
14608
14609 2016-01-07 Mike Frysinger <vapier@gentoo.org>
14610
14611 * longlong.h: Change !__SHMEDIA__ to
14612 (!defined (__SHMEDIA__) || !__SHMEDIA__).
14613 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
14614
14615 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
14616 Joseph Myers <joseph@codesourcery.com>
14617 Mark Shinwell <shinwell@codesourcery.com>
14618 Andrew Stubbs <ams@codesourcery.com>
14619 Rich Felker <dalias@libc.org>
14620
14621 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
14622
14623 2016-01-07 Richard Henderson <rth@redhat.com>
14624
14625 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
14626
14627 2016-01-07 Mike Frysinger <vapier@gentoo.org>
14628
14629 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
14630 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
14631 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14632 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14633 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
14634
14635 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
14636 Joseph Myers <joseph@codesourcery.com>
14637
14638 * timezone/private.h: Update from tzcode 2015g.
14639 * timezone/tzfile.h: Likewise.
14640 * timezone/tzselect.ksh: Likewise.
14641 * timezone/zdump.c: Likewise.
14642 * timezone/zic.c: Likewise.
14643 * timezone/ialloc.c: Remove file.
14644 * timezone/scheck.c: Likewise.
14645 * timezone/Makefile (extra-objs): Remove variable.
14646 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
14647 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
14648 -Wno-maybe-uninitialized.
14649 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
14650 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
14651 (CFLAGS-ialloc.c): Remove variable.
14652 (CFLAGS-scheck.c): Likewise.
14653 * timezone/README: Update list of files from tzcode.
14654
14655 2016-01-07 Khem Raj <raj.khem@gmail.com>
14656
14657 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
14658 instead of __fxprintf when _LIBC is undefined.
14659
14660 2016-01-07 Marko Myllynen <myllynen@redhat.com>
14661
14662 * catgets/test-gencat.sh: Remove space after shebang.
14663 * conform/GlibcConform.pm: Likewise.
14664 * conform/check-header-lists.sh: Likewise.
14665 * conform/conformtest.pl: Likewise.
14666 * conform/linknamespace.pl: Likewise.
14667 * conform/list-header-symbols.pl: Likewise.
14668 * debug/catchsegv.sh: Likewise.
14669 * elf/genrtldtbl.awk: Likewise.
14670 * elf/tst-pathopt.sh: Likewise.
14671 * elf/tst-rtld-load-self.sh: Likewise.
14672 * grp/tst_fgetgrent.sh: Likewise.
14673 * iconvdata/gen-8bit-gap-1.sh: Likewise.
14674 * iconvdata/gen-8bit-gap.sh: Likewise.
14675 * iconvdata/gen-8bit.sh: Likewise.
14676 * iconvdata/run-iconv-test.sh: Likewise.
14677 * intl/tst-gettext.sh: Likewise.
14678 * intl/tst-gettext2.sh: Likewise.
14679 * intl/tst-gettext4.sh: Likewise.
14680 * intl/tst-gettext6.sh: Likewise.
14681 * intl/tst-translit.sh: Likewise.
14682 * io/ftwtest-sh: Likewise.
14683 * libio/test-freopen.sh: Likewise.
14684 * locale/gen-translit.pl: Likewise.
14685 * malloc/tst-mtrace.sh: Likewise.
14686 * manual/check-safety.sh: Likewise.
14687 * manual/libc-texinfo.sh: Likewise.
14688 * manual/tsort.awk: Likewise.
14689 * manual/xtract-typefun.awk: Likewise.
14690 * nptl/tst-cancel-wrappers.sh: Likewise.
14691 * nptl/tst-tls6.sh: Likewise.
14692 * posix/globtest.sh: Likewise.
14693 * posix/tst-getconf.sh: Likewise.
14694 * posix/wordexp-tst.sh: Likewise.
14695 * scripts/check-c++-types.sh: Likewise.
14696 * scripts/check-local-headers.sh: Likewise.
14697 * scripts/config.guess: Likewise.
14698 * scripts/config.sub: Likewise.
14699 * scripts/cpp: Likewise.
14700 * scripts/cross-test-ssh.sh: Likewise.
14701 * scripts/documented.sh: Likewise.
14702 * scripts/evaluate-test.sh: Likewise.
14703 * scripts/gen-libc-abis: Likewise.
14704 * scripts/gen-sorted.awk: Likewise.
14705 * scripts/list-fixed-bugs.py: Likewise.
14706 * scripts/merge-test-results.sh: Likewise.
14707 * scripts/mkinstalldirs: Likewise.
14708 * scripts/rellns-sh: Likewise.
14709 * scripts/test-installation.pl: Likewise.
14710 * scripts/update-copyrights: Likewise.
14711 * stdio-common/tst-printf.sh: Likewise.
14712 * stdio-common/tst-unbputc.sh: Likewise.
14713 * stdlib/tst-fmtmsg.sh: Likewise.
14714 * stdlib/tst-setcontext3.sh: Likewise.
14715 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
14716 * sysdeps/unix/make-syscalls.sh: Likewise.
14717
14718 2016-01-06 John David Anglin <dave.anglin@bell.net>
14719
14720 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
14721 asm stw with atomic_exchange_rel. Add explanatory comment.
14722 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
14723 Likewise.
14724
14725 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
14726
14727 [BZ #19122]
14728 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
14729 * sysdeps/generic/dl-unistd.h: New file.
14730 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
14731
14732 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
14733
14734 [BZ #19122]
14735 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
14736 * sysdeps/generic/dl-mman.h: New file.
14737 * sysdeps/mach/hurd/dl-mman.h: Likewise.
14738
14739 2016-01-05 Joseph Myers <joseph@codesourcery.com>
14740
14741 * manual/texinfo.tex: Update to version 2016-01-04.21 with
14742 trailing whitespace removed.
14743 * scripts/config.guess: Update to version 2016-01-01.
14744 * scripts/config.sub: Update to version 2016-01-01.
14745 * scripts/move-if-change: Update from gnulib.
14746
14747 2016-01-04 Anton Blanchard <anton@samba.org>
14748
14749 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
14750 for array indices.
14751 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
14752
14753 2016-01-04 Joseph Myers <joseph@codesourcery.com>
14754
14755 * NEWS: Update copyright dates.
14756 * catgets/gencat.c (print_version): Likewise.
14757 * csu/version.c (banner): Likewise.
14758 * debug/catchsegv.sh: Likewise.
14759 * debug/pcprofiledump.c (print_version): Likewise.
14760 * debug/xtrace.sh (do_version): Likewise.
14761 * elf/ldconfig.c (print_version): Likewise.
14762 * elf/ldd.bash.in: Likewise.
14763 * elf/pldd.c (print_version): Likewise.
14764 * elf/sotruss.sh: Likewise.
14765 * elf/sprof.c (print_version): Likewise.
14766 * iconv/iconv_prog.c (print_version): Likewise.
14767 * iconv/iconvconfig.c (print_version): Likewise.
14768 * locale/programs/locale.c (print_version): Likewise.
14769 * locale/programs/localedef.c (print_version): Likewise.
14770 * login/programs/pt_chown.c (print_version): Likewise.
14771 * malloc/memusage.sh (do_version): Likewise.
14772 * malloc/memusagestat.c (print_version): Likewise.
14773 * malloc/mtrace.pl: Likewise.
14774 * manual/libc.texinfo: Likewise.
14775 * nptl/version.c (banner): Likewise.
14776 * nscd/nscd.c (print_version): Likewise.
14777 * nss/getent.c (print_version): Likewise.
14778 * nss/makedb.c (print_version): Likewise.
14779 * posix/getconf.c (main): Likewise.
14780 * scripts/test-installation.pl: Likewise.
14781 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14782
14783 * All files with FSF copyright notices: Update copyright dates
14784 using scripts/update-copyrights.
14785 * intl/plural.c: Regenerated.
14786 * locale/programs/charmap-kw.h: Likewise.
14787 * locale/programs/locfile-kw.h: Likewise.
14788
14789 2016-01-02 Helge Deller <deller@gmx.de>
14790
14791 [BZ #19285]
14792 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
14793 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
14794 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
14795 (MADV_xxK_PAGES): Remove.
14796
14797 2016-01-01 Mike Frysinger <vapier@gentoo.org>
14798
14799 [BZ #15421]
14800 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
14801 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
14802 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
14803 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
14804
14805 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
14806
14807 [BZ #19408]
14808 * sysdeps/unix/sysv/linux/personality.c: New file.
14809 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
14810 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
14811 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
14812 (sysdep_routines): Add personality.
14813 (tests): Add tst-personality.
14814 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
14815 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
14816 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
14817 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
14818 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
14819 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
14820 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
14821 Likewise.
14822 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
14823 Likewise.
14824 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
14825 Likewise.
14826 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
14827 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
14828 Likewise.
14829
14830 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
14831
14832 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
14833 (PATH_ARM_SYSTYPE): Remove.
14834 (PATH_CPUINFO): Likewise.
14835 (IO_BASE_FOOTBRIDGE): Likewise.
14836 (IO_SHIFT_FOOTBRIDGE): Likewise.
14837 (struct platform): Likewise.
14838 (init_iosys): Remove compatibility code for 2.4 kernels.
14839 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
14840
14841 2015-12-29 Florian Weimer <fweimer@redhat.com>
14842
14843 * malloc/tst-malloc-thread-fail.c: New file.
14844 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
14845 (tst-malloc-thread-fail): Link against libpthread.
14846
14847 2015-12-29 Mike Frysinger <vapier@gentoo.org>
14848
14849 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
14850 (get_parser): New function.
14851 (main): New function.
14852
14853 2015-12-29 Rob Wu <rob@robwu.nl>
14854
14855 [BZ #19369]
14856 * resolv/res_init.c (__res_vinit): Reset defdname before use.
14857
14858 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
14859
14860 [BZ #19270]
14861 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14862
14863 2015-12-28 Mike Frysinger <vapier@gentoo.org>
14864
14865 [BZ #15421]
14866 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
14867
14868 2015-12-23 Torvald Riegel <triegel@redhat.com>
14869
14870 [BZ #13690]
14871 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
14872 after releasing it.
14873 (__lll_robust_unlock): Likewise.
14874 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14875 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
14876 (lll_robust_unlock): Likewise.
14877 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
14878 Prevent warnings in callers.
14879
14880 2015-12-23 Florian Weimer <fweimer@redhat.com>
14881
14882 * malloc/arena.c (list_lock): Update comment.
14883
14884 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14885
14886 * sysdeps/powerpc/hwcapinfo.c: Export symbol
14887 __parse_hwcap_and_convert_at_platform to libc.a.
14888
14889 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14890
14891 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14892 platform and feature support for POWER9.
14893 * sysdeps/powerpc/dl-procinfo.h: Likewise.
14894 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14895 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14896 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14897 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14898 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14899 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14900 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14901
14902 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14903
14904 Harmonize generic stdio-lock support with nptl
14905
14906 This fixes build when _IO_funlockfile is a macro, fixes build where
14907 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14908 stack unwind.
14909
14910 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14911 _IO_release_lock ): Use cleanup attribute on new
14912 _IO_acquire_lock_file variable instead of assuming that
14913 _IO_release_lock will be called.
14914 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14915 _IO_acquire_lock_needs_exceptions_enabled.
14916 (_IO_acquire_lock_clear_flags2): New macro.
14917
14918 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14919
14920 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14921
14922 2015-12-21 Florian Weimer <fweimer@redhat.com>
14923
14924 [BZ #19182]
14925 * malloc/arena.c (list_lock): Document lock ordering requirements.
14926 (free_list_lock): New lock.
14927 (ptmalloc_lock_all): Comment on free_list_lock.
14928 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14929 (detach_arena): Update comment. free_list_lock is now needed.
14930 (_int_new_arena): Use free_list_lock around detach_arena call.
14931 Acquire arena lock after list_lock. Add comment, including FIXME
14932 about incorrect synchronization.
14933 (get_free_list): Switch to free_list_lock.
14934 (reused_arena): Acquire free_list_lock around detach_arena call
14935 and attached threads counter update. Add two FIXMEs about
14936 incorrect synchronization.
14937 (arena_thread_freeres): Switch to free_list_lock.
14938 * malloc/malloc.c (struct malloc_state): Update comments to
14939 mention free_list_lock.
14940
14941 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
14942
14943 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14944 Remove functions.
14945 (sloww, sloww1): Accept argument to offset quadrant.
14946 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14947 quadrant.
14948 (__sin, __cos): Consolidate common code into new functions.
14949 (reduce_sincos_1, do_sincos_1): New functions.
14950 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14951
14952 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14953 code to new functions.
14954 (reduce_sincos_2, do_sincos_2): New functions.
14955 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14956
14957 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14958 common code for sincos.
14959 (__cos) [!IN_SINCOS]: Likewise.
14960 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14961 New function.
14962 (__sincos): Use it.
14963
14964 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
14965
14966 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14967 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14968 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14969
14970 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
14971
14972 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14974 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14975 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14976 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14977 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14978 index_Prefer_No_VZEROUPPER): New feature.
14979 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14980 Prefer_No_VZEROUPPER for Knights Landing.
14981
14982 015-12-18 Torvald Riegel <triegel@redhat.com>
14983
14984 * math/atest-exp2.c (mp_exp_m1): Remove.
14985
14986 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14987
14988 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14989 syscalls.
14990 (__SYSCALL0): New macro.
14991 (__SYSCALL1): Likewise.
14992 (__SYSCALL2): Likewise.
14993 (__SYSCALL3): Likewise.
14994 (__SYSCALL4): Likewise.
14995 (__SYSCALL5): Likewise.
14996 (__SYSCALL6): Likewise.
14997 (__SYSCALL_CONCAT_X): Likewise.
14998 (__SYSCALL_CONCAT): Likewise.
14999 (__SYSCALL_DIST): Likewise.
15000 (__SYSCALL_CALL): Likewise.
15001
15002 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
15003
15004 [BZ #19363]
15005 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
15006
15007 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15008
15009 [BZ #19375]
15010 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
15011 negative subnormals.
15012
15013 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
15014
15015 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15016 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
15017 (INTERNAL_SYSCALL_NCS): Use it.
15018 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15019
15020 2015-12-16 Florian Weimer <fweimer@redhat.com>
15021
15022 [BZ #19243]
15023 * malloc/arena.c (get_free_list): Remove assert and adjust
15024 reference count handling. Add comment about reused_arena
15025 interaction.
15026 (reused_arena): Add comments abount get_free_list interaction.
15027 * malloc/tst-malloc-thread-exit.c: New file.
15028 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
15029 (tst-malloc-thread-exit): Link against libpthread.
15030
15031 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
15032
15033 [BZ #19367]
15034 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
15035 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
15036 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
15037 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
15038 (index_Prefer_MAP_32BIT_EXEC): Likewise.
15039
15040 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
15041
15042 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
15043 Silvermont optimizations for Knights Landing.
15044
15045 2015-12-15 Andreas Schwab <schwab@suse.de>
15046
15047 [BZ #17197]
15048 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
15049 immediately after emitting SI.
15050 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
15051 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
15052 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
15053 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
15054 * iconvdata/bug-iconv10.c: New file.
15055 * iconvdata/Makefile (tests): Add bug-iconv10.
15056 ($(objpfx)bug-iconv10.out): New rule.
15057
15058 2015-12-15 Florian Weimer <fweimer@redhat.com>
15059
15060 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
15061 aliasing violation.
15062
15063 2015-12-14 Joseph Myers <joseph@codesourcery.com>
15064
15065 [BZ #18472]
15066 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
15067 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
15068 conditionals for them.
15069 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
15070 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
15071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
15072 sys/kdaemon.h.
15073 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
15074 compat-only syscall, obsoleted in glibc 2.23.
15075 (create_module): Likewise.
15076 (get_kernel_syms): Likewise.
15077 (query_module): Likewise.
15078 (uselib): Likewise.
15079 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
15080
15081 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
15082
15083 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
15084 <linux/version.h>.
15085 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
15086 conditional code.
15087 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
15088 and ioshift_name initialization.
15089
15090 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
15091
15092 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15093 Fix indentation.
15094
15095 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
15096
15097 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
15098
15099 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
15100
15101 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
15102
15103 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
15104 Jakub Wilk <jwilk@debian.org>
15105
15106 [BZ #19347]
15107 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
15108 to change the group of the device to the tty group.
15109
15110 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
15111
15112 Split large string section; add truncation advice
15113 * manual/examples/strncat.c: Remove.
15114 This example was misleading, as the code would have undefined
15115 behavior if "hello" was longer than SIZE. Anyway, the manual
15116 shouldn't encourage strncpy+strncat for this sort of thing.
15117 * manual/string.texi (Copying Strings and Arrays): Split into
15118 three sections Copying Strings and Arrays, Concatenating Strings,
15119 and Truncating Strings, as this section was way too long. All
15120 cross-referenced changed. Add advice about string-truncation
15121 functions. Remove misleading strncat example.
15122
15123 2015-12-10 Carlos O'Donell <carlos@redhat.com>
15124
15125 * manual/nss.texi (NSS Modules Interface): Document
15126 NSS_STATUS_NOTFOUND and SUCCESS.
15127
15128 2015-12-09 Mike FABIAN <mfabian@redhat.com>
15129
15130 [BZ 18568]
15131 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15132 201505L, for Unicode 8.
15133
15134 2015-12-09 Carlos O'Donell <carlos@redhat.com>
15135
15136 * locale/C-translit.h: Regenerate.
15137
15138 2015-12-09 Mike FABIAN <mfabian@redhat.com>
15139
15140 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
15141 and U+0153.
15142
15143 2015-12-09 Joseph Myers <joseph@codesourcery.com>
15144
15145 [BZ #19351]
15146 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
15147 expanding log(1+z), compare z rather than its square with epsilon
15148 to determine when to avoid evaluating the expansion.
15149
15150 [BZ #19350]
15151 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15152 Increase overflow threshold.
15153
15154 [BZ #19349]
15155 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
15156 when small.
15157
15158 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15159 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15160 New macro.
15161 [__LINUX_KERNEL_VERSION >= 0x040300]
15162 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15163 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15164 Likewise.
15165 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15166 Likewise.
15167 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15168 Likewise.
15169 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15170 Likewise.
15171 [__LINUX_KERNEL_VERSION >= 0x040300]
15172 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15173 [__LINUX_KERNEL_VERSION >= 0x040300]
15174 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15175 [__LINUX_KERNEL_VERSION >= 0x040300]
15176 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15177 [__LINUX_KERNEL_VERSION >= 0x040300]
15178 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15179 [__LINUX_KERNEL_VERSION >= 0x040300]
15180 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15181 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15182 Likewise.
15183 [__LINUX_KERNEL_VERSION >= 0x040300]
15184 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15185 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15186 Likewise.
15187 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15188 Likewise.
15189 [__LINUX_KERNEL_VERSION >= 0x040300]
15190 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15191 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15192 Likewise.
15193 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15194 Likewise.
15195 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15196 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
15197 Likewise.
15198 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
15199 Likewise.
15200 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15201 Likewise.
15202 [__LINUX_KERNEL_VERSION >= 0x040300]
15203 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15204 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15205 Likewise.
15206 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15207 Likewise.
15208 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15209 Likewise.
15210 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15211 Likewise.
15212 [__LINUX_KERNEL_VERSION >= 0x040300]
15213 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15214 [__LINUX_KERNEL_VERSION >= 0x040300]
15215 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15216 [__LINUX_KERNEL_VERSION >= 0x040300]
15217 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15218 [__LINUX_KERNEL_VERSION >= 0x040300]
15219 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15220 [__LINUX_KERNEL_VERSION >= 0x040300]
15221 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15222 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15223 Likewise.
15224 [__LINUX_KERNEL_VERSION >= 0x040300]
15225 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15226 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15227 Likewise.
15228 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15229 Likewise.
15230 [__LINUX_KERNEL_VERSION >= 0x040300]
15231 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15232 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15233 Likewise.
15234 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15235 Likewise.
15236 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15237 (__ASSUME_SOCKET_SYSCALL): Likewise.
15238 (__ASSUME_BIND_SYSCALL): Likewise.
15239 (__ASSUME_CONNECT_SYSCALL): Likewise.
15240 (__ASSUME_LISTEN_SYSCALL): Likewise.
15241 (__ASSUME_ACCEPT_SYSCALL): Likewise.
15242 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15243 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15244 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15245 (__ASSUME_SEND_SYSCALL): Likewise.
15246 (__ASSUME_SENDTO_SYSCALL): Likewise.
15247 (__ASSUME_RECV_SYSCALL): Likewise.
15248 (__ASSUME_RECVFROM_SYSCALL): Likewise.
15249 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
15250 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15251 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15252 (__ASSUME_SENDMSG_SYSCALL): Likewise.
15253 (__ASSUME_RECVMSG_SYSCALL): Likewise.
15254 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15255 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
15256 Likewise.
15257 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
15258 Likewise.
15259 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
15260 Likewise.
15261 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
15262 Likewise.
15263 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
15264 Likewise.
15265 [__LINUX_KERNEL_VERSION >= 0x020625]
15266 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15267 [__LINUX_KERNEL_VERSION >= 0x020625]
15268 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15269 [__LINUX_KERNEL_VERSION >= 0x020625]
15270 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15271 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
15272 Likewise.
15273 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
15274 Likewise.
15275 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
15276 Likewise.
15277 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
15278 Likewise.
15279 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
15280 Likewise.
15281 [__LINUX_KERNEL_VERSION >= 0x020625]
15282 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15283 [__LINUX_KERNEL_VERSION >= 0x020625]
15284 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15285 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
15286 Likewise.
15287 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
15288 Likewise.
15289
15290 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
15291
15292 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
15293 record the current if the current ABI and CPU support the FP64
15294 extension.
15295 (has-modd-spreg): Define to record the current if the current ABI and
15296 CPU support 32-bit floating point values in odd FPU registers.
15297 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15298 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
15299 $(has-modd-spreg) equals yes.
15300 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
15301 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
15302 $(has-modd-spreg) equal yes.
15303
15304 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
15305
15306 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
15307 basename.
15308
15309 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
15310
15311 * benchtests/Makefile (bench-math): Move ffs and ffsll...
15312 (bench-string): ... here.
15313 (bench): Add bench-string.
15314 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
15315 to *-benchset to reflect what they are.
15316 (benchset): Adjust.
15317
15318 * benchtests/sincos-inputs: Add inputs from sin-inputs and
15319 cos-inputs.
15320
15321 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
15322
15323 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
15324 __attribute__ ((__simd__)) for vector math function declarations.
15325
15326 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
15327
15328 Fix typo in strncat, wcsncat manual entries
15329 * manual/string.texi (Copying and Concatenation): Fix typos in
15330 sample implementations of strncat and wcsncat, by having them use
15331 the old value of the destination length, not the new one.
15332
15333 2015-12-04 Joseph Myers <joseph@codesourcery.com>
15334
15335 [BZ #16961]
15336 [BZ #16962]
15337 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
15338 string on the stack for strtod.
15339 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
15340 a string on the stack for strtof.
15341 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
15342 constructing a string on the stack for strtold.
15343 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
15344 __strtold_nan to GLIBC_PRIVATE.
15345 * math/test-nan-overflow.c: New file.
15346 * math/test-nan-payload.c: Likewise.
15347 * math/Makefile (tests): Add test-nan-overflow and
15348 test-nan-payload.
15349
15350 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
15351
15352 Consistency about byte vs character in string.texi
15353 * manual/string.texi (String and Array Utilities):
15354 Distinguish more carefully among bytes, multibyte characters,
15355 and wide characters. Use "byte" when talking about C 'char',
15356 to distinguish it more clearly from multibyte characters.
15357 Say "wide character" or "multibyte character" instead of
15358 "character", when a wide or multibyte character is intended.
15359 Similarly for "multibyte string" versus "string".
15360 Define these terms more carefully.
15361
15362 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
15363
15364 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
15365 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
15366 Likewise.
15367 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15368 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15369 * sysdeps/sh/math_private.h: New file.
15370 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
15371 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
15372 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
15373 long double function name.
15374 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15375 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15376 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15377 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15378 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15380 Remove __finitel, __isinfl, and __isnanl.
15381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15382 Likewise.
15383 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15385 Remove __finitel.
15386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15387 Likewise.
15388 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15389
15390 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
15391
15392 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
15393 installed libmvec_nonshared.a.
15394
15395 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15396
15397 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
15398 (sysdep_routines): Likewise.
15399 (sysdep-rtld-routines): Likewise.
15400 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
15401 [$(subdir) = nptl](tests-static): test-get_hwcap-static
15402 * sysdeps/powerpc/Versions: Added new
15403 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
15404 * sysdeps/powerpc/hwcapinfo.c: New file.
15405 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
15406 and parse hwcap, hwcap2 and platform number information.
15407 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
15408 to store HWCAP+HWCAP2 and platform number.
15409 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
15410 for HWCAP+HWCAP2 and platform number in the TCB.
15411 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
15412 the HWCAP, HWCAP2 and platform number in the TCB.
15413 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
15414 (TLS_INIT_TP): Included calls to add the hwcap and
15415 at_platform values in the TCB in TP initialization.
15416 (TLS_DEFINE_INIT_TP): Likewise.
15417 (THREAD_GET_HWCAP): New macro.
15418 (THREAD_SET_HWCAP): Likewise.
15419 (THREAD_GET_AT_PLATFORM): Likewise.
15420 (THREAD_SET_AT_PLATFORM): Likewise.
15421 * sysdeps/powerpc/powerpc32/dl-machine.h:
15422 (dl_platform_init): New function that calls
15423 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
15424 powerpc32.
15425 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
15426 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
15427 this functionality, static linking case.
15428 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
15429 linking case.
15430 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
15431 __parse_hwcap_and_convert_at_platform for the static linking case.
15432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
15433 Included the new __parse_hwcap_and_convert_at_platform symbol in the
15434 ABI list for GLIBC 2.23.
15435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
15436 Likewise.
15437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
15438 Likewise.
15439
15440 2015-12-02 Ludovic Courtès <ludo@gnu.org>
15441
15442 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
15443 * configure: Regenerate.
15444 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
15445 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
15446
15447 2015-12-02 Carlos O'Donell <carlos@redhat.com>
15448
15449 * iconvdata/ibm930.c: Add comment explaining encoding uses.
15450 * iconvdata/ibm933.c: Likewise.
15451 * iconvdata/ibm935.c: Likewise.
15452 * iconvdata/ibm937.c: Likewise.
15453 * iconvdata/ibm939.c: Likewise.
15454
15455 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15456
15457 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
15458 pthread_join.
15459 * nptl/tst-cancel21.c (tf): Likewise.
15460
15461 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
15462
15463 [BZ #19313]
15464 * bits/typesizes.h (__CPU_MASK_TYPE): New.
15465 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15466 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15467 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
15468 Likewise.
15469 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
15470 Likewise.
15471 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
15472 Likewise.
15473 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
15474 Likewise.
15475 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
15476 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
15477 unsigned long int with __CPU_MASK_TYPE.
15478
15479 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
15480
15481 * sysdeps/aarch64/libm-test-ulps: Regenerated.
15482
15483 2015-12-01 Joseph Myers <joseph@codesourcery.com>
15484
15485 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
15486 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
15487 t512.x.
15488 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
15489
15490 2015-11-30 Amit Pawar <amit.pawar@amd.com>
15491
15492 [BZ #19214]
15493 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
15494 argument to return extended model. Update family and model
15495 with extended family and model when family == 0x0f.
15496 (init_cpu_features): Updated.
15497
15498 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15499
15500 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
15501 signed off_t, so 32bit bigger than 2GiB values are fine actually.
15502
15503 * sysdeps/mach/hurd/mmap64.c: New file.
15504
15505 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
15506
15507 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
15508 rights for its main user thread in NEWTASK.
15509
15510 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
15511
15512 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
15513 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
15514
15515 2015-11-27 Carlos O'Donell <carlos@redhat.com>
15516
15517 [BZ #14259]
15518 * Makeconfig: Rename localedir to complocaledir.
15519 Rename inst_localedir to inst_complocaledir.
15520 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
15521 * config.make.in: Use complocaledir and libc_cv_complocaledir.
15522 * configure.ac: Use libc_cv_complocaledir.
15523 * configure: Regenerate.
15524 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
15525 -DCOMPLOCALEDIR.
15526 * locale/findlocale.c: Use COMPLOCALEDIR.
15527 * locale/loadarchive.c: Likewise.
15528 * locale/programs/locale.c: Likewise.
15529 * locale/programs/localedef.c: Likewise.
15530 * locale/programs/locarchive.c: Likewise.
15531 * localedata/Makefile: Use inst_complocaledir.
15532 * sysdeps/gnu/configure: Regenerate.
15533 * sysdeps/hppa/configure: Regenerate.
15534 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15535 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15537 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15538 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15539 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15540 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15541
15542 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
15543
15544 [BZ #19058]
15545 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
15546 AS_NEEDED.
15547 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
15548 workaround.
15549 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
15550 libmvec-static-only-routines): Added new file.
15551 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
15552
15553 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15554
15555 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
15556 of interrupted RPC instead of restoring it.
15557
15558 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
15559 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
15560 libc_hidden_def.
15561 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
15562 into initialized data instead of common. Define rtld_hidden_data_def.
15563 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
15564 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
15565 libc_hidden_def.
15566 (if_freenameindex): Add libc_hidden_weak.
15567 (if_nameindex): Add libc_hidden_weak.
15568 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
15569 __open64.
15570 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
15571 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
15572 * sysdeps/mach/nanosleep.c: Include <time.h>
15573 (__nanosleep): Rename to __libc_nanosleep.
15574 (__nanosleep): Add weak_alias.
15575 (nanosleep): Update alias.
15576
15577 2015-11-24 Joseph Myers <joseph@codesourcery.com>
15578
15579 * stdlib/strtod_nan.c: New file.
15580 * stdlib/strtod_nan_double.h: Likewise.
15581 * stdlib/strtod_nan_float.h: Likewise.
15582 * stdlib/strtod_nan_main.c: Likewise.
15583 * stdlib/strtod_nan_narrow.h: Likewise.
15584 * stdlib/strtod_nan_wide.h: Likewise.
15585 * stdlib/strtof_nan.c: Likewise.
15586 * stdlib/strtold_nan.c: Likewise.
15587 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
15588 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
15589 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
15590 * wcsmbs/wcstod_nan.c: Likewise.
15591 * wcsmbs/wcstof_nan.c: Likewise.
15592 * wcsmbs/wcstold_nan.c: Likewise.
15593 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
15594 strtold_nan.
15595 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
15596 wcstof_nan.
15597 * include/stdlib.h (__strtof_nan): Declare and use
15598 libc_hidden_proto.
15599 (__strtod_nan): Likewise.
15600 (__strtold_nan): Likewise.
15601 (__wcstof_nan): Likewise.
15602 (__wcstod_nan): Likewise.
15603 (__wcstold_nan): Likewise.
15604 * include/wchar.h (____wcstoull_l_internal): Declare.
15605 * stdlib/strtod_l.c: Do not include <ieee754.h>.
15606 (____strtoull_l_internal): Remove declaration.
15607 (STRTOF_NAN): Define macro.
15608 (SET_MANTISSA): Remove macro.
15609 (STRTOULL): Likewise.
15610 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
15611 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
15612 (STRTOF_NAN): Define macro.
15613 (SET_MANTISSA): Remove macro.
15614 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
15615 (SET_MANTISSA): Remove macro.
15616 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
15617 macro.
15618 (SET_MANTISSA): Remove macro.
15619 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
15620 macro.
15621 (SET_MANTISSA): Remove macro.
15622 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
15623 (SET_MANTISSA): Remove macro.
15624 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
15625 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
15626 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
15627
15628 [BZ #19266]
15629 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
15630 upper case and lower case letters inside NAN(), not using TOLOWER.
15631 * stdlib/tst-strtod-nan-locale-main.c: New file.
15632 * stdlib/tst-strtod-nan-locale.c: Likewise.
15633 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
15634 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
15635 Depend on $(gen-locales).
15636 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
15637 * wcsmbs/tst-wcstod-nan-locale.c: New file.
15638 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
15639 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
15640 Depend on $(gen-locales).
15641 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
15642
15643 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
15644
15645 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
15646
15647 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
15649 __finitel, __isinfl, and __isnanl.
15650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15651 Likewise.
15652 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
15654 __finitel.
15655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15656 Likewise.
15657 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15658
15659 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
15660
15661 * malloc/memusage.c (me): Remove redundant getenv call.
15662
15663 2015-10-24 Florian Weimer <fweimer@redhat.com>
15664
15665 [BZ #19143]
15666 [BZ #19164]
15667 * nptl/check-cpuset.h: Remove.
15668 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
15669 Remove CPU set size check.
15670 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
15671 Likewise.
15672 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
15673 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15674 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
15675 (__pthread_setaffinity_new): Remove CPU set size check.
15676 * sysdeps/unix/sysv/linux/sched_setaffinity.c
15677 (__kernel_cpumask_size): Remove.
15678 (__sched_setaffinity_new): Remove CPU set size check.
15679 * manual/threads.texi (Default Thread Attributes): Remove stale
15680 reference to check_cpuset_attr, determine_cpumask_size in comment.
15681 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
15682 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
15683 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
15684 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
15685 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
15686 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
15687 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
15688 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
15689 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
15690 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
15691 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
15692 skeleton test file.
15693 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
15694 tst-affinity-pid.
15695
15696 2015-11-24 Florian Weimer <fweimer@redhat.com>
15697
15698 * scripts/update-abilist.sh: New file.
15699 * Makefile (+subdir_targets): Add subdir_update-all-abi.
15700 * Makerules (update-all-abi-%, update-all-abi)
15701 (subdir_update-all-abi): New targets.
15702 * elf/Makefile (update-all-abi): New target.
15703
15704 2015-11-24 Florian Weimer <fweimer@redhat.com>
15705
15706 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
15707 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
15708 (__libc_lock_define_initialized): Use it.
15709 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
15710 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
15711 * malloc/malloc.c (main_arena): Likewise.
15712 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15713 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15714
15715 2015-11-23 Joseph Myers <joseph@codesourcery.com>
15716
15717 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15718 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
15719 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15720 (PTRACE_O_MASK): Update value.
15721 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
15722 New value in enum __ptrace_setoptions.
15723 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15724 (PTRACE_O_MASK): Update value.
15725 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15726 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15727 (PTRACE_O_MASK): Update value.
15728 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15729 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15730 (PTRACE_O_MASK): Update value.
15731 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15732 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15733 (PTRACE_O_MASK): Update value.
15734 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
15735 New value in enum __ptrace_setoptions.
15736 (PTRACE_O_MASK): Update value.
15737 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
15738 New value in enum __ptrace_setoptions.
15739 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15740 (PTRACE_O_MASK): Update value.
15741
15742 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
15743 New macro.
15744 (PACKET_AUXDATA): Likewise.
15745 (PACKET_ORIGDEV): Likewise.
15746 (PACKET_VERSION): Likewise.
15747 (PACKET_HDRLEN): Likewise.
15748 (PACKET_RESERVE): Likewise.
15749 (PACKET_TX_RING): Likewise.
15750 (PACKET_LOSS): Likewise.
15751 (PACKET_VNET_HDR): Likewise.
15752 (PACKET_TX_TIMESTAMP): Likewise.
15753 (PACKET_TIMESTAMP): Likewise.
15754 (PACKET_FANOUT): Likewise.
15755 (PACKET_TX_HAS_OFF): Likewise.
15756 (PACKET_QDISC_BYPASS): Likewise.
15757 (PACKET_ROLLOVER_STATS): Likewise.
15758 (PACKET_FANOUT_DATA): Likewise.
15759 (PACKET_MR_UNICAST): Likewise.
15760
15761 [BZ #19242]
15762 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
15763 (TOUPPER): Likewise.
15764 * stdlib/tst-strtol-locale-main.c: New file.
15765 * stdlib/tst-strtol-locale.c: Likewise.
15766 * stdlib/Makefile (tests): Add tst-strtol-locale.
15767 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
15768 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
15769 Depend on $(gen-locales).
15770 * wcsmbs/tst-wcstol-locale.c: New file.
15771 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
15772 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
15773 tr_TR.ISO-8859-9.
15774 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
15775 Depend on $(gen-locales).
15776
15777 2015-11-20 Roland McGrath <roland@hack.frob.com>
15778
15779 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
15780 __glibc_likely instead of __builtin_expect. After falling back to
15781 dyncode_create in a non-ET_DYN case, use the allocate_code_data
15782 system interface to register the code pages as occupied.
15783
15784 2015-11-20 Joseph Myers <joseph@codesourcery.com>
15785
15786 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15787 [!ARM_MATH_PRIVATE_H].
15788 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
15789 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15790 [!HPPA_MATH_PRIVATE_H].
15791 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
15792 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
15793 to [!I386_MATH_PRIVATE_H].
15794 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
15795 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
15796 Change guard to [!M68K_MATH_PRIVATE_H].
15797 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
15798 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
15799 guard to [!MICROBLAZE_MATH_PRIVATE_H].
15800 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
15801 macro.
15802 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15803 [!MIPS_MATH_PRIVATE_H].
15804 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
15805 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15806 [!NIO2_MATH_PRIVATE_H].
15807 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
15808 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15809 [!TILE_MATH_PRIVATE_H].
15810 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
15811
15812 [BZ #15421]
15813 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
15814 initialize with 0 and define as weak alias of __signgam.
15815 * include/math.h [!_ISOMAC] (__signgam): Declare.
15816 * math/Makefile (libm-calls): Add w_lgamma_compat.
15817 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
15818 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
15819 test-signgam-ullong-init.
15820 (tests-static): Add test-signgam-uchar-static,
15821 test-signgam-uchar-init-static, test-signgam-uint-static,
15822 test-signgam-uint-init-static, test-signgam-ullong-static and
15823 test-signgam-ullong-init-static.
15824 (CFLAGS-test-signgam-uchar.c): New variable.
15825 (CFLAGS-test-signgam-uchar-init.c): Likewise.
15826 (CFLAGS-test-signgam-uchar-static.c): Likewise.
15827 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15828 (CFLAGS-test-signgam-uint.c): Likewise.
15829 (CFLAGS-test-signgam-uint-init.c): Likewise.
15830 (CFLAGS-test-signgam-uint-static.c): Likewise.
15831 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15832 (CFLAGS-test-signgam-ullong.c): Likewise.
15833 (CFLAGS-test-signgam-ullong-init.c): Likewise.
15834 (CFLAGS-test-signgam-ullong-static.c): Likewise.
15835 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15836 * math/Versions (libm): Add GLIBC_2.23.
15837 * math/lgamma-compat.h: New file.
15838 * math/test-signgam-main.c: Likewise.
15839 * math/test-signgam-uchar-init-static.c: Likewise.
15840 * math/test-signgam-uchar-init.c: Likewise.
15841 * math/test-signgam-uchar-static.c: Likewise.
15842 * math/test-signgam-uchar.c: Likewise.
15843 * math/test-signgam-uint-init-static.c: Likewise.
15844 * math/test-signgam-uint-init.c: Likewise.
15845 * math/test-signgam-uint-static.c: Likewise.
15846 * math/test-signgam-uint.c: Likewise.
15847 * math/test-signgam-ullong-init-static.c: Likewise.
15848 * math/test-signgam-ullong-init.c: Likewise.
15849 * math/test-signgam-ullong-static.c: Likewise.
15850 * math/test-signgam-ullong.c: Likewise.
15851 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
15852 wrapper of w_lgamma_main.c.
15853 * math/w_lgamma_compat.c: New file.
15854 * math/w_lgamma_compatf.c: Likewise.
15855 * math/w_lgamma_compatl.c: Likewise.
15856 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
15857 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15858 defining compatibility symbols.
15859 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
15860 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
15861 wrapper of w_lgammaf_main.c.
15862 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
15863 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15864 defining compatibility symbols.
15865 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
15866 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
15867 wrapper of w_lgammal_main.c.
15868 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
15869 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15870 defining compatibility symbols.
15871 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
15872 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
15873 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
15874 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
15875 <lgamma-compat.h>.
15876 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
15877 (__ieee754_gamma): Define as alias.
15878 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
15879 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
15880 <lgamma-compat.h>.
15881 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
15882 (__ieee754_gammaf): Define as alias.
15883 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15884 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
15885 <lgamma-compat.h>.
15886 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
15887 (__ieee754_gammal): Define as alias.
15888 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15889 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
15890 <math/w_lgamma_compat.c>.
15891 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15892 Define as alias of __lgamma_compat and use in defining lgammal.
15893 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15894 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
15895 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15896 (USE_AS_COMPAT): New macro.
15897 (LGAMMA_OLD_VER): Undefine and redefine.
15898 (lgammal): Do not define here.
15899 (gammal): Only define here if [GAMMA_ALIAS].
15900 * conform/linknamespace.pl (@whitelist): Remove signgam.
15901 * sysdeps/nacl/libm.abilist: Update.
15902 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15903 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15904 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15905 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15906 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15907 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15908 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15909 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15910 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15911 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15912 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15913 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15915 Likewise.
15916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15917 Likewise.
15918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15919 Likewise.
15920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15921 Likewise.
15922 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15923 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15924 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15925 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15926 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15928 Likewise.
15929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15930 Likewise.
15931 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15932 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15933 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15934
15935 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15936
15937 [BZ #16364]
15938 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15939 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15940
15941 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15942
15943 * sysdeps/s390/fpu/bits/mathinline.h:
15944 Use __asm__ [__volatile__] instead of asm [volatile].
15945 * sysdeps/s390/abort-instr.h: Likewise.
15946 * sysdeps/s390/atomic-machine.h: Likewise.
15947 * sysdeps/s390/bits/string.h: Likewise.
15948 * sysdeps/s390/dl-tls.h: Likewise.
15949 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15950 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15951 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15952 * sysdeps/s390/fpu/fesetround.c: Likewise.
15953 * sysdeps/s390/fpu/fpu_control.h: Likewise.
15954 * sysdeps/s390/fpu/s_fma.c: Likewise.
15955 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15956 * sysdeps/s390/memusage.h: Likewise.
15957 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15958 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15959 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15960 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15961 * sysdeps/s390/nptl/tls.h: Likewise.
15962 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15963 * sysdeps/s390/s390-32/backtrace.c: Likewise.
15964 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15965 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15966 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15967 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15968 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15969 * sysdeps/s390/s390-64/backtrace.c: Likewise.
15970 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15971 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15972 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15973 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15974 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15975 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15976 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15977 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15978 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15979 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15980 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15981 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15982 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15983 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15984 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15985
15986 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15987 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15988
15989 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15990 Add lwarx hint, and use macro for acquire instruction.
15991 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15992 Likewise.
15993 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15994 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15995 update to use new atomic macros.
15996
15997 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15998
15999 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16000 (__lll_trylock_elision): Fix setting of adapt_count.
16001 * sysdeps/unix/sysv/linux/powerpc/htm.h
16002 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
16003 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
16004 (_ABORT_SYSCALL): Renumber, and clarify definition.
16005 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
16006
16007 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16008
16009 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
16010 after system headers to prevent MIN/MAX redefinition. Define
16011 HAVE_ALLOCA to preserve builtin alloca usage.
16012
16013 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
16014
16015 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
16016 static and don't set or restore rounding.
16017 (__cos)[IN_SINCOS]: Likewise.
16018 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
16019 (__sincos): Set and restore rounding mode. Remove check for infinite
16020 or NaN input.
16021
16022 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
16023
16024 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
16025 as used.
16026
16027 2015-11-16 Florian Weimer <fweimer@redhat.com>
16028
16029 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
16030
16031 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
16032
16033 * config.make.in (have-glob-dat-reloc): New.
16034 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
16035 target supports GLOB_DAT relocaton. AC_SUBST.
16036 * configure: Regenerated.
16037 * elf/Makefile (tests): Add tst-prelink.
16038 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
16039 (tst-prelink-ENV): New.
16040 ($(objpfx)tst-prelink-conflict.out): Likewise.
16041 ($(objpfx)tst-prelink-cmp.out): Likewise.
16042 * sysdeps/x86/tst-prelink.c: Moved to ...
16043 * elf/tst-prelink.c: Here.
16044 * sysdeps/x86/tst-prelink.exp: Moved to ...
16045 * elf/tst-prelink.exp: Here.
16046 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
16047 (tst-prelink-ENV): Removed.
16048 ($(objpfx)tst-prelink-conflict.out): Likewise.
16049 ($(objpfx)tst-prelink-cmp.out): Likewise.
16050 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
16051
16052 2015-11-13 Joseph Myers <joseph@codesourcery.com>
16053
16054 [BZ #14551]
16055 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
16056 (__mpn_construct_long_double): If high part overflows to infinity,
16057 set errno and recompute overflowed result of the correct sign.
16058 * sysdeps/ieee754/ldbl-128ibm/Makefile
16059 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
16060 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
16061 $(libm).
16062 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
16063
16064 2015-11-12 Joseph Myers <joseph@codesourcery.com>
16065
16066 [BZ #15479]
16067 [BZ #19238]
16068 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
16069 floating-point state after first operation on input. Restore full
16070 state rather than just rounding mode.
16071 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
16072 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
16073 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
16074
16075 [BZ #19235]
16076 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
16077 add 0.5 to integer arguments.
16078 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
16079 Likewise.
16080 (.LC2): New object.
16081
16082 2015-11-11 Mike Frysinger <vapier@gentoo.org>
16083
16084 * scripts/pylintrc (reports): Set to no.
16085
16086 2015-11-10 Roland McGrath <roland@hack.frob.com>
16087
16088 * elf/dl-load.c (open_verify): Take new argument FD.
16089 Skip __open call if passed FD is not -1.
16090 (_dl_map_object, open_path): Update callers.
16091 * elf/dl-sysdep-open.h: New file.
16092 * elf/dl-load.c: Include it.
16093 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
16094 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
16095 * sysdeps/nacl/dl-sysdep-open.h: New file.
16096 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
16097 from libc to rtld.
16098
16099 2015-11-10 Joseph Myers <joseph@codesourcery.com>
16100
16101 [BZ #19228]
16102 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
16103 and restore full floating-point state.
16104 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16105 Likewise.
16106 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
16107 Likewise.
16108 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
16109 Likewise.
16110 * math/test-nearbyint-except-2.c: New file.
16111 * math/Makefile (tests): Add test-nearbyint-except-2.
16112
16113 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
16114
16115 [BZ #19178]
16116 * sysdeps/x86/Makefile (tests): Add tst-prelink.
16117 (tst-prelink-ENV): New.
16118 ($(objpfx)tst-prelink-conflict.out): Likewise.
16119 ($(objpfx)tst-prelink-cmp.out): Likewise.
16120 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
16121 * sysdeps/x86/tst-prelink.c: New file.
16122 * sysdeps/x86/tst-prelink.exp: Likewise.
16123
16124 2015-11-10 Joseph Myers <joseph@codesourcery.com>
16125
16126 * math/auto-libm-test-in: Add another test of pow.
16127 * math/auto-libm-test-out: Regenerated.
16128 * math/libm-test.inc (pow_test_data): Add another test.
16129
16130 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16131
16132 [BZ #19219]
16133 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
16134 weak_alias to nearbyintl.
16135
16136 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
16137
16138 * sysdeps/aarch64/bits/string.h: New file.
16139 (_STRING_ARCH_unaligned): Define.
16140
16141 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
16142
16143 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
16144 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
16145 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
16146 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
16147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
16148
16149 2015-11-09 Ulrich Drepper <drepper@gmail.com>
16150
16151 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
16152 for original name of the DSO. Add it to the name list of the DSO
16153 if it is actually given.
16154 (_dl_map_object): Keep track of whether an audit module rewrote
16155 the file name. If yes, pass the original name to
16156 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
16157 debugging is enabled, log the change of the file name.
16158 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
16159 _dl_map_object_from_fd.
16160 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
16161 * elf/tst-audit11.c: New file
16162 * elf/tst-auditmod11.c: New file.
16163 * elf/tst-audit11mod1.c: New file.
16164 * elf/tst-audit11mod2.c: New file.
16165 * elf/tst-audit11mod2.map: New file.
16166 * elf/tst-audit12.c: New file
16167 * elf/tst-auditmod12.c: New file.
16168 * elf/tst-audit12mod1.c: New file.
16169 * elf/tst-audit12mod2.c: New file.
16170 * elf/tst-audit12mod2.map: New file.
16171 * elf/tst-audit12mod3.c: New file.
16172
16173 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
16174
16175 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
16176 Don't create weak aliases,
16177 because versioned symbols are created later.
16178 * sysdeps/s390/s390-32/setjmp.S
16179 (setjmp, _setjmp): Remove weak and rename to an unique name
16180 in SHARED case due to existing versioned symbols.
16181 * sysdeps/s390/s390-64/setjmp.S: Likewise.
16182 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
16183 (getcontext): Create weak alias only in non SHARED case.
16184 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16185
16186 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
16187
16188 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
16189 (__ASSUME_*_SYSCALL) Define new macros.
16190 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
16191 Remove socketcall syscalls.
16192 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
16193 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
16194 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
16195 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
16196 * sysdeps/unix/sysv/linux/send.c (__libc_send):
16197 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
16198
16199 2015-11-09 Florian Weimer <fweimer@redhat.com>
16200
16201 [BZ #12926]
16202 Terminate process on invalid netlink response.
16203 * sysdeps/unix/sysv/linux/netlinkaccess.h
16204 (__netlink_assert_response): Declare.
16205 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
16206 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
16207 (sysdep_routines): Add netlink_assert_response.
16208 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
16209 __netlink_assert_response.
16210 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
16211 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
16212 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
16213 __netlink_assert_response.
16214
16215 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
16216
16217 [BZ #19178]
16218 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
16219 (RTYPE_CLASS_PLT): Likewise.
16220 (RTYPE_CLASS_COPY): Likewise.
16221 (RTYPE_CLASS_TLS): Likewise.
16222 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
16223 to set relocation type class for DL_DEBUG_PRELINK. Keep only
16224 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
16225 DL_DEBUG_PRELINK.
16226
16227 2015-11-06 Joseph Myers <joseph@codesourcery.com>
16228
16229 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
16230 calls with argument -0.5.
16231 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
16232
16233 * configure.ac (libc_cv_z_nodelete): Remove configure test.
16234 (libc_cv_z_nodlopen): Likewise.
16235 (libc_cv_z_initfirst): Likewise.
16236 * configure: Regenerated.
16237
16238 2015-11-06 Florian Weimer <fweimer@redhat.com>
16239
16240 Simplify abilist format to be line-based.
16241 * scripts/abilist.awk: Collect descriptors in the descs variable.
16242 (emit): Write descs variable and sort it
16243 externally, with sort.
16244 * sysdeps/**/*.abilist: Convert to new format.
16245
16246 2015-11-06 Mark Wielaard <mjw@redhat.com>
16247
16248 [BZ #11460]
16249 * io/Makefile (routines): Add fts64.
16250 (tests): Add tst-fts and tst-fts-lfs.
16251 (CFLAGS-fts64.c): New.
16252 * io/Versions (GLIBC_2.23): New.
16253 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
16254 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
16255 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
16256 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
16257 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
16258 (FTSENT64): Likewise.
16259 (fts64_children): Likewise.
16260 (fts64_close): Likewise.
16261 (fts64_open): Likewise.
16262 (fts64_read): Likewise.
16263 (fts64_set): Likewise.
16264 * io/fts64.c: New file.
16265 * io/tst-fts.c: New test.
16266 * io/tst-fts-lfs.c: Likewise.
16267 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
16268 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
16269 fts64_set.
16270 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16271 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16272 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16273 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16274 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16275 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16276 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16277 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16278 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16279 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16280 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16281 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16282 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16284 Likewise.
16285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16286 Likewise.
16287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16289 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16290 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16291 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16292 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16293 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16296 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16297 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16298 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16299 * sysdeps/wordsize-64/fts.c: New file.
16300 * sysdeps/wordsize-64/fts64.c: Likewise.
16301 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
16302 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
16303 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
16304 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
16305
16306 2015-11-05 Joseph Myers <joseph@codesourcery.com>
16307
16308 * math/libm-test.inc (NON_FINITE): New macro.
16309 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
16310 * math/gen-libm-test.pl (show_exceptions): Add argument
16311 $non_finite.
16312 (parse_args): Update call to show_exceptions.
16313 * math/test-math-finite.h: New file.
16314 * math/test-math-no-finite.h: Likewise.
16315 * math/test-double-finite.c: Likewise.
16316 * math/test-float-finite.c: Likewise.
16317 * math/test-ldouble-finite.c: Likewise.
16318 * math/test-double.c: Include "test-math-no-finite.h".
16319 * math/test-float.c: Include "test-math-no-finite.h".
16320 * math/test-ldouble.c: Include "test-math-no-finite.h".
16321 * math/test-math-inline.h (TEST_FINITE): New macro.
16322 * math/test-math-vector.h (TEST_FINITE): Likewise.
16323 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
16324 (libm-tests): Add test-float-finite and test-double-finite.
16325 ($(objpfx)test-float-finite.o): New dependency on
16326 $(objpfx)libm-test.stmp.
16327 ($(objpfx)test-double-finite.o): Likewise.
16328 ($(objpfx)test-ldouble-finite.o): Likewise.
16329 (libm-test-no-inline-cflags): New variable.
16330 (libm-test-finite-cflags): Likewise.
16331 (CFLAGS-test-float-finite.c): Likewise.
16332 (CFLAGS-test-double-finite.c): Likewise.
16333 (CFLAGS-test-ldouble-finite.c): Likewise.
16334 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
16335 (CFLAGS-test-double.c): Likewise.
16336 (CFLAGS-test-ldouble.c): Likewise.
16337
16338 2015-11-05 Roland McGrath <roland@hack.frob.com>
16339
16340 * io/fcntl.c (__fcntl): Add ... to prototype.
16341 * misc/ioctl.c (__ioctl): Likewise.
16342 * misc/syscall.c (syscall): Likewise.
16343
16344 2015-11-05 Joseph Myers <joseph@codesourcery.com>
16345
16346 * scripts/list-fixed-bugs.py: New file.
16347
16348 [BZ #19213]
16349 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
16350 returned for argument 1.
16351 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
16352 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
16353 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
16354 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
16355 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
16356 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
16357
16358 [BZ #19211]
16359 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
16360 __USE_XOPEN], not if [!__USE_ISOC99].
16361 (lgammaf): Likewise.
16362 (lgammal): Likewise.
16363 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
16364 (gammaf): Likewise.
16365 (gammal): Likewise.
16366 * math/test-signgam-finite-c11.c: New file.
16367 * math/test-signgam-finite-c99.c: Likewise.
16368 * math/test-signgam-finite.c: Likewise.
16369 * math/Makefile (tests): Add test-signgam-finite,
16370 test-signgam-finite-c99 and test-signgam-finite-c11.
16371 (CFLAGS-test-signgam-finite.c): New variable.
16372 (CFLAGS-test-signgam-finite-c99.c): Likewise.
16373 (CFLAGS-test-signgam-finite-c11.c): Likewise.
16374
16375 [BZ #19212]
16376 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
16377 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
16378 500].
16379 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
16380 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
16381 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
16382 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
16383 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
16384 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
16385 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
16386 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
16387 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
16388 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
16389
16390 [BZ #19209]
16391 * math/bits/math-finite.h (ldexp): Remove declaration.
16392 (ldexpf): Likewise.
16393 (ldexpl): Likewise.
16394
16395 [BZ #19205]
16396 * math/bits/math-finite.h (acosf): Condition declaration on
16397 [__USE_ISOC99].
16398 (acosl): Likewise.
16399 (acoshf): Likewise.
16400 (acoshl): Likewise.
16401 (asinf): Likewise.
16402 (asinl): Likewise.
16403 (atan2f): Likewise.
16404 (atan2l): Likewise.
16405 (atanhf): Likewise.
16406 (atanhl): Likewise.
16407 (coshf): Likewise.
16408 (coshl): Likewise.
16409 (expf): Likewise.
16410 (expl): Likewise.
16411 (fmodf): Likewise.
16412 (fmodl): Likewise.
16413 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
16414 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
16415 (j0l): Likewise.
16416 (y0f): Likewise.
16417 (y0l): Likewise.
16418 (j1f): Likewise.
16419 (j1l): Likewise.
16420 (y1f): Likewise.
16421 (y1l): Likewise.
16422 (jnf): Likewise.
16423 (jnl): Likewise.
16424 (ynf): Likewise.
16425 (ynl): Likewise.
16426 (lgammaf_r): Condition declaration on [__USE_ISOC99].
16427 (lgammal_r): Likewise.
16428 (__lgamma_r_finite): New declaration.
16429 (__lgammaf_r_finite): Likewise.
16430 (__lgammal_r_finite): Likewise.
16431 (lgamma): Use __lgamma_r_finite.
16432 (lgammaf): Condition definition on [__USE_ISOC99]. Use
16433 __lgammaf_r_finite.
16434 (lgammal): Condition definition on [__USE_ISOC99]. Use
16435 __lgammal_r_finite.
16436 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
16437 __lgamma_r_finite.
16438 (gammaf): Condition definition on [__USE_ISOC99]. Use
16439 __lgammaf_r_finite.
16440 (gammal): Condition definition on [__USE_ISOC99]. Use
16441 __lgammal_r_finite.
16442 (logf): Condition declaration on [__USE_ISOC99].
16443 (logl): Likewise.
16444 (log10f): Likewise.
16445 (log10l): Likewise.
16446 (ldexpf): Likewise.
16447 (ldexpl): Likewise.
16448 (powf): Likewise.
16449 (powl): Likewise.
16450 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
16451 __USE_ISOC99].
16452 (remainderf): Condition declaration on [__USE_ISOC99].
16453 (remainderl): Likewise.
16454 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
16455 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
16456 (scalbl): Likewise.
16457 (sinhf): Condition declaration on [__USE_ISOC99].
16458 (sinhl): Likewise.
16459 (sqrtf): Likewise.
16460 (sqrtl): Likewise.
16461
16462 2015-11-04 Joseph Myers <joseph@codesourcery.com>
16463
16464 * sysdeps/arm/atomic-machine.h
16465 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16466 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16467 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
16468 Remove conditional code.
16469 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16470 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16471 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
16472 Change conditional to [__ASSEMBLER__].
16473 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16474 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
16475 [!__ASSEMBLER__].
16476 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
16477 code.
16478 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
16479 conditional macro definitions.
16480 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
16481 (__arch_compare_and_exchange_val_16_acq): Likewise.
16482 (__arch_compare_and_exchange_val_32_acq): Likewise.
16483 (atomic_exchange_and_add): Likewise.
16484 (atomic_add): Likewise.
16485 (atomic_add_negative): Likewise.
16486 (atomic_add_zero): Likewise.
16487 (atomic_bit_set): Likewise.
16488 (atomic_bit_test_set): Likewise.
16489 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
16490 code unconditional.
16491 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16492
16493 * math/test-math-errno.h: New file.
16494 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
16495 empty.
16496 (TEST_ERRNO): New macro.
16497 (TEST_EXCEPTIONS): Likewise.
16498 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
16499 (TEST_EXCEPTIONS): Likewise.
16500 * math/test-math-vector.h (TEST_ERRNO): Likewise.
16501 * math/test-double.c: Include "test-math-errno.h".
16502 * math/test-float.c: Likewise.
16503 * math/test-ldouble.c: Likewise.
16504 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
16505 code unconditional.
16506 (test_exceptions): Only run code if TEST_EXCEPTIONS.
16507 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
16508 unconditional.
16509 (test_errno): Only run code if TEST_ERRNO.
16510 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
16511
16512 2015-11-04 Florian Weimer <fweimer@redhat.com>
16513
16514 * nptl/tst-once5.cc: Remove attribution.
16515
16516 2015-11-04 Joseph Myers <joseph@codesourcery.com>
16517
16518 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
16519 sqrt, tan, tanh, y0, y1 and yn.
16520 * math/auto-libm-test-out: Regenerated.
16521 * math/libm-test.inc (scalb_test_data): Add more tests.
16522 (scalbn_test_data): Likewise.
16523 (scalbln_test_data): Likewise.
16524 (signbit_test_data): Likewise.
16525 (sin_test_data): Likewise.
16526 (sincos_test_data): Likewise.
16527 (sinh_test_data): Likewise.
16528 (sqrt_test_data): Likewise.
16529 (tan_test_data): Likewise.
16530 (tanh_test_data): Likewise.
16531 (tgamma_test_data): Likewise.
16532 (y0_test_data): Likewise.
16533 (y1_test_data): Likewise.
16534 (yn_test_data): Likewise.
16535 (significand_test_data): Likewise.
16536 * sysdeps/i386/fpu/libm-test-ulps: Update.
16537
16538 2015-11-03 David Kastrup <dak@gnu.org>
16539
16540 [BZ #18604]
16541 * assert/assert.h (assert): Don't macro-expand failed assertion
16542 expression in error message.
16543 * malloc/malloc.c (assert): Likewise.
16544
16545 2015-11-03 Joseph Myers <joseph@codesourcery.com>
16546
16547 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
16548 test.
16549 * configure: Regenerated.
16550
16551 2015-11-02 Joseph Myers <joseph@codesourcery.com>
16552
16553 * math/libm-test.inc (modf_test_data): Add more tests.
16554 (nearbyint_test_data): Likewise.
16555 (nextafter_test_data): Likewise.
16556 (nexttoward_test_data): Likewise.
16557 (pow_test_data): Likewise.
16558 (remainder_test_data): Likewise.
16559 (remquo_test_data): Likewise.
16560 (rint_test_data): Likewise.
16561
16562 [BZ #19201]
16563 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16564 Check for zero remainder in case of large exponents and ensure
16565 correct sign of result in that case.
16566 * math/libm-test.inc (remainder_test_data): Add more tests.
16567
16568 [BZ #6799]
16569 * math/s_nextafter.c: Include <errno.h>.
16570 (__nextafter): Set errno on overflow and underflow.
16571 * math/s_nexttowardf.c: Include <errno.h>.
16572 (__nexttowardf): Set errno on overflow and underflow.
16573 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
16574 (__nextafterl): Set errno on overflow and underflow.
16575 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
16576 (__nexttoward): Set errno on overflow and underflow.
16577 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
16578 (__nexttowardf): Set errno on overflow and underflow.
16579 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
16580 (__nextafterf): Set errno on overflow and underflow.
16581 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
16582 (__nextafterl): Set errno on overflow and underflow.
16583 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
16584 (__nexttoward): Set errno on overflow and underflow.
16585 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
16586 (__nexttowardf): Set errno on overflow and underflow.
16587 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
16588 (__nextafterl): Set errno on overflow and underflow.
16589 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
16590 (__nexttoward): Set errno on overflow and underflow.
16591 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
16592 (__nexttowardf): Set errno on overflow and underflow.
16593 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
16594 (__nexttoward): Set errno on overflow and underflow.
16595 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
16596 (__nexttowardf): Set errno on overflow and underflow.
16597 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
16598 (__nldbl_nexttowardf): Set errno on overflow and underflow.
16599 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
16600 (__nextafterl): Set errno on overflow and underflow.
16601 * math/libm-test.inc (nextafter_test_data): Do not allow errno
16602 setting to be missing on overflow. Add more tests.
16603 (nexttoward_test_data): Likewise.
16604
16605 * configure.ac (libc_cv_initfini_array): Remove configure test.
16606 * configure: Regenerated.
16607
16608 2015-10-29 Joseph Myers <joseph@codesourcery.com>
16609
16610 [BZ #19189]
16611 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
16612 non-finite argument handle arguments with negative sign.
16613
16614 * math/libm-test.inc (j0_test_data): Do not test sign of zero
16615 result from infinite argument.
16616 (j1_test_data): Likewise.
16617 (jn_test_data): Likewise.
16618 (y0_test_data): Likewise.
16619 (y1_test_data): Likewise.
16620 (yn_test_data): Likewise.
16621
16622 [BZ #16171]
16623 * math/w_remainder.c (drem): Define as weak alias of __remainder.
16624 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
16625 * math/w_remainderf.c (dremf): Define as weak alias of
16626 __remainderf.
16627 * math/w_remainderl.c (dreml): Define as weak alias of
16628 __remainderl.
16629 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
16630 __remainder.
16631 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
16632 __remainderf.
16633 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
16634 __remainderl.
16635 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
16636 weak alias of remainderl.
16637 * sysdeps/ieee754/ldbl-opt/w_remainder.c
16638 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
16639 alias of __remainder.
16640 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
16641 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
16642 strong alias of __remainderl.
16643 (dreml): Use long_double_symbol.
16644 * math/Makefile (libm-calls): Remove w_drem.
16645 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
16646 (CFLAGS-nldbl-drem.c): Remove variable.
16647 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
16648 * math/w_drem.c: Remove file.
16649 * math/w_dremf.c: Likewise.
16650 * math/w_dreml.c: Likewise.
16651 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
16652 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
16653 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
16654
16655 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
16656 * sysdeps/i386/configure: Regenerated.
16657 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
16658 * sysdeps/x86_64/configure: Regenerated.
16659
16660 * configure.ac (libc_cv_asm_protected_directive): Remove configure
16661 test.
16662 (libc_cv_visibility_attribute): Likewise.
16663 (libc_cv_protected_data): Test unconditionally.
16664 (libc_cv_broken_visibility_attribute): Remove configure test.
16665 (libc_cv_have_sdata_section): Test unconditionally.
16666 * configure: Regenerated.
16667
16668 * include/libc-internal.h (libc_max_align_t): Remove typedef.
16669 * include/scratch_buffer.h: Include <stddef.h> instead of
16670 <libc-internal.h>.
16671 (struct scratch_buffer): Use max_align_t instead of
16672 libc_max_align_t.
16673
16674 2015-10-29 Florian Weimer <fweimer@redhat.com>
16675
16676 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
16677 instead of extend_alloca. Change control flow to avoid a goto.
16678 Remove assert which is trivially always true.
16679
16680 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16681
16682 [BZ #16068]
16683 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
16684 (FE_ALL_EXCEPT_X86): New macro.
16685 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16686 FE_ALL_EXCEPT. Ensure precision control is included in
16687 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16688 handle "denormal operand exception" and clear FZ and DAZ bits.
16689 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
16690 (FE_ALL_EXCEPT_X86): New macro.
16691 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16692 FE_ALL_EXCEPT. Ensure precision control is included in
16693 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16694 handle "denormal operand exception" and clear FZ and DAZ bits.
16695 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
16696 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
16697 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16698 test-fenv-x87 and test-fenv-sse-2.
16699 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
16700
16701 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
16702 * math/test-double.h (BUILD_COMPLEX): New macro.
16703 * math/test-float.h (BUILD_COMPLEX): Likewise.
16704 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
16705
16706 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
16707 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
16708 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
16709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
16710 instead of DBL_DENORM_MIN in comment.
16711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
16712 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16713 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
16714 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
16715 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
16716 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16717
16718 2015-10-28 Florian Weimer <fweimer@redhat.com>
16719
16720 [BZ# 19048]
16721 * malloc/malloc.c (struct malloc_state): Update comment. Add
16722 attached_threads member.
16723 (main_arena): Initialize attached_threads.
16724 * malloc/arena.c (list_lock): Update comment.
16725 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
16726 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
16727 (deattach_arena): New function.
16728 (_int_new_arena): Initialize arena reference count and deattach
16729 replaced arena.
16730 (get_free_list, reused_arena): Update reference count and deattach
16731 replaced arena.
16732 (arena_thread_freeres): Update arena reference count and only put
16733 unreferenced arenas on the free list.
16734
16735 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16736
16737 [BZ #19181]
16738 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
16739 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
16740 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
16741 * math/test-fenv-clear-main.c: New file.
16742 * math/test-fenv-clear.c: Likewise.
16743 * math/Makefile (tests): Add test-fenv-clear.
16744 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
16745 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16746 test-fenv-clear-sse.
16747 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
16748
16749 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
16750 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
16751 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
16752
16753 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16754
16755 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
16756 static libc.
16757
16758 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16759
16760 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
16761 test.
16762 * sysdeps/i386/configure: Regenerated.
16763 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
16764 test.
16765 * sysdeps/x86_64/configure: Regenerated.
16766 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
16767 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16768 memset-avx2 unconditionally instead of conditionally on
16769 [$(config-cflags-avx2) = yes].
16770 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16771 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
16772 unconditional.
16773 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
16774 * sysdeps/x86_64/multiarch/memset_chk.S
16775 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
16776 to [IS_IN (libc) && SHARED].
16777
16778 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16779
16780 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
16781 configure test.
16782 * sysdeps/arm/configure: Regenerated.
16783 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
16784 Define variable if not already defined.
16785
16786 [BZ #17404]
16787 * sysdeps/mips/atomic-machine.h
16788 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
16789 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
16790 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16791
16792 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
16793 unconditional.
16794 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
16795 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16796 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
16797 unconditional.
16798 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16799 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
16800 unconditional.
16801 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16802 * stdlib/setenv.c
16803 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
16804 code unconditional.
16805 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
16806 Remove conditional code.
16807 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
16808 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
16809 unconditional.
16810 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16811 code.
16812 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
16813 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
16814 unconditional.
16815 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16816 code.
16817 * sysdeps/ieee754/ldbl-128/k_tanl.c
16818 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16819 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16820 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
16821 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16822 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16823 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
16824 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
16825 unconditional.
16826 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16827 code.
16828 * sysdeps/ieee754/ldbl-96/k_tanl.c
16829 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16830 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16831
16832 * nptl/tst-initializers1-c11.c: New file.
16833 * nptl/tst-initializers1-gnu11.c: Likewise.
16834 * nptl/Makefile (tests): Add these new tests.
16835 (CFLAGS-tst-initializers1-c11.c): New variable.
16836 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16837
16838 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
16839 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
16840 instead of -std=gnu99.
16841 * configure.ac (systemtap): Test with -std=gnu11 instead of
16842 -std=gnu99.
16843 * configure: Regenerated.
16844 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
16845 in compilation command in comment.
16846
16847 * sysdeps/nptl/configure.ac: Remove file.
16848 * sysdeps/nptl/configure: Remove generated file.
16849 * configure.ac (libc_cv_forced_unwind): Do not substitute.
16850 * configure: Regenerated.
16851 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
16852 * config.make.in (have-forced-unwind): Remove variable.
16853 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16854 unconditional.
16855 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
16856 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
16857 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
16858 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
16859 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16860 unconditional.
16861
16862 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16863
16864 [BZ #19174]
16865 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
16866 .skip_lock_out_of_tbegin_retries.
16867 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16868 (__lll_lock_elision): Likewise, and respect a value of
16869 try_tbegin <= 0.
16870
16871 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16872
16873 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
16874 statement.
16875
16876 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16877
16878 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
16879 variable.
16880 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16881 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16882
16883 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16884 of -std=c1x -D_ISOC11_SOURCE.
16885
16886 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16887 * configure: Regenerated.
16888 * manual/install.texi (Tools for Compilation): Document
16889 requirement for GCC 4.7 or later.
16890 * INSTALL: Regenerated.
16891
16892 2015-10-27 Ludovic Courtès <ludo@gnu.org>
16893
16894 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16895 on CNT to a conditional jump to 'puntdata'.
16896
16897 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16898
16899 * configure.ac (libc_cv_gcc___thread): Remove configure test.
16900 (libc_cv_gcc_tls_model_attr): Likewise.
16901 * configure: Regenerated.
16902
16903 * configure.ac (libc_cv_need_minus_P): Remove configure test.
16904 * configure: Regenerated.
16905 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16906
16907 2015-10-26 Joseph Myers <joseph@codesourcery.com>
16908
16909 * configure.ac (old_glibc_headers): Remove configure test.
16910 * configure: Regenerated.
16911 * config.make.in (old-glibc-headers): Remove variable.
16912 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16913 (install): Remove dependency on remove-old-headers.
16914 (headers2_0): Remove variable.
16915 (remove-old-headers): Remove rule.
16916
16917 * configure.ac (libc_cv_dot_text): Remove configure test.
16918 (libc_cv_asm_set_directive): Use .text instead of
16919 ${libc_cv_dot_text} in configure test.
16920 * configure: Regenerated.
16921
16922 2015-10-26 Florian Weimer <fweimer@redhat.com>
16923
16924 [BZ #19168]
16925 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16926
16927 2015-10-26 Florian Weimer <fweimer@redhat.com>
16928
16929 * configure.ac (CXX): Clear the variable if the C++ toolchain does
16930 not support static linking.
16931 * configure: Regenerate.
16932
16933 2015-10-23 Joseph Myers <joseph@codesourcery.com>
16934
16935 * math/libm-test.inc (check_float_internal): Do not special-case
16936 errors up to 0.5 ulp.
16937
16938 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16939 log2.
16940 * math/auto-libm-test-out: Regenerated.
16941 * math/libm-test.inc (MAX_EXP): New macro.
16942 (ilogb_test_data): Add more tests.
16943 (isfinite_test_data): Likewise.
16944 (isgreater_test_data): Likewise.
16945 (isgreaterequal_test_data): Likewise.
16946 (isinf_test_data): Likewise.
16947 (isless_test_data): Likewise.
16948 (islessequal_test_data): Likewise.
16949 (islessgreater_test_data): Likewise.
16950 (isnan_test_data): Likewise.
16951 (isnormal_test_data): Likewise.
16952 (issignaling_test_data): Likewise.
16953 (isunordered_test_data): Likewise.
16954 (j0_test_data): Likewise.
16955 (j1_test_data): Likewise.
16956 (jn_test_data): Likewise.
16957 (lgamma_test_data): Likewise.
16958 (log_test_data): Likewise.
16959 (log10_test_data): Likewise.
16960 (log1p_test_data): Likewise.
16961 (log2_test_data): Likewise.
16962 (logb_test_data): Likewise.
16963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16964
16965 [BZ #18611]
16966 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16967 avoid excess range and precision on underflow.
16968 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16969 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16970 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16971 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16972 underflow.
16973 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16974 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16975 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16976 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16977 * math/auto-libm-test-in: Do not allow missing errno setting for
16978 tests of j1 and jn.
16979 * math/auto-libm-test-out: Regenerated.
16980
16981 2015-10-22 Joseph Myers <joseph@codesourcery.com>
16982
16983 [BZ #15491]
16984 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16985 floating-point environment instead of clearing all exceptions.
16986 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16987 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16988 merging in "invalid" exceptions from frndint.
16989 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16990 * math/test-nearbyint-except.c: New file.
16991 * math/Makefile (tests): Add test-nearbyint-except.
16992
16993 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
16994
16995 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16996
16997 * sysdeps/tile/libm-test-ulps: Regenerated.
16998
16999 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17000
17001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
17002 (__NR_sync_file_range2): Assume it is always defined.
17003 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17004 (__NR_sync_file_range): Assume it is always defined.
17005
17006 2015-10-22 Andreas Schwab <schwab@suse.de>
17007
17008 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
17009 INTERNAL_SYSCALL_ERRNO.
17010 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17011 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
17012 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17013 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
17014 Likewise.
17015 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17016
17017 2015-10-21 Joseph Myers <joseph@codesourcery.com>
17018
17019 * io/tst-fcntl.c (fd): New static variable.
17020 (do_prepare): Open temporary file here....
17021 (do_test): ...not here.
17022
17023 * io/ftwtest-sh: Also trap on exit to remove temporary files.
17024
17025 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
17026
17027 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
17028 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
17029 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
17030 Moved before "#ifdef __ASSEMBLER__".
17031
17032 2015-10-21 Joseph Myers <joseph@codesourcery.com>
17033
17034 [BZ #19156]
17035 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
17036 arguments very close to 0.
17037
17038 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
17039
17040 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
17041 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
17042
17043 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
17044
17045 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
17046 New. Defined for GCC 5 and above when not compiling for
17047 profiling.
17048 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
17049
17050 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
17051 Renamed to ...
17052 (CFLAGS-epoll_pwait.o): This.
17053 (CFLAGS-mmap.c): Renamed to ...
17054 (CFLAGS-mmap.o): This.
17055 (CFLAGS-mmap64.c): Renamed to ...
17056 (CFLAGS-mmap64.o): This.
17057 (CFLAGS-epoll_pwait.os): New.
17058 (CFLAGS-mmap.os): Likewise.
17059 (CFLAGS-mmap64.os): Likewise.
17060 (CFLAGS-semtimedop.os): Likewise.
17061 (CFLAGS-semtimedop.c): Renamed to ...
17062 (CFLAGS-semtimedop.o): This.
17063
17064 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17065
17066 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
17067 warning message.
17068
17069 2015-10-21 Joseph Myers <joseph@codesourcery.com>
17070
17071 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
17072 * Makefile ($(objpfx)c++-types-check.out): Filter out
17073 $(+gccwarn-c) instead of -Wstrict-prototypes.
17074
17075 * io/fts.c (fts_open): Convert to prototype-style function
17076 definition.
17077 * malloc/mcheck.c (mcheck): Likewise.
17078 (mcheck_pedantic): Likewise.
17079 * posix/regexec.c (re_search_2_stub): Likewise. Use
17080 internal_function.
17081 (re_search_internal): Likewise.
17082 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
17083 prototype-style function definition.
17084 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17085 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
17086 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
17087 (xdr_utmpptr): Likewise.
17088 (xdr_utmparr): Likewise.
17089 (xdr_utmpidle): Likewise.
17090 (xdr_utmpidleptr): Likewise.
17091 (xdr_utmpidlearr): Likewise.
17092
17093 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
17094 log, log10 and log2.
17095 * math/auto-libm-test-out: Regenerated.
17096 * math/libm-test.inc (fmod_test_data): Add more tests.
17097 (fpclassify_test_data): Likewise.
17098 (frexp_test_data): Likewise.
17099 (hypot_test_data): Likewise.
17100 (ilogb_test_data): Likewise.
17101
17102 2015-10-20 Joseph Myers <joseph@codesourcery.com>
17103
17104 * debug/fortify_fail.c (__fortify_fail): Convert to
17105 prototype-style function definition. Use internal_function.
17106 * libio/genops.c (save_for_backup): Convert to prototype-style
17107 function definition.
17108 * libio/wgenops.c (save_for_wbackup): Likewise.
17109 * login/grantpt.c (grantpt): Likewise.
17110 * login/ptsname.c (ptsname): Likewise.
17111 (__ptsname_r): Likewise.
17112 * login/unlockpt.c (unlockpt): Likewise.
17113 * mach/msgserver.c (__mach_msg_server): Likewise.
17114 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
17115 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
17116 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
17117 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
17118 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
17119 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
17120 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
17121 Likewise.
17122 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
17123 internal_function.
17124 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
17125 prototype-style function definition.
17126 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
17127 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
17128 (__pthread_create_2_0): Likewise.
17129 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
17130 * nptl/register-atfork.c (__register_atfork): Likewise.
17131 * posix/glob.c (glob): Likewise.
17132 * posix/regcomp.c (re_comp): Likewise.
17133 * posix/regexec.c (re_exec): Likewise.
17134 * stdlib/add_n.c [__STDC__]: Make code unconditional.
17135 [!__STDC__]: Remove conditional code.
17136 * stdlib/cmp.c [__STDC__]: Make code unconditional.
17137 [!__STDC__]: Remove conditional code.
17138 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
17139 [!__STDC__]: Remove conditional code.
17140 * stdlib/divrem.c [__STDC__]: Make code unconditional.
17141 [!__STDC__]: Remove conditional code.
17142 * stdlib/lshift.c [__STDC__]: Make code unconditional.
17143 [!__STDC__]: Remove conditional code.
17144 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
17145 [!__STDC__]: Remove conditional code.
17146 * stdlib/mul.c [__STDC__]: Make code unconditional.
17147 [!__STDC__]: Remove conditional code.
17148 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
17149 [!__STDC__]: Remove conditional code.
17150 * stdlib/rshift.c [__STDC__]: Make code unconditional.
17151 [!__STDC__]: Remove conditional code.
17152 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
17153 function definition.
17154 (STRTOF): Likewise.
17155 * stdlib/strtod_l.c (__STRTOF): Likewise.
17156 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
17157 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
17158 (__strtol_l): Likewise.
17159 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
17160 [!__STDC__]: Remove conditional code.
17161 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
17162 definition.
17163 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17164 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17165 type.
17166 (__strcasecmp): Convert to prototype-style function definition.
17167 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
17168 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17169 type.
17170 (__strncasecmp): Convert to prototype-style function definition.
17171 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
17172 * sunrpc/xdr.c (xdr_union): Likewise.
17173 * sunrpc/xdr_array.c (xdr_array): Likewise.
17174 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
17175 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
17176 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
17177 Likewise.
17178 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
17179 Likewise.
17180 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
17181 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17182 Likewise.
17183 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
17184 (LOCALE_PARAM_PROTO): Likewise.
17185 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
17186 argument type.
17187 (ut_argument_spec): Remove macro.
17188 (ut_argument_spec_iso): Rename to ut_argument_spec.
17189 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
17190 prototype-style function definition.
17191 (memcpy_uppcase): Likewise.
17192 (__strftime_internal): Likewise.
17193 (my_strftime): Likewise.
17194 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
17195 (LOCALE_PARAM_DECL): Likewise.
17196 [_LIBC] (LOCALE_PARAM): Include argument type.
17197 (__strptime_internal): Convert to prototype-style function
17198 definition.
17199 (strptime): Likewise.
17200 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17201 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17202 type.
17203 (__wcscasecmp): Convert to prototype-style function definition.
17204 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
17205 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17206 type.
17207 (__wcsncasecmp): Convert to prototype-style function definition.
17208
17209 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
17210 function definition.
17211 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17212 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17213 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
17214 * elf/dl-minimal.c (_itoa): Likewise.
17215 * hurd/hurdmalloc.c (malloc): Likewise.
17216 (free): Likewise.
17217 (realloc): Likewise.
17218 * inet/inet6_option.c (inet6_option_space): Likewise.
17219 (inet6_option_init): Likewise.
17220 (inet6_option_append): Likewise.
17221 (inet6_option_alloc): Likewise.
17222 (inet6_option_next): Likewise.
17223 (inet6_option_find): Likewise.
17224 * io/ftw.c (FTW_NAME): Likewise.
17225 (NFTW_NAME): Likewise.
17226 (NFTW_NEW_NAME): Likewise.
17227 (NFTW_OLD_NAME): Likewise.
17228 * libio/iofwide.c (_IO_fwide): Likewise.
17229 * libio/strops.c (_IO_str_init_static_internal): Likewise.
17230 (_IO_str_init_static): Likewise.
17231 (_IO_str_init_readonly): Likewise.
17232 (_IO_str_overflow): Likewise.
17233 (_IO_str_underflow): Likewise.
17234 (_IO_str_count): Likewise.
17235 (_IO_str_seekoff): Likewise.
17236 (_IO_str_pbackfail): Likewise.
17237 (_IO_str_finish): Likewise.
17238 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
17239 (_IO_wstr_overflow): Likewise.
17240 (_IO_wstr_underflow): Likewise.
17241 (_IO_wstr_count): Likewise.
17242 (_IO_wstr_seekoff): Likewise.
17243 (_IO_wstr_pbackfail): Likewise.
17244 (_IO_wstr_finish): Likewise.
17245 * locale/programs/localedef.c (normalize_codeset): Likewise.
17246 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17247 (add_locales_to_archive): Likewise.
17248 (delete_locales_from_archive): Likewise.
17249 * malloc/malloc.c (__libc_mallinfo): Likewise.
17250 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
17251 * misc/tsearch.c (__tfind): Likewise.
17252 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
17253 * nptl/pthread_attr_getdetachstate.c
17254 (__pthread_attr_getdetachstate): Likewise.
17255 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
17256 Likewise.
17257 * nptl/pthread_attr_getinheritsched.c
17258 (__pthread_attr_getinheritsched): Likewise.
17259 * nptl/pthread_attr_getschedparam.c
17260 (__pthread_attr_getschedparam): Likewise.
17261 * nptl/pthread_attr_getschedpolicy.c
17262 (__pthread_attr_getschedpolicy): Likewise.
17263 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
17264 Likewise.
17265 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
17266 Likewise.
17267 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
17268 Likewise.
17269 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
17270 Likewise.
17271 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
17272 (__pthread_attr_init_2_0): Likewise.
17273 * nptl/pthread_attr_setdetachstate.c
17274 (__pthread_attr_setdetachstate): Likewise.
17275 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
17276 Likewise.
17277 * nptl/pthread_attr_setinheritsched.c
17278 (__pthread_attr_setinheritsched): Likewise.
17279 * nptl/pthread_attr_setschedparam.c
17280 (__pthread_attr_setschedparam): Likewise.
17281 * nptl/pthread_attr_setschedpolicy.c
17282 (__pthread_attr_setschedpolicy): Likewise.
17283 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
17284 Likewise.
17285 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
17286 Likewise.
17287 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
17288 Likewise.
17289 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
17290 Likewise.
17291 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
17292 Likewise.
17293 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
17294 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17295 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
17296 use internal_function.
17297 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
17298 prototype-style function definition.
17299 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
17300 (__pthread_mutex_cond_lock_adjust): Likewise. Use
17301 internal_function.
17302 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
17303 Convert to prototype-style function definition.
17304 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17305 Likewise.
17306 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
17307 Likewise.
17308 (__pthread_mutex_unlock): Likewise.
17309 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
17310 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
17311 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
17312 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
17313 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
17314 * nss/makedb.c (process_input): Likewise.
17315 * posix/fnmatch.c (__strchrnul): Likewise.
17316 (__wcschrnul): Likewise.
17317 (fnmatch): Likewise.
17318 * posix/fnmatch_loop.c (FCT): Likewise.
17319 * posix/glob.c (globfree): Likewise.
17320 (__glob_pattern_type): Likewise.
17321 (__glob_pattern_p): Likewise.
17322 * posix/regcomp.c (re_compile_pattern): Likewise.
17323 (re_set_syntax): Likewise.
17324 (re_compile_fastmap): Likewise.
17325 (regcomp): Likewise.
17326 (regerror): Likewise.
17327 (regfree): Likewise.
17328 * posix/regexec.c (regexec): Likewise.
17329 (re_match): Likewise.
17330 (re_search): Likewise.
17331 (re_match_2): Likewise.
17332 (re_search_2): Likewise.
17333 (re_search_stub): Likewise. Use internal_function
17334 (re_copy_regs): Likewise.
17335 (re_set_registers): Convert to prototype-style function
17336 definition.
17337 (prune_impossible_nodes): Likewise. Use internal_function.
17338 * resolv/inet_net_pton.c (inet_net_pton): Convert to
17339 prototype-style function definition.
17340 (inet_net_pton_ipv4): Likewise.
17341 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17342 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
17343 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
17344 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
17345 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17346 Make variadic.
17347 * time/strptime_l.c (localtime_r): Convert to prototype-style
17348 function definition.
17349 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
17350 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
17351 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
17352 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
17353
17354 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
17355 definition.
17356 (_ufc_doit_r): Likewise.
17357 * crypt/crypt_util.c (_ufc_copymem): Likewise.
17358 (_ufc_output_conversion_r): Likewise.
17359 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
17360 * inet/rcmd.c (rcmd_af): Likewise.
17361 (rcmd): Likewise.
17362 (ruserok_af): Likewise.
17363 (ruserok): Likewise.
17364 (ruserok2_sa): Likewise.
17365 (ruserok_sa): Likewise.
17366 (iruserok_af): Likewise.
17367 (iruserok): Likewise.
17368 (__ivaliduser): Likewise.
17369 (__validuser2_sa): Likewise.
17370 * inet/rexec.c (rexec_af): Likewise.
17371 (rexec): Likewise.
17372 * inet/ruserpass.c (ruserpass): Likewise.
17373 * locale/programs/xmalloc.c (xcalloc): Likewise.
17374 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
17375 * math/w_drem.c (__drem): Likewise.
17376 * math/w_dremf.c (__dremf): Likewise.
17377 * math/w_dreml.c (__dreml): Likewise.
17378 * misc/daemon.c (daemon): Likewise.
17379 * resolv/res_debug.c (p_fqnname): Likewise.
17380 * stdlib/div.c (div): Likewise.
17381 * string/memcmp.c (memcmp_bytes): Likewise.
17382 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
17383 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
17384
17385 * crypt/cert.c (main): Convert to prototype-style function
17386 definition.
17387 * io/pipe.c (__pipe): Likewise.
17388 * io/pipe2.c (__pipe2): Likewise.
17389 * misc/futimesat.c (futimesat): Likewise.
17390 * misc/utimes.c (__utimes): Likewise.
17391 * posix/execve.c (__execve): Likewise.
17392 * posix/execvp.c (execvp): Likewise.
17393 * posix/execvpe.c (__execvpe): Likewise.
17394 * posix/fexecve.c (fexecve): Likewise.
17395 * socket/socketpair.c (socketpair): Likewise.
17396 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17397 * stdlib/erand48.c (erand48): Likewise.
17398 * stdlib/erand48_r.c (__erand48_r): Likewise.
17399 * stdlib/jrand48.c (jrand48): Likewise.
17400 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
17401 * stdlib/lcong48.c (lcong48): Likewise.
17402 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
17403 * stdlib/nrand48.c (nrand48): Likewise.
17404 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
17405 * stdlib/seed48.c (seed48): Likewise.
17406 * stdlib/seed48_r.c (__seed48_r): Likewise.
17407 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
17408 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
17409 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
17410
17411 2015-10-19 Joseph Myers <joseph@codesourcery.com>
17412
17413 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
17414 * configure: Regenerated.
17415 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
17416 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
17417 unconditional.
17418 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17419 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17420 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17421 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
17422 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
17423 unconditional.
17424 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17425
17426 * posix/Makefile (CFLAGS-regex.c): Remove variable.
17427 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
17428
17429 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
17430 function definition.
17431 * crypt/crypt_util.c (__encrypt_r): Likewise.
17432 * libio/genops.c (_IO_no_init): Likewise.
17433 * libio/iofopncook.c (_IO_fopencookie): Likewise.
17434 (_IO_old_fopencookie): Likewise.
17435 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17436 * libio/iogetline.c (_IO_getline): Likewise.
17437 (_IO_getline_info): Likewise.
17438 * libio/iogetwline.c (_IO_getwline): Likewise.
17439 (_IO_getwline_info): Likewise.
17440 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
17441 * libio/vswprintf.c (_IO_vswprintf): Likewise.
17442 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
17443 (find_entry): Likewise.
17444 (iterate_table): Likewise.
17445 (lookup): Likewise.
17446 * login/forkpty.c (forkpty): Likewise.
17447 * misc/hsearch_r.c (__hsearch_r): Likewise.
17448 * misc/select.c (__select): Likewise.
17449 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
17450 Likewise.
17451 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
17452 Likewise.
17453 * nptl/old_pthread_cond_timedwait.c
17454 (__pthread_cond_timedwait_2_0): Likewise.
17455 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
17456 * nptl/pthread_barrierattr_getpshared.c
17457 (pthread_barrierattr_getpshared): Likewise.
17458 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
17459 Likewise.
17460 * nptl/pthread_mutex_setprioceiling.c
17461 (pthread_mutex_setprioceiling): Likewise.
17462 * nptl/pthread_mutexattr_getprioceiling.c
17463 (pthread_mutexattr_getprioceiling): Likewise.
17464 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
17465 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17466 Likewise.
17467 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17468 Likewise.
17469 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
17470 Likewise.
17471 * socket/recvfrom.c (__recvfrom): Likewise.
17472 * socket/sendto.c (__sendto): Likewise.
17473 * socket/setsockopt.c (__setsockopt): Likewise.
17474 * stdio-common/_itoa.c (_itoa): Likewise.
17475 * stdio-common/_itowa.c (_itowa): Likewise.
17476 * stdio-common/reg-printf.c (__register_printf_specifier):
17477 Likewise.
17478 (__register_printf_function): Likewise.
17479 * stdio-common/tempname.c (__path_search): Likewise.
17480 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
17481 * stdlib/mul_1.c (mpn_mul_1): Likewise.
17482 * stdlib/random_r.c (__initstate_r): Likewise.
17483 * stdlib/setenv.c (__add_to_environ): Likewise.
17484 * stdlib/submul_1.c (mpn_submul_1): Likewise.
17485 * streams/getpmsg.c (getpmsg): Likewise.
17486 * streams/putmsg.c (putmsg): Likewise.
17487 * streams/putpmsg.c (putpmsg): Likewise.
17488 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
17489 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
17490 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
17491 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
17492 * sunrpc/pm_getport.c (pmap_getport): Likewise.
17493 * sunrpc/svc_udp.c (cache_get): Likewise.
17494 * sunrpc/xdr_array.c (xdr_vector): Likewise.
17495 * sysdeps/mach/hurd/getcwd.c
17496 (__canonicalize_directory_name_internal): Likewise.
17497 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
17498 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
17499 * sysdeps/mach/hurd/select.c (__select): Likewise.
17500 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
17501 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17502 * sysdeps/sparc/nptl/pthread_barrier_init.c
17503 (__pthread_barrier_init): Likewise.
17504 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
17505 (__pthread_cond_timedwait): Likewise.
17506 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
17507 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
17508 Likewise.
17509 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
17510 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
17511 Likewise.
17512 * sysvipc/semtimedop.c (semtimedop): Likewise.
17513 * time/setitimer.c (__setitimer): Likewise.
17514 * time/strftime_l.c (emacs_strftime): Likewise.
17515
17516 2015-10-19 Mike Frysinger <vapier@gentoo.org>
17517
17518 * config.make.in (have-ssp): Delete.
17519 (stack-protector): New variable.
17520 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
17521 cache test for -fstack-protector-strong. Export stack_protector to
17522 the best ssp flag.
17523 * configure: Regenerated.
17524 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
17525 * nscd/Makefile (CFLAGS-nscd): Likewise.
17526 * resolv/Makefile (CFLAGS-libresolv): Likewise.
17527
17528 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
17529
17530 [BZ #19122]
17531 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
17532 attribute_hidden.
17533
17534 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17535
17536 [BZ #18743]
17537 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
17538 code to...
17539 (ELIDE_LOCK): ...here.
17540 (__get_new_count): New function with part of the code from
17541 __elide_lock that updates the value of adapt_count after a
17542 transaction abort.
17543 (__elided_trylock): Moved this code to...
17544 (ELIDE_TRYLOCK): ...here.
17545
17546 2015-10-19 Mike Frysinger <vapier@gentoo.org>
17547
17548 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
17549 * configure: Regenerate.
17550 * INSTALL: Regenerate.
17551 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
17552 and tweak grammar.
17553
17554 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
17555
17556 * login/programs/pt_chown.c: Include signal.h
17557 (main): Clear any signal mask from the parent process.
17558
17559 2015-10-19 Joseph Myers <joseph@codesourcery.com>
17560
17561 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
17562 * configure: Regenerated.
17563 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
17564 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
17565 $(gnu89-inline-CFLAGS).
17566
17567 * configure.ac (libc_cv_asm_weak_directive): Remove configure
17568 test.
17569 (libc_cv_asm_weakext_directive): Likewise.
17570 * configure: Regenerated.
17571 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
17572 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
17573 * include/libc-symbols.h
17574 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
17575 #error.
17576 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
17577 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
17578
17579 * sysdeps/arm/backtrace.c (__backtrace): Convert to
17580 prototype-style function definition.
17581 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17582 * sysdeps/i386/ffs.c (__ffs): Likewise.
17583 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17584 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
17585 Likewise.
17586 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17587 Likewise.
17588 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
17589 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17590 Likewise.
17591 * sysdeps/m68k/ffs.c (__ffs): Likewise.
17592 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
17593 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
17594 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
17595 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
17596 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
17597 * sysdeps/mach/hurd/access.c (__access): Likewise.
17598 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
17599 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
17600 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
17601 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
17602 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
17603 (cthread_getspecific): Likewise.
17604 (cthread_setspecific): Likewise.
17605 (__libc_getspecific): Likewise.
17606 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
17607 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
17608 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
17609 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
17610 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
17611 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
17612 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
17613 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
17614 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
17615 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
17616 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
17617 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
17618 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
17619 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
17620 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
17621 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
17622 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
17623 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
17624 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
17625 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
17626 * sysdeps/mach/hurd/link.c (__link): Likewise.
17627 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
17628 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
17629 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
17630 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
17631 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17632 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
17633 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
17634 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
17635 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17636 * sysdeps/mach/hurd/rename.c (rename): Likewise.
17637 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
17638 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
17639 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
17640 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
17641 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
17642 * sysdeps/mach/hurd/send.c (__send): Likewise.
17643 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
17644 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
17645 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
17646 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
17647 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
17648 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
17649 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
17650 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
17651 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
17652 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
17653 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
17654 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
17655 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
17656 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
17657 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
17658 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
17659 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
17660 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
17661 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
17662 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17663 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
17664 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
17665 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
17666 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
17667 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
17668 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
17669 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
17670 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
17671 * sysdeps/posix/alarm.c (alarm): Likewise.
17672 * sysdeps/posix/cuserid.c (cuserid): Likewise.
17673 * sysdeps/posix/dirfd.c (dirfd): Likewise.
17674 * sysdeps/posix/dup.c (__dup): Likewise.
17675 * sysdeps/posix/dup2.c (__dup2): Likewise.
17676 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
17677 (main): Likewise.
17678 * sysdeps/posix/flock.c (__flock): Likewise.
17679 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
17680 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17681 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
17682 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
17683 * sysdeps/posix/isatty.c (__isatty): Likewise.
17684 * sysdeps/posix/killpg.c (killpg): Likewise.
17685 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17686 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
17687 * sysdeps/posix/raise.c (raise): Likewise.
17688 * sysdeps/posix/remove.c (remove): Likewise.
17689 * sysdeps/posix/rename.c (rename): Likewise.
17690 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
17691 * sysdeps/posix/seekdir.c (seekdir): Likewise.
17692 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
17693 * sysdeps/posix/sigignore.c (sigignore): Likewise.
17694 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
17695 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17696 * sysdeps/posix/sigset.c (sigset): Likewise.
17697 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
17698 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
17699 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
17700 * sysdeps/posix/time.c (time): Likewise.
17701 * sysdeps/posix/ttyname.c (getttyname): Likewise.
17702 (ttyname): Likewise.
17703 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
17704 * sysdeps/posix/utime.c (utime): Likewise.
17705 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
17706 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17707 Likewise.
17708 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
17709 (pthread_spin_trylock): Likewise.
17710 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
17711 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
17712 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
17713 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
17714 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
17715 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
17716 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
17717 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
17718 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
17719 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
17720 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
17721 * sysdeps/s390/ffs.c (__ffs): Likewise.
17722 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
17723 Likewise.
17724 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17725 Likewise.
17726 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
17727 Likewise.
17728 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
17729 (pthread_barrier_destroy): Likewise.
17730 * sysdeps/sparc/nptl/pthread_barrier_wait.c
17731 (__pthread_barrier_wait): Likewise.
17732 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
17733 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17734 (__pthread_barrier_wait): Likewise.
17735 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
17736 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
17737 (memcmp_not_common_alignment): Likewise.
17738 (MEMCMP): Likewise.
17739 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
17740 (_wordcopy_fwd_dest_aligned): Likewise.
17741 (_wordcopy_bwd_aligned): Likewise.
17742 (_wordcopy_bwd_dest_aligned): Likewise.
17743 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
17744 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
17745 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17746 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
17747 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
17748 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
17749 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
17750 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
17751 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
17752 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
17753 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
17754 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17755 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
17756 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
17757 * sysdeps/unix/stime.c (stime): Likewise.
17758 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
17759 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
17760 Likewise. Use internal_function.
17761 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
17762 Convert to prototype-style function definition.
17763 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17764 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17765 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
17766 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17767 Likewise. Use internal_function.
17768 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
17769 prototype-style function definition
17770 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17771 Likewise.
17772 (__getlogin_r): Likewise.
17773 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
17774 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
17775 (__pthread_cond_broadcast): Likewise.
17776 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
17777 (__pthread_cond_destroy): Likewise.
17778 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
17779 (__pthread_cond_init): Likewise.
17780 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
17781 (__pthread_cond_signal): Likewise.
17782 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
17783 (__pthread_cond_wait): Likewise.
17784 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
17785 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
17786 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
17787 Likewise.
17788 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
17789 Likewise.
17790 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
17791 Likewise.
17792 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
17793 Likewise.
17794 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
17795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
17796 (__ftruncate64): Likewise.
17797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
17798 (truncate64): Likewise.
17799 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
17800 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
17801 (pthread_getcpuclockid): Likewise.
17802 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17803 Likewise.
17804 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17805 Likewise.
17806 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
17807 Likewise.
17808 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
17809 Likewise.
17810 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
17811 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
17812 (__libc_sigaction): Likewise.
17813 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
17814 Likewise.
17815 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
17816 (__sigprocmask): Likewise.
17817 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
17818 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
17819 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
17820 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
17821 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17822 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
17823 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17824 Likewise.
17825 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
17826 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
17827 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17828 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
17829 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
17830 Likewise.
17831 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
17832 (__sigprocmask): Likewise.
17833 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
17834 (cfgetispeed): Likewise.
17835 (cfsetospeed): Likewise.
17836 (cfsetispeed): Likewise.
17837 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
17838 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
17839 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17840 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17841 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
17842 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
17843 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
17844 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
17845 Likewise.
17846 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
17847 Likewise.
17848 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
17849 Likewise.
17850 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
17851 Likewise.
17852 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17853
17854 2015-10-17 Florian Weimer <fweimer@redhat.com>
17855
17856 sunrpc: Rewrite with explicit TLS access using __thread.
17857 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
17858 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
17859 directly.
17860 (__rpc_thread_variables): Access thread_rpc_vars directly.
17861 Eliminate redundant assignment of the tvp variable.
17862
17863 2015-10-17 Florian Weimer <fweimer@redhat.com>
17864
17865 malloc: Rewrite with explicit TLS access using __thread.
17866 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
17867 (tsd_setspecific, tsd_getspecific): Remove.
17868 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
17869 (tsd_setspecific, tsd_getspecific): Likewise.
17870 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
17871 (tsd_setspecific, tsd_getspecific): Likewise.
17872 * malloc/arena.c (thread_arena): New TLS variable.
17873 (arena_key): Remove variable.
17874 (arena_get): Use thread_arena.
17875 (arena_lookup): Remove macro.
17876 (malloc_atfork, free_atfork, ptmalloc_lock_all)
17877 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
17878 (_int_new_arena, get_free_list, reused_arena)
17879 (arena_thread_freeres): Use thread_arena.
17880 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17881 tsd_getspecific, tsd_setspecific from safety annotations.
17882 (Allocating Cleared Space): Remove arena_lookup from safety
17883 annotations.
17884
17885 2015-10-17 Florian Weimer <fweimer@redhat.com>
17886
17887 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17888 struct scratch_buffer instead of extend_alloca.
17889
17890 2015-10-17 Florian Weimer <fweimer@redhat.com>
17891
17892 * sysdeps/unix/sysv/linux/kernel-features.h
17893 (__ASSUME_SOCK_CLOEXEC): Remove.
17894 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17895 (__have_paccept): Remove unused macro.
17896 * include/unistd.h (__have_sock_cloexec): Remove declaration.
17897 * misc/syslog.c (openlog_internal): Remove fallback code for
17898 !__ASSUME_SOCK_CLOEXEC.
17899 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17900 missing SOCK_CLOEXEC.
17901 * nscd/connections.c (have_sock_cloexec): Remove definition.
17902 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17903 * nscd/nscd_helper.c (open_socket): Remove fallback code for
17904 !__ASSUME_SOCK_CLOEXEC.
17905 * resolv/res_send.c (__have_o_nonblock): Remove definition.
17906 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17907 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17908 definition.
17909 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17910 code for !__ASSUME_SOCK_CLOEXEC.
17911
17912 2015-10-17 Florian Weimer <fweimer@redhat.com>
17913
17914 [BZ #18982]
17915 * manual/stdio.texi (Variable Arguments Output): Add portability
17916 note, explaining that vfprintf clobbers the va_list pointer.
17917
17918 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17919
17920 * math/libm-test.inc (fabs_test_data): Add more tests.
17921 (fdim_test_data): Likewise.
17922 (fma_test_data): Likewise.
17923 (fmax_test_data): Likewise.
17924 (fmin_test_data): Likewise.
17925 (fmod_test_data): Likewise.
17926
17927 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
17928
17929 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
17930 data.
17931
17932 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17933
17934 * math/libm-test.inc (ceil_test_data): Add more tests and more
17935 expectations for "inexact".
17936 (floor_test_data): Add more tests.
17937 (round_test_data): Likewise.
17938 (trunc_test_data): Likewise.
17939
17940 * crypt/cert.c (good_bye): Convert to prototype-style function
17941 definition.
17942 (get8): Likewise.
17943 (put8): Likewise.
17944 * crypt/crypt-entry.c (crypt): Likewise.
17945 (__fcrypt): Likewise.
17946 * crypt/crypt_util.c (_ufc_prbits): Likewise.
17947 (_ufc_set_bits): Likewise.
17948 (_ufc_clearmem): Likewise.
17949 (__init_des_r): Likewise.
17950 (shuffle_sb): Likewise.
17951 (shuffle_sb): Likewise.
17952 (_ufc_setup_salt_r): Likewise.
17953 (_ufc_mk_keytab_r): Likewise.
17954 (_ufc_dofinalperm_r): Likewise.
17955 (encrypt): Likewise.
17956 (__setkey_r): Likewise.
17957 (setkey): Likewise.
17958 * crypt/md5.c (md5_init_ctx): Likewise.
17959 (md5_read_ctx): Likewise.
17960 (md5_finish_ctx): Likewise.
17961 (md5_stream): Likewise.
17962 (md5_buffer): Likewise.
17963 (md5_process_bytes): Likewise.
17964 * crypt/sha256.c (__sha256_init_ctx): Likewise.
17965 (__sha256_finish_ctx): Likewise.
17966 (__sha256_process_bytes): Likewise.
17967 * crypt/sha512.c (__sha512_init_ctx): Likewise.
17968 (__sha512_finish_ctx): Likewise.
17969 (__sha512_process_bytes): Likewise.
17970 * ctype/isctype.c (__isctype): Likewise.
17971 * debug/backtrace.c (__backtrace): Likewise.
17972 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17973 * debug/fgets_chk.c (__fgets_chk): Likewise.
17974 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17975 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17976 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17977 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17978 * debug/memset_chk.c (__memset_chk): Likewise.
17979 * debug/strcat_chk.c (__strcat_chk): Likewise.
17980 * debug/strncat_chk.c (__strncat_chk): Likewise.
17981 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17982 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17983 * dirent/dirfd.c (dirfd): Likewise.
17984 * dirent/getdents.c (__getdirentries): Likewise.
17985 * dirent/getdents64.c (getdirentries64): Likewise.
17986 * dirent/rewinddir.c (__rewinddir): Likewise.
17987 * dirent/seekdir.c (seekdir): Likewise.
17988 * dirent/telldir.c (telldir): Likewise.
17989 * elf/sln.c (makesymlinks): Likewise.
17990 (makesymlink): Likewise.
17991 * gmon/gmon.c (__moncontrol): Likewise.
17992 (__monstartup): Likewise.
17993 (write_hist): Likewise.
17994 (write_call_graph): Likewise.
17995 (write_bb_counts): Likewise.
17996 * grp/setgroups.c (setgroups): Likewise.
17997 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17998 * inet/inet_net.c (inet_network): Likewise.
17999 * inet/inet_netof.c (inet_netof): Likewise.
18000 * inet/rcmd.c (rresvport_af): Likewise.
18001 (rresvport): Likewise.
18002 * io/access.c (__access): Likewise.
18003 * io/chdir.c (__chdir): Likewise.
18004 * io/chmod.c (__chmod): Likewise.
18005 * io/chown.c (__chown): Likewise.
18006 * io/close.c (__close): Likewise.
18007 * io/creat.c (creat): Likewise.
18008 * io/creat64.c (creat64): Likewise.
18009 * io/dup.c (__dup): Likewise.
18010 * io/dup2.c (__dup2): Likewise.
18011 * io/dup3.c (__dup3): Likewise.
18012 * io/euidaccess.c (__euidaccess): Likewise.
18013 * io/faccessat.c (faccessat): Likewise.
18014 * io/fchmod.c (__fchmod): Likewise.
18015 * io/fchmodat.c (fchmodat): Likewise.
18016 * io/fchown.c (__fchown): Likewise.
18017 * io/fchownat.c (fchownat): Likewise.
18018 * io/fcntl.c (__fcntl): Likewise.
18019 * io/flock.c (__flock): Likewise.
18020 * io/fts.c (fts_load): Likewise.
18021 (fts_close): Likewise.
18022 (fts_read): Likewise.
18023 (fts_set): Likewise.
18024 (fts_children): Likewise.
18025 (fts_build): Likewise.
18026 (fts_stat): Likewise.
18027 (fts_sort): Likewise.
18028 (fts_alloc): Likewise.
18029 (fts_lfree): Likewise.
18030 (fts_palloc): Likewise.
18031 (fts_padjust): Likewise.
18032 (fts_maxarglen): Likewise.
18033 (fts_safe_changedir): Likewise.
18034 * io/getwd.c (getwd): Likewise.
18035 * io/isatty.c (__isatty): Likewise.
18036 * io/lchown.c (__lchown): Likewise.
18037 * io/link.c (__link): Likewise.
18038 * io/linkat.c (linkat): Likewise.
18039 * io/lseek.c (__libc_lseek): Likewise.
18040 * io/mkdir.c (__mkdir): Likewise.
18041 * io/mkdirat.c (mkdirat): Likewise.
18042 * io/mkfifo.c (mkfifo): Likewise.
18043 * io/mkfifoat.c (mkfifoat): Likewise.
18044 * io/open.c (__libc_open): Likewise.
18045 * io/open64.c (__libc_open64): Likewise.
18046 * io/readlink.c (__readlink): Likewise.
18047 * io/readlinkat.c (readlinkat): Likewise.
18048 * io/rmdir.c (__rmdir): Likewise.
18049 * io/symlink.c (__symlink): Likewise.
18050 * io/symlinkat.c (symlinkat): Likewise.
18051 * io/ttyname.c (ttyname): Likewise.
18052 * io/ttyname_r.c (__ttyname_r): Likewise.
18053 * io/umask.c (__umask): Likewise.
18054 * io/unlink.c (__unlink): Likewise.
18055 * io/unlinkat.c (unlinkat): Likewise.
18056 * io/utime.c (utime): Likewise.
18057 * libio/clearerr.c (clearerr): Likewise.
18058 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
18059 * libio/feof.c (_IO_feof): Likewise.
18060 * libio/feof_u.c (feof_unlocked): Likewise.
18061 * libio/ferror.c (_IO_ferror): Likewise.
18062 * libio/ferror_u.c (ferror_unlocked): Likewise.
18063 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18064 * libio/fileno.c (__fileno): Likewise.
18065 * libio/fputc.c (fputc): Likewise.
18066 * libio/fputc_u.c (fputc_unlocked): Likewise.
18067 * libio/fputwc.c (fputwc): Likewise.
18068 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
18069 * libio/freopen.c (freopen): Likewise.
18070 * libio/freopen64.c (freopen64): Likewise.
18071 * libio/fseek.c (fseek): Likewise.
18072 * libio/fseeko.c (fseeko): Likewise.
18073 * libio/fseeko64.c (fseeko64): Likewise.
18074 * libio/ftello.c (__ftello): Likewise.
18075 * libio/ftello64.c (ftello64): Likewise.
18076 * libio/fwide.c (fwide): Likewise.
18077 * libio/genops.c (_IO_un_link): Likewise.
18078 (_IO_link_in): Likewise.
18079 (_IO_least_marker): Likewise.
18080 (_IO_switch_to_main_get_area): Likewise.
18081 (_IO_switch_to_backup_area): Likewise.
18082 (_IO_switch_to_get_mode): Likewise.
18083 (_IO_free_backup_area): Likewise.
18084 (_IO_switch_to_put_mode): Likewise.
18085 (__overflow): Likewise.
18086 (__underflow): Likewise.
18087 (__uflow): Likewise.
18088 (_IO_setb): Likewise.
18089 (_IO_doallocbuf): Likewise.
18090 (_IO_default_underflow): Likewise.
18091 (_IO_default_uflow): Likewise.
18092 (_IO_default_xsputn): Likewise.
18093 (_IO_sgetn): Likewise.
18094 (_IO_default_xsgetn): Likewise.
18095 (_IO_sync): Likewise.
18096 (_IO_default_setbuf): Likewise.
18097 (_IO_default_seekpos): Likewise.
18098 (_IO_default_doallocate): Likewise.
18099 (_IO_init): Likewise.
18100 (_IO_old_init): Likewise.
18101 (_IO_default_sync): Likewise.
18102 (_IO_default_finish): Likewise.
18103 (_IO_default_seekoff): Likewise.
18104 (_IO_sputbackc): Likewise.
18105 (_IO_sungetc): Likewise.
18106 (_IO_set_column): Likewise.
18107 (_IO_set_column): Likewise.
18108 (_IO_adjust_column): Likewise.
18109 (_IO_get_column): Likewise.
18110 (_IO_init_marker): Likewise.
18111 (_IO_remove_marker): Likewise.
18112 (_IO_marker_difference): Likewise.
18113 (_IO_marker_delta): Likewise.
18114 (_IO_seekmark): Likewise.
18115 (_IO_unsave_markers): Likewise.
18116 (_IO_nobackup_pbackfail): Likewise.
18117 (_IO_default_pbackfail): Likewise.
18118 (_IO_default_seek): Likewise.
18119 (_IO_default_stat): Likewise.
18120 (_IO_default_read): Likewise.
18121 (_IO_default_write): Likewise.
18122 (_IO_default_showmanyc): Likewise.
18123 (_IO_default_imbue): Likewise.
18124 (_IO_iter_next): Likewise.
18125 (_IO_iter_file): Likewise.
18126 * libio/getc.c (_IO_getc): Likewise.
18127 * libio/getwc.c (_IO_getwc): Likewise.
18128 * libio/iofclose.c (_IO_new_fclose): Likewise.
18129 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18130 * libio/iofflush.c (_IO_fflush): Likewise.
18131 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
18132 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
18133 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
18134 * libio/iofgets.c (_IO_fgets): Likewise.
18135 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
18136 * libio/iofgetws.c (fgetws): Likewise.
18137 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18138 * libio/iofopen64.c (_IO_fopen64): Likewise.
18139 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18140 (_IO_cookie_write): Likewise.
18141 (_IO_cookie_seek): Likewise.
18142 (_IO_cookie_close): Likewise.
18143 (_IO_cookie_seekoff): Likewise.
18144 (_IO_old_cookie_seek): Likewise.
18145 * libio/iofputs.c (_IO_fputs): Likewise.
18146 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
18147 * libio/iofputws.c (fputws): Likewise.
18148 * libio/iofputws_u.c (fputws_unlocked): Likewise.
18149 * libio/iofread.c (_IO_fread): Likewise.
18150 * libio/iofread_u.c (__fread_unlocked): Likewise.
18151 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
18152 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
18153 * libio/ioftell.c (_IO_ftell): Likewise.
18154 * libio/iofwrite.c (_IO_fwrite): Likewise.
18155 * libio/iogetdelim.c (_IO_getdelim): Likewise.
18156 * libio/iogets.c (_IO_gets): Likewise.
18157 * libio/iopadn.c (_IO_padn): Likewise.
18158 * libio/iopopen.c (_IO_new_proc_open): Likewise.
18159 (_IO_new_popen): Likewise.
18160 (_IO_new_proc_close): Likewise.
18161 * libio/ioputs.c (_IO_puts): Likewise.
18162 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
18163 (_IO_seekoff): Likewise.
18164 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
18165 (_IO_seekpos): Likewise.
18166 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
18167 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
18168 * libio/ioungetc.c (_IO_ungetc): Likewise.
18169 * libio/ioungetwc.c (ungetwc): Likewise.
18170 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18171 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
18172 * libio/iowpadn.c (_IO_wpadn): Likewise.
18173 * libio/libc_fatal.c (__libc_fatal): Likewise.
18174 * libio/memstream.c (__open_memstream): Likewise.
18175 (_IO_mem_sync): Likewise.
18176 (_IO_mem_finish): Likewise.
18177 * libio/oldfileops.c (_IO_old_file_init): Likewise.
18178 (_IO_old_file_close_it): Likewise.
18179 (_IO_old_file_finish): Likewise.
18180 (_IO_old_file_fopen): Likewise.
18181 (_IO_old_file_attach): Likewise.
18182 (_IO_old_file_setbuf): Likewise.
18183 (_IO_old_do_write): Likewise.
18184 (old_do_write): Likewise.
18185 (_IO_old_file_underflow): Likewise.
18186 (_IO_old_file_overflow): Likewise.
18187 (_IO_old_file_sync): Likewise.
18188 (_IO_old_file_seekoff): Likewise.
18189 (_IO_old_file_write): Likewise.
18190 (_IO_old_file_xsputn): Likewise.
18191 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
18192 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18193 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
18194 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
18195 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18196 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
18197 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
18198 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
18199 (_IO_old_popen): Likewise.
18200 (_IO_old_proc_close): Likewise.
18201 * libio/oldpclose.c (__old_pclose): Likewise.
18202 * libio/pclose.c (__new_pclose): Likewise.
18203 * libio/peekc.c (_IO_peekc_locked): Likewise.
18204 * libio/putc.c (_IO_putc): Likewise.
18205 * libio/putc_u.c (putc_unlocked): Likewise.
18206 * libio/putchar.c (putchar): Likewise.
18207 * libio/putchar_u.c (putchar_unlocked): Likewise.
18208 * libio/putwc.c (putwc): Likewise.
18209 * libio/putwc_u.c (putwc_unlocked): Likewise.
18210 * libio/putwchar.c (putwchar): Likewise.
18211 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
18212 * libio/rewind.c (rewind): Likewise.
18213 * libio/setbuf.c (setbuf): Likewise.
18214 * libio/setlinebuf.c (setlinebuf): Likewise.
18215 * libio/vasprintf.c (_IO_vasprintf): Likewise.
18216 * libio/vscanf.c (_IO_vscanf): Likewise.
18217 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
18218 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
18219 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18220 * libio/wgenops.c (_IO_least_wmarker): Likewise.
18221 (_IO_switch_to_main_wget_area): Likewise.
18222 (_IO_switch_to_wbackup_area): Likewise.
18223 (_IO_wsetb): Likewise.
18224 (_IO_wdefault_pbackfail): Likewise.
18225 (_IO_wdefault_finish): Likewise.
18226 (_IO_wdefault_uflow): Likewise.
18227 (__woverflow): Likewise.
18228 (__wuflow): Likewise.
18229 (__wunderflow): Likewise.
18230 (_IO_wdefault_xsputn): Likewise.
18231 (_IO_wdefault_xsgetn): Likewise.
18232 (_IO_wdoallocbuf): Likewise.
18233 (_IO_wdefault_doallocate): Likewise.
18234 (_IO_switch_to_wget_mode): Likewise.
18235 (_IO_free_wbackup_area): Likewise.
18236 (_IO_switch_to_wput_mode): Likewise.
18237 (_IO_sputbackwc): Likewise.
18238 (_IO_sungetwc): Likewise.
18239 (_IO_adjust_wcolumn): Likewise.
18240 (_IO_init_wmarker): Likewise.
18241 (_IO_wmarker_delta): Likewise.
18242 (_IO_seekwmark): Likewise.
18243 (_IO_unsave_wmarkers): Likewise.
18244 * libio/wmemstream.c (open_wmemstream): Likewise.
18245 (_IO_wmem_sync): Likewise.
18246 (_IO_wmem_finish): Likewise.
18247 * locale/nl_langinfo.c (nl_langinfo): Likewise.
18248 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
18249 * locale/programs/simple-hash.c (init_hash): Likewise.
18250 (delete_hash): Likewise.
18251 (insert_entry): Likewise.
18252 (set_entry): Likewise.
18253 (next_prime): Likewise.
18254 (is_prime): Likewise.
18255 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
18256 (xmalloc): Likewise.
18257 (xrealloc): Likewise.
18258 * locale/programs/xstrdup.c (xstrdup): Likewise.
18259 * localedata/collate-test.c (xstrcoll): Likewise.
18260 * localedata/xfrm-test.c (xstrcmp): Likewise.
18261 * login/getlogin_r.c (__getlogin_r): Likewise.
18262 * login/getpt.c (__posix_openpt): Likewise.
18263 * login/login_tty.c (login_tty): Likewise.
18264 * login/setlogin.c (setlogin): Likewise.
18265 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
18266 (mach_msg_destroy_port): Likewise.
18267 (mach_msg_destroy_memory): Likewise.
18268 * malloc/mcheck.c (flood): Likewise.
18269 * misc/acct.c (acct): Likewise.
18270 * misc/brk.c (__brk): Likewise.
18271 * misc/chflags.c (chflags): Likewise.
18272 * misc/chroot.c (chroot): Likewise.
18273 * misc/fchflags.c (fchflags): Likewise.
18274 * misc/fstab.c (getfsspec): Likewise.
18275 (getfsfile): Likewise.
18276 * misc/fsync.c (fsync): Likewise.
18277 * misc/ftruncate.c (__ftruncate): Likewise.
18278 * misc/ftruncate64.c (__ftruncate64): Likewise.
18279 * misc/getdomain.c (getdomainname): Likewise.
18280 (getdomainname): Likewise.
18281 * misc/gethostname.c (__gethostname): Likewise.
18282 * misc/getpass.c (getpass): Likewise.
18283 * misc/getttyent.c (skip): Likewise.
18284 (value): Likewise.
18285 * misc/gtty.c (gtty): Likewise.
18286 * misc/hsearch.c (hsearch): Likewise.
18287 (hcreate): Likewise.
18288 * misc/hsearch_r.c (__hcreate_r): Likewise.
18289 (__hdestroy_r): Likewise.
18290 * misc/ioctl.c (__ioctl): Likewise.
18291 * misc/mkdtemp.c (mkdtemp): Likewise.
18292 * misc/mkostemp.c (mkostemp): Likewise.
18293 * misc/mkostemp64.c (mkostemp64): Likewise.
18294 * misc/mkostemps.c (mkostemps): Likewise.
18295 * misc/mkostemps64.c (mkostemps64): Likewise.
18296 * misc/mkstemp.c (mkstemp): Likewise.
18297 * misc/mkstemp64.c (mkstemp64): Likewise.
18298 * misc/mkstemps.c (mkstemps): Likewise.
18299 * misc/mkstemps64.c (mkstemps64): Likewise.
18300 * misc/mktemp.c (__mktemp): Likewise.
18301 * misc/preadv.c (preadv): Likewise.
18302 * misc/preadv64.c (preadv64): Likewise.
18303 * misc/pwritev.c (pwritev): Likewise.
18304 * misc/pwritev64.c (pwritev64): Likewise.
18305 * misc/readv.c (__readv): Likewise.
18306 * misc/revoke.c (revoke): Likewise.
18307 * misc/setdomain.c (setdomainname): Likewise.
18308 * misc/setegid.c (setegid): Likewise.
18309 * misc/seteuid.c (seteuid): Likewise.
18310 * misc/sethostid.c (sethostid): Likewise.
18311 * misc/sethostname.c (sethostname): Likewise.
18312 * misc/setregid.c (__setregid): Likewise.
18313 * misc/setreuid.c (__setreuid): Likewise.
18314 * misc/sstk.c (sstk): Likewise.
18315 * misc/stty.c (stty): Likewise.
18316 * misc/syscall.c (syscall): Likewise.
18317 * misc/syslog.c (setlogmask): Likewise.
18318 * misc/truncate.c (__truncate): Likewise.
18319 * misc/truncate64.c (truncate64): Likewise.
18320 * misc/ualarm.c (ualarm): Likewise.
18321 * misc/usleep.c (usleep): Likewise.
18322 * misc/ustat.c (ustat): Likewise.
18323 * misc/writev.c (__writev): Likewise.
18324 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
18325 * nptl/old_pthread_cond_broadcast.c
18326 (__pthread_cond_broadcast_2_0): Likewise.
18327 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
18328 Likewise.
18329 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
18330 Likewise.
18331 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
18332 Likewise.
18333 * nptl/pt-raise.c (raise): Likewise.
18334 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
18335 Likewise.
18336 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
18337 * nptl/pthread_barrierattr_destroy.c
18338 (pthread_barrierattr_destroy): Likewise.
18339 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
18340 Likewise.
18341 * nptl/pthread_barrierattr_setpshared.c
18342 (pthread_barrierattr_setpshared): Likewise.
18343 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18344 Likewise.
18345 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
18346 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
18347 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
18348 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
18349 Likewise.
18350 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
18351 Likewise.
18352 * nptl/pthread_condattr_getpshared.c
18353 (pthread_condattr_getpshared): Likewise.
18354 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
18355 Likewise.
18356 * nptl/pthread_condattr_setpshared.c
18357 (pthread_condattr_setpshared): Likewise.
18358 * nptl/pthread_detach.c (pthread_detach): Likewise.
18359 * nptl/pthread_equal.c (__pthread_equal): Likewise.
18360 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
18361 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
18362 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
18363 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
18364 Likewise.
18365 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
18366 Likewise.
18367 * nptl/pthread_mutex_getprioceiling.c
18368 (pthread_mutex_getprioceiling): Likewise.
18369 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
18370 Likewise.
18371 * nptl/pthread_mutexattr_getprotocol.c
18372 (pthread_mutexattr_getprotocol): Likewise.
18373 * nptl/pthread_mutexattr_getpshared.c
18374 (pthread_mutexattr_getpshared): Likewise.
18375 * nptl/pthread_mutexattr_getrobust.c
18376 (pthread_mutexattr_getrobust): Likewise.
18377 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18378 Likewise.
18379 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
18380 Likewise.
18381 * nptl/pthread_mutexattr_setprioceiling.c
18382 (pthread_mutexattr_setprioceiling): Likewise.
18383 * nptl/pthread_mutexattr_setprotocol.c
18384 (pthread_mutexattr_setprotocol): Likewise.
18385 * nptl/pthread_mutexattr_setpshared.c
18386 (pthread_mutexattr_setpshared): Likewise.
18387 * nptl/pthread_mutexattr_setrobust.c
18388 (pthread_mutexattr_setrobust): Likewise.
18389 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
18390 Likewise.
18391 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
18392 Likewise.
18393 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
18394 Likewise.
18395 * nptl/pthread_rwlockattr_getkind_np.c
18396 (pthread_rwlockattr_getkind_np): Likewise.
18397 * nptl/pthread_rwlockattr_getpshared.c
18398 (pthread_rwlockattr_getpshared): Likewise.
18399 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
18400 Likewise.
18401 * nptl/pthread_rwlockattr_setkind_np.c
18402 (pthread_rwlockattr_setkind_np): Likewise.
18403 * nptl/pthread_rwlockattr_setpshared.c
18404 (pthread_rwlockattr_setpshared): Likewise.
18405 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
18406 Likewise.
18407 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
18408 Likewise.
18409 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
18410 Likewise.
18411 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
18412 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
18413 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
18414 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
18415 * nptl/sem_close.c (sem_close): Likewise.
18416 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
18417 * nptl/sem_init.c (__old_sem_init): Likewise.
18418 * nptl/sigaction.c (__sigaction): Likewise.
18419 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18420 * posix/_exit.c (_exit): Likewise.
18421 * posix/alarm.c (alarm): Likewise.
18422 * posix/confstr.c (confstr): Likewise.
18423 * posix/fpathconf.c (__fpathconf): Likewise.
18424 * posix/getgroups.c (__getgroups): Likewise.
18425 * posix/getpgid.c (__getpgid): Likewise.
18426 * posix/group_member.c (__group_member): Likewise.
18427 * posix/pathconf.c (__pathconf): Likewise.
18428 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
18429 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
18430 * posix/setgid.c (__setgid): Likewise.
18431 * posix/setpgid.c (__setpgid): Likewise.
18432 * posix/setuid.c (__setuid): Likewise.
18433 * posix/sleep.c (__sleep): Likewise.
18434 * posix/sysconf.c (__sysconf): Likewise.
18435 * posix/times.c (__times): Likewise.
18436 * posix/uname.c (__uname): Likewise.
18437 * posix/waitid.c (__waitid): Likewise.
18438 * pwd/getpw.c (__getpw): Likewise.
18439 * resolv/base64.c (b64_pton): Likewise.
18440 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
18441 * resolv/gethnamaddr.c (Dprintf): Likewise.
18442 (gethostbyname): Likewise.
18443 (gethostbyname2): Likewise.
18444 (gethostbyaddr): Likewise.
18445 (_sethtent): Likewise.
18446 (_gethtbyname): Likewise.
18447 (_gethtbyname2): Likewise.
18448 (_gethtbyaddr): Likewise.
18449 (map_v4v6_address): Likewise.
18450 (map_v4v6_hostent): Likewise.
18451 (addrsort): Likewise.
18452 (ht_sethostent): Likewise.
18453 (ht_gethostbyname): Likewise.
18454 (ht_gethostbyaddr): Likewise.
18455 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
18456 (inet_net_ntop_ipv4): Likewise.
18457 * resolv/inet_neta.c (inet_neta): Likewise.
18458 * resolv/inet_ntop.c (inet_ntop): Likewise.
18459 (inet_ntop4): Likewise.
18460 (inet_ntop6): Likewise.
18461 * resolv/inet_pton.c (__inet_pton): Likewise.
18462 (inet_pton4): Likewise.
18463 (inet_pton6): Likewise.
18464 * resolv/res_debug.c (loc_aton): Likewise.
18465 (loc_ntoa): Likewise.
18466 * resource/getpriority.c (__getpriority): Likewise.
18467 * resource/getrusage.c (__getrusage): Likewise.
18468 * resource/nice.c (nice): Likewise.
18469 * resource/setpriority.c (__setpriority): Likewise.
18470 * resource/setrlimit64.c (setrlimit64): Likewise.
18471 * resource/vlimit.c (vlimit): Likewise.
18472 * resource/vtimes.c (vtimes): Likewise.
18473 * rt/aio_error.c (aio_error): Likewise.
18474 * rt/aio_return.c (aio_return): Likewise.
18475 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
18476 * signal/kill.c (__kill): Likewise.
18477 * signal/killpg.c (killpg): Likewise.
18478 * signal/raise.c (raise): Likewise.
18479 * signal/sigaction.c (__sigaction): Likewise.
18480 * signal/sigaddset.c (sigaddset): Likewise.
18481 * signal/sigaltstack.c (sigaltstack): Likewise.
18482 * signal/sigandset.c (sigandset): Likewise.
18483 * signal/sigblock.c (__sigblock): Likewise.
18484 * signal/sigdelset.c (sigdelset): Likewise.
18485 * signal/sigempty.c (sigemptyset): Likewise.
18486 * signal/sigfillset.c (sigfillset): Likewise.
18487 * signal/sighold.c (sighold): Likewise.
18488 * signal/sigignore.c (sigignore): Likewise.
18489 * signal/sigintr.c (siginterrupt): Likewise.
18490 * signal/sigisempty.c (sigisemptyset): Likewise.
18491 * signal/sigismem.c (sigismember): Likewise.
18492 * signal/signal.c (signal): Likewise.
18493 * signal/sigorset.c (sigorset): Likewise.
18494 * signal/sigpause.c (__sigpause): Likewise.
18495 * signal/sigpending.c (sigpending): Likewise.
18496 * signal/sigprocmask.c (__sigprocmask): Likewise.
18497 * signal/sigrelse.c (sigrelse): Likewise.
18498 * signal/sigreturn.c (__sigreturn): Likewise.
18499 * signal/sigset.c (sigset): Likewise.
18500 * signal/sigsetmask.c (__sigsetmask): Likewise.
18501 * signal/sigstack.c (sigstack): Likewise.
18502 * signal/sigsuspend.c (__sigsuspend): Likewise.
18503 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
18504 * signal/sysv_signal.c (__sysv_signal): Likewise.
18505 * socket/accept.c (accept): Likewise.
18506 * socket/accept4.c (__libc_accept4): Likewise.
18507 * socket/bind.c (__bind): Likewise.
18508 * socket/connect.c (__connect): Likewise.
18509 * socket/getpeername.c (getpeername): Likewise.
18510 * socket/getsockname.c (__getsockname): Likewise.
18511 * socket/getsockopt.c (getsockopt): Likewise.
18512 * socket/listen.c (__listen): Likewise.
18513 * socket/recv.c (__recv): Likewise.
18514 * socket/recvmsg.c (__recvmsg): Likewise.
18515 * socket/send.c (__send): Likewise.
18516 * socket/sendmsg.c (__sendmsg): Likewise.
18517 * socket/shutdown.c (shutdown): Likewise.
18518 * socket/sockatmark.c (sockatmark): Likewise.
18519 * socket/socket.c (__socket): Likewise.
18520 * stdio-common/ctermid.c (ctermid): Likewise.
18521 * stdio-common/cuserid.c (cuserid): Likewise.
18522 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
18523 * stdio-common/remove.c (remove): Likewise.
18524 * stdio-common/rename.c (rename): Likewise.
18525 * stdio-common/renameat.c (renameat): Likewise.
18526 * stdio-common/tempname.c (__gen_tempname): Likewise.
18527 * stdio-common/xbug.c (InitBuffer): Likewise.
18528 (AppendToBuffer): Likewise.
18529 (ReadFile): Likewise.
18530 * stdlib/a64l.c (a64l): Likewise.
18531 * stdlib/drand48_r.c (drand48_r): Likewise.
18532 * stdlib/getcontext.c (getcontext): Likewise.
18533 * stdlib/getenv.c (getenv): Likewise.
18534 * stdlib/l64a.c (l64a): Likewise.
18535 * stdlib/llabs.c (llabs): Likewise.
18536 * stdlib/lldiv.c (lldiv): Likewise.
18537 * stdlib/lrand48_r.c (lrand48_r): Likewise.
18538 * stdlib/mrand48_r.c (mrand48_r): Likewise.
18539 * stdlib/putenv.c (putenv): Likewise.
18540 * stdlib/random.c (__srandom): Likewise.
18541 (__initstate): Likewise.
18542 (__setstate): Likewise.
18543 * stdlib/random_r.c (__srandom_r): Likewise.
18544 (__setstate_r): Likewise.
18545 (__random_r): Likewise.
18546 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
18547 * stdlib/setcontext.c (setcontext): Likewise.
18548 * stdlib/setenv.c (setenv): Likewise.
18549 (unsetenv): Likewise.
18550 * stdlib/srand48.c (srand48): Likewise.
18551 * stdlib/srand48_r.c (__srand48_r): Likewise.
18552 * stdlib/swapcontext.c (swapcontext): Likewise.
18553 * stdlib/system.c (__libc_system): Likewise.
18554 * stdlib/tst-strtod.c (expand): Likewise.
18555 * stdlib/tst-strtol.c (expand): Likewise.
18556 * stdlib/tst-strtoll.c (expand): Likewise.
18557 * streams/fattach.c (fattach): Likewise.
18558 * streams/fdetach.c (fdetach): Likewise.
18559 * streams/getmsg.c (getmsg): Likewise.
18560 * streams/isastream.c (isastream): Likewise.
18561 * string/ffs.c (__ffs): Likewise.
18562 * string/ffsll.c (ffsll): Likewise.
18563 * string/memcmp.c (memcmp_common_alignment): Likewise.
18564 (memcmp_not_common_alignment): Likewise.
18565 (MEMCMP): Likewise.
18566 * string/memcpy.c (memcpy): Likewise.
18567 * string/memmove.c (MEMMOVE): Likewise.
18568 * string/memset.c (memset): Likewise.
18569 * string/rawmemchr.c (RAWMEMCHR): Likewise.
18570 * string/strchrnul.c (STRCHRNUL): Likewise.
18571 * string/strerror.c (strerror): Likewise.
18572 * string/strndup.c (__strndup): Likewise.
18573 * string/strverscmp.c (__strverscmp): Likewise.
18574 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
18575 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
18576 (clnttcp_freeres): Likewise.
18577 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
18578 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
18579 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
18580 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
18581 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
18582 (xdr_callhdr): Likewise.
18583 * sunrpc/rpcinfo.c (udpping): Likewise.
18584 (tcpping): Likewise.
18585 (pstatus): Likewise.
18586 (pmapdump): Likewise.
18587 (brdcst): Likewise.
18588 (deletereg): Likewise.
18589 (getprognum): Likewise.
18590 (getvers): Likewise.
18591 (get_inet_address): Likewise.
18592 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
18593 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18594 (svcudp_stat): Likewise.
18595 (svcudp_recv): Likewise.
18596 (svcudp_reply): Likewise.
18597 (svcudp_getargs): Likewise.
18598 (svcudp_freeargs): Likewise.
18599 (svcudp_destroy): Likewise.
18600 * sunrpc/xdr.c (xdr_bytes): Likewise.
18601 (xdr_netobj): Likewise.
18602 (xdr_string): Likewise.
18603 (xdr_wrapstring): Likewise.
18604 * sunrpc/xdr_float.c (xdr_float): Likewise.
18605 (xdr_double): Likewise.
18606 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
18607 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
18608 * sysvipc/ftok.c (ftok): Likewise.
18609 * sysvipc/msgctl.c (msgctl): Likewise.
18610 * sysvipc/msgget.c (msgget): Likewise.
18611 * sysvipc/msgrcv.c (msgrcv): Likewise.
18612 * sysvipc/msgsnd.c (msgsnd): Likewise.
18613 * sysvipc/semget.c (semget): Likewise.
18614 * sysvipc/semop.c (semop): Likewise.
18615 * sysvipc/shmat.c (shmat): Likewise.
18616 * sysvipc/shmctl.c (shmctl): Likewise.
18617 * sysvipc/shmdt.c (shmdt): Likewise.
18618 * sysvipc/shmget.c (shmget): Likewise.
18619 * termios/cfmakeraw.c (cfmakeraw): Likewise.
18620 * termios/speed.c (cfgetospeed): Likewise.
18621 (cfgetispeed): Likewise.
18622 (cfsetospeed): Likewise.
18623 (cfsetispeed): Likewise.
18624 * termios/tcflow.c (tcflow): Likewise.
18625 * termios/tcflush.c (tcflush): Likewise.
18626 * termios/tcgetattr.c (__tcgetattr): Likewise.
18627 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
18628 * termios/tcgetsid.c (tcgetsid): Likewise.
18629 * termios/tcsendbrk.c (tcsendbreak): Likewise.
18630 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
18631 * time/adjtime.c (__adjtime): Likewise.
18632 * time/dysize.c (dysize): Likewise.
18633 * time/ftime.c (ftime): Likewise.
18634 * time/getitimer.c (__getitimer): Likewise.
18635 * time/gettimeofday.c (__gettimeofday): Likewise.
18636 * time/gmtime.c (__gmtime_r): Likewise.
18637 (gmtime): Likewise.
18638 * time/localtime.c (__localtime_r): Likewise.
18639 (localtime): Likewise.
18640 * time/offtime.c (__offtime): Likewise.
18641 * time/settimeofday.c (__settimeofday): Likewise.
18642 * time/stime.c (stime): Likewise.
18643 * time/strftime_l.c (tm_diff): Likewise.
18644 (iso_week_days): Likewise.
18645 * time/strptime.c (strptime): Likewise.
18646 * time/time.c (time): Likewise.
18647 * time/timespec_get.c (timespec_get): Likewise.
18648 * time/tzset.c (tzset_internal): Likewise.
18649 (compute_change): Likewise.
18650 (__tz_compute): Likewise.
18651 * wcsmbs/btowc.c (__btowc): Likewise.
18652 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
18653 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
18654 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
18655 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
18656 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
18657 * wcsmbs/wcscat.c (__wcscat): Likewise.
18658 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18659 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
18660 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
18661 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18662 * wcsmbs/wcsdup.c (wcsdup): Likewise.
18663 * wcsmbs/wcslen.c (__wcslen): Likewise.
18664 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
18665 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
18666 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
18667 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
18668 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18669 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
18670 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18671 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18672 * wcsmbs/wcstok.c (wcstok): Likewise.
18673 * wcsmbs/wctob.c (wctob): Likewise.
18674 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
18675 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18676 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
18677 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
18678 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
18679 * wcsmbs/wmemset.c (__wmemset): Likewise.
18680 * wctype/wcfuncs.c (__towlower): Likewise.
18681 (__towupper): Likewise.
18682
18683 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
18684 (lll_unlock_elision): Add adapt_count parameter.
18685
18686 2015-10-15 Joseph Myers <joseph@codesourcery.com>
18687
18688 * sysdeps/nptl/configure.ac: Do not give errors based on the
18689 results of top-level configure tests.
18690 * sysdeps/nptl/configure: Regenerated.
18691
18692 * configure.ac (libc_cv_Bgroup): Remove configure test.
18693 * configure: Regenerated.
18694 * config.make.in (have-Bgroup): Remove variable.
18695
18696 * configure.ac (sizeof_long_double): Remove configure test.
18697 * configure: Regenerated.
18698 * config.make.in (sizeof-long-double): Remove variable.
18699
18700 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
18701 * configure: Regenerated.
18702 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
18703 variable.
18704 (exceptions): Likewise.
18705 * sysdeps/arm/configure: Regenerated.
18706 * config.make.in (exceptions): Remove variable.
18707 * Makeconfig (uses-callbacks): Use -fexceptions instead of
18708 $(exceptions).
18709 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
18710 (CFLAGS-vdprintf_chk.c): Likewise.
18711 (CFLAGS-printf_chk.c): Likewise.
18712 (CFLAGS-fprintf_chk.c): Likewise.
18713 (CFLAGS-vprintf_chk.c): Likewise.
18714 (CFLAGS-vfprintf_chk.c): Likewise.
18715 (CFLAGS-gets_chk.c): Likewise.
18716 (CFLAGS-fgets_chk.c): Likewise.
18717 (CFLAGS-fgets_u_chk.c): Likewise.
18718 (CFLAGS-fread_chk.c): Likewise.
18719 (CFLAGS-fread_u_chk.c): Likewise.
18720 (CFLAGS-wprintf_chk.c): Likewise.
18721 (CFLAGS-fwprintf_chk.c): Likewise.
18722 (CFLAGS-vwprintf_chk.c): Likewise.
18723 (CFLAGS-vfwprintf_chk.c): Likewise.
18724 (CFLAGS-fgetws_chk.c): Likewise.
18725 (CFLAGS-fgetws_u_chk.c): Likewise.
18726 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18727 (CFLAGS-fputc.c): Likewise.
18728 (CFLAGS-fputwc.c): Likewise.
18729 (CFLAGS-freopen64.c): Likewise.
18730 (CFLAGS-freopen.c): Likewise.
18731 (CFLAGS-fseek.c): Likewise.
18732 (CFLAGS-fseeko64.c): Likewise.
18733 (CFLAGS-fseeko.c): Likewise.
18734 (CFLAGS-ftello64.c): Likewise.
18735 (CFLAGS-ftello.c): Likewise.
18736 (CFLAGS-fwide.c): Likewise.
18737 (CFLAGS-genops.c): Likewise.
18738 (CFLAGS-getc.c): Likewise.
18739 (CFLAGS-getchar.c): Likewise.
18740 (CFLAGS-getwc.c): Likewise.
18741 (CFLAGS-getwchar.c): Likewise.
18742 (CFLAGS-iofclose.c): Likewise.
18743 (CFLAGS-iofflush.c): Likewise.
18744 (CFLAGS-iofgetpos64.c): Likewise.
18745 (CFLAGS-iofgetpos.c): Likewise.
18746 (CFLAGS-iofgets.c): Likewise.
18747 (CFLAGS-iofgetws.c): Likewise.
18748 (CFLAGS-iofputs.c): Likewise.
18749 (CFLAGS-iofputws.c): Likewise.
18750 (CFLAGS-iofread.c): Likewise.
18751 (CFLAGS-iofsetpos64.c): Likewise.
18752 (CFLAGS-iofsetpos.c): Likewise.
18753 (CFLAGS-ioftell.c): Likewise.
18754 (CFLAGS-iofwrite.c): Likewise.
18755 (CFLAGS-iogetdelim.c): Likewise.
18756 (CFLAGS-iogetline.c): Likewise.
18757 (CFLAGS-iogets.c): Likewise.
18758 (CFLAGS-iogetwline.c): Likewise.
18759 (CFLAGS-ioputs.c): Likewise.
18760 (CFLAGS-ioseekoff.c): Likewise.
18761 (CFLAGS-ioseekpos.c): Likewise.
18762 (CFLAGS-iosetbuffer.c): Likewise.
18763 (CFLAGS-iosetvbuf.c): Likewise.
18764 (CFLAGS-ioungetc.c): Likewise.
18765 (CFLAGS-ioungetwc.c): Likewise.
18766 (CFLAGS-oldfileops.c): Likewise.
18767 (CFLAGS-oldiofclose.c): Likewise.
18768 (CFLAGS-oldiofgetpos64.c): Likewise.
18769 (CFLAGS-oldiofgetpos.c): Likewise.
18770 (CFLAGS-oldiofsetpos64.c): Likewise.
18771 (CFLAGS-oldiofsetpos.c): Likewise.
18772 (CFLAGS-peekc.c): Likewise.
18773 (CFLAGS-putc.c): Likewise.
18774 (CFLAGS-putchar.c): Likewise.
18775 (CFLAGS-putwc.c): Likewise.
18776 (CFLAGS-putwchar.c): Likewise.
18777 (CFLAGS-rewind.c): Likewise.
18778 (CFLAGS-wfileops.c): Likewise.
18779 (CFLAGS-wgenops.c): Likewise.
18780 (CFLAGS-oldiofopen.c): Likewise.
18781 (CFLAGS-iofopen.c): Likewise.
18782 (CFLAGS-iofopen64.c): Likewise.
18783 (CFLAGS-oldtmpfile.c): Likewise.
18784 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18785 (CFLAGS-fprintf.c): Likewise.
18786 (CFLAGS-printf.c): Likewise.
18787 (CFLAGS-vfwprintf.c): Likewise.
18788 (CFLAGS-vfscanf.c): Likewise.
18789 (CFLAGS-vfwscanf.c): Likewise.
18790 (CFLAGS-fscanf.c): Likewise.
18791 (CFLAGS-scanf.c): Likewise.
18792 (CFLAGS-isoc99_vfscanf.c): Likewise.
18793 (CFLAGS-isoc99_vscanf.c): Likewise.
18794 (CFLAGS-isoc99_fscanf.c): Likewise.
18795 (CFLAGS-isoc99_scanf.c): Likewise.
18796 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
18797 (CFLAGS-isoc99_fwscanf.c): Likewise.
18798 (CFLAGS-isoc99_vwscanf.c): Likewise.
18799 (CFLAGS-isoc99_vfwscanf.c): Likewise.
18800
18801 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
18802 after mkstemp64.
18803 * login/tst-utmp.c (do_prepare): Likewise.
18804 * rt/tst-aio.c (do_prepare): Likewise.
18805 * rt/tst-aio64.c (do_prepare): Likewise.
18806
18807 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18808
18809 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18810 (__lll_lock_elision): Remove adapt_count decrement...
18811 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18812 (__lll_trylock_elision): Likewise.
18813 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18814 (__lll_unlock_elision): ... to here. And utilize
18815 new adapt_count parameter.
18816 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18817 (__lll_unlock_elision): Update to include adapt_count
18818 parameter.
18819 (lll_unlock_elision): Pass pointer to adapt_count
18820 variable.
18821
18822 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18823
18824 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
18825 Add elision adapt_count parameter to list of arguments.
18826 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18827 (lll_unlock_elision): Update with new parameter list
18828 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
18829 (lll_unlock_elision): Likewise.
18830 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
18831 (lll_unlock_elision): Likewise.
18832
18833 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18834
18835 [BZ #19122]
18836 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
18837 attribute_hidden.
18838
18839 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
18840 attribute_hidden.
18841 [IS_IN (rtld)] (__strdup): Likewise.
18842 [IS_IN (rtld)] (__strerror_r): Likewise.
18843 [IS_IN (rtld)] (__strsep_g): Likewise.
18844 [IS_IN (rtld)] (memchr): Likewise.
18845 [IS_IN (rtld)] (memcmp): Likewise.
18846 [IS_IN (rtld)] (memcpy): Likewise.
18847 [IS_IN (rtld)] (memmove): Likewise.
18848 [IS_IN (rtld)] (memset): Likewise.
18849 [IS_IN (rtld)] (rawmemchr): Likewise.
18850 [IS_IN (rtld)] (stpcpy): Likewise.
18851 [IS_IN (rtld)] (strchr): Likewise.
18852 [IS_IN (rtld)] (strcmp): Likewise.
18853 [IS_IN (rtld)] (strlen): Likewise.
18854 [IS_IN (rtld)] (strnlen): Likewise.
18855 [IS_IN (rtld)] (strsep): Likewise.
18856
18857 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
18858 attribute_hidden.
18859 [IS_IN (rtld)] (__strtoul_internal): Likewise.
18860
18861 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
18862 attribute_hidden.
18863 [IS_IN (rtld)] (__libc_sigaction): Likewise.
18864
18865 * include/setjmp.h (__longjmp): Add attribute_hidden.
18866 [IS_IN (rtld)] (__sigsetjmp): Likewise.
18867
18868 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
18869 Add attribute_hidden.
18870
18871 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
18872 [IS_IN (rtld)] (__open): Likewise.
18873 [IS_IN (rtld)] (__fcntl): Likewise.
18874
18875 * include/dirent.h (__opendirat): Add attribute_hidden.
18876 (__getdents): Likewise.
18877 (__getdents64): Likewise.
18878 (__alloc_dir): Likewise.
18879 [IS_IN (rtld)] (__closedir): Likewise.
18880 [IS_IN (rtld)] (__fdopendir): Likewise.
18881 [IS_IN (rtld)] (__readdir): Likewise.
18882 [IS_IN (rtld)] (__readdir64): Likewise.
18883 [IS_IN (rtld)] (__rewinddir): Likewise.
18884
18885 * include/dlfcn.h (_dl_catch_error): Moved to ...
18886 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18887 attribute_hidden.
18888
18889 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18890 (_itoa_word): Likewise.
18891
18892 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18893 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18894 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18895 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18896 (_dl_higher_prime_number): Likewise.
18897 (_dl_debug_printf_c): Likewise.
18898 (_dl_signal_cerror): Likewise.
18899 (_dl_receive_error): Likewise.
18900 (_dl_reloc_bad_type): Likewise.
18901 (_dl_resolve_conflicts): Likewise.
18902 (_dl_check_all_versions): Likewise.
18903 (_dl_check_map_versions): Likewise.
18904 (_dl_sort_fini): Likewise.
18905 (_dl_debug_initialize): Likewise.
18906 (_dl_init_paths): Likewise.
18907 (_dl_show_auxv): Likewise.
18908 (_dl_next_ld_env_entry): Likewise.
18909 (_dl_important_hwcaps): Likewise.
18910 (_dl_load_cache_lookup): Likewise.
18911 (_dl_update_slotinfo): Likewise.
18912 (_dl_show_scope): Likewise.
18913
18914 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18915 attribute_hidden.
18916 (_wordcopy_fwd_dest_aligned): Likewise.
18917 (_wordcopy_bwd_aligned): Likewise.
18918 (_wordcopy_bwd_dest_aligned): Likewise.
18919
18920 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18921 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18922 Likewise.
18923 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18924 Likewise.
18925 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18926
18927 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18928
18929 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18930 GCC 5 requirement.
18931
18932 2015-10-15 Joseph Myers <joseph@codesourcery.com>
18933
18934 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18935 test.
18936 * sysdeps/i386/configure: Regenerated.
18937 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18938 code unconditional.
18939
18940 * configure.ac (libc_cv_asm_previous_directive): Remove configure
18941 test.
18942 (libc_cv_asm_popsection_directive): Likewise.
18943 * configure: Regenerated.
18944 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18945 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18946 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18947 (__make_section_unallocated): Make definition unconditional.
18948 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18949 Remove conditional definition.
18950 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18951 (__make_section_unallocated): Likewise.
18952
18953 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18954 * configure: Regenerated.
18955 * config.make.in (static-libgcc): Remove variable.
18956 * Makerules (build-shlib-helper): Use -static-libgcc instead of
18957 $(static-libgcc).
18958 (build-module-helper): Likewise.
18959
18960 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18961 * configure: Regenerated.
18962
18963 2015-10-15 Florian Weimer <fweimer@redhat.com>
18964
18965 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18966 (struct char_buffer): New type.
18967 (char_buffer_start, char_buffer_size, char_buffer_error)
18968 (char_buffer_rewind, char_buffer_add): New functions.
18969 (ADDW): Remove macro, replaced by the char_buffer_add function.
18970 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18971 of extend_alloca. Make control flow more explicit.
18972
18973 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18974
18975 [BZ #19137]
18976 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18977 Add -fomit-frame-pointer.
18978 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18979
18980 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18981
18982 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18983 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18984 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18985 only if !__GNUC_PREREQ (5,0).
18986 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18987 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18988 (INTERNAL_SYSCALL_NCS): Likewise.
18989 (LOADREGS_0): New macro for GCC 5.
18990 (ASMARGS_0): Likewise.
18991 (LOADREGS_1): Likewise.
18992 (ASMARGS_1): Likewise.
18993 (LOADREGS_2): Likewise.
18994 (ASMARGS_2): Likewise.
18995 (LOADREGS_3): Likewise.
18996 (ASMARGS_3): Likewise.
18997 (LOADREGS_4): Likewise.
18998 (ASMARGS_4): Likewise.
18999 (LOADREGS_5): Likewise.
19000 (ASMARGS_5): Likewise.
19001 (LOADREGS_6): Likewise.
19002 (ASMARGS_6): Likewise.
19003
19004 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
19005
19006 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
19007 -fomit-frame-pointer.
19008 (CFLAGS-mmap64.c): Likewise.
19009 (CFLAGS-semtimedop.c): Likewise.
19010 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
19011 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
19012 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19013 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19014
19015 2015-10-15 Florian Weimer <fweimer@redhat.com>
19016
19017 [BZ #18928]
19018 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
19019 _dl_pointer_guard member.
19020 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
19021 initializer.
19022 (security_init): Always set up pointer guard.
19023 (process_envvars): Do not process LD_POINTER_GUARD.
19024
19025 2015-10-14 Joseph Myers <joseph@codesourcery.com>
19026
19027 [BZ #19134]
19028 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
19029 (.LC2): Likewise.
19030 (.LC3): Likewise.
19031 (__lround): Do not add 0.5 to integer or out-of-range arguments.
19032
19033 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
19034
19035 [BZ #19129]
19036 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
19037 r0 and r1.
19038
19039 2015-10-14 Namhyung Kim <namhyung@gmail.com>
19040
19041 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
19042
19043 2015-10-14 Carlos O'Donell <carlos@redhat.com>
19044
19045 * include/stap-probe.h: Fix macro definition formatting.
19046
19047 2015-10-14 Florian Weimer <fweimer@redhat.com>
19048
19049 [BZ #19074]
19050 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
19051 load and store num_ifs.
19052
19053 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
19054
19055 [BZ #18822]
19056 * sysdeps/unix/sysv/linux/sched_getaffinity.c
19057 (__sched_getaffinity_new): Add libc_hidden_proto and
19058 libc_hidden_def.
19059
19060 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
19061
19062 [BZ #19007]
19063 * scripts/localplt.awk: Also allow GOT references.
19064 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
19065 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
19066 with "+ REL R_386_GLOB_DAT".
19067 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
19068 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
19069
19070 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
19071
19072 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
19073 INLINE_SYSCALL_ERROR_RETURN_VALUE.
19074 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
19075 Likewise.
19076 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
19077 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
19078 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
19079 INTERNAL_SYSCALLINTERNAL_SYSCALL and
19080 INLINE_SYSCALL_ERROR_RETURN_VALUE.
19081 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
19082 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19083 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
19084 Likewise.
19085 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19086
19087 2015-10-13 Joseph Myers <joseph@codesourcery.com>
19088
19089 [BZ #19125]
19090 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
19091 <math_private.h> and <stdint.h>.
19092 (__llround): Avoid conversions to and from long long int, and
19093 subtractions, where those might raise spurious exceptions.
19094 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19095 <math_private.h> and <stdint.h>.
19096 (__llroundf): Avoid conversions to and from long long int, and
19097 subtractions, where those might raise spurious exceptions.
19098
19099 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
19100
19101 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
19102 INLINE_SYSCALL_ERROR_RETURN_VALUE.
19103 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19104 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
19105 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19106 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19107 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
19108 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
19109 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
19110 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19111 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19112 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19113 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
19114 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19115 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19116 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
19117 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
19118 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19119 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
19120 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
19121 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
19122 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
19123 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
19124 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
19125 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
19126 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
19127 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
19128 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19129 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19130 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
19131 (__xstat64_conv): Likewise.
19132 (__xstat32_conv): Likewise.
19133
19134 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
19135
19136 * sysdeps/unix/sysv/linux/sysdep.h: New file.
19137 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
19138 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
19139 <sysdeps/unix/sysv/linux/sysdep.h>.
19140 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19141 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
19142 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
19143 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19144 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19145 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
19146 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
19147 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19148 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19151 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19153 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19154 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19156 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
19157 (sysdep-dl-routines): Add sysdep.
19158 [$(subdir) == nptl] (libpthread-routines): Likewise.
19159 [$(subdir) == rt] (librt-routines): Likewise.
19160 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
19161 PIC when branching to SYSCALL_ERROR_LABEL.
19162 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
19163 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
19164 <sysdeps/unix/sysv/linux/sysdep.h>.
19165 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
19166 (SYSCALL_ERROR_ERRNO): Removed.
19167 (SYSCALL_ERROR_HANDLER): Changed to empty.
19168 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
19169 (__syscall_error): New prototype.
19170 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
19171 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
19172
19173 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
19174
19175 [BZ #19124]
19176 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
19177 (_dl_runtime_resolve_avx512): Make it a hidden alias of
19178 _dl_runtime_resolve_avx.
19179 (_dl_runtime_profile_avx512): Make it a hidden alias of
19180 _dl_runtime_profile_avx.
19181
19182 2015-10-13 Joseph Myers <joseph@codesourcery.com>
19183
19184 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
19185 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
19186 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
19187 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
19188
19189 [BZ #16422]
19190 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
19191 New configure test.
19192 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
19193 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
19194 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
19195 <math_private.h> and <stdint.h>.
19196 (__llrint): Avoid conversions to long long int where those might
19197 raise spurious exceptions.
19198 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19199 <math_private.h> and <stdint.h>.
19200 (__llrintf): Avoid conversions to long long int where those might
19201 raise spurious exceptions.
19202
19203 2015-10-12 Andreas Schwab <schwab@suse.de>
19204
19205 [BZ #18969]
19206 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
19207 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
19208 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
19209 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
19210 $(gen-locales).
19211 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
19212 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
19213 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
19214 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
19215 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
19216 $(gen-locales).
19217 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
19218 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
19219 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
19220 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
19221 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
19222 ($(objpfx)tst-ftell-active-handler.out)
19223 ($(objpfx)tst-ftell-append.out)
19224 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
19225 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
19226 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
19227 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
19228 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
19229 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
19230 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
19231 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
19232 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
19233 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
19234 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
19235 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
19236 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
19237 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
19238 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
19239 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
19240 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
19241 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
19242 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
19243 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
19244 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
19245 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
19246 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
19247 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
19248 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
19249 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
19250 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
19251 $(gen-locales).
19252 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
19253 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
19254 $(gen-locales).
19255 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
19256 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
19257 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
19258 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
19259 $(gen-locales).
19260 * libio/tst_wprintf2.c (main): Use explicit locale.
19261 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
19262
19263 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19264
19265 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
19266 __msg_sig_post.
19267 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
19268
19269 2015-10-09 Joseph Myers <joseph@codesourcery.com>
19270
19271 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19272 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19273
19274 * sysdeps/arm/libm-test-ulps: Regenerated.
19275
19276 [BZ #15470]
19277 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
19278
19279 [BZ #16399]
19280 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
19281 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
19282 and <fix-fp-int-convert-overflow.h>.
19283 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19284 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19285 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
19286 and <fix-fp-int-convert-overflow.h>.
19287 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
19288 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19289 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
19290 <fix-fp-int-convert-overflow.h>.
19291 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19292 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19293 * sysdeps/ieee754/dbl-64/s_lround.c: Include
19294 <fix-fp-int-convert-overflow.h>.
19295 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
19296 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19297 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
19298 and <fix-fp-int-convert-overflow.h>.
19299 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19300 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19301 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
19302 <limits.h> and <fix-fp-int-convert-overflow.h>.
19303 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19304 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19305 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
19306 and <fix-fp-int-convert-overflow.h>.
19307 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19308 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19309 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
19310 and <fix-fp-int-convert-overflow.h>.
19311 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19312 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19313 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
19314
19315 2015-10-09 Carlos O'Donell <carlos@redhat.com>
19316
19317 [BZ #18589]
19318 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
19319 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
19320 $(gen-locales).
19321
19322 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19323 Phil Blundell <pb@pbcl.net>
19324
19325 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
19326 * nptl/tst-cancel26.c: New file.
19327 * nptl/tst-cancel27.c: Likewise.
19328
19329 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
19330
19331 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
19332 __ILP32__ isn't defined.
19333 (lrint): Likewise.
19334 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
19335 (lrintf): Likewise.
19336 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
19337 (lrintl): Likewise.
19338 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
19339 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
19340 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
19341
19342 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19343
19344 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19345 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19346
19347 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
19348 file.
19349 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
19350 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19351
19352 2015-10-09 Joseph Myers <joseph@codesourcery.com>
19353
19354 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
19355 configure test.
19356 * sysdeps/i386/configure: Regenerated.
19357 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
19358 configure test.
19359 * sysdeps/x86_64/configure: Regenerated.
19360 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
19361 Make code unconditional.
19362
19363 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
19364 test.
19365 * sysdeps/i386/configure: Regenerated.
19366 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
19367 test.
19368 * sysdeps/x86_64/configure: Regenerated.
19369 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
19370 Make code unconditional.
19371 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19372 Likewise.
19373 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
19374 Likewise.
19375 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19376 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
19377 code unconditional.
19378 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19379 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
19380 code unconditional.
19381 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19382 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
19383 code unconditional.
19384 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
19385 code unconditional.
19386 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19387 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
19388 code unconditional.
19389 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19390 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
19391 code unconditional.
19392 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19393 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
19394 code unconditional.
19395 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19396 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
19397 code unconditional.
19398 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19399 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
19400
19401 [BZ #19095]
19402 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
19403 mantissa to long int before shifting left.
19404
19405 2015-10-08 Joseph Myers <joseph@codesourcery.com>
19406
19407 [BZ #19094]
19408 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
19409 <limits.h>.
19410 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19411 when result overflows but exception would not result from cast.
19412 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
19413 <limits.h>.
19414 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19415 when result overflows but exception would not result from cast.
19416 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
19417 <limits.h>.
19418 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19419 when result overflows but exception would not result from cast.
19420 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
19421 <limits.h>.
19422 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19423 when result overflows but exception would not result from cast.
19424 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
19425 <limits.h>.
19426 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19427 when result overflows but exception would not result from cast.
19428 * math/libm-test.inc (lrint_test_data): Add more tests.
19429 (llrint_test_data): Likewise.
19430
19431 2015-10-08 Roland McGrath <roland@hack.frob.com>
19432
19433 [BZ #18872]
19434 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
19435 Move out from under [$(run-built-tests) = yes] conditional.
19436 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
19437 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
19438
19439 2015-10-08 Carlos O'Donell <carlos@redhat.com>
19440
19441 [BZ #18589]
19442 * string/Makefile (tests): Add bug-strcoll2.
19443 (LOCALES): Add cs_CZ.UTF-8.
19444 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
19445
19446 [BZ #18589]
19447 * string/bug-strcoll2.c: New file.
19448 * locale/categories.def: Revert commit
19449 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
19450 * locale/langinfo.h: Likewise.
19451 * locale/localeinfo.h: Likewise.
19452 * locale/C-collate.c: Likewise.
19453 * locale/programs/ld-collate.c (collate_output): Likewise.
19454 * string/strcoll_l.c (STRDIFF): Likewise.
19455 (STRCOLL): Likewise.
19456 * wcsmbs/wcscoll_l.c: Likewise.
19457
19458 2015-10-08 Joseph Myers <joseph@codesourcery.com>
19459
19460 * math/libm-test.inc (lround_test_data): Do not expect the absence
19461 of "inexact" for some tests with non-integer arguments.
19462 (llround_test_data): Likewise.
19463
19464 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
19465 test.
19466 (libc_cv_cc_sse2avx): Likewise.
19467 * sysdeps/i386/configure: Regenerated.
19468 * sysdeps/i386/i686/multiarch/Makefile
19469 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
19470 [$(subdir) = math].
19471 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
19472 code unconditional.
19473 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19474 Likewise.
19475 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
19476 Likewise.
19477 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19478 Likewise.
19479 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
19480 test.
19481 (libc_cv_cc_sse2avx): Likewise.
19482 * sysdeps/x86_64/configure: Regenerated.
19483 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
19484 unconditional.
19485 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
19486 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
19487 unconditional.
19488 (_dl_runtime_profile)
19489 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
19490 conditional code.
19491 * sysdeps/x86_64/fpu/multiarch/Makefile
19492 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
19493 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19494 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19495 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19496 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19497 * sysdeps/x86_64/fpu/multiarch/e_log.c
19498 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19499 * sysdeps/x86_64/fpu/multiarch/s_atan.c
19500 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19501 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19502 Likewise.
19503 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19504 Likewise.
19505 * sysdeps/x86_64/fpu/multiarch/s_sin.c
19506 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19507 * sysdeps/x86_64/fpu/multiarch/s_tan.c
19508 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19509 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
19510 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
19511 (HAVE_SSE2AVX_SUPPORT): Likewise.
19512
19513 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
19514
19515 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
19516 instead of #pragma optimize.
19517
19518 2015-10-07 Carlos O'Donell <carlos@redhat.com>
19519
19520 [BZ #17195]
19521 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
19522 as is similarly done in systrim and _int_free already.
19523
19524 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
19525
19526 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
19527
19528 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19529
19530 [BZ #19088]
19531 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
19532 <limits.h>.
19533 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19534 overflows but exception would not result from cast.
19535 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
19536 and <limits.h>.
19537 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19538 overflows but exception would not result from cast.
19539 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
19540 <limits.h>.
19541 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19542 overflows but exception would not result from cast.
19543 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
19544 <limits.h>.
19545 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19546 overflows but exception would not result from cast.
19547 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
19548 <limits.h>.
19549 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19550 overflows but exception would not result from cast.
19551 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
19552 <limits.h>.
19553 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19554 overflows but exception would not result from cast.
19555 * math/libm-test.inc (lround_test_data): Add more tests.
19556 (llround_test_data): Likewise.
19557
19558 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
19559
19560 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
19561 (CFLAGS-ialloc.c): Ditto.
19562 (CFLAGS-scheck.c): Ditto.
19563
19564 2015-10-07 Carlos O'Donell <carlos@redhat.com>
19565
19566 [BZ #19086]
19567 * manual/filesys.texi (Storage Allocation): Fix argument order for
19568 posix_fallocate64.
19569
19570 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19571
19572 [BZ #19085]
19573 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
19574 exponent below 48 inside case for non-overflowing exponent.
19575 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
19576
19577 2015-10-07 Florian Weimer <fweimer@redhat.com>
19578
19579 * iconvdata/cp737.h (from_idx): Add const.
19580 * iconvdata/cp775.h (from_idx): Likewise.
19581
19582 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19583
19584 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
19585 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
19586 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
19587
19588 [BZ #19079]
19589 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
19590 file, conditioned on [!_LP64].
19591 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
19592 [!_LP64] (__lround): Do not define as function or alias.
19593 [!_LP64] (lround): Likewise.
19594 [!_LP64] (__lroundl): Likewise.
19595 [!_LP64] (lroundl): Likewise.
19596 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
19597 macro.
19598 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19599 Likewise.
19600
19601 2015-10-06 Joseph Myers <joseph@codesourcery.com>
19602
19603 * math/libm-test.inc (lrint_test_data): Add more tests.
19604 (llrint_test_data): Likewise.
19605 (lround_test_data): Likewise.
19606 (llround_test_data): Likewise.
19607
19608 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
19609 (llrint_test_data): Add tests used for lrint.
19610
19611 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
19612 test.
19613 * sysdeps/i386/configure: Regenerated.
19614 * sysdeps/i386/i686/multiarch/Makefile
19615 [$(config-cflags-sse4) = yes]: Make code unconditional.
19616 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19617 Likewise.
19618 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
19619 Likewise.
19620 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
19621 test.
19622 * sysdeps/x86_64/configure: Regenerated.
19623 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
19624 Make code unconditional.
19625 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19626 Likewise.
19627 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
19628 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
19629
19630 * scripts/rpm2dynsym.sh: Remove file.
19631
19632 2015-10-06 Florian Weimer <fweimer@redhat.com>
19633
19634 * configure.ac (libc_cv_cxx_thread_local): Define.
19635 * configure: Regenerate.
19636 * config.make.in (have-cxx-thread_local): Define.
19637 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
19638 (LDLIBS-tst-thread_local1): Define.
19639 (tests): Add tst-thread_local1.
19640 [have-cxx-thread_local != yes] (tests-unsupported): Add
19641 tst-thread_local1.
19642 * nptl/tst-thread_local1.cc: New file.
19643
19644 2015-10-06 Joseph Myers <joseph@codesourcery.com>
19645
19646 [BZ #19078]
19647 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
19648 (u_thres): Likewise.
19649 (__expl): Determine whether to call __kernel_standard_l based on
19650 value of result, not argument.
19651
19652 * math/libm-test.inc (scalb_test_data): Add more expectations for
19653 the "inexact" exception.
19654
19655 [BZ #19077]
19656 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
19657 0.0L for argument 1.0L.
19658
19659 [BZ #19076]
19660 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
19661 constant 0.0L when computing infinite result.
19662
19663 2015-10-06 Florian Weimer <fweimer@redhat.com>
19664
19665 [BZ #10432]
19666 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
19667 malloc_usable_size.
19668
19669 2015-10-06 Florian Weimer <fweimer@redhat.com>
19670
19671 [BZ #19018]
19672 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19673 Mangle function pointer before storing it.
19674 (__call_tls_dtors): Demangle function pointer before calling it.
19675
19676 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19677
19678 [BZ #19012]
19679 * iconv/gconv_db.c (gen_steps): Check for additional errors.
19680 Clean up on failure.
19681
19682 2015-10-05 Joseph Myers <joseph@codesourcery.com>
19683
19684 [BZ #19071]
19685 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
19686 long int variable to store possibly incremented high part of
19687 mantissa.
19688 * math/libm-test.inc (lround_test_data): Add tests used for
19689 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
19690 for tests requiring 64-bit long. Do not condition tests on
19691 [TEST_FLOAT] unnecessarily.
19692 (llround_test_data): Add tests used for lround. Add another
19693 expectation for the "inexact" exception. Do not condition tests
19694 on [TEST_FLOAT] unnecessarily.
19695
19696 [BZ #887]
19697 [BZ #19049]
19698 [BZ #19050]
19699 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
19700 * sysdeps/ieee754/dbl-64/e_log10.c: Include
19701 <fix-int-fp-convert-zero.h>.
19702 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19703 * sysdeps/ieee754/dbl-64/e_log2.c: Include
19704 <fix-int-fp-convert-zero.h>.
19705 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19706 * sysdeps/ieee754/dbl-64/s_erf.c: Include
19707 <fix-int-fp-convert-zero.h>.
19708 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19709 * sysdeps/ieee754/dbl-64/s_logb.c: Include
19710 <fix-int-fp-convert-zero.h>.
19711 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19712 * sysdeps/ieee754/flt-32/e_log10f.c: Include
19713 <fix-int-fp-convert-zero.h>.
19714 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19715 * sysdeps/ieee754/flt-32/e_log2f.c: Include
19716 <fix-int-fp-convert-zero.h>.
19717 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19718 * sysdeps/ieee754/flt-32/s_erff.c: Include
19719 <fix-int-fp-convert-zero.h>.
19720 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19721 * sysdeps/ieee754/flt-32/s_logbf.c: Include
19722 <fix-int-fp-convert-zero.h>.
19723 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19724 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
19725 <fix-int-fp-convert-zero.h>.
19726 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19727 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
19728 <fix-int-fp-convert-zero.h>.
19729 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19730 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
19731 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
19732 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
19733 file.
19734 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
19735
19736 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
19737
19738 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19739
19740 2015-10-02 Joseph Myers <joseph@codesourcery.com>
19741
19742 [BZ #19059]
19743 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
19744 overflowing computation.
19745 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19746 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19747 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19748 Likewise.
19749 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19750 Likewise.
19751 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19752 Likewise.
19753 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19754 Likewise.
19755 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19756 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19757 Likewise.
19758 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19759 Likewise.
19760 * math/libm-test.inc (nexttoward_test_data): Add more tests.
19761
19762 * nss/rewrite_field.c (__nss_rewrite_field): Use
19763 internal_function.
19764 * nss/valid_field.c (__nss_valid_field): Likewise.
19765 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
19766
19767 2015-10-02 Florian Weimer <fweimer@redhat.com>
19768
19769 [BZ #18724]
19770 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
19771 (__nss_invalid_field_characters, __nss_valid_field)
19772 (__nss_valid_list_field, __nss_rewrite_field): Declare.
19773 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
19774 tst-field.c: New file.
19775 * nss/Makefile (routines): Add valid_field, rewrite_field.
19776 (tests-static): Define unconditionally.
19777 (tests): Include tests-static.
19778 [build-static-nss] (tests-static): Use append.
19779 [build-static-nss] (tests): Remove modification.
19780 * nss/getent.c (print_group): Call putgrent. Report error.
19781 (print_gshadow): Call putsgent. Report error.
19782 (print_passwd): Call putpwent. Report error.
19783 (print_shadow): Call putspent. Report error.
19784 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
19785 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
19786 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
19787 name, password, directory, shell fields for valid syntax. Rewrite
19788 GECOS field to match syntax.
19789 * pwd/Makefile (tests): Add tst-putpwent.
19790 * pwd/tst-putpwent.c: New file.
19791 * grp/putgrent.c (putgrent): Convert to ISO function definition.
19792 Check grName, grpasswd, gr_mem fields for valid syntax.
19793 Change loop variable i to size_t.
19794 * grp/Makefile (tests): Add tst-putgrent.
19795 * grp/tst-putgrent.c: New file.
19796 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
19797 valid syntax.
19798 * shadow/Makefile (tests): Add tst-putspent.
19799 * shadow/tst-putspent.c: New file.
19800 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
19801 sg_mem fields for valid syntax.
19802 * gshadow/Makefile (tests): Add tst-putsgent.
19803 * gshadow/tst-putsgent.c: New file.
19804
19805 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
19806
19807 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
19808 assembly instructions.
19809
19810 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
19811
19812 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
19813 prefix from operands.
19814
19815 2015-10-01 Joseph Myers <joseph@codesourcery.com>
19816
19817 [BZ #16347]
19818 [BZ #19046]
19819 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
19820 <libc-internal.h>.
19821 (MAXLGM): Do not use diagnostic control macros.
19822 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
19823 threshold for ldbl-128ibm.
19824 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
19825 instead of multiplying by log then subtracting.
19826 * math/auto-libm-test-in: Add more tests of lgamma.
19827 * math/auto-libm-test-out: Regenerated.
19828
19829 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
19830 (TYPE_HEX_DIG): Likewise.
19831 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
19832 precisions when printing floating-point numbers.
19833 (check_float_internal): Likewise.
19834
19835 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19836
19837 [BZ #16620]
19838 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
19839 of log (10) rounded downward to 48 bits.
19840 (log10_low): Use corresponding low part of log (10).
19841
19842 [BZ #19032]
19843 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
19844 compute result as (x - x) / (x - x) not as 0 / 0.
19845 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19846 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
19847
19848 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19849 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
19850 and expm1.
19851 * math/auto-libm-test-out: Regenerated.
19852 * math/libm-test.inc (acos_test_data): Add more tests.
19853 (asin_test_data): Likewise.
19854 (asinh_test_data): Likewise.
19855 (atan_test_data): Likewise.
19856 (atanh_test_data): Likewise.
19857 (atan2_test_data): Likewise.
19858 (cbrt_test_data): Likewise.
19859 (ceil_test_data): Likewise.
19860 (copysign_test_data): Likewise.
19861 (cos_test_data): Likewise.
19862 (cosh_test_data): Likewise.
19863 (erf_test_data): Likewise.
19864 (erfc_test_data): Likewise.
19865 (exp_test_data): Likewise.
19866 (exp10_test_data): Likewise.
19867 (exp2_test_data): Likewise.
19868 (expm1_test_data): Likewise.
19869 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19870
19871 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
19872
19873 [BZ #19006]
19874 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
19875 to ...
19876 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
19877 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
19878 to ...
19879 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
19880 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19881 to ...
19882 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19883 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19884 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19885 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19886 to ...
19887 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19888 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19889 Moved to ...
19890 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19891 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19892 Moved to ...
19893 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19894 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19895 to ...
19896 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19897 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19898 Moved to ...
19899 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19900 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19901 to ...
19902 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19903 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19904 Removed.
19905 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19906 Likewise.
19907 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19908 Likewise.
19909 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19910 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19911 Likewise.
19912 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19913 Likewise.
19914 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19915 Likewise.
19916 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19917 Likewise.
19918 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19919 Likewise.
19920 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19921 Likewise.
19922 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19923 Likewise.
19924 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19925 Likewise.
19926 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19927 Likewise.
19928 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19929 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19930 Likewise.
19931 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19932 Likewise.
19933 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19934 Likewise.
19935 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19936 Likewise.
19937 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19938 Likewise.
19939 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19940 Replace ../i486/pthread_cond_timedwait.S with
19941 ../pthread_cond_timedwait.S.
19942
19943 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19944
19945 * math/libm-test.inc (acos_test_data): Refine expectations for
19946 errno and "inexact" exceptions.
19947 (acosh_test_data): Likewise.
19948 (asin_test_data): Likewise.
19949 (asinh_test_data): Likewise.
19950 (atan_test_data): Likewise.
19951 (atanh_test_data): Likewise.
19952 (atan2_test_data): Likewise.
19953 (cbrt_test_data): Likewise.
19954 (ceil_test_data): Likewise.
19955 (copysign_test_data): Likewise.
19956 (cosh_test_data): Likewise.
19957 (erf_test_data): Likewise.
19958 (erfc_test_data): Likewise.
19959 (exp_test_data): Likewise.
19960 (exp10_test_data): Likewise.
19961 (exp2_test_data): Likewise.
19962 (expm1_test_data): Likewise.
19963 (fabs_test_data): Likewise.
19964 (floor_test_data): Likewise.
19965 (fma_test_data): Likewise.
19966 (fmax_test_data): Likewise.
19967 (fmin_test_data): Likewise.
19968 (fmod_test_data): Likewise.
19969 (fpclassify_test_data): Likewise.
19970 (frexp_test_data): Likewise.
19971 (hypot_test_data): Likewise.
19972 (ilogb_test_data): Likewise.
19973 (isgreater_test_data): Likewise.
19974 (isgreaterequal_test_data): Likewise.
19975 (isinf_test_data): Likewise.
19976 (isless_test_data): Likewise.
19977 (islessequal_test_data): Likewise.
19978 (islessgreater_test_data): Likewise.
19979 (isnan_test_data): Likewise.
19980 (isnormal_test_data): Likewise.
19981 (issignaling_test_data): Likewise.
19982 (isunordered_test_data): Likewise.
19983 (j0_test_data): Likewise.
19984 (j1_test_data): Likewise.
19985 (jn_test_data): Likewise.
19986 (lgamma_test_data): Likewise.
19987 (lrint_test_data): Likewise.
19988 (llrint_test_data): Likewise.
19989 (log_test_data): Likewise.
19990 (log10_test_data): Likewise.
19991 (log1p_test_data): Likewise.
19992 (log2_test_data): Likewise.
19993 (logb_test_data): Likewise.
19994 (lround_test_data): Likewise.
19995 (llround_test_data): Likewise.
19996 (modf_test_data): Likewise.
19997 (nearbyint_test_data): Likewise.
19998 (nextafter_test_data): Likewise.
19999 (nexttoward_test_data): Likewise.
20000 (pow_test_data): Likewise.
20001 (remainder_test_data): Likewise.
20002 (remquo_test_data): Likewise.
20003 (rint_test_data): Likewise.
20004 (round_test_data): Likewise.
20005 (signbit_test_data): Likewise.
20006 (sinh_test_data): Likewise.
20007 (sqrt_test_data): Likewise.
20008 (tanh_test_data): Likewise.
20009 (tgamma_test_data): Likewise.
20010 (trunc_test_data): Likewise.
20011 (y0_test_data): Likewise.
20012 (y1_test_data): Likewise.
20013 (yn_test_data): Likewise.
20014 (significand_test_data): Likewise.
20015
20016 2015-09-29 Carlos O'Donell <carlos@redhat.com>
20017
20018 * manual/filesys.texi (Storage Allocation): Document that
20019 posix_fallocate emulation fails when fd is open with O_WRONLY.
20020
20021 2015-09-28 Joseph Myers <joseph@codesourcery.com>
20022
20023 [BZ #19016]
20024 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
20025 allow more cases with X^2 + Y^2 >= 0.5.
20026 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
20027 normal element in sum instead of special-casing based on values of
20028 arguments.
20029 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
20030 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
20031 -1 as normal element in sum instead of special-casing based on
20032 values of arguments.
20033 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
20034 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
20035 (__x2y2m1): Update comment.
20036 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
20037 as normal element in sum instead of special-casing based on values
20038 of arguments.
20039 * math/s_clog.c (__clog): Handle more cases using log1p without
20040 hypot.
20041 * math/s_clog10.c (__clog10): Likewise.
20042 * math/s_clog10f.c (__clog10f): Likewise.
20043 * math/s_clog10l.c (__clog10l): Likewise.
20044 * math/s_clogf.c (__clogf): Likewise.
20045 * math/s_clogl.c (__clogl): Likewise.
20046 * math/auto-libm-test-in: Add more tests of clog and clog10.
20047 * math/auto-libm-test-out: Regenerated.
20048 * sysdeps/i386/fpu/libm-test-ulps: Update.
20049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20050
20051 2015-09-28 Martin Sebor <msebor@redhat.com>
20052
20053 [BZ #18969]
20054 * string/Makefile (LOCALES): Define.
20055 (gen-locales.mk): Include.
20056 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
20057 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
20058 * string/tst-strxfrm2.c (do_test): Print the name of the locale
20059 on setlocale failure.
20060
20061 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
20062
20063 [BZ #18985]
20064 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
20065 (__strftime_internal): Likewise.
20066 * time/tst-strftime.c (do_bz18985): New test.
20067 (do_test): Call it.
20068
20069 2015-09-26 Joseph Myers <joseph@codesourcery.com>
20070
20071 [BZ #18956]
20072 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
20073 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
20074 extracting high part.
20075 * math/auto-libm-test-in: Add another test of pow.
20076 * math/auto-libm-test-out: Regenerated.
20077 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20078
20079 2015-09-25 Joseph Myers <joseph@codesourcery.com>
20080
20081 [BZ #18825]
20082 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
20083 New macro.
20084 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
20085 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20086 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
20087 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
20088 DBL_NARROW_EVAL, reloading the PIC register as needed.
20089 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
20090 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
20091 FLT_NARROW_EVAL. Use separate return path for case when first
20092 argument is NaN.
20093 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
20094 DEFINE_LDBL_MIN.
20095 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
20096 PIC register.
20097 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
20098 math_check_force_underflow_nonneg.
20099 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
20100 underflow for subnormal result.
20101 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20102 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
20103 math_check_force_underflow_nonneg.
20104 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
20105 math_check_force_underflow.
20106 * sysdeps/x86_64/fpu/x86_64-math-asm.h
20107 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
20108 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
20109 DEFINE_LDBL_MIN.
20110 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
20111 * math/auto-libm-test-in: Add more tests of pow.
20112 * math/auto-libm-test-out: Regenerated.
20113
20114 2015-09-25 Florian Weimer <fweimer@redhat.com>
20115
20116 * nss/bug17079.c (init_test_items): Add diagnostic for
20117 inconsistent entries.
20118 (test_buffer_size): Skip inconsistent entries.
20119
20120 2015-09-25 Joseph Myers <joseph@codesourcery.com>
20121
20122 [BZ #13304]
20123 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
20124 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20125 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
20126
20127 [BZ #13304]
20128 * sysdeps/microblaze/s_fma.c: New file.
20129 * sysdeps/microblaze/s_fmaf.c: Likewise.
20130 * sysdeps/microblaze/sfp-machine.h: Likewise.
20131
20132 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
20133
20134 [BZ #17250]
20135 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
20136 member.
20137
20138 2015-09-24 Joseph Myers <joseph@codesourcery.com>
20139
20140 [BZ #18803]
20141 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
20142 (MO): New macro.
20143 (__ieee754_hypot) [PIC]: Load PIC register.
20144 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
20145 DBL_NARROW_EVAL.
20146 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
20147 math_check_force_underflow_nonneg in case where result might be
20148 tiny.
20149 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20150 Likewise.
20151 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20152 Likewise.
20153 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20154 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20155 * math/auto-libm-test-in: Add more tests of hypot.
20156 * math/auto-libm-test-out: Regenerated.
20157
20158 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
20159
20160 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
20161
20162 2015-09-24 Joseph Myers <joseph@codesourcery.com>
20163
20164 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
20165 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
20166 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
20167 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
20168 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
20169 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20170 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20171
20172 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
20173 LOAD_PIC_REG.
20174
20175 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
20176 (FLT_CHECK_FORCE_UFLOW): Likewise.
20177 (DBL_CHECK_FORCE_UFLOW): Likewise.
20178 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
20179 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
20180 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
20181 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20182 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20183 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20184 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20185 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20186 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
20187 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20188 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
20189 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
20190 (flt_min): Replace with use of DEFINE_FLT_MIN.
20191 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
20192 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
20193 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20194 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
20195 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
20196 (flt_min): Replace with use of DEFINE_FLT_MIN.
20197 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
20198 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
20199 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20200 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
20201 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
20202 (flt_min): Replace with use of DEFINE_FLT_MIN.
20203 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
20204 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
20205 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
20206 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
20207 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
20208 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20209 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20210 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
20211 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20212 (__atan): Use DBL_CHECK_FORCE_UFLOW.
20213 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
20214 (flt_min): Replace with use of DEFINE_FLT_MIN.
20215 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
20216 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
20217 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20218 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
20219 main computation.
20220 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
20221 (flt_min): Replace with use of DEFINE_FLT_MIN.
20222 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
20223 main computation.
20224 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
20225 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20226 (MO): New macro.
20227 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
20228 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
20229 (flt_min): Replace with use of DEFINE_FLT_MIN.
20230 (MO): New macro.
20231 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
20232 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
20233 (__log1pl): Use MO.
20234
20235 [BZ #19003]
20236 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
20237 $(config-cflags-nofma).
20238
20239 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20240
20241 * sysdeps/aarch64/libm-test-ulps: Regenerated.
20242
20243 2015-09-23 Joseph Myers <joseph@codesourcery.com>
20244
20245 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
20246 (TWO127): Likewise.
20247
20248 * sysdeps/generic/math_private.h (fabs_tg): New macro.
20249 (min_of_type): Likewise.
20250 (math_check_force_underflow): Likewise.
20251 (math_check_force_underflow_nonneg): Likewise.
20252 (math_check_force_underflow_complex): Likewise.
20253 * math/e_exp2l.c (__ieee754_exp2l): Use
20254 math_check_force_underflow_nonneg.
20255 * math/k_casinh.c (__kernel_casinh): Likewise.
20256 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20257 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20258 * math/s_catan.c (__catan): Use
20259 math_check_force_underflow_complex.
20260 * math/s_catanf.c (__catanf): Likewise.
20261 * math/s_catanh.c (__catanh): Likewise.
20262 * math/s_catanhf.c (__catanhf): Likewise.
20263 * math/s_catanhl.c (__catanhl): Likewise.
20264 * math/s_catanl.c (__catanl): Likewise.
20265 * math/s_ccosh.c (__ccosh): Likewise.
20266 * math/s_ccoshf.c (__ccoshf): Likewise.
20267 * math/s_ccoshl.c (__ccoshl): Likewise.
20268 * math/s_cexp.c (__cexp): Likewise.
20269 * math/s_cexpf.c (__cexpf): Likewise.
20270 * math/s_cexpl.c (__cexpl): Likewise.
20271 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
20272 * math/s_clog10.c (__clog10): Likewise.
20273 * math/s_clog10f.c (__clog10f): Likewise.
20274 * math/s_clog10l.c (__clog10l): Likewise.
20275 * math/s_clogf.c (__clogf): Likewise.
20276 * math/s_clogl.c (__clogl): Likewise.
20277 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
20278 * math/s_csinf.c (__csinf): Likewise.
20279 * math/s_csinh.c (__csinh): Likewise.
20280 * math/s_csinhf.c (__csinhf): Likewise.
20281 * math/s_csinhl.c (__csinhl): Likewise.
20282 * math/s_csinl.c (__csinl): Likewise.
20283 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
20284 * math/s_csqrtf.c (__csqrtf): Likewise.
20285 * math/s_csqrtl.c (__csqrtl): Likewise.
20286 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
20287 * math/s_ctanf.c (__ctanf): Likewise.
20288 * math/s_ctanh.c (__ctanh): Likewise.
20289 * math/s_ctanhf.c (__ctanhf): Likewise.
20290 * math/s_ctanhl.c (__ctanhl): Likewise.
20291 * math/s_ctanl.c (__ctanl): Likewise.
20292 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
20293 instead of volatile.
20294 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
20295 math_check_force_underflow.
20296 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20297 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
20298 volatile when forcing underflow.
20299 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20300 math_check_force_underflow_nonneg.
20301 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
20302 Likewise.
20303 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
20304 math_check_force_underflow.
20305 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20306 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20307 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20308 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
20309 math_check_force_underflow_nonneg.
20310 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
20311 math_check_force_underflow.
20312 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
20313 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
20314 instead of volatile.
20315 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
20316 math_check_force_underflow.
20317 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20318 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20319 math_check_force_underflow_nonneg.
20320 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
20321 math_check_force_underflow.
20322 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20323 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20324 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
20325 math_check_force_underflow_nonneg.
20326 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20327 Likewise.
20328 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
20329 math_check_force_underflow.
20330 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20331 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20332 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
20333 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
20334 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20335 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
20336 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
20337 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
20338 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20339 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
20340 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20341 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
20342 Likewise.
20343 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
20344 math_check_force_underflow_nonneg.
20345 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20346 Likewise.
20347 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
20348 math_check_force_underflow.
20349 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20350 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
20351 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20352 Likewise.
20353 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
20354 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
20355 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
20356 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
20357 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
20358 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
20359 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
20360 instead of volatile.
20361 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
20362 math_check_force_underflow.
20363 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
20364 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
20365 math_check_force_underflow.
20366 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
20367 Likewise.
20368 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20369 Use math_check_force_underflow_nonneg.
20370 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
20371 math_check_force_underflow.
20372 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20373 Likewise.
20374 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20375 Likewise.
20376 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20377 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20378 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20379 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20380 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
20381 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20382 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20383 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
20384 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
20385 math_check_force_underflow_nonneg.
20386 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
20387 math_check_force_underflow.
20388 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20389 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
20390 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
20391 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
20392 math_check_force_underflow_nonneg.
20393 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
20394 math_check_force_underflow.
20395 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
20396 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
20397 instead of volatile.
20398 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
20399 math_check_force_underflow.
20400
20401 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
20402 * stdlib/strtod_l.c: Include <math_private.h>.
20403 (overflow_value): Use math_narrow_eval.
20404 (underflow_value): Likewise.
20405 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20406 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20407 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20408 (__ieee754_gamma_r): Likewise.
20409 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
20410 Likewise.
20411 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
20412 Likewise.
20413 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
20414 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
20415 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
20416 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
20417 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20418 (__ieee754_gammaf_r): Likewise.
20419 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20420 Likewise.
20421 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
20422 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
20423 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
20424 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
20425 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
20426 volatile.
20427 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
20428 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
20429 math_narrow_eval.
20430 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
20431 Likewise.
20432 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20433 Likewise.
20434 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
20435 Likewise.
20436 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
20437 volatile.
20438 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
20439 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
20440 math_narrow_eval.
20441 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20442 Likewise.
20443 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20444 Likewise.
20445
20446 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
20447
20448 * nptl/Versions: Remove ignored symbols.
20449
20450 2015-09-22 Florian Weimer <fweimer@redhat.com>
20451
20452 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
20453 * nss/Makefile (tests): Update.
20454
20455 2015-09-22 Florian Weimer <fweimer@redhat.com>
20456
20457 * nss/bug18287.c: New file.
20458 * nss/Makefile (tests): Add bug18287.
20459
20460 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20461
20462 * mach/Versions (__mach_host_self_): Add symbol.
20463
20464 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20465
20466 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
20467 vm_page_size.
20468
20469 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20470
20471 Really fix sysdeps/i386/fpu/s_scalbn.S build
20472
20473 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
20474 (libc: GLIBC_2_22): Remove unused version set.
20475
20476 2015-09-18 Mike Frysinger <vapier@gentoo.org>
20477
20478 * config.make.in (enable-timezone-tools): New variable.
20479 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
20480 (enable_timezone_tools): Export to generated files.
20481 * configure: Regenerate.
20482 * INSTALL: Regenerate.
20483 * manual/install.texi (--disable-timezone-tools): Document new flag.
20484 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
20485 ifeq ($(enable-timezone-tools),yes) check.
20486
20487 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20488
20489 * timezone/Makefile: Revert previous change.
20490
20491 [BZ #18980]
20492 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
20493 (DEFINE_DBL_MIN): Likewise.
20494 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20495 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20496 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20497 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20498 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
20499 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20500 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20501 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
20502 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
20503 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20504 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20505 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
20506 (flt_min): Replace with use of DEFINE_FLT_MIN.
20507 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20508 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
20509 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20510 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20511 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
20512 (flt_min): Replace with use of DEFINE_FLT_MIN.
20513 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20514 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
20515 (flt_min): Replace with use of DEFINE_FLT_MIN.
20516 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20517 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
20518 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
20519 (__ieee754_hypot): Use DBL_NARROW_EVAL.
20520 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
20521 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
20522 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
20523 (__ieee754_pow): Use DBL_NARROW_EVAL.
20524 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
20525 (__ieee754_powf): Use FLT_NARROW_EVAL.
20526 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
20527 (__ieee754_expf_sse2): Convert double-precision result to single
20528 precision.
20529 * sysdeps/i386/fpu/libm-test-ulps: Update.
20530
20531 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20532
20533 * timezone/Makefile: Ignore unused variable errors due to private.h
20534 (time_t_min) and (time_t_max).
20535 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
20536 Likewise.
20537
20538 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20539
20540 [BZ #18981]
20541 * sysdeps/i386/fpu/i386-math-asm.h: New file.
20542 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
20543 (__ieee754_scalb): Use DBL_NARROW_EVAL.
20544 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
20545 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
20546 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
20547 (__scalbn): Use DBL_NARROW_EVAL.
20548 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
20549 (__scalbnf): Use FLT_NARROW_EVAL.
20550
20551 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20552
20553 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
20554 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
20555 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
20556 * stdio-common/printf_fp.c (___printf_fp):
20557 Use signbit to get the sign. Use isinf macro to allow inlining.
20558 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
20559 * stdio-common/printf_size.c (__printf_size): Likewise.
20560
20561 2015-09-18 Mike Frysinger <vapier@gentoo.org>
20562
20563 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
20564
20565 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20566
20567 [BZ #18980]
20568 * sysdeps/generic/math_private.h: Include <float.h>.
20569 (math_narrow_eval): New macro.
20570 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
20571 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
20572 math_narrow_eval on overflowing return value.
20573 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
20574 Likewise.
20575 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20576 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
20577 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
20578 Likewise.
20579 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20580
20581 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20582
20583 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
20584 * math/Makefile: Remove isinf_ns.c.
20585 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
20586 * math/multc3.c (__multc3): Likewise.
20587 * math/s_casin.c (__casin): Likewise.
20588 * math/s_casinf.c (__casinf): Likewise.
20589 * math/s_casinl.c (__casinl): Likewise.
20590 * math/s_cproj.c (__cproj): Likewise.
20591 * math/s_cprojf.c (__cprojf): Likewise.
20592 * math/s_cprojl.c (__cprofl): Likewise.
20593 * math/s_ctan.c (__ctan): Likewise.
20594 * math/s_ctanf.c (__ctanf): Likewise.
20595 * math/s_ctanh.c (__ctanh): Likewise.
20596 * math/s_ctanhf.c (__ctanhf): Likewise.
20597 * math/s_ctanhl.c (__ctanhl): Likewise.
20598 * math/s_ctanl.c (__ctanl): Likewise.
20599 * math/w_fmod.c (__fmod): Likewise.
20600 * math/w_fmodf.c (__fmodf): Likewise.
20601 * math/w_fmodl.c (_fmodl): Likewise.
20602 * math/w_remainder.c (__remainder): Likewise.
20603 * math/w_remainderf.c (__remainderf): Likewise.
20604 * math/w_remainderl.c (__remainderl): Likewise.
20605 * math/w_scalb.c (__scalb): Likewise.
20606 * math/w_scalbf.c (__scalbf): Likewise.
20607 * math/w_scalbl.c (__scalbl): Likewise.
20608 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
20609 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
20610 with isinf.
20611 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
20612 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
20613 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
20614 __isinf_nsf with isinf.
20615 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
20616 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
20617 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
20618 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
20619 with isinf.
20620 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
20621 __isinf_nsl with isinf.
20622 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
20623 with isinf.
20624 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
20625 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
20626 __isinf_nsl with isinf.
20627 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
20628 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
20629 with isinf.
20630
20631 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20632
20633 * resolv/base64.c (rcsid): Remove unused static.
20634 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
20635 static. (tqpi1): Likewise.
20636 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
20637 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
20638 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
20639 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
20640 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
20641 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
20642 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
20643 * timezone/private.h (time_t_min): Likewise. (time_t_max):
20644 Likewise.
20645
20646 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
20647
20648 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
20649 <nptl/pthreadP.h>.
20650 (_longjmp_unwind): Use __libc_ptf_call.
20651 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
20652
20653 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
20654
20655 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
20656 * sysdeps/arm/__longjmp.S: Likewise.
20657
20658 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20659
20660 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
20661 Use __builtin_signbit.
20662 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
20663 Use __builtin_signbitf.
20664 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
20665 Use __builtin_signbitl.
20666 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20667 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
20668
20669 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20670
20671 [BZ #15367]
20672 [BZ #17441]
20673
20674 * math/Makefile: Build test-snan.c with -fsignaling-nans.
20675 * math/math.h (fpclassify): Use __builtin_fpclassify when
20676 available. (signbit): Use __builtin_signbit(f/l).
20677 (isfinite): Use__builtin_isfinite. (isnormal): Use
20678 __builtin_isnormal. (isnan): Use __builtin_isnan.
20679 (isinf): Use __builtin_isinf_sign.
20680
20681 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20682
20683 * benchtests/Makefile: Add bench-math-inlines, link with libm.
20684 * benchtests/bench-math-inlines.c: New benchmark.
20685 * benchtests/bench-util.h: New file.
20686 * benchtests/bench-util.c: New file.
20687 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
20688
20689 2015-09-18 Carlos O'Donell <carlos@redhat.com>
20690
20691 * elf/tst-dlmopen1.c: Define TEST_SO.
20692 (do_test): Use TEST_SO.
20693
20694 * elf/dl-load.c: Include libc-internal.h.
20695 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
20696
20697 2015-09-18 Vincent Bernat <vincent@bernat.im>
20698
20699 [BZ #17887]
20700 * time/strptime_l.c (__strptime_internal): Make %z accept
20701 [+-]HH:MM time zones.
20702
20703 2015-09-18 Vincent Bernat <vincent@bernat.im>
20704
20705 [BZ #17886]
20706 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
20707 valid time zone.
20708
20709 2015-09-17 Mike Frysinger <vapier@gentoo.org>
20710
20711 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
20712 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
20713 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20714 (__ASSUME_FDATASYNC): Delete.
20715
20716 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20717
20718 * conform/linknamespace.pl: Require weak undefined symbols to be
20719 in the standard namespace.
20720 (%strong_syms): Rename to %seen_syms.
20721 (%strong_seen): Rename to %seen_where.
20722
20723 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
20724
20725 [BZ #18970]
20726 * misc/error.c (error): Replace pthread_setcancelstate with
20727 __pthread_setcancelstate.
20728 (error_at_line): Likewise.
20729 * posix/wordexp.c (parse_comm): Likewise.
20730 * stdlib/fmtmsg.c (fmtmsg): Likewise.
20731 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
20732 (__pthread_setcancelstate): This.
20733 (pthread_setcancelstate): Add an alias.
20734 * nptl/nptl-init.c (pthread_functions): Replace
20735 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
20736 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
20737 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
20738 hidden_proto.
20739 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
20740 it with hidden_def.
20741 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
20742 (pthread_setcancelstate): Renamed to ...
20743 (__pthread_setcancelstate): This.
20744 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
20745 __libc_ptf_call with __pthread_setcancelstate.
20746
20747 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20748 Andreas Schwab <schwab@suse.de>
20749
20750 [BZ #17118]
20751 * math/s_ctan.c (__ctan): Determine sign of zero real part of
20752 result when imaginary part of argument is infinite using sine and
20753 cosine.
20754 * math/s_ctanf.c (__ctanf): Likewise.
20755 * math/s_ctanl.c (__ctanl): Likewise.
20756 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
20757 of result when real part of argument is infinite using sine and
20758 cosine.
20759 * math/s_ctanhf.c (__ctanhf): Likewise.
20760 * math/s_ctanhl.c (__ctanhl): Likewise.
20761 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
20762 (ctanh_test_data): Add more tests of ctanh.
20763
20764 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20765
20766 [BZ #15384]
20767 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
20768 bit-mask as in subtraction.
20769 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
20770 Likewise.
20771 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
20772 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
20773 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
20774
20775 [BZ #18951]
20776 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
20777 underflow exception for small results.
20778 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20779 Likewise.
20780 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20781 Likewise.
20782 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20783 Likewise.
20784 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20785 Likewise.
20786 * math/auto-libm-test-in: Add more tests of tgamma.
20787 * math/auto-libm-test-out: Regenerated.
20788
20789 2015-09-17 Andreas Schwab <schwab@suse.de>
20790
20791 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
20792
20793 2015-09-16 Joseph Myers <joseph@codesourcery.com>
20794
20795 [BZ #18977]
20796 * math/bits/mathcalls.h
20797 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
20798 not declare.
20799 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
20800 Likewise.
20801 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
20802 Likewise.
20803 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
20804 Likewise.
20805 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
20806 Likewise.
20807 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
20808 Likewise.
20809 * conform/data/math.h-data
20810 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
20811 function.
20812 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
20813 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
20814 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
20815 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
20816 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
20817 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
20818 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
20819 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
20820 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
20821 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
20822 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
20823
20824 [BZ #6803]
20825 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
20826 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
20827 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
20828 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
20829 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
20830 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
20831 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
20832 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
20833 [NO_LONG_DOUBLE] (scalbnl): Likewise.
20834 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
20835 Likewise.
20836 [NO_LONG_DOUBLE] (scalbnl): Likewise.
20837 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
20838 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
20839 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
20840 long_double_symbol calls.
20841 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
20842 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
20843 strong alias of __ldexpl.
20844 (scalbnl): Define using long_double_symbol.
20845 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
20846 Remove alias.
20847 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
20848 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
20849 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
20850 (scalbln_test_data): Add more errno expectations.
20851
20852 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
20853
20854 Cache the host port like we cache the task port. This way we do not
20855 need to call the kernel just to get the port. Furthermore, we no
20856 longer increase the reference count on every invocation of
20857 `mach_host_self'.
20858
20859 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
20860 Protect declarations against the macro expansion.
20861 * mach/mach_init.c (__mach_host_self_): New variable.
20862 (mach_init): Initialize `__mach_host_self_'.
20863 * mach/mach_init.h (__mach_host_self_): New declaration.
20864 (__mach_host_self, mach_host_self): New macros.
20865 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
20866 Release reference.
20867
20868 2015-09-16 Joseph Myers <joseph@codesourcery.com>
20869
20870 [BZ #4404]
20871 * po/de.po: Update from Translation Project.
20872
20873 [BZ #16415]
20874 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
20875 (__expm1l): Remove code to handle positive infinity and overflow.
20876 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
20877 variable.
20878 (__expm1l): Remove code to handle positive infinity and overflow.
20879
20880 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
20881 Paul Pluzhnikov <ppluzhnikov@google.com>
20882
20883 [BZ #18872]
20884 * stdio-common/Makefile (tst-printf-bz18872): New test.
20885 (tst-printf-bz18872-mem.out): Likewise.
20886 * stdio-common/tst-printf-bz18872.sh: Generate new test.
20887 * stdio-common/vfprintf.c: Fix memory leaks.
20888
20889 2015-09-16 Andreas Schwab <schwab@suse.de>
20890
20891 [BZ #17244]
20892 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20893 Remove extra va_start/va_end calls.
20894
20895 [BZ #17243]
20896 * posix/execl.c (execl): Add missing va_end.
20897 * posix/execle.c (execle): Likewise.
20898 * posix/execlp.c (execlp): Likewise.
20899
20900 2015-09-15 Roland McGrath <roland@hack.frob.com>
20901
20902 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20903 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20904
20905 2015-09-15 Joseph Myers <joseph@codesourcery.com>
20906
20907 [BZ #18967]
20908 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
20909 undefine around includes of <bits/mathcalls.h>.
20910 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20911 not declare function.
20912 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20913 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20914 (scalb): Likewise.
20915 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20916 not define macro.
20917 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20918 variable.
20919 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20920 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20921 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20922
20923 [BZ #18857]
20924 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20925 return non-finite argument without doing ordered comparisons on
20926 it.
20927
20928 [BZ #16296]
20929 * math/fenv.h (fegetround): Use __attribute_pure__.
20930 * include/fenv.h (__fegetround): Likewise.
20931
20932 [BZ #18595]
20933 * math/s_ctan.c (__ctan): Force underflow exception for results
20934 whose real or imaginary part has small absolute value.
20935 * math/s_ctanf.c (__ctanf): Likewise.
20936 * math/s_ctanh.c (__ctanh): Likewise.
20937 * math/s_ctanhf.c (__ctanhf): Likewise.
20938 * math/s_ctanhl.c (__ctanhl): Likewise.
20939 * math/s_ctanl.c (__ctanl): Likewise.
20940 * math/auto-libm-test-in: Do not allow missing underflow for ctan
20941 and ctanh. Add more tests of ctan and ctanh.
20942
20943 [BZ #15918]
20944 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20945 handling of cases where one argument is an infinity.
20946
20947 [BZ #18875]
20948 [BZ #18966]
20949 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20950 (MO): New macro.
20951 (__ieee754_exp10): For small results, force underflow exception
20952 and remove excess range and precision from return value.
20953 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20954 (MO): New macro.
20955 (__ieee754_exp10f): For small results, force underflow exception
20956 and remove excess range and precision from return value.
20957 * math/auto-libm-test-in: Add more tests of exp10.
20958 * math/auto-libm-test-out: Regenerated.
20959
20960 2015-09-14 Joseph Myers <joseph@codesourcery.com>
20961
20962 [BZ #18875]
20963 [BZ #18961]
20964 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20965 (MO): New macro.
20966 (__ieee754_exp): For small results, force underflow exception and
20967 remove excess range and precision from return value.
20968 (__exp_finite): Likewise.
20969 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20970 (MO): New macro.
20971 (__ieee754_expf): For small results, force underflow exception and
20972 remove excess range and precision from return value.
20973 (__expf_finite): Likewise.
20974 * math/auto-libm-test-in: Add more tests of exp.
20975 * math/auto-libm-test-out: Regenerated.
20976
20977 [BZ #16521]
20978 [BZ #18875]
20979 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20980 small results.
20981 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20982 (MO): New macro.
20983 (__ieee754_exp2): For small results, force underflow exception and
20984 remove excess range and precision from return value.
20985 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20986 (MO): New macro.
20987 (__ieee754_exp2f): For small results, force underflow exception
20988 and remove excess range and precision from return value.
20989 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20990 (MO): New macro.
20991 (__ieee754_exp2l): Force underflow exception for small results.
20992 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20993 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20994 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20995 (MO): New macro.
20996 (__ieee754_exp2l): Force underflow exception for small results.
20997 * math/auto-libm-test-in: Add more tests or exp2.
20998 * math/auto-libm-test-out: Regenerated.
20999
21000 2015-09-14 Carlos O'Donell <carlos@redhat.com>
21001
21002 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
21003
21004 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
21005 /dev/null.
21006
21007 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
21008
21009 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21010 io fs process)): Drop spurious backslash.
21011
21012 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
21013
21014 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
21015 Use sysinfo system call instead of parsing /proc/meminfo.
21016 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
21017 Likewise.
21018
21019 2015-09-11 Mike Frysinger <vapier@gentoo.org>
21020
21021 [BZ #16985]
21022 * programs/localedef.c (main): Display argv[remaining] when
21023 output_path is NULL.
21024
21025 2015-09-11 Joseph Myers <joseph@codesourcery.com>
21026
21027 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21028 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
21029 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
21030 tanh.
21031 * math/auto-libm-test-out: Regenerated.
21032 * sysdeps/i386/fpu/libm-test-ulps: Update.
21033 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21034 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21036
21037 2015-09-11 Roland McGrath <roland@hack.frob.com>
21038
21039 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
21040 Use 'override' keyword to freeze the value here, preventing
21041 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
21042
21043 2015-09-11 Joseph Myers <joseph@codesourcery.com>
21044
21045 [BZ #14912]
21046 * sysdeps/aarch64/bits/atomic.h: Move to ...
21047 * sysdeps/aarch64/atomic-machine.h: ...here.
21048 (_AARCH64_BITS_ATOMIC_H): Rename macro to
21049 _AARCH64_ATOMIC_MACHINE_H.
21050 * sysdeps/alpha/bits/atomic.h: Move to ...
21051 * sysdeps/alpha/atomic-machine.h: ...here.
21052 * sysdeps/arm/bits/atomic.h: Move to ...
21053 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
21054 * bits/atomic.h: Move to ...
21055 * sysdeps/generic/atomic-machine.h: ...here.
21056 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21057 * sysdeps/i386/bits/atomic.h: Move to ...
21058 * sysdeps/i386/atomic-machine.h: ...here.
21059 * sysdeps/ia64/bits/atomic.h: Move to ...
21060 * sysdeps/ia64/atomic-machine.h: ...here.
21061 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
21062 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
21063 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21064 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
21065 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
21066 * sysdeps/microblaze/bits/atomic.h: Move to ...
21067 * sysdeps/microblaze/atomic-machine.h: ...here.
21068 * sysdeps/mips/bits/atomic.h: Move to ...
21069 * sysdeps/mips/atomic-machine.h: ...here.
21070 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
21071 * sysdeps/powerpc/bits/atomic.h: Move to ...
21072 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
21073 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
21074 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
21075 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
21076 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
21077 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
21078 <atomic-machine.h> instead of <bits/atomic.h>.
21079 * sysdeps/s390/bits/atomic.h: Move to ...
21080 * sysdeps/s390/atomic-machine.h: ...here.
21081 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
21082 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
21083 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21084 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
21085 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
21086 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
21087 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
21088 * sysdeps/tile/bits/atomic.h: Move to ...
21089 * sysdeps/tile/atomic-machine.h: ...here.
21090 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
21091 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
21092 <sysdeps/tile/atomic-machine.h> instead of
21093 <sysdeps/tile/bits/atomic.h>.
21094 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21095 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
21096 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
21097 <sysdeps/tile/atomic-machine.h> instead of
21098 <sysdeps/tile/bits/atomic.h>.
21099 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21100 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
21101 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
21102 <sysdeps/arm/atomic-machine.h> instead of
21103 <sysdeps/arm/bits/atomic.h>.
21104 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
21105 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
21106 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21107 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
21108 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
21109 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21110 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
21111 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
21112 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
21113 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
21114 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
21115 * sysdeps/x86_64/bits/atomic.h: Move to ...
21116 * sysdeps/x86_64/atomic-machine.h: ...here.
21117 * include/atomic.h: Include <atomic-machine.h> instead of
21118 <bits/atomic.h>.
21119
21120 * sysdeps/mips/mips32/libm-test-ulps: Update.
21121 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21122
21123 [BZ #18952]
21124 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
21125 not convert non-integer negative arguments to int to determine the
21126 value of signgam.
21127 * math/auto-libm-test-in: Add more tests of lgamma.
21128 * math/auto-libm-test-out: Regenerated.
21129
21130 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
21131 cosh, csqrt, erfc, expm1 and lgamma.
21132 * math/auto-libm-test-out: Regenerated.
21133 * sysdeps/i386/fpu/libm-test-ulps: Update.
21134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21135
21136 2015-09-10 Joseph Myers <joseph@codesourcery.com>
21137
21138 [BZ #2542]
21139 [BZ #2543]
21140 [BZ #2558]
21141 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
21142 __lgamma_neg for arguments from -28.0 to -2.0.
21143 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
21144 __lgamma_negf for arguments from -15.0 to -2.0.
21145 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21146 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
21147 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
21148 Call __lgamma_negl for arguments from -33.0 to -2.0.
21149 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
21150 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
21151 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
21152 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
21153 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
21154 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
21155 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
21156 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
21157 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
21158 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
21159 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
21160 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
21161 (__lgamma_neg): Likewise.
21162 (__lgamma_negl): Likewise.
21163 (__lgamma_product): Likewise.
21164 (__lgamma_productl): Likewise.
21165 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
21166 * math/auto-libm-test-in: Add more tests of lgamma.
21167 * math/auto-libm-test-out: Regenerated.
21168 * sysdeps/i386/fpu/libm-test-ulps: Update.
21169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21170
21171 2015-09-09 Justin Maggard <jmaggard@netgear.com>
21172
21173 [BZ #18675]
21174 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
21175
21176 2015-09-08 Joseph Myers <joseph@codesourcery.com>
21177
21178 [BZ #14912]
21179 * bits/libc-lock.h: Move to ...
21180 * sysdeps/generic/libc-lock.h: ...here.
21181 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21182 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
21183 * sysdeps/mach/hurd/libc-lock.h: ...here.
21184 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21185 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
21186 * sysdeps/mach/bits/libc-lock.h: Move to ...
21187 * sysdeps/mach/libc-lock.h: ...here.
21188 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21189 * sysdeps/nptl/bits/libc-lock.h: Move to ...
21190 * sysdeps/nptl/libc-lock.h: ...here.
21191 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21192 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
21193 * sysdeps/nptl/libc-lockP.h: ...here.
21194 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
21195 * crypt/crypt_util.c: Include <libc-lock.h> instead of
21196 <bits/libc-lock.h>.
21197 * dirent/scandir-tail.c: Likewise.
21198 * dlfcn/dlerror.c: Likewise.
21199 * elf/dl-close.c: Likewise.
21200 * elf/dl-iteratephdr.c: Likewise.
21201 * elf/dl-lookup.c: Likewise.
21202 * elf/dl-open.c: Likewise.
21203 * elf/dl-support.c: Likewise.
21204 * elf/dl-writev.h: Likewise.
21205 * elf/rtld.c: Likewise.
21206 * grp/fgetgrent.c: Likewise.
21207 * gshadow/fgetsgent.c: Likewise.
21208 * gshadow/sgetsgent.c: Likewise.
21209 * iconv/gconv_conf.c: Likewise.
21210 * iconv/gconv_db.c: Likewise.
21211 * iconv/gconv_dl.c: Likewise.
21212 * iconv/gconv_int.h: Likewise.
21213 * iconv/gconv_trans.c: Likewise.
21214 * include/link.h: Likewise.
21215 * inet/getnameinfo.c: Likewise.
21216 * inet/getnetgrent.c: Likewise.
21217 * inet/getnetgrent_r.c: Likewise.
21218 * intl/bindtextdom.c: Likewise.
21219 * intl/dcigettext.c: Likewise.
21220 * intl/finddomain.c: Likewise.
21221 * intl/gettextP.h: Likewise.
21222 * intl/loadmsgcat.c: Likewise.
21223 * intl/localealias.c: Likewise.
21224 * intl/textdomain.c: Likewise.
21225 * libidn/idn-stub.c: Likewise.
21226 * libio/libioP.h: Likewise.
21227 * locale/duplocale.c: Likewise.
21228 * locale/freelocale.c: Likewise.
21229 * locale/newlocale.c: Likewise.
21230 * locale/setlocale.c: Likewise.
21231 * login/getutent_r.c: Likewise.
21232 * login/getutid_r.c: Likewise.
21233 * login/getutline_r.c: Likewise.
21234 * login/utmp-private.h: Likewise.
21235 * login/utmpname.c: Likewise.
21236 * malloc/mtrace.c: Likewise.
21237 * misc/efgcvt.c: Likewise.
21238 * misc/error.c: Likewise.
21239 * misc/fstab.c: Likewise.
21240 * misc/getpass.c: Likewise.
21241 * misc/mntent.c: Likewise.
21242 * misc/syslog.c: Likewise.
21243 * nis/nis_call.c: Likewise.
21244 * nis/nis_callback.c: Likewise.
21245 * nis/nss-default.c: Likewise.
21246 * nis/nss_compat/compat-grp.c: Likewise.
21247 * nis/nss_compat/compat-initgroups.c: Likewise.
21248 * nis/nss_compat/compat-pwd.c: Likewise.
21249 * nis/nss_compat/compat-spwd.c: Likewise.
21250 * nis/nss_nis/nis-alias.c: Likewise.
21251 * nis/nss_nis/nis-ethers.c: Likewise.
21252 * nis/nss_nis/nis-grp.c: Likewise.
21253 * nis/nss_nis/nis-hosts.c: Likewise.
21254 * nis/nss_nis/nis-network.c: Likewise.
21255 * nis/nss_nis/nis-proto.c: Likewise.
21256 * nis/nss_nis/nis-pwd.c: Likewise.
21257 * nis/nss_nis/nis-rpc.c: Likewise.
21258 * nis/nss_nis/nis-service.c: Likewise.
21259 * nis/nss_nis/nis-spwd.c: Likewise.
21260 * nis/nss_nisplus/nisplus-alias.c: Likewise.
21261 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
21262 * nis/nss_nisplus/nisplus-grp.c: Likewise.
21263 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
21264 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
21265 * nis/nss_nisplus/nisplus-network.c: Likewise.
21266 * nis/nss_nisplus/nisplus-proto.c: Likewise.
21267 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
21268 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
21269 * nis/nss_nisplus/nisplus-service.c: Likewise.
21270 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
21271 * nis/ypclnt.c: Likewise.
21272 * nptl/libc_pthread_init.c: Likewise.
21273 * nss/getXXbyYY.c: Likewise.
21274 * nss/getXXent.c: Likewise.
21275 * nss/getXXent_r.c: Likewise.
21276 * nss/nss_db/db-XXX.c: Likewise.
21277 * nss/nss_db/db-netgrp.c: Likewise.
21278 * nss/nss_db/nss_db.h: Likewise.
21279 * nss/nss_files/files-XXX.c: Likewise.
21280 * nss/nss_files/files-alias.c: Likewise.
21281 * nss/nsswitch.c: Likewise.
21282 * posix/regex_internal.h: Likewise.
21283 * posix/wordexp.c: Likewise.
21284 * pwd/fgetpwent.c: Likewise.
21285 * resolv/res_hconf.c: Likewise.
21286 * resolv/res_libc.c: Likewise.
21287 * shadow/fgetspent.c: Likewise.
21288 * shadow/lckpwdf.c: Likewise.
21289 * shadow/sgetspent.c: Likewise.
21290 * socket/opensock.c: Likewise.
21291 * stdio-common/reg-modifier.c: Likewise.
21292 * stdio-common/reg-printf.c: Likewise.
21293 * stdio-common/reg-type.c: Likewise.
21294 * stdio-common/vfprintf.c: Likewise.
21295 * stdio-common/vfscanf.c: Likewise.
21296 * stdlib/abort.c: Likewise.
21297 * stdlib/cxa_atexit.c: Likewise.
21298 * stdlib/fmtmsg.c: Likewise.
21299 * stdlib/random.c: Likewise.
21300 * stdlib/setenv.c: Likewise.
21301 * string/strsignal.c: Likewise.
21302 * sunrpc/auth_none.c: Likewise.
21303 * sunrpc/bindrsvprt.c: Likewise.
21304 * sunrpc/create_xid.c: Likewise.
21305 * sunrpc/key_call.c: Likewise.
21306 * sunrpc/rpc_thread.c: Likewise.
21307 * sysdeps/arm/backtrace.c: Likewise.
21308 * sysdeps/generic/ldsodefs.h: Likewise.
21309 * sysdeps/generic/stdio-lock.h: Likewise.
21310 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
21311 * sysdeps/i386/backtrace.c: Likewise.
21312 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21313 * sysdeps/m68k/backtrace.c: Likewise.
21314 * sysdeps/mach/hurd/cthreads.c: Likewise.
21315 * sysdeps/mach/hurd/dirstream.h: Likewise.
21316 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21317 * sysdeps/nptl/malloc-machine.h: Likewise.
21318 * sysdeps/nptl/stdio-lock.h: Likewise.
21319 * sysdeps/posix/dirstream.h: Likewise.
21320 * sysdeps/posix/getaddrinfo.c: Likewise.
21321 * sysdeps/posix/system.c: Likewise.
21322 * sysdeps/pthread/aio_suspend.c: Likewise.
21323 * sysdeps/s390/s390-32/backtrace.c: Likewise.
21324 * sysdeps/s390/s390-64/backtrace.c: Likewise.
21325 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21326 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21327 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
21328 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
21329 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
21330 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21331 * sysdeps/unix/sysv/linux/system.c: Likewise.
21332 * sysdeps/x86_64/backtrace.c: Likewise.
21333 * time/alt_digit.c: Likewise.
21334 * time/era.c: Likewise.
21335 * time/tzset.c: Likewise.
21336 * wcsmbs/wcsmbsload.c: Likewise.
21337 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
21338 instead of <bits/libc-lock.h> in comment.
21339
21340 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
21341
21342 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
21343 Only use .set mips2 if the current ISA is below mips2.
21344 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
21345 Likewise.
21346 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
21347 mips32r2 if the current ISA is below mips32r2.
21348 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
21349 (TLS_IE): Updated to use the TLD_RDHWR macro.
21350 (TLS_LE): Likewise.
21351 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
21352 __ASSEMBLER__ condition.
21353
21354 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
21355
21356 Fix parallel build of before-compile targets.
21357
21358 * sysdeps/mach/Makefile ($(patsubst
21359 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
21360 mach-before-compile target.
21361 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21362 io fs process)): Move rule to dedicated hurd-before-compile target.
21363
21364 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21365
21366 Fix rules generating headers in hurd/ and mach/ when initial make call
21367 has subdir= explicitly set.
21368
21369 * sysdeps/mach/Makefile ($(patsubst
21370 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
21371 calling $(MAKE).
21372 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21373 io fs process)): Force subdir to hurd when calling $(MAKE).
21374 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
21375 subdir to mach when calling $(MAKE).
21376
21377 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
21378
21379 Check sysheaders when looking for Mach and Hurd headers
21380
21381 * sysdeps/mach/configure.ac: Add sysheaders check.
21382 * sysdeps/mach/configure: Regenerate.
21383 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
21384 * sysdeps/mach/hurd/configure: Regenerate.
21385
21386 2015-09-04 Roland McGrath <roland@hack.frob.com>
21387
21388 [BZ #18921]
21389 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
21390 Fix inverted sense of test of 'o_directory_works' value.
21391 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
21392 Bernhard Voelker <mail@bernhard-voelker.de>.
21393
21394 2015-09-04 Joseph Myers <joseph@codesourcery.com>
21395
21396 [BZ #14912]
21397 * bits/linkmap.h: Move to ...
21398 * sysdeps/generic/linkmap.h: ...here.
21399 * sysdeps/aarch64/bits/linkmap.h: Move to ...
21400 * sysdeps/aarch64/linkmap.h: ...here.
21401 * sysdeps/arm/bits/linkmap.h: Move to ...
21402 * sysdeps/arm/linkmap.h: ...here.
21403 * sysdeps/hppa/bits/linkmap.h: Move to ...
21404 * sysdeps/hppa/linkmap.h: ...here.
21405 * sysdeps/ia64/bits/linkmap.h: Move to ...
21406 * sysdeps/ia64/linkmap.h: ...here.
21407 * sysdeps/mips/bits/linkmap.h: Move to ...
21408 * sysdeps/mips/linkmap.h: ...here.
21409 * sysdeps/s390/bits/linkmap.h: Move to ...
21410 * sysdeps/s390/linkmap.h: ...here.
21411 * sysdeps/sh/bits/linkmap.h: Move to ...
21412 * sysdeps/sh/linkmap.h: ...here.
21413 * sysdeps/x86/bits/linkmap.h: Move to ...
21414 * sysdeps/x86/linkmap.h: ...here.
21415 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
21416
21417 2015-09-04 Andreas Schwab <schwab@suse.de>
21418
21419 [BZ #18635]
21420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
21421 (__makecontext): Terminate FDE before return label.
21422 (__novec_makecontext): Likewise.
21423
21424 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21425
21426 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
21427 first member of struct sv in syscall macro.
21428
21429 2015-09-04 Joseph Myers <joseph@codesourcery.com>
21430
21431 [BZ #14912]
21432 * bits/stdio-lock.h: Move to ...
21433 * sysdeps/generic/stdio-lock.h: ...here.
21434 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21435 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
21436 * sysdeps/nptl/stdio-lock.h: ...here.
21437 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21438 * include/libio.h: Include <stdio-lock.h> instead of
21439 <bits/stdio-lock.h>.
21440 * sysdeps/nptl/fork.c: Likewise.
21441 * sysdeps/pthread/flockfile.c: Likewise.
21442 * sysdeps/pthread/ftrylockfile.c: Likewise.
21443 * sysdeps/pthread/funlockfile.c: Likewise.
21444
21445 [BZ #14912]
21446 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
21447 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
21448 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
21449 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
21450 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
21451 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21452 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
21453
21454 2015-09-03 Roland McGrath <roland@hack.frob.com>
21455
21456 * elf/Makefile (test-xfail-tst-protected1a): New variable.
21457 (test-xfail-tst-protected1b): New variable.
21458
21459 2015-09-03 Joseph Myers <joseph@codesourcery.com>
21460
21461 [BZ #14912]
21462 * bits/libc-tsd.h: Move to ...
21463 * sysdeps/generic/libc-tsd.h: ...here.
21464 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
21465 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
21466 * sysdeps/mach/hurd/libc-tsd.h: ...here.
21467 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
21468 * include/ctype.h: Include <libc-tsd.h> instead of
21469 <bits/libc-tsd.h>.
21470 * include/rpc/rpc.h: Likewise.
21471 * locale/localeinfo.h: Likewise.
21472 * sunrpc/rpc_thread.c: Likewise.
21473 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21474 * sysdeps/nptl/malloc-machine.h: Likewise.
21475
21476 * Makefile (headers): Remove bits/libc-lock.h.
21477 * libio/Makefile (headers): Remove bits/stdio-lock.h.
21478
21479 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
21480 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
21481 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
21482 <bits/stdio-lock.h>.
21483 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
21484 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
21485
21486 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
21487
21488 [BZ #18757]
21489 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
21490 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
21491 BZ #18757.
21492
21493 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
21494
21495 * malloc/mtrace.pl: Filter out NULL entries.
21496
21497 2015-09-01 Joseph Myers <joseph@codesourcery.com>
21498
21499 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
21500 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
21501 macro.
21502
21503 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
21504 (TCP_CC_INFO): Likewise.
21505 (TCP_SAVE_SYN): Likewise.
21506 (TCP_SAVED_SYN): Likewise.
21507
21508 2015-08-31 Brett Neumeier <brett@neumeier.us>
21509
21510 [BZ #18870]
21511 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
21512
21513 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
21514
21515 [BZ #18873]
21516 Fix broken overflow check in posix_fallocate
21517 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
21518 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21519 Fix parenthesization typo.
21520
21521 2015-08-28 Mike Frysinger <vapier@gentoo.org>
21522
21523 [BZ #18887]
21524 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
21525 tst-mntent-blank-passno.
21526 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
21527 * misc/tst-mntent-blank-corrupt.c: New test.
21528 * misc/tst-mntent-blank-passno.c: New test ripped from ...
21529 * misc/tst-mntent.c (do_test): ... here.
21530
21531 2015-08-29 Mike Frysinger <vapier@gentoo.org>
21532
21533 [BZ #4404]
21534 * po/de.po: Fix SIGALRM typo.
21535
21536 2015-08-28 James Perkins <james@loowit.net>
21537
21538 * time/tst-strptime2.c (tests): Replace short list of test
21539 strings for strptime %z specifier with code which exhaustively
21540 tests every combination of sign and 0 to 5 digits. Tests for
21541 rejection of invalid strings.
21542
21543 2015-08-28 James Perkins <james@loowit.net>
21544
21545 [BZ #16141]
21546 * time/strptime_l.c (__strptime_internal): Fix %z minutes
21547 calculation, removing incorrect decimal time rounding, so that
21548 all minute values result in a valid seconds value.
21549 * time/strptime_l.c (__strptime_internal): Extend %z time zone
21550 offset range limits to UTC-99:59 through UTC+99:59 to parse
21551 current and historical use cases.
21552 * time/tst-strptime2.c (tests): Modify and add tests for the
21553 strptime %z input field descriptor, specifically conversion of
21554 minutes to seconds and validating an offset range of -9959 to
21555 +9959.
21556
21557 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21558 Dmitry V. Levin <ldv@altlinux.org>
21559
21560 [BZ #18877]
21561 * posix/Makefile (tests): Add tst-mmap-offset.
21562 * posix/tst-mmap.c: New file.
21563 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
21564 offset calculation for negative values.
21565
21566 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21567
21568 * sysdeps/i386/init-arch.h: New file.
21569 * sysdeps/i386/i586/init-arch.h: Likewise.
21570 * sysdeps/i386/i686/init-arch.h: Likewise.
21571 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
21572 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
21573 * sysdeps/x86/cpu-features.h (bit_I586): New.
21574 (bit_I686): Likewise.
21575 (bit_CX8): Likewise.
21576 (bit_CMOV): Likewise.
21577 (index_CX8): Likewise.
21578 (index_CMOV): Likewise.
21579 (index_I586): Likewise.
21580 (index_I686): Likewise.
21581 (reg_CX8): Likewise.
21582 (reg_CMOV): Likewise.
21583 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
21584 available at compile-time.
21585 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
21586 available at compile-time.
21587 * sysdeps/x86/init-arch.h (USE_I586): New macro.
21588 (USE_I686): Likewise.
21589
21590 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21591
21592 * sysdeps/i386/bcopy.S: New file.
21593 * sysdeps/i386/bzero.S: Likewise.
21594 * sysdeps/i386/memcpy.S: Likewise.
21595 * sysdeps/i386/memmove.S: Likewise.
21596 * sysdeps/i386/mempcpy.S: Likewise.
21597 * sysdeps/i386/memset.S: Likewise.
21598 * sysdeps/i386/bzero.c: Removed.
21599 * sysdeps/i386/memset.c: Likewise.
21600 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
21601 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
21602 * sysdeps/i386/i586/memset_chk.S: Likewise.
21603 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
21604 * sysdeps/i386/memcpy_chk.S: Here.
21605 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
21606 * sysdeps/i386/memmove_chk.S: Here.
21607 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
21608 * sysdeps/i386/mempcpy_chk.S: Likewise.
21609 * sysdeps/i386/i686/memset_chk.S: Moved to ...
21610 * sysdeps/i386/memset_chk.S: Likewise.
21611
21612 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
21613
21614 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
21615 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
21616 file, move DIAG_POP_NEEDS_COMMENT to end of file.
21617 * soft-fp/fmadf4.c: Ditto.
21618 * soft-fp/fmatf4.c: Ditto.
21619
21620 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21621
21622 * sysdeps/i386/i586/Implies: Removed.
21623 * sysdeps/i386/i686/Implies: Likewise.
21624
21625 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21626
21627 * sysdeps/i386/i486/strlen.S: Moved to ...
21628 * sysdeps/i386/strlen.S: Here.
21629
21630 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21631
21632 * sysdeps/i386/i486/strcat.S: Moved to ...
21633 * sysdeps/i386/strcat.S: Here.
21634
21635 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21636
21637 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
21638 * sysdeps/i386/pthread_spin_trylock.S: Here.
21639 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
21640 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
21641
21642 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21643
21644 * sysdeps/i386/i486/string-inlines.c: Moved to ...
21645 * sysdeps/i386/string-inlines.c: Here.
21646
21647 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21648
21649 * sysdeps/i386/i486/htonl.S: Moved ...
21650 * sysdeps/i386/htonl.S: here.
21651
21652 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21653
21654 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
21655 * sysdeps/i386/bits/atomic.h: Here.
21656
21657 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21658
21659 * sysdeps/i386/i486/Versions: Removed.
21660
21661 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
21662
21663 [BZ #2898]
21664 * misc/mktemp.c: Add mkdtemp to the link_warning message.
21665 Based on patch by Aurelien Jarno.
21666
21667 2015-08-26 Stan Shebs <stanshebs@google.com>
21668
21669 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
21670 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21671
21672 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21673
21674 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
21675 * sysdeps/powerpc/dl-procinfo.c:
21676 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
21677 feature so it shows when LD_SHOW_AUXV=1.
21678
21679 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21680
21681 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21682 (__arch_compare_and_exchange_val_32_acq): Remove and use common
21683 definition. ISA 2.07B no longer requires full sync.
21684
21685 2015-08-26 Mike Frysinger <vapier@gentoo.org>
21686
21687 [BZ #18863]
21688 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
21689 (si_call_addr): Define.
21690 (si_syscall): Define.
21691 (si_arch): Define.
21692
21693 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
21694
21695 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
21696 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
21697 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
21698 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21699 (__memset_zero_constant_len_parameter): New.
21700 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
21701 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21702 (__memset_zero_constant_len_parameter): Don't define if
21703 __memset_chk or USE_AS_BZERO are defined.
21704
21705 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
21706 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
21707 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
21708
21709 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
21710 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
21711 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
21712 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
21713 comments.
21714 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
21715 -mno-mmx for $(all-rtld-routines).
21716 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
21717 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
21718 i386.
21719
21720 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21721
21722 * sysdeps/generic/unwind.h
21723 (_Unwind_Word): Use __mode__(__unwind_word__)
21724 instead of __mode__(__word__).
21725 (_Unwind_Sword): Likewise.
21726
21727 * sysdeps/s390/s390-64/utf8-utf16-z9.c
21728 (MAX_NEEDED_INPUT): New define.
21729 (MAX_NEEDED_OUTPUT): New define.
21730
21731 * NEWS: New item for IBM z13 string optimizations.
21732
21733 * sysdeps/s390/multiarch/memrchr-c.c: New File.
21734 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
21735 * sysdeps/s390/multiarch/memrchr.c: Likewise.
21736 * sysdeps/s390/multiarch/Makefile
21737 (sysdep_routines): Add memrchr functions.
21738 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21739 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
21740
21741 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
21742 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
21743 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
21744 * sysdeps/s390/multiarch/Makefile
21745 (sysdep_routines): Add wmemcmp functions.
21746 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21747 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
21748 * benchtests/bench-wmemcmp.c: New File.
21749 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
21750
21751 * sysdeps/s390/multiarch/wmemset-c.c: New File.
21752 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
21753 * sysdeps/s390/multiarch/wmemset.c: Likewise.
21754 * sysdeps/s390/multiarch/Makefile
21755 (sysdep_routines): Add wmemset functions.
21756 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21757 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
21758 * wcsmbs/wmemset.c: Use WMEMSET if defined.
21759 * string/test-memset.c: Add wmemset support.
21760 * wcsmbs/test-wmemset.c: New File.
21761 * wcsmbs/Makefile (strop-tests): Add wmemset.
21762 * benchtests/bench-memset.c: Add wmemset support.
21763 * benchtests/bench-wmemset.c: New File.
21764 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
21765
21766 * sysdeps/s390/multiarch/memccpy-c.c: New File.
21767 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
21768 * sysdeps/s390/multiarch/memccpy.c: Likewise.
21769 * sysdeps/s390/multiarch/Makefile
21770 (sysdep_routines): Add memccpy functions.
21771 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21772 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
21773 * string/memccpy.c: Use MEMCCPY if defined.
21774
21775 * sysdeps/s390/multiarch/memchr-vx.S: New File.
21776 * sysdeps/s390/multiarch/memchr.c: Likewise.
21777 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
21778 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
21779 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
21780 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
21781 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
21782 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
21783 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
21784 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
21785 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
21786 and rawmemchr functions.
21787 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21788 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
21789 and wmemchr.
21790 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
21791 * string/test-memchr.c: Add wmemchr support.
21792 * wcsmbs/test-wmemchr.c: New File.
21793 * wcsmbs/Makefile (strop-tests): Add wmemchr.
21794 * benchtests/bench-memchr.c: Add wmemchr support.
21795 * benchtests/bench-wmemchr.c: New File.
21796 * benchtests/Makefile (wcsmbs-bench): wmemchr.
21797
21798 * sysdeps/s390/multiarch/strcspn-c.c: New File.
21799 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
21800 * sysdeps/s390/multiarch/strcspn.c: Likewise.
21801 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
21802 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
21803 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
21804 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
21805 wcscspn functions.
21806 * sysdeps/s390/multiarch/ifunc-impl-list.c
21807 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
21808 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
21809 * string/test-strcspn.c: Add wcscspn support.
21810 * wcsmbs/test-wcscspn.c: New File.
21811 * wcsmbs/Makefile (strop-tests): Add wcscspn.
21812 * benchtests/bench-strcspn.c: Add wcscspn support.
21813 * benchtests/bench-wcscspn.c: New File.
21814 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
21815
21816 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
21817 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
21818 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
21819 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
21820 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
21821 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
21822 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
21823 wcspbrk functions.
21824 * sysdeps/s390/multiarch/ifunc-impl-list.c
21825 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
21826 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
21827 * string/test-strpbrk.c: Add wcspbrk support.
21828 * wcsmbs/test-wcspbrk.c: New File.
21829 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
21830 * benchtests/bench-strpbrk.c: Add wcspbrk support.
21831 * benchtests/bench-wcspbrk.c: New File.
21832 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
21833
21834 * sysdeps/s390/multiarch/strspn-c.c: New File.
21835 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
21836 * sysdeps/s390/multiarch/strspn.c: Likewise.
21837 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
21838 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
21839 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
21840 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
21841 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
21842 wcsspn functions.
21843 * sysdeps/s390/multiarch/ifunc-impl-list.c
21844 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
21845 * string/test-strspn.c: Add wcsspn support.
21846 * wcsmbs/test-wcsspn.c: New File.
21847 * wcsmbs/Makefile (strop-tests): Add wcsspn.
21848 * benchtests/bench-strspn.c: Add wcsspn support.
21849 * benchtests/bench-wcsspn.c: New File.
21850 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
21851
21852 * sysdeps/s390/multiarch/strrchr-c.c: New File.
21853 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
21854 * sysdeps/s390/multiarch/strrchr.c: Likewise.
21855 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
21856 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
21857 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
21858 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
21859 wcsrchr functions.
21860 * sysdeps/s390/multiarch/ifunc-impl-list.c
21861 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
21862 * benchtests/bench-wcsrchr.c: New File.
21863 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
21864
21865 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
21866 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
21867 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
21868 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
21869 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
21870 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
21871 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
21872 wcschrnul functions.
21873 * sysdeps/s390/multiarch/ifunc-impl-list.c
21874 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
21875 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
21876 * string/test-strchr.c: Add wcschrnul support.
21877 * wcsmbs/test-wcschrnul.c: New File.
21878 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
21879 * benchtests/bench-strchr.c: Add wcschrnul support.
21880 * benchtests/bench-wcschrnul.c: New File.
21881 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21882
21883 * sysdeps/s390/multiarch/strchr-c.c: New File.
21884 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21885 * sysdeps/s390/multiarch/strchr.c: Likewise.
21886 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21887 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21888 * sysdeps/s390/multiarch/wcschr.c: Likewise.
21889 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21890 wcschr functions.
21891 * sysdeps/s390/multiarch/ifunc-impl-list.c
21892 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21893 * string/strchr.c (STRCHR): Define and use macro.
21894 * benchtests/bench-wcschr.c: New File.
21895 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21896
21897 * sysdeps/s390/multiarch/strncmp-c.c: New File.
21898 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21899 * sysdeps/s390/multiarch/strncmp.c: Likewise.
21900 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21901 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21902 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21903 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21904 wcsncmp functions.
21905 * sysdeps/s390/multiarch/ifunc-impl-list.c
21906 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21907 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21908 * benchtests/bench-strncmp.c: Add wcsncmp support.
21909 * benchtests/bench-wcsncmp.c: New File.
21910 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21911
21912 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21913 * sysdeps/s390/multiarch/strcmp.c: Likewise.
21914 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21915 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21916 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21917 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21918 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21919 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21920 wcscmp functions.
21921 * sysdeps/s390/multiarch/ifunc-impl-list.c
21922 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21923 * string/strcmp.c (STRCMP): Define and use macro.
21924 * benchtests/bench-wcscmp.c: New File.
21925 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21926 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21927 instead of _HAVE_STRING_ARCH_memchr.
21928
21929 * sysdeps/s390/multiarch/strncat-c.c: New File.
21930 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21931 * sysdeps/s390/multiarch/strncat.c: Likewise.
21932 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21933 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21934 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21935 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21936 wcsncat functions.
21937 * sysdeps/s390/multiarch/ifunc-impl-list.c
21938 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21939 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21940 * string/test-strncat.c: Add wcsncat support.
21941 * wcsmbs/test-wcsncat.c: New File.
21942 * wcsmbs/Makefile (strop-tests): Add wcsncat.
21943 * benchtests/bench-strncat.c: Add wcsncat support.
21944 * benchtests/bench-wcsncat.c: New File.
21945 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21946
21947 * sysdeps/s390/multiarch/strcat-c.c: New File.
21948 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21949 * sysdeps/s390/multiarch/strcat.c: Likewise.
21950 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21951 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21952 * sysdeps/s390/multiarch/wcscat.c: Likewise.
21953 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21954 wcscat functions.
21955 * sysdeps/s390/multiarch/ifunc-impl-list.c
21956 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21957 * string/strcat.c (STRCAT): Define and use macro.
21958 * wcsmbs/wcscat.c: Use WCSCAT if defined.
21959 * string/test-strcat.c: Add wcscat support.
21960 * wcsmbs/test-wcscat.c: New File.
21961 * wcsmbs/Makefile (strop-tests): Add wcscat.
21962 * benchtests/bench-strcat.c: Add wcscat support.
21963 * benchtests/bench-wcscat.c: New File.
21964 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21965
21966 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21967 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21968 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21969 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21970 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21971 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21972 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21973 wcpncpy functions.
21974 * sysdeps/s390/multiarch/ifunc-impl-list.c
21975 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21976 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21977 * string/test-stpncpy.c: Add wcpncpy support.
21978 * wcsmbs/test-wcpncpy.c: New File.
21979 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21980 * benchtests/bench-stpncpy.c: Add wcpncpy support.
21981 * benchtests/bench-wcpncpy.c: New File.
21982 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21983
21984 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21985 * sysdeps/s390/multiarch/strncpy.c: Likewise.
21986 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21987 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21988 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21989 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21990 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21991 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21992 wcsncpy functions.
21993 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21994 * sysdeps/s390/multiarch/ifunc-impl-list.c
21995 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21996 * string/test-strncpy.c: Add wcsncpy support.
21997 * wcsmbs/test-wcsncpy.c: New File.
21998 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21999 * benchtests/bench-strncpy.c: Add wcsncpy support.
22000 * benchtests/bench-wcsncpy.c: New File.
22001 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
22002
22003 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
22004 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
22005 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
22006 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
22007 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
22008 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
22009 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
22010 wcpcpy functions.
22011 * string/stpcpy.c: Use STPCPY if defined.
22012 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
22013 * sysdeps/s390/multiarch/ifunc-impl-list.c
22014 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
22015 * string/test-stpcpy.c: Add wcpcpy support.
22016 * wcsmbs/test-wcpcpy.c: New File.
22017 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
22018 * benchtests/bench-stpcpy.c: Add wcpcpy support.
22019 * benchtests/bench-wcpcpy.c: New File.
22020 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
22021
22022 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
22023 * sysdeps/s390/multiarch/strcpy.c: Likewise.
22024 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
22025 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
22026 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
22027 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
22028 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
22029 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
22030 wcscpy functions.
22031 * sysdeps/s390/multiarch/ifunc-impl-list.c
22032 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
22033 * benchtests/bench-wcscpy.c: New File.
22034 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
22035
22036 * sysdeps/s390/multiarch/strnlen-c.c: New File.
22037 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
22038 * sysdeps/s390/multiarch/strnlen.c: Likewise.
22039 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
22040 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
22041 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
22042 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
22043 wcsnlen functions.
22044 * sysdeps/s390/multiarch/ifunc-impl-list.c
22045 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
22046 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
22047 * string/test-strnlen.c: Add wcsnlen support.
22048 * wcsmbs/test-wcsnlen.c: New File.
22049 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
22050 * benchtests/bench-strnlen.c: Add wcsnlen support.
22051 * benchtests/bench-wcsnlen.c: New File.
22052 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
22053
22054 * sysdeps/s390/multiarch/Makefile: New File.
22055 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
22056 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
22057 * sysdeps/s390/multiarch/strlen.c: Likewise.
22058 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
22059 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
22060 * sysdeps/s390/multiarch/wcslen.c: Likewise.
22061 * string/strlen.c (STRLEN): Define and use macro.
22062 * sysdeps/s390/multiarch/ifunc-impl-list.c
22063 (IFUNC_VX_IMPL): New macro function.
22064 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
22065 * benchtests/Makefile (wcsmbs-bench): New variable.
22066 (string-bench-all): Added wcsmbs-bench.
22067 * benchtests/bench-wcslen.c: New File.
22068
22069 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
22070 s390_vx_libc_ifunc2): New macro function.
22071
22072 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
22073 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
22074 assembler support.
22075 * sysdeps/s390/configure: Regenerated.
22076
22077 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
22078 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
22079
22080 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
22081 * sysdeps/s390/dl-procinfo.h: Add vector capability.
22082 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
22083
22084 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
22085 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
22086 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
22087 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
22088 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
22089 (memcmp, bcmp): Use __memcmp_default as alias source.
22090 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
22091 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
22092 Rename to __memcmp_default.
22093 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
22094 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
22095 (memcpy): Use __memcpy_default as alias source.
22096 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
22097 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
22098 Rename to __memcpy_default.
22099 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
22100 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
22101 (memset): Use __memset_default as alias source.
22102 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
22103 * sysdeps/s390/s390-32/memset.S (__memset_g5):
22104 Rename to __memset_default.
22105 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
22106 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
22107 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
22108 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
22109 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
22110 (memcmp, bcmp): Use __memcmp_default as alias source.
22111 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
22112 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
22113 Rename to __memcmp_default.
22114 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
22115 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
22116 (memcpy): Use __memcpy_default as alias source.
22117 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
22118 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
22119 Rename to __memcpy_default.
22120 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
22121 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
22122 (memset): Use __memset_default as alias source.
22123 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
22124 * sysdeps/s390/s390-64/memset.S (__memset_z900):
22125 Rename to __memset_default.
22126 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
22127 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
22128
22129 [BZ #18610]
22130 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
22131 __ieee_instruction_pointer to __unused.
22132 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
22133 __ieee_instruction_pointer.
22134 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
22135 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
22136 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22137 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22138 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
22139 Mark dxc-field as reserved.
22140
22141 2015-08-25 Roland McGrath <roland@hack.frob.com>
22142
22143 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
22144 if the weak reference is not null.
22145
22146 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
22147
22148 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
22149
22150 [BZ #11214]
22151 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
22152
22153 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22154
22155 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
22156 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
22157 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
22158 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
22159 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
22160 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
22161 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
22162 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
22163 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
22164 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
22165 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
22166 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
22167 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
22168 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
22169 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
22170 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
22171 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
22172 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
22173
22174 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22175
22176 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
22177 register other than r0 for tabort, it has special meaning.
22178 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
22179 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
22180 transaction before starting syscall.
22181
22182 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22183
22184 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
22185
22186 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
22187
22188 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
22189
22190 * sysdeps/x86_64/rtld-memcmp.c: Removed.
22191 * sysdeps/x86_64/rtld-memset.S: Likewise.
22192 * sysdeps/x86_64/rtld-strchr.S: Likewise.
22193 * sysdeps/x86_64/rtld-strlen.S: Likewise.
22194 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
22195 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
22196
22197 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
22198
22199 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
22200
22201 * debug/strcpy_chk.c: Improve performance.
22202 * debug/stpcpy_chk.c: Likewise.
22203 * sysdeps/x86_64/strcpy_chk.S: Remove.
22204 * sysdeps/x86_64/stpcpy_chk.S: Remove.
22205
22206 [BZ #18240]
22207 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
22208
22209 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
22210
22211 [BZ #15128]
22212 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
22213 ifuncmain8.
22214 (modules-names): Add ifuncmod8.
22215 ($(objpfx)ifuncmain8): New rule.
22216 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
22217 <cpuid.h>.
22218 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
22219 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
22220 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
22221 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
22222 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
22223 * sysdeps/x86_64/dl-trampoline.h: Likewise.
22224 * sysdeps/x86_64/ifuncmain8.c: New file.
22225 * sysdeps/x86_64/ifuncmod8.c: Likewise.
22226 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
22227 Removed.
22228 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
22229 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
22230 Change rtld_savespace_sse to __glibc_unused2.
22231 (RTLD_CHECK_FOREIGN_CALL): Removed.
22232 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
22233 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
22234 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
22235
22236 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
22237
22238 * sysdeps/aarch64/bzero.S (__bzero): Remove.
22239
22240 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
22241
22242 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
22243 Unconditionally set __fpcr to avoid uninialized warning.
22244 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
22245
22246 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22247
22248 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
22249 is corrupt.
22250
22251 * malloc/arena.c (arena_get2): Drop unused argument.
22252 (arena_lock): Adjust.
22253 (arena_get_retry): Likewise.
22254
22255 2015-08-24 Andreas Schwab <schwab@suse.de>
22256
22257 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
22258 Don't define.
22259 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22260 (__ASSUME_IPC64): Don't undef.
22261 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
22262 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22263 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22264 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
22265 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
22266 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
22267 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
22268 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
22269 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
22270 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
22271 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
22272 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
22273 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
22274 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
22275 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
22276 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
22277 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
22278 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
22279 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
22280 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
22281 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
22282
22283 2015-08-21 Mike Frysinger <vapier@gentoo.org>
22284
22285 * manual/Makefile (install): Only build manual when perl is available.
22286
22287 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22288
22289 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
22290 '#undef memcpy' by '#undef memchr'.
22291
22292 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22293
22294 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
22295 memchr not point to the internal __GI_memchr implementation.
22296
22297 2015-08-20 Joseph Myers <joseph@codesourcery.com>
22298
22299 * timezone/Makefile (CFLAGS-zdump.c): Remove
22300 -Wno-strict-prototypes.
22301 (CFLAGS-zic.c): Likewise.
22302 (CFLAGS-ialloc.c): Likewise.
22303 (CFLAGS-scheck.c): Likewise.
22304
22305 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
22306 -Wno-error=undef.
22307
22308 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22309
22310 * i386/i686/multiarch/strcasestr-c.c: Removed.
22311 * x86_64/multiarch/strcasestr.c: Likewise.
22312 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22313 Remove strcasestr.
22314
22315 2015-08-20 Joseph Myers <joseph@codesourcery.com>
22316
22317 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
22318
22319 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
22320 variables for high and low parts before possibly modifying them.
22321
22322 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22323
22324 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
22325 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
22326 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
22327 of "multiarch/init-arch.h".
22328 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
22329 * sysdeps/x86/init-arch.h: This.
22330
22331 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22332
22333 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
22334 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
22335
22336 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
22337
22338 [BZ #17787]
22339 * manual/macros.texi: Add twoexp macro.
22340 * manual/filesys.texi: Fix exponents.
22341 * manual/llio.texi: Likewise.
22342 * manual/stdio.texi: Likewise.
22343
22344 2015-08-20 Florian Weimer <fweimer@redhat.com>
22345
22346 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
22347 incorrect use.
22348
22349 2015-08-19 Joseph Myers <joseph@codesourcery.com>
22350
22351 [BZ #18370]
22352 * math/s_csqrt.c (__csqrt): Force underflow exception for results
22353 whose real or imaginary part has small absolute value.
22354 * math/s_csqrtf.c (__csqrtf): Likewise.
22355 * math/s_csqrtl.c (__csqrtl): Likewise.
22356 * math/auto-libm-test-in: Add more tests of csqrt.
22357 * math/auto-libm-test-out: Regenerated.
22358 * sysdeps/i386/fpu/libm-test-ulps: Update.
22359
22360 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22361
22362 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
22363 __ppc_set_ppr_very_low): New functions.
22364 * manual/platform.texi: Add documentation about
22365 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
22366
22367 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
22368
22369 * string/stpncpy.c (stpncpy): Improve performance using
22370 __strnlen/memcpy/memset.
22371
22372 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
22373
22374 [BZ #18796]
22375 * scripts/test-installation.pl: Don't add -lmvec to build options if
22376 libmvec wasn't built.
22377
22378 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
22379
22380 [BZ #14341]
22381 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
22382 case when there is a gap between DT_REL and DT_JMPREL sections.
22383 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
22384 (LDFLAGS-tst-split-dynreloc): New.
22385 (tst-split-dynreloc-ENV): Likewise.
22386 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
22387 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
22388
22389 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22390
22391 [BZ #18822]
22392 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
22393 attribute_hidden.
22394 (__xstat64_conv): Likewise.
22395 (__xstat32_conv): Likewise.
22396
22397 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22398
22399 [BZ #18822]
22400 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22401 Don't load %ebx when calling __setcontext. Call __setcontext
22402 with HIDDEN_JUMPTARGET.
22403 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
22404 libc_hidden_def.
22405
22406 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22407
22408 * sysdeps/i386/i686/Makefile
22409 [$(subdir) == string] (sysdep_routines): Moved to ...
22410 * sysdeps/i386/Makefile: Here.
22411 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
22412 * sysdeps/i386/cacheinfo.c: Here.
22413 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
22414 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
22415 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
22416 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
22417
22418 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22419
22420 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
22421 __i586__ is defined.
22422 (HAS_I686): Defined to 1 if __i686__ is defined.
22423
22424 2015-08-19 Joseph Myers <joseph@codesourcery.com>
22425
22426 * elf/Makefile [$(have-z-execstack) = yes]
22427 (CPPFLAGS-tst-execstack.c): New variable.
22428
22429 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
22430 conditional to [defined UTMPX || _HAVE_UT_TYPE].
22431 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
22432 UTMPX || _HAVE_UT_TV].
22433 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
22434 UTMPX || _HAVE_UT_TV - 0].
22435
22436 2015-08-18 Joseph Myers <joseph@codesourcery.com>
22437
22438 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
22439 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
22440 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
22441
22442 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22443
22444 * sysdeps/powerpc/dl-procinfo.c:
22445 (_dl_powerpc_cap_flags): Added missing strings for some
22446 hwcap features.
22447 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
22448
22449 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
22450
22451 Port the 0x7efe...feff pattern to GCC 6.
22452 See Steve Ellcey's bug report in:
22453 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
22454 * string/memrchr.c (MEMRCHR):
22455 * string/rawmemchr.c (RAWMEMCHR):
22456 * string/strchr.c (strchr):
22457 * string/strchrnul.c (STRCHRNUL):
22458 Rewrite code to avoid issues with signed shift overflow.
22459
22460 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
22461
22462 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
22463 whether cpuid is available only if HAS_CPUID is 0.
22464 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
22465 (HAS_I586): Likewise.
22466 (HAS_I686): Likewise.
22467
22468 2015-08-18 Zack Weinberg <zackw@panix.com>
22469
22470 * misc/Versions (libc): Add GLIBC_2.23.
22471
22472 2015-08-18 Alan Modra <amodra@gmail.com>
22473
22474 [BZ #18421]
22475 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
22476 .Lp__global.
22477 (_start): Load %dp via .Lp__global.
22478 [!SHARED]: Use .section .rodata.
22479
22480 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22481
22482 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
22483 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
22484
22485 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22486
22487 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
22488 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
22489
22490 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22491
22492 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
22493 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
22494
22495 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22496
22497 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
22498 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
22499
22500 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22501
22502 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
22503 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
22504
22505 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22506
22507 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
22508 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
22509
22510 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22511
22512 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
22513
22514 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22515
22516 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
22517 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
22518 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22519 (__ASSUME_LWS_CAS): Delete.
22520
22521 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22522
22523 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
22524 * sysdeps/hppa/configure: Regenerated.
22525 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
22526 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
22527 * sysdeps/hppa/nptl/tls.h: Likewise.
22528
22529 2015-08-17 Joseph Myers <joseph@codesourcery.com>
22530
22531 [BZ #18823]
22532 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
22533 for scaling up small arguments.
22534 * math/s_csqrtf.c (__csqrtf): Likewise.
22535 * math/s_csqrtl.c (__csqrtl): Likewise.
22536 * math/auto-libm-test-in: Add more tests of csqrt.
22537 * math/auto-libm-test-out: Regenerated.
22538
22539 2015-08-17 Andreas Schwab <schwab@suse.de>
22540
22541 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
22542 version set GLIBC_2.19.
22543
22544 2015-08-16 Zack Weinberg <zackw@panix.com>
22545
22546 [BZ #18681]
22547 * misc/regexp.h: This interface is no longer supported.
22548 Remove all contents, leaving only an #error directive.
22549 * misc/regexp.c (loc1, loc2, locs, step, advance):
22550 Demote to compatibility symbols.
22551
22552 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
22553
22554 [BZ #18084]
22555 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
22556 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
22557 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22558 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
22559 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
22560 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
22561 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
22562 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
22563 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22564
22565 2015-08-15 Zack Weinberg <zackw@panix.com>
22566
22567 [BZ #18795]
22568 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
22569 buffer length is known to be too large, not if it's known to be
22570 small enough.
22571 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
22572 overflow at runtime, involving a length parameter, twice: once
22573 with a compile-time constant length parameter, once without.
22574
22575 2015-08-14 Joseph Myers <joseph@codesourcery.com>
22576
22577 [BZ #18824]
22578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
22579 scaling x * y up instead of down.
22580 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22581 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22582 * math/auto-libm-test-in: Add more tests of fma.
22583 * math/auto-libm-test-out: Regenerated.
22584
22585 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
22586
22587 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22588
22589 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22590
22591 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
22592 unnecessary movq.
22593 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
22594 Likewise.
22595
22596 2015-08-13 Joseph Myers <joseph@codesourcery.com>
22597
22598 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22599 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
22600 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
22601 and tgamma.
22602 * math/auto-libm-test-out: Regenerated.
22603 * sysdeps/i386/fpu/libm-test-ulps: Update.
22604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22605
22606 [BZ #16520]
22607 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
22608 (__tanh): Force underflow exception for arguments with small
22609 absolute value.
22610 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
22611 (__tanhf): Force underflow exception for arguments with small
22612 absolute value.
22613 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
22614 (__tanhl): Force underflow exception for arguments with small
22615 absolute value.
22616 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
22617 (__tanhl): Force underflow exception for arguments with small
22618 absolute value.
22619 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
22620 (__tanhl): Force underflow exception for arguments with small
22621 absolute value.
22622 * math/auto-libm-test-in: Add more tests of tanh.
22623 * math/auto-libm-test-out: Regenerated.
22624 * sysdeps/i386/fpu/libm-test-ulps: Update.
22625
22626 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22627
22628 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
22629 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
22630
22631 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22632
22633 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
22634 <cpuid.h>.
22635
22636 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22637
22638 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
22639 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
22640
22641 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22642
22643 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
22644 Remove $(objpfx)init-arch.o.
22645 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
22646 init-arch.
22647 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
22648 (INIT_ARCH_EXT): Defined as empty.
22649 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
22650 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
22651 __init_cpu_features call. Replace HAS_XXX with
22652 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22653 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
22654 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
22655 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
22656 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
22657 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22658 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
22659 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
22660 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22661 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
22662 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
22663 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22664 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
22665 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
22666 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22667 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
22668 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
22669 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22670 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22671 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
22672 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
22673 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22674 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
22675 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
22676 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22677 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
22678 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
22679 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22680 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
22681 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
22682 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22683 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
22684 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
22685 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22686 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
22687 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
22688
22689 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22690
22691 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
22692 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22693 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22694 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22695 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
22696 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
22697 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
22698 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
22699 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
22700 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
22701 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
22702 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
22703 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22704 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22705 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22706 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22707 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22708 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22709 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22710 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22711 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22712 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22713 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22714 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22715 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22716 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22717 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22718 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22719 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22720 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22721 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22722 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22723 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22724 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22725 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22726 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22727 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22728 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22729 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22730 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22731 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22732 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22733 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22734
22735 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22736
22737 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
22738 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22739 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22740 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22741 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22742 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
22743 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22744 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
22745 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22746 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22747 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22748 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
22749 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
22750 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
22751 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
22752 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
22753 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
22754 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
22755 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
22756 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
22757 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
22758 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
22759 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
22760 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22761 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22762 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
22763 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
22764 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
22765 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22766 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22767 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22768 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22769 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22770 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22771 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22772 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22773 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22774 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22775 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22776 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22777 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22778 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22779 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22780
22781 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22782
22783 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
22784 (dl_platform_init): Call init_cpu_features.
22785 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
22786 * sysdeps/i386/i686/cacheinfo.c
22787 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
22788 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
22789 * sysdeps/i386/i686/multiarch/Versions: Removed.
22790 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
22791 Removed.
22792 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
22793 * sysdeps/unix/sysv/linux/x86/Makefile
22794 (libpthread-sysdep_routines): Remove init-arch.
22795 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
22796 <sysdeps/x86_64/dl-procinfo.c> instead of
22797 sysdeps/generic/dl-procinfo.c>.
22798 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
22799 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
22800 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
22801 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
22802 [$(subdir) == elf] (tests-static): Add
22803 tst-get-cpu-features-static.
22804 * sysdeps/x86/Versions: New file.
22805 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
22806 * sysdeps/x86/cpu-features.c: Likewise.
22807 * sysdeps/x86/cpu-features.h: Likewise.
22808 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
22809 * sysdeps/x86/libc-start.c: Likewise.
22810 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22811 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
22812 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
22813 * sysdeps/x86_64/dl-procinfo.c: Likewise.
22814 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
22815 Assume USE_MULTIARCH is defined and don't check it.
22816 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
22817 (is_amd): Likewise.
22818 (max_cpuid): Likewise.
22819 (intel_check_word): Likewise.
22820 (__cache_sysconf): Don't call __init_cpu_features.
22821 (__x86_preferred_memory_instruction): Removed.
22822 (init_cacheinfo): Don't call __init_cpu_features. Replace
22823 __cpu_features with GLRO(dl_x86_cpu_features).
22824 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
22825 (dl_platform_init): Call init_cpu_features.
22826 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
22827 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
22828 * sysdeps/x86_64/multiarch/Versions: Removed.
22829 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
22830 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
22831 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
22832 Removed.
22833 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
22834
22835 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22836
22837 [BZ #18820]
22838 * libio/Makefile (test-fmemopen-mem): New test.
22839 * libio/test-fmemopen.c (do_bz18820): New test.
22840 * libio/fmemopen.c (__fmemopen): Fix memory leak.
22841 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
22842
22843 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22844
22845 [BZ #16734]
22846 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
22847 (FREE_BUF): Delete.
22848 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
22849 * libio/genops.c (_IO_setb): Use malloc and free directly.
22850 (_IO_default_doallocate, _IO_default_finish): Likewise.
22851 ( _IO_unbuffer_all): Likewise.
22852 ( libc_freeres_fn): Likewise.
22853 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22854 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22855 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
22856 (_IO_wdefault_doallocate): Likewise.
22857
22858 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22859
22860 [BZ #18086]
22861 * sysdeps/posix/nice.c (nice): Restore old errno.
22862 * posix/tst-nice.c (do_test): Add test for BZ #18086.
22863
22864 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
22865
22866 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
22867
22868 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22869
22870 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
22871 __bcopy and add a weak_alias to bcopy.
22872 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
22873 for static build.
22874
22875 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
22876 cleanup macro usage.
22877 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
22878 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
22879 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22880 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22881 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22882 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22883 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22884 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22885 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22886 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22887 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22888 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22889 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22890 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22891 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22892 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22893 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22894 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22895 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22896
22897 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22898 libc_hidden_def.
22899 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22900
22901 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22902 (sysdep_routines): Add strstr-ppc64.
22903 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22904
22905 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
22906
22907 [BZ #18778]
22908 * elf/Makefile (tests): Add Add tst-nodelete2.
22909 (modules-names): Add tst-nodelete2mod.
22910 (tst-nodelete2mod.so-no-z-defs): New.
22911 ($(objpfx)tst-nodelete2): Likewise.
22912 ($(objpfx)tst-nodelete2.out): Likewise.
22913 (LDFLAGS-tst-nodelete2): Likewise.
22914 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22915 out of loop through all loaded libraries.
22916 * elf/tst-nodelete2.c: New file.
22917 * elf/tst-nodelete2mod.c: Likewise.
22918 * elf/tst-znodelete-zlib.cc: Delete.
22919
22920 2015-08-11 Andreas Schwab <schwab@suse.de>
22921
22922 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22923 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22924 (__openat64_nocancel): Likewise.
22925
22926 2015-08-11 Joseph Myers <joseph@codesourcery.com>
22927
22928 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22929 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22930 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22931 * math/auto-libm-test-out: Regenerated.
22932 * sysdeps/i386/fpu/libm-test-ulps: Update.
22933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22934
22935 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22936
22937 [BZ #18790]
22938 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22939 threshold for returning +/- 1.
22940 * math/auto-libm-test-in: Add more tests of tanh.
22941 * math/auto-libm-test-out: Regenerated.
22942 * sysdeps/i386/fpu/libm-test-ulps: Update.
22943
22944 2015-08-10 Andreas Schwab <schwab@suse.de>
22945
22946 [BZ #18781]
22947 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22948 MORE_OFLAGS to oflag.
22949 * io/test-lfs.c (do_test): Test openat64.
22950
22951 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22952
22953 [BZ #18789]
22954 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22955 smaller threshold for returning the argument.
22956 * math/auto-libm-test-in: Add more tests of sinh.
22957 * math/auto-libm-test-out: Regenerated.
22958 * sysdeps/i386/fpu/libm-test-ulps: Update.
22959
22960 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
22961
22962 [BZ #18674]
22963 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22964 break.
22965
22966 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
22967
22968 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22969 (generated): Don't add $(addprefix z.,$(tzfiles)).
22970
22971 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22972
22973 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22974 * scripts/sysd-rules.awk: Likewise.
22975
22976 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22977
22978 * iconvdata/tst-tables.sh: Change echo -n to printf.
22979 * nss/db-Makefile: Likewise.
22980 * posix/tst-getconf.sh: Likewise.
22981 * stdio-common/tst-unbputc.sh: Likewise.
22982
22983 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22984
22985 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22986 MADV_*_PAGES defines behind this feature check.
22987
22988 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
22989
22990 [BZ #18480]
22991 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22992 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22993 Define.
22994 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22995 LOAD_REGS_5, LOAD_REGS_6): Update.
22996 (INTERNAL_SYSCALL): Update using new LOAD defines.
22997 (INTERNAL_SYSCALL_NCS): Likewise.
22998 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22999
23000 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23001
23002 [BZ #16734]
23003 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
23004
23005 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23006
23007 [BZ #17905]
23008 * catgets/Makefile (tst-catgets-mem): New test.
23009 * catgets/catgets.c (catopen): Don't use unbounded alloca.
23010 * catgets/open_catalog.c (__open_catalog): Likewise.
23011 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
23012
23013 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
23014
23015 [BZ #18787]
23016 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
23017 clobber registers.
23018 (atomic_compare_and_exchange_val_acq): Use register asms to assign
23019 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
23020 Cast return to __typeof (oldval).
23021
23022 2015-08-08 Mike Frysinger <vapier@gentoo.org>
23023
23024 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
23025 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
23026 and delete sys/syscall.h include.
23027
23028 2015-08-07 Joseph Myers <joseph@codesourcery.com>
23029
23030 [BZ #16517]
23031 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
23032 (tan): Force underflow exception for arguments with small absolute
23033 value.
23034 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
23035 (__kernel_tanf): Force underflow exception for arguments with
23036 small absolute value.
23037 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
23038 (__kernel_tanl): Force underflow exception for arguments with
23039 small absolute value.
23040 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
23041 (__kernel_tanl): Force underflow exception for arguments with
23042 small absolute value.
23043 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
23044 (__kernel_tanl): Force underflow exception for arguments with
23045 small absolute value.
23046 * math/auto-libm-test-in: Add more tests of tan.
23047 * math/auto-libm-test-out: Regenerated.
23048
23049 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
23050
23051 Fix sysdeps/i386/fpu/s_scalbn.S build
23052
23053 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
23054
23055 2015-08-07 Mike Frysinger <vapier@gentoo.org>
23056
23057 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23058
23059 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
23060
23061 Fix gcrt0.o compilation
23062
23063 When static-start-installed-name is different from
23064 start-installed-name, we must not use the shared objects.
23065
23066 * csu/Makefile
23067 (extra-objs): Add gmon-start.o when building shared library and
23068 $(static-start-installed-name) is different from
23069 $(start-installed-name).
23070 $(objpfx)g$(static-start-installed-name): When building shared
23071 library and $(static-start-installed-name) is different from
23072 $(static-start-installed-name), revert to non-shared rule,
23073 i.e. using $(objpfx)% and gmon-start.o.
23074
23075 2015-08-06 Joseph Myers <joseph@codesourcery.com>
23076
23077 [BZ #16519]
23078 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
23079 (__ieee754_sinh): Force underflow exception for arguments with
23080 small absolute value.
23081 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
23082 (__ieee754_sinhf): Force underflow exception for arguments with
23083 small absolute value.
23084 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
23085 (__ieee754_sinhl): Force underflow exception for arguments with
23086 small absolute value.
23087 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
23088 (__ieee754_sinhl): Force underflow exception for arguments with
23089 small absolute value.
23090 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
23091 (__ieee754_sinhl): Force underflow exception for arguments with
23092 small absolute value.
23093 * math/auto-libm-test-in: Add more tests of sinh.
23094 * math/auto-libm-test-out: Regenerated.
23095 * sysdeps/i386/fpu/libm-test-ulps: Update.
23096
23097 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23098
23099 * libio/oldfileops.c: Include unistd.h.
23100
23101 2015-08-06 Mike Frysinger <vapier@gentoo.org>
23102
23103 * stdlib/isomac.c: Include ctype.h.
23104
23105 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
23106
23107 * dirent/tst-seekdir.c (main): Converted to ...
23108 (do_test): ... this.
23109 (TEST_FUNCTION): New macro.
23110 Include test-skeleton.c.
23111 * elf/tst-dlmodcount.c (main): Converted to ...
23112 (do_test): ... this.
23113 (TEST_FUNCTION): New macro.
23114 Include test-skeleton.c.
23115 * elf/tst-order-main.c (main): Converted to ...
23116 (do_test): ... this.
23117 (TEST_FUNCTION): New macro.
23118 Include test-skeleton.c.
23119 * elf/tst-pie2.c (main): Converted to ...
23120 (do_test): ... this.
23121 (TEST_FUNCTION): New macro.
23122 Include test-skeleton.c.
23123 * inet/tst-ether_aton.c (main): Converted to ...
23124 (do_test): ... this.
23125 (TEST_FUNCTION): New macro.
23126 Include test-skeleton.c.
23127 * misc/tst-mntent.c (main): Converted to ...
23128 (do_test): ... this.
23129 (TEST_FUNCTION): New macro.
23130 Include test-skeleton.c.
23131 * misc/tst-tsearch.c (main): Converted to ...
23132 (do_test): ... this.
23133 (TEST_FUNCTION): New macro.
23134 Include test-skeleton.c.
23135 * posix/tst-regexloc.c (main): Converted to ...
23136 (do_test): ... this.
23137 (TEST_FUNCTION): New macro.
23138 Include test-skeleton.c.
23139 * resolv/tst-aton.c (main): Converted to ...
23140 (do_test): ... this.
23141 (TEST_FUNCTION): New macro.
23142 Include test-skeleton.c.
23143 * stdio-common/test-fwrite.c (main): Converted to ...
23144 (do_test): ... this.
23145 (TEST_FUNCTION): New macro.
23146 Include test-skeleton.c.
23147 * stdio-common/tst-ferror.c (main): Converted to ...
23148 (do_test): ... this.
23149 (TEST_FUNCTION): New macro.
23150 Include test-skeleton.c.
23151 * stdio-common/tst-printf.c (main): Converted to ...
23152 (do_test): ... this.
23153 (TEST_FUNCTION): New macro.
23154 Include test-skeleton.c.
23155 * stdio-common/tst-printfsz.c (main): Converted to ...
23156 (do_test): ... this.
23157 (TEST_FUNCTION): New macro.
23158 Include test-skeleton.c.
23159 * stdlib/tst-strtod.c (main): Converted to ...
23160 (do_test): ... this.
23161 (TEST_FUNCTION): New macro.
23162 Include test-skeleton.c.
23163 * string/tst-strlen.c (main): Converted to ...
23164 (do_test): ... this.
23165 (TEST_FUNCTION): New macro.
23166 Include test-skeleton.c.
23167 * string/tst-svc.c (main): Converted to ...
23168 (do_test): ... this.
23169 (TEST_FUNCTION): New macro.
23170 Include test-skeleton.c.
23171 * time/tst-strptime.c (main): Converted to ...
23172 (do_test): ... this.
23173 (TEST_FUNCTION): New macro.
23174 Include test-skeleton.c.
23175 * timezone/tst-timezone.c (main): Converted to ...
23176 (do_test): ... this.
23177 (TEST_FUNCTION): New macro.
23178 Include test-skeleton.c.
23179
23180 2015-08-05 Zack Weinberg <zackw@panix.com>
23181
23182 * misc/regexp.h: Update comments.
23183
23184 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
23185
23186 [BZ #18635]
23187 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
23188 before return label.
23189
23190 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23191
23192 [BZ #18661]
23193 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
23194 when calling __errno_location.
23195 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
23196 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
23197
23198 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23199
23200 [BZ #18661]
23201 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
23202 (__lll_timedwait_tid): Align stack to 16 bytes when calling
23203 __gettimeofday.
23204
23205 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23206
23207 [BZ #18661]
23208 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23209 (__start_context): Don't use pop to restore %rdi so that stack
23210 is aligned to 16 bytes when calling __setcontext.
23211
23212 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23213
23214 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
23215 only for libc.
23216 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23217
23218 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23219
23220 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
23221 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
23222 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
23223
23224 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23225
23226 * string/memccpy.c (memccpy):
23227 Improve performance by using memchr/memcpy/__mempcpy.
23228
23229 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23230
23231 * string/strncpy.c (strncpy):
23232 Improve performance by using __strnlen/memcpy.
23233
23234 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23235
23236 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23237 Optimize to avoid an unnecessary FPCR read.
23238
23239 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23240
23241 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23242 Optimize to reduce FPCR/FPSR accesses.
23243
23244 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23245
23246 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
23247 dead->data[category] != NULL.
23248
23249 2015-08-05 Joseph Myers <joseph@codesourcery.com>
23250
23251 [BZ #18647]
23252 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
23253 and |x| close to 1, use absolute value of x when computing log.
23254 * math/auto-libm-test-in: Add more tests of pow.
23255 * math/auto-libm-test-out: Regenerated.
23256
23257 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23258
23259 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
23260 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
23261 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
23262
23263 2015-08-05 Marko Myllynen <myllynen@redhat.com>
23264
23265 [BZ #18525]
23266 * locales/km_KH: Remove timezone definition.
23267 * locales/lo_LA: Likewise.
23268 * locales/my_MM: Likewise.
23269 * locales/nan_TW@latin: Likewise.
23270 * locales/th_TH: Likewise.
23271 * locales/uk_UA: Likewise.
23272
23273 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
23274
23275 [BZ #18265]
23276 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
23277 (wcsncat): Likewise.
23278 (wcscmp): Likewise.
23279 (wcsncmp): Likewise.
23280
23281 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23282
23283 * test-skeleton.c (usage): New function.
23284 (main): Call usage when opt is '?'.
23285
23286 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23287
23288 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
23289 before first use.
23290
23291 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23292
23293 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
23294 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
23295 in there too.
23296
23297 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
23298
23299 * version.h (RELEASE): Set to "development".
23300 (VERSION): Set to "2.22.90"
23301
23302 * version.h (RELEASE): Set to "stable".
23303 (VERSION): Set to "2.22"
23304 * include/features.h (__GLIBC_MINOR__): Set to 22.
23305
23306 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
23307
23308 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
23309 Restructure macro to avoid "value computed is not used" warning.
23310 (atomic_compare_and_exchange_val_acq): Likewise.
23311
23312 2015-08-04 Andreas Schwab <schwab@suse.de>
23313
23314 [BZ #18635]
23315 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
23316 ret.
23317 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
23318
23319 2015-08-01 Carlos O'Donell <carlos@redhat.com>
23320
23321 * po/pl.po: Updated translation.
23322 * po/uk.po: Likewise.
23323 * po/fi.po: Likewise.
23324 * po/ko.po: Likewise.
23325 * po/ru.po: Likewise.
23326 * po/vi.po: Likewise.
23327
23328 2015-07-31 Zack Weinberg <zackw@panix.com>
23329
23330 [BZ #18681]
23331 * regexp.h: Add unconditional #warning stating that this header
23332 will be removed soon. Revise banner comment to match.
23333 (compile): Consistently use ERROR instead of RETURN to report
23334 errors (partial fix for bz#18681).
23335 * regexp.c: Don't include regexp.h. Remove some unnecessary
23336 declarations.
23337
23338 2015-07-31 Carlos O'Donell <carlos@redhat.com>
23339
23340 * po/libc.pot: Regenerated.
23341
23342 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
23343
23344 [BZ #18740]
23345 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
23346 float-vlen4-arch-ext-cflags): Removed.
23347 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
23348 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
23349
23350 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23351
23352 [BZ #14113]
23353 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
23354 aligned to __aligned__.
23355 (pthread_cond_t, pthread_rwlock_t): Likewise.
23356
23357 2015-07-30 Torvald Riegel <triegel@redhat.com>
23358
23359 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
23360
23361 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23362
23363 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
23364 (struct sigaction): Change sa_flags from a long to an int, and add
23365 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
23366
23367 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23368
23369 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
23370 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
23371 sysdeps/generic/sysdep.h include.
23372 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
23373 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
23374 sysdeps/hppa/sysdep.h.
23375 (ENTRY, PSEUDO): Undefine before defining.
23376
23377 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23378
23379 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
23380 from scratch to use INTERNAL_SYSCALL.
23381
23382 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
23383
23384 [BZ #18078]
23385 * scripts/check-localplt.awk: Support alternate relocations.
23386 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
23387 sections.
23388 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
23389 malloc entries with + REL R_386_GLOB_DAT.
23390 * sysdeps/x86_64/localplt.data: New file.
23391
23392 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
23393
23394 [BZ #18731]
23395 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
23396 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23397 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23398
23399 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23400
23401 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
23402
23403 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23404
23405 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
23406 directly in terms of __sync_fetch_and_add and delete (int) cast.
23407
23408 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23409
23410 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
23411 the -D_ASM_IA64_CURRENT_H flag.
23412
23413 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23414
23415 [BZ #18641]
23416 * pwd/pwd.h (putpwent): Delete __nonnull markings.
23417
23418 2015-07-27 Andreas Schwab <schwab@suse.de>
23419
23420 * conform/conformtest.pl (checknamespace): Filter out string
23421 literals while tokenizing.
23422
23423 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
23424
23425 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23426 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
23427 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23428
23429 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
23430
23431 * nptl/tst-join7mod.c: Add #include <string.h>.
23432
23433 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
23434
23435 * sysdeps/nios2/libm-test-ulps: Update.
23436
23437 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
23438
23439 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
23440 Fix order of arguments to the rt_sigprocmask syscall.
23441 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
23442 Likewise.
23443
23444 2015-07-24 Roland McGrath <roland@hack.frob.com>
23445
23446 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
23447
23448 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23449
23450 [BZ #18457]
23451 * nptl/Makefile (tests): New test case tst-join7.
23452 (modules-names): New test case module tst-join7mod.
23453 * nptl/tst-join7.c: New file.
23454 * nptl/tst-join7mod.c: New file.
23455 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
23456 all translation units in libc.so, libpthread.so and rtld.
23457
23458 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23459
23460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23461
23462 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
23463
23464 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
23465 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
23466 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
23467 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
23468 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
23469 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
23470 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
23471 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
23472 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
23473 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
23474 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
23475 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
23476 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
23477 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
23478 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
23479 implementation.
23480
23481 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
23482
23483 [BZ #17711]
23484 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23485 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
23486 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23487 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23488 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
23489 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23490
23491 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23492
23493 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
23494 instead of just saying load lock in the comments.
23495
23496 2015-07-23 Roland McGrath <roland@hack.frob.com>
23497
23498 * sysdeps/unix/Subdirs: Moved ...
23499 * sysdeps/posix/Subdirs: ... here.
23500 * login/pty.h (struct termios, struct winsize): Add forward decls.
23501 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
23502 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
23503 * sysdeps/arm/nacl/libc.abilist: Updated.
23504 * sysdeps/nacl/libutil.abilist: New file.
23505
23506 * bits/signum.h: Update comments to mention 1003.1-2013 too.
23507 (SIGWINCH): New macro.
23508
23509 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
23510 * sysdeps/arm/nacl/libc.abilist: Add it.
23511
23512 2015-07-23 Mike Frysinger <vapier@gentoo.org>
23513
23514 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
23515
23516 2015-07-23 Mike Frysinger <vapier@gentoo.org>
23517
23518 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23519 Swap __glibc_reserved0 and sa_flags order.
23520
23521 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23522
23523 [BZ #18657]
23524 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
23525 are pending TLS destructor calls.
23526 * include/link.h (struct link_map): Add concurrency note for
23527 L_TLS_DTOR_COUNT.
23528 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23529 Don't touch the link map flag. Atomically increment
23530 l_tls_dtor_count.
23531 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
23532 Avoid taking the load lock and don't touch the link map flag.
23533 * stdlib/tst-tls-atexit-nodelete.c: New test case.
23534 * stdlib/Makefile (tests): Use it.
23535 * stdlib/tst-tls-atexit.c (do_test): dlopen
23536 tst-tls-atexit-lib.so again before dlclose. Add conditionals
23537 to allow tst-tls-atexit-nodelete test case to use it.
23538
23539 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23540
23541 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
23542 to bits/types.h.
23543 (msgqnum_t): New typedef.
23544 (msglen_t): Likewise.
23545 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
23546 and msg_qbytes type to msglen_t.
23547
23548 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23549
23550 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
23551 pad0 to __glibc_reserved0.
23552 (struct stat64): Likewise.
23553
23554 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23555
23556 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23557 Change sa_flags from a long to an int and add __glibc_reserved0 before
23558 it for padding.
23559
23560 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23561
23562 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
23563 anonymous by deleting "siginfo" name.
23564
23565 2015-07-21 Roland McGrath <roland@hack.frob.com>
23566
23567 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
23568 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
23569 rather than __nacl_irt_filename.
23570 * sysdeps/nacl/xstat.c (__xstat): Likewise.
23571
23572 * NEWS: New item for arm-nacl port.
23573 * sysdeps/arm/nacl/libc.abilist: New file.
23574 * sysdeps/nacl/ld.abilist: New file.
23575 * sysdeps/nacl/libBrokenLocale.abilist: New file.
23576 * sysdeps/nacl/libanl.abilist: New file.
23577 * sysdeps/nacl/libcrypt.abilist: New file.
23578 * sysdeps/nacl/libdl.abilist: New file.
23579 * sysdeps/nacl/libm.abilist: New file.
23580 * sysdeps/nacl/libpthread.abilist: New file.
23581 * sysdeps/nacl/libresolv.abilist: New file.
23582 * sysdeps/nacl/librt.abilist: New file.
23583
23584 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
23585
23586 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
23587 __startcontext to initialize the new context.
23588 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
23589 up CFI directive to forbid further backtracing.
23590
23591 2015-07-21 Marko Myllynen <myllynen@redhat.com>
23592
23593 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
23594 reference.
23595 * charmaps/ANSI_X3.4-1968: Likewise.
23596 * charmaps/BS_4730: Likewise.
23597 * charmaps/BS_VIEWDATA: Likewise.
23598 * charmaps/CP1250: Likewise.
23599 * charmaps/CP1251: Likewise.
23600 * charmaps/CP1252: Likewise.
23601 * charmaps/CP1253: Likewise.
23602 * charmaps/CP1254: Likewise.
23603 * charmaps/CP1255: Likewise.
23604 * charmaps/CP1256: Likewise.
23605 * charmaps/CSN_369103: Likewise.
23606 * charmaps/EBCDIC-DK-NO: Likewise.
23607 * charmaps/GB_1988-80: Likewise.
23608 * charmaps/GREEK-CCITT: Likewise.
23609 * charmaps/GREEK7: Likewise.
23610 * charmaps/INIS-8: Likewise.
23611 * charmaps/ISIRI-3342: Likewise.
23612 * charmaps/ISO_2033-1983: Likewise.
23613 * charmaps/ISO_5427-EXT: Likewise.
23614 * locales/POSIX: Likewise.
23615 * locales/ar_SA: Likewise.
23616 * locales/be_BY: Likewise.
23617 * locales/be_BY@latin: Likewise.
23618 * locales/ca_ES: Likewise.
23619 * locales/cs_CZ: Likewise.
23620 * locales/da_DK: Likewise.
23621 * locales/de_BE: Likewise.
23622 * locales/de_CH: Likewise.
23623 * locales/de_LU: Likewise.
23624 * locales/en_AU: Likewise.
23625 * locales/en_BW: Likewise.
23626 * locales/en_CA: Likewise.
23627 * locales/en_DK: Likewise.
23628 * locales/en_GB: Likewise.
23629 * locales/en_IE: Likewise.
23630 * locales/en_NZ: Likewise.
23631 * locales/en_ZA: Likewise.
23632 * locales/en_ZW: Likewise.
23633 * locales/es_AR: Likewise.
23634 * locales/es_BO: Likewise.
23635 * locales/es_CL: Likewise.
23636 * locales/es_CO: Likewise.
23637 * locales/es_DO: Likewise.
23638 * locales/es_EC: Likewise.
23639 * locales/es_ES: Likewise.
23640 * locales/es_HN: Likewise.
23641 * locales/es_MX: Likewise.
23642 * locales/es_PA: Likewise.
23643 * locales/es_PE: Likewise.
23644 * locales/es_PY: Likewise.
23645 * locales/es_SV: Likewise.
23646 * locales/es_US: Likewise.
23647 * locales/es_UY: Likewise.
23648 * locales/es_VE: Likewise.
23649 * locales/et_EE: Likewise.
23650 * locales/fa_IR: Likewise.
23651 * locales/fo_FO: Likewise.
23652 * locales/fr_CA: Likewise.
23653 * locales/fr_CH: Likewise.
23654 * locales/gv_GB: Likewise.
23655 * locales/he_IL: Likewise.
23656 * locales/hr_HR: Likewise.
23657 * locales/id_ID: Likewise.
23658 * locales/is_IS: Likewise.
23659 * locales/it_CH: Likewise.
23660 * locales/iw_IL: Likewise.
23661 * locales/kl_GL: Likewise.
23662 * locales/ko_KR: Likewise.
23663 * locales/kw_GB: Likewise.
23664 * locales/lg_UG: Likewise.
23665 * locales/lt_LT: Likewise.
23666 * locales/lv_LV: Likewise.
23667 * locales/mi_NZ: Likewise.
23668 * locales/nhn_MX: Likewise.
23669 * locales/nl_BE: Likewise.
23670 * locales/pl_PL: Likewise.
23671 * locales/sk_SK: Likewise.
23672 * locales/sl_SI: Likewise.
23673 * locales/sv_FI: Likewise.
23674 * locales/tl_PH: Likewise.
23675 * locales/tr_TR: Likewise.
23676 * locales/vi_VN: Likewise.
23677
23678 2015-07-21 Khem Raj <raj.khem@gmail.com>
23679
23680 [BZ #17475]
23681 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
23682 of tu_IN and bh_IN.
23683
23684 2015-07-21 Mike Frysinger <vapier@gentoo.org>
23685
23686 [BZ #18694]
23687 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
23688 bits/wordsize.h.
23689 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
23690
23691 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23692
23693 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
23694 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
23695 (spawn_thread): New function.
23696 (load): Rename to reg_dtor_and_close. Move dlopen to...
23697 (do_test): ... here. Use IS_LOADED to test for its
23698 availability.
23699
23700 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
23701
23702 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23703
23704 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
23705
23706 [BZ #18696]
23707 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
23708 si_addr_bnd.
23709 (si_lower): New.
23710 (si_upper): Likewise.
23711
23712 2015-07-16 David S. Miller <davem@davemloft.net>
23713
23714 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
23715
23716 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23717
23718 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
23719 buffer.
23720 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
23721 fail output information.
23722
23723 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23724
23725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
23726 and strstr-ppc64..
23727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23728 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
23729 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
23730 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
23731 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
23732
23733 2015-07-16 Mike Frysinger <vapier@gentoo.org>
23734
23735 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23736 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23737 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23738 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23739
23740 2015-07-16 Mike Frysinger <vapier@gentoo.org>
23741
23742 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23743 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
23744 rtld_hidden_proto.
23745 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
23746
23747 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23748
23749 * tst-nodelete-opened.c (do_test): Add comment to clarify how
23750 the test can fail.
23751
23752 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
23753
23754 [BZ #18676]
23755 * elf/tst-nodelete-opened.c: New test case.
23756 * elf/tst-nodelete-opened-lib.c: New test case module.
23757 * elf/Makefile (tests, modules-names): Use them.
23758 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
23759 early.
23760
23761 2015-07-15 David S. Miller <davem@davemloft.net>
23762
23763 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
23764 futex-intenal.h
23765 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
23766 * sysdeps/sparc/sparc64/Makefile: Likewise.
23767 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23768 Remove space from macro define.
23769 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
23770
23771 2015-07-15 Pravin Satpute <psatpute@redhat.com>
23772
23773 [BZ #17475]
23774 * locale/iso-639.def: Update Bhili and Tulu language codes as
23775 per iso639-3.
23776
23777 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
23778
23779 * elf/tst-leaks1.c (main): Converted to ...
23780 (do_test): ... this.
23781 (TEST_FUNCTION): New macro.
23782 Include test-skeleton.c.
23783 * localedata/tst-langinfo.c (main): Converted to ...
23784 (do_test): ... this.
23785 (TEST_FUNCTION): New macro.
23786 Include test-skeleton.c.
23787 * math/test-fpucw.c (main): Converted to ...
23788 (do_test): ... this.
23789 (TEST_FUNCTION): New macro.
23790 Include test-skeleton.c.
23791 * math/test-tgmath.c (main): Converted to ...
23792 (do_test): ... this.
23793 (TEST_FUNCTION): New macro.
23794 Include test-skeleton.c.
23795 * math/test-tgmath2.c (main): Converted to ...
23796 (do_test): ... this.
23797 (TEST_FUNCTION): New macro.
23798 Include test-skeleton.c.
23799 * setjmp/tst-setjmp.c (main): Converted to ...
23800 (do_test): ... this.
23801 (TEST_FUNCTION): New macro.
23802 Include test-skeleton.c.
23803 * stdio-common/tst-sscanf.c (main): Converted to ...
23804 (do_test): ... this.
23805 (TEST_FUNCTION): New macro.
23806 Include test-skeleton.c.
23807 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
23808 (do_test): ... this.
23809 (TEST_FUNCTION): New macro.
23810 Include test-skeleton.c.
23811
23812 * elf/tst-audit9.c (main): Converted to ...
23813 (do_test): ... this.
23814 (TEST_FUNCTION): New macro.
23815 Include test-skeleton.c.
23816
23817 2015-07-15 Mike Frysinger <vapier@gentoo.org>
23818
23819 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
23820
23821 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
23822
23823 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
23824 New variable.
23825
23826 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
23827
23828 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23829
23830 2015-07-14 Roland McGrath <roland@hack.frob.com>
23831
23832 * sysdeps/generic/dl-fileid.h: New file.
23833 * sysdeps/posix/dl-fileid.h: New file.
23834 * sysdeps/nacl/dl-fileid.h: New file.
23835 * include/link.h: Include <dl-fileid.h>.
23836 (struct link_map): Replace l_dev and l_ino with l_file_id.
23837 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
23838 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
23839 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
23840
23841 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23842
23843 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
23844
23845 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23846
23847 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
23848 Add iff $CXX is set.
23849 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
23850 Likewise.
23851 (tst-nodelete-zmodiff): Likewise.
23852 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
23853
23854 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23855
23856 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
23857
23858 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
23859
23860 * sysdeps/aarch64/fpu/math_private.h
23861 (define math_opt_barrier): Add AArch64 version.
23862 (math_force_eval): Likewise.
23863
23864 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
23865
23866 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
23867
23868 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
23869
23870 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
23871 %ld with %jd and cast to intmax_t.
23872 (do_test_length_zero): Likewise.
23873
23874 2015-07-10 Roland McGrath <roland@hack.frob.com>
23875
23876 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
23877
23878 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
23879
23880 * sysdeps/tile/libm-test-ulps: Regenerated.
23881
23882 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23883 Comment out the whole function, not just its body.
23884
23885 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23886
23887 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23888 locks.
23889
23890 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23891
23892 2015-07-10 Torvald Riegel <triegel@redhat.com>
23893
23894 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23895 (sem_assume_only_signals_cause_futex_EINTR): Remove.
23896
23897 2015-07-10 Torvald Riegel <triegel@redhat.com>
23898
23899 * sysdeps/nptl/futex-internal.h: New file.
23900 * sysdeps/nacl/futex-internal.h: New file.
23901 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23902 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23903 error checking.
23904 (setxid_unmark_thread): Likewise.
23905 (__nptl_setxid): Likewise.
23906 (__wait_lookup_done): Likewise.
23907 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23908 * nptl/nptl-init.c (sighandler_setxid): Likewise.
23909 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23910 * nptl/pthread_once.c (clear_once_control): Likewise.
23911 (__pthread_once_slow): Likewise.
23912 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23913 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23914 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23915 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23916 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23917 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23918 Likewise.
23919 (__pthread_rwlock_rdlock): Likewise.
23920 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23921 Likewise.
23922 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23923 Likewise.
23924 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23925 Likewise.
23926 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23927 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23928 Likewise.
23929 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23930 __ASSUME_PRIVATE_FUTEX check.
23931 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23932 Check that shared futexes are supported.
23933 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23934 wrappers with error checking.
23935 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23936 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23937 * nptl/pthread_barrierattr_setpshared.c
23938 (pthread_barrierattr_setpshared): Check that shared futexes are
23939 supported.
23940 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23941 Likewise.
23942 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23943 Likewise.
23944 * nptl/sem_init.c (futex_private_if_supported): Remove.
23945 (__new_sem_init): Adapt and check that shared futexes are supported.
23946 * nptl/sem_open.c (sem_open): Likewise.
23947 * nptl/sem_post.c (futex_wake): Remove.
23948 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23949 (do_futex_wait): Use futex wrappers with error checking.
23950 * nptl/sem_wait.c: Include lowlevellock.h.
23951 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23952 Use futex_supports_pshared.
23953 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23954 Use futex wrappers with error checking.
23955 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23956 Likewise.
23957 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23958 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23959 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23960 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23961 (futex_wake): Likewise.
23962 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23963 (do_futex_wait): Use futex wrappers with error checking.
23964 (__new_sem_wait_slow): Update EINTR handling.
23965 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23966
23967 2015-07-09 Martin Sebor <msebor@redhat.com>
23968
23969 [BZ #18435]
23970 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23971 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23972 * nptl/Makefile (test-xfail-tst-once5): Define.
23973
23974 2015-07-09 Roland McGrath <roland@hack.frob.com>
23975
23976 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23977 * elf/dl-minimal.c: For readability, reorder some definitions and
23978 introduce more page breaks. Include <stdio.h>.
23979 (__libc_fatal): New function.
23980
23981 * include/unistd.h: Add rtld_hidden_proto for _exit.
23982 * posix/_exit.c: Add rtld_hidden_def.
23983 * sysdeps/mach/hurd/_exit.c: Likewise.
23984 * sysdeps/nacl/_exit.c: Likewise.
23985 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23986 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23987
23988 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
23989
23990 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23991 bndmov encoding with zero displacement.
23992
23993 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
23994 H.J. Lu <hongjiu.lu@intel.com>
23995
23996 [BZ #18134]
23997 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23998 * sysdeps/i386/configure: Regenerated.
23999 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
24000 (_dl_runtime_profile): Save and restore Intel MPX return bound
24001 registers when calling _dl_call_pltexit. Add
24002 PRESERVE_BND_REGS_PREFIX before return.
24003 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
24004 (LRV_BND1_OFFSET): Likewise.
24005 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
24006 lrv_bnd1.
24007 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
24008 typo in bndmov encoding.
24009 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
24010 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
24011 branch instructions to preserve bounds.
24012
24013 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24014
24015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
24016 [GLIBC_2.22]: Add fmemopen.
24017
24018 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
24019
24020 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
24021 returns an error, also try to use host port from __mach_host_self for
24022 the __vm_wire call.
24023 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
24024
24025 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
24026
24027 [BZ #18400]
24028 [BZ #18648]
24029 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
24030 Fix pr_uid and pr_gid members.
24031 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
24032 definition to elf_greg_t.
24033
24034 2015-07-08 Roland McGrath <roland@hack.frob.com>
24035
24036 [BZ #18383]
24037 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
24038 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
24039 * sysdeps/arm/configure: Regenerated.
24040 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
24041 (test-xfail-tst-tlsalign-static): Variable removed.
24042
24043 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
24044 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
24045 rather than explicit 'ln -s'.
24046
24047 * resolv/rpc/netdb.h: New file.
24048 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
24049
24050 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24051
24052 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
24053 length buffers.
24054 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
24055 test-skeleton.c.
24056
24057 [BZ #6544]
24058 [BZ #11216]
24059 [BZ #12836]
24060 [BZ #13151]
24061 [BZ #13152]
24062 [BZ #14292]
24063 * include/stdio.h (fmemopen): Remove hidden prototype.
24064 (__fmemopen): Add new hidden prototype.
24065 * libio/Makefile: Add oldfmemopen object.
24066 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
24067 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
24068 compliance.
24069 * libio/oldfmemopen.c: New file: old fmemopen implementation for
24070 symbol compatibility.
24071 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
24072 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
24073 fmemopen.
24074 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
24075 on append and read mode.
24076 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
24077 fmemopen.
24078 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
24079 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
24080 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
24081 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
24082 Likewise.
24083 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
24084 [GLIBC_2.22]: Likewise.
24085 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
24086 Likewise.
24087 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
24088 Likewise.
24089 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
24090 [GLIBC_2.22]: Likewise.
24091 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
24092 [GLIBC_2.22]: Likewise.
24093 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
24094 [GLIBC_2.22]: Likewise.
24095 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
24096 [GLIBC_2.22]: Likewise.
24097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
24098 [GLIBC_2.22]: Likewise.
24099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
24100 [GLIBC_2.22]: Likewise.
24101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
24102 [GLIBC_2.22]: Likewise.
24103 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
24104 Likewise.
24105 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
24106 Likewise.
24107 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
24108 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
24109 [GLIBC_2.22]: Likewise.
24110 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
24111 [GLIBC_2.22]: Likewise.
24112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
24113 [GLIBC_2.22]: Likewise.
24114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
24115 [GLIBC_2.22]: Likewise.
24116 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
24117 Likewise.
24118 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
24119 Likewise.
24120 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
24121 Likewise.
24122 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
24123 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
24124
24125 2015-07-08 Carlos O'Donell <carlos@redhat.com>
24126
24127 [BZ #18643]
24128 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
24129 IPV6_PATHMTU, and IPV6_DONTFRAG.
24130
24131 2015-07-08 Feng Gao <gfree.wind@gmail.com>
24132
24133 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
24134 and _IO_UNBUFFERED.
24135 * libio/oldfileops.c: Likewise.
24136 * libio/wfileops.c: Likewise.
24137
24138 2015-07-08 Mike Frysinger <vapier@gentoo.org>
24139
24140 * nscd/selinux.c: Delete selinux/flask.h include.
24141
24142 2015-07-08 Mike Frysinger <vapier@gentoo.org>
24143
24144 [BZ #18641]
24145 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
24146 (putpwent): Likewise.
24147 (getpwnam): Likewise.
24148 (getpwent_r): Likewise.
24149 (getpwuid_r): Likewise.
24150 (getpwnam_r): Likewise.
24151 (fgetpwent_r): Likewise.
24152
24153 2015-07-08 Carlos O'Donell <carlos@redhat.com>
24154
24155 [BZ #18557]
24156 * inet/rcmd.c (__validuser2_sa): Check user first to
24157 short-circuit host check.
24158
24159 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
24160 Mikhail Ilin <m.ilin@samsung.com>
24161
24162 [BZ #17833]
24163 * elf/Makefile (tests): Add tst-nodelete.
24164 (modules-names): Add tst-nodelete-uniquemod.
24165 (tst-nodelete-uniquemod.so-no-z-defs): New.
24166 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
24167 (tst-nodelete-zmod.so-no-z-defs): Likewise.
24168 ($(objpfx)tst-nodelete): Likewise.
24169 ($(objpfx)tst-nodelete.out): Likewise.
24170 (LDFLAGS-tst-nodelete): Likewise.
24171 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
24172 * elf/dl-close.c (_dl_close_worker): Add a parameter to
24173 implement forced object deletion.
24174 (_dl_close): Pass false to _dl_close_worker.
24175 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
24176 * elf/tst-nodelete.cc: New file.
24177 * elf/tst-nodeletelib.cc: Likewise.
24178 * elf/tst-znodeletelib.cc: Likewise.
24179 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
24180
24181 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
24182
24183 [BZ #18508]
24184 * stdlib/Makefile ($(objpfx)tst-makecontext3):
24185 Depend on $(libdl).
24186 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
24187 is not called infinitely times.
24188 (backtrace_helper): New function.
24189 (trace_arg): New struct.
24190 (st1): Enlarge stack size.
24191 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24192 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
24193 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24194 Likewise.
24195
24196 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
24197
24198 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24199
24200 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
24201
24202 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
24203 Include sys/types.h instead of bits/types.h.
24204 Remove inclusion of bits/wordsize.h.
24205
24206 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
24207
24208 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
24209 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
24210 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
24211 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
24212 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
24213 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
24214
24215 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
24216
24217 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
24218 link-defines.sym.
24219 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
24220 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
24221 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
24222 and LR_SIZE.
24223 * sysdeps/i386/link-defines.sym: New file.
24224
24225 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
24226
24227 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
24228 (modules-names): Add tst-auditmod3a tst-auditmod3b.
24229 ($(objpfx)tst-audit3): New rule.
24230 ($(objpfx)tst-audit3.out): Likewise.
24231 * sysdeps/i386/tst-audit3.c: New file.
24232 * sysdeps/i386/tst-audit3.h: Likewise.
24233 * sysdeps/i386/tst-auditmod3a.c: Likewise.
24234 * sysdeps/i386/tst-auditmod3b.c: Likewise.
24235
24236 2015-07-07 Torvald Riegel <triegel@redhat.com>
24237
24238 [BZ #18633]
24239 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
24240 pointer in C code.
24241 (__strcat_c): Likewise.
24242 (__strcat_g): Likewise.
24243
24244 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
24245
24246 [BZ #18592]
24247 * misc/sbrk.c: Set errno to ENOMEM on overflow.
24248
24249 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
24250
24251 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
24252 New function. (__ieee754_sqrtf): New function.
24253 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
24254 New function.
24255 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
24256 New function.
24257
24258 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
24259
24260 * sysdeps/ieee754/support.c: Remove unused file.
24261
24262 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
24263
24264 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
24265 registers instead of d ones so the layout is kernel abi compatible.
24266 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
24267 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
24268 Likewise.
24269
24270 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24271
24272 * sysdeps/aarch64/libm-test-ulps: Regenerated.
24273
24274 2015-07-01 Joseph Myers <joseph@codesourcery.com>
24275
24276 [BZ #18619]
24277 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
24278 and return argument in case of subnormal argument.
24279
24280 2015-07-01 Martin Sebor <msebor@redhat.com>
24281
24282 [BZ #18435]
24283 * nptl/Makefile: Add tst-once5.cc.
24284 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
24285 Remove macro redefinitions.
24286 * nptl/tst-once5.cc: New test.
24287
24288 2015-07-01 Joseph Myers <joseph@codesourcery.com>
24289
24290 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24291
24292 * sysdeps/arm/libm-test-ulps: Regenerated.
24293
24294 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24295 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24296
24297 2015-06-30 Torvald Riegel <triegel@redhat.com>
24298
24299 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
24300 lll_lock_wait_private and lll_futex_wake probes.
24301
24302 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24303 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
24304 Likewise.
24305 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
24306 atomic_spin_nop.
24307 * sysdeps/x86_64/bits/atomic.h: Likewise.
24308 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
24309 to atomic_spin_nop and move ...
24310 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
24311 ... here and ...
24312 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
24313 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
24314 atomic_spin_nop instead of BUSY_WAIT_NOP.
24315 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
24316 Likewise.
24317 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
24318 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24319 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
24320 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
24321 instead of atomic_delay.
24322
24323 2015-06-29 Joseph Myers <joseph@codesourcery.com>
24324
24325 [BZ #18613]
24326 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
24327 X_ADJ not X when adjusting exponent.
24328 (__ieee754_gamma_r): Do intermediate computations in
24329 round-to-nearest then adjust overflowing and underflowing results
24330 as needed.
24331 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
24332 of X_ADJ not X when adjusting exponent.
24333 (__ieee754_gammaf_r): Do intermediate computations in
24334 round-to-nearest then adjust overflowing and underflowing results
24335 as needed.
24336 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
24337 log of X_ADJ not X when adjusting exponent.
24338 (__ieee754_gammal_r): Do intermediate computations in
24339 round-to-nearest then adjust overflowing and underflowing results
24340 as needed. Use 1.0L not 1.0f as numerator of division.
24341 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
24342 log of X_ADJ not X when adjusting exponent.
24343 (__ieee754_gammal_r): Do intermediate computations in
24344 round-to-nearest then adjust overflowing and underflowing results
24345 as needed. Use 1.0L not 1.0f as numerator of division.
24346 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
24347 of X_ADJ not X when adjusting exponent.
24348 (__ieee754_gammal_r): Do intermediate computations in
24349 round-to-nearest then adjust overflowing and underflowing results
24350 as needed. Use 1.0L not 1.0f as numerator of division.
24351 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
24352 to auto-libm-test-in.
24353 (tgamma_test): Use ALL_RM_TEST.
24354 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
24355 tests of tgamma with spurious-overflow.
24356 * math/auto-libm-test-out: Regenerated.
24357 * math/gen-libm-have-vector-test.sh: Do not check for START.
24358 * sysdeps/i386/fpu/libm-test-ulps: Update.
24359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24360
24361 [BZ #18612]
24362 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
24363 arguments, just return 0.5 times the argument, with underflow
24364 forced as needed.
24365 * math/auto-libm-test-in: Add more tests of j1.
24366 * math/auto-libm-test-out: Regenerated.
24367
24368 [BZ #16559]
24369 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
24370 (__ieee754_j1): Force underflow exception for small results.
24371 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24372 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
24373 (__ieee754_j1f): Force underflow exception for small results.
24374 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24375 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24376 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24377 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
24378 (__ieee754_j1l): Force underflow exception for small results.
24379 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24380 * math/auto-libm-test-in: Add more tests of j1 and jn.
24381 * math/auto-libm-test-out: Regenerated.
24382
24383 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
24384 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
24385 (PF_MPLS): Likewise.
24386 (AF_IB): Likewise.
24387 (AF_MPLS): Likewise.
24388 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
24389 value and macro.
24390 (MS_RMT_MASK): Include MS_LAZYTIME.
24391
24392 2015-06-26 Mel Gorman <mgorman@suse.de>
24393
24394 [BZ #18502]
24395 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
24396 already minimal.
24397
24398 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
24399
24400 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
24401 (DT_MIPS_NUM): Update.
24402 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
24403 DT_MIPS_RLD_MAP_REL.
24404
24405 2015-06-25 Joseph Myers <joseph@codesourcery.com>
24406
24407 [BZ #16559]
24408 [BZ #18602]
24409 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
24410 round-to-nearest internally then recompute results that
24411 underflowed to zero in the original rounding mode.
24412 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24413 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24414 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24415 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24416 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
24417 * sysdeps/i386/fpu/libm-test-ulps: Update.
24418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24419
24420 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
24421
24422 * NEWS: Fixed description of link with vector math library.
24423
24424 2015-06-25 Andreas Schwab <schwab@suse.de>
24425
24426 [BZ #18549]
24427 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
24428 * libio/test-fmemopen.c (do_test): Add test for it.
24429
24430 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
24431
24432 [BZ #17841]
24433 * Makeconfig (no-pie-ldflag): New.
24434 (+link): Set to $(+link-pie) if default to PIE.
24435 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
24436 * config.make.in (build-pie-default): New.
24437 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
24438 is default. AC_SUBST.
24439 * configure: Regenerated.
24440 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
24441
24442 2015-06-24 Roland McGrath <roland@hack.frob.com>
24443
24444 * nptl/descr.h (struct pthread): Change type of field setxid_futex
24445 to 'unsigned int'.
24446
24447 * resolv/gai_misc.h (struct waitlist): Change type of field
24448 counterp to 'volatile unsigned int *'.
24449 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
24450 FUTEXADDR and OLDVAL.
24451 * resolv/getaddrinfo_a.c (getaddrinfo_a):
24452 Give local variable TOTAL type 'volatile unsigned int'.
24453 (struct async_waitlist): Change type of field counter to 'unsigned int'.
24454 * resolv/gai_suspend.c (gai_suspend):
24455 Give local variable CNTR type 'unsigned int'.
24456
24457 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
24458 counterp to 'volatile unsigned int *'.
24459 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
24460 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
24461 (aio_suspend): Give local variable CNTR type 'unsigned int'.
24462 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
24463 Give local variable TOTAL type 'volatile unsigned int'.
24464 (struct async_waitlist): Change type of field counter to 'unsigned int'.
24465
24466 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
24467
24468 [BZ #18383]
24469 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
24470 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
24471 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
24472 comment for i386/x86-64.
24473 (test-xfail-tst-tlsalign-extern-static): Removed.
24474
24475 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24476
24477 * math/test-double.h: New file.
24478 * math/test-float.h: Likewise.
24479 * math/test-ldouble.h: Likewise.
24480 * math/test-math-inline.h: Likewise.
24481 * math/test-math-no-inline.h: Likewise.
24482 * math/test-math-scalar.h: Likewise.
24483 * math/test-math-vector.h: Likewise.
24484 * math/test-vec-loop.h: Remove file. Contents moved into
24485 test-math-vector.h.
24486 * math/libm-test.inc (MATHCONST): Do not document macro.
24487 * math/test-double.c: Include test-double.h, test-math-no-inline.h
24488 and test-math-scalar.h.
24489 (FUNC): Remove macro.
24490 (FUNC_TEST): Likewise.
24491 (FLOAT): Likewise.
24492 (MATHCONST): Likewise.
24493 (PRINTF_EXPR): Likewise.
24494 (PRINTF_XEXPR): Likewise.
24495 (PRINTF_NEXPR): Likewise.
24496 (TEST_DOUBLE): Likewise.
24497 (TEST_MATHVEC): Likewise.
24498 (__NO_MATH_INLINES): Likewise.
24499 * math/test-float.c: Include test-float.h, test-math-no-inline.h
24500 and test-math-scalar.h.
24501 (FUNC): Remove macro.
24502 (FUNC_TEST): Likewise.
24503 (FLOAT): Likewise.
24504 (MATHCONST): Likewise.
24505 (PRINTF_EXPR): Likewise.
24506 (PRINTF_XEXPR): Likewise.
24507 (PRINTF_NEXPR): Likewise.
24508 (TEST_FLOAT): Likewise.
24509 (TEST_MATHVEC): Likewise.
24510 (__NO_MATH_INLINES): Likewise.
24511 * math/test-idouble.c: Include test-double.h, test-math-inline.h
24512 and test-math-scalar.h.
24513 (FUNC): Remove macro.
24514 (FUNC_TEST): Likewise.
24515 (FLOAT): Likewise.
24516 (MATHCONST): Likewise.
24517 (PRINTF_EXPR): Likewise.
24518 (PRINTF_XEXPR): Likewise.
24519 (PRINTF_NEXPR): Likewise.
24520 (TEST_DOUBLE): Likewise.
24521 (TEST_MATHVEC): Likewise.
24522 (TEST_INLINE): Likewise.
24523 (__NO_MATH_INLINES): Likewise.
24524 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
24525 test-math-scalar.h.
24526 (FUNC): Remove macro.
24527 (FUNC_TEST): Likewise.
24528 (FLOAT): Likewise.
24529 (MATHCONST): Likewise.
24530 (PRINTF_EXPR): Likewise.
24531 (PRINTF_XEXPR): Likewise.
24532 (PRINTF_NEXPR): Likewise.
24533 (TEST_FLOAT): Likewise.
24534 (TEST_MATHVEC): Likewise.
24535 (TEST_INLINE): Likewise.
24536 (__NO_MATH_INLINES): Likewise.
24537 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
24538 and test-math-scalar.h.
24539 (FUNC): Remove macro.
24540 (FUNC_TEST): Likewise.
24541 (FLOAT): Likewise.
24542 (MATHCONST): Likewise.
24543 (PRINTF_EXPR): Likewise.
24544 (PRINTF_XEXPR): Likewise.
24545 (PRINTF_NEXPR): Likewise.
24546 (TEST_LDOUBLE): Likewise.
24547 (TEST_MATHVEC): Likewise.
24548 (TEST_INLINE): Likewise.
24549 (__NO_MATH_INLINES): Likewise.
24550 * math/test-ldouble.c: Include test-ldouble.h,
24551 test-math-no-inline.h and test-math-scalar.h.
24552 (FUNC): Remove macro.
24553 (FUNC_TEST): Likewise.
24554 (FLOAT): Likewise.
24555 (MATHCONST): Likewise.
24556 (PRINTF_EXPR): Likewise.
24557 (PRINTF_XEXPR): Likewise.
24558 (PRINTF_NEXPR): Likewise.
24559 (TEST_LDOUBLE): Likewise.
24560 (TEST_MATHVEC): Likewise.
24561 (__NO_MATH_INLINES): Likewise.
24562 * math/test-double-vlen2.h: Include test-double.h,
24563 test-math-no-inline.h and test-math-vector.h.
24564 (FLOAT): Remove macro.
24565 (FUNC): Likewise.
24566 (MATHCONST): Likewise.
24567 (PRINTF_EXPR): Likewise.
24568 (PRINTF_XEXPR): Likewise.
24569 (PRINTF_NEXPR): Likewise.
24570 (TEST_DOUBLE): Likewise.
24571 (TEST_MATHVEC): Likewise.
24572 (__NO_MATH_INLINES): Likewise.
24573 (CNCT): Likewise.
24574 (CONCAT): Likewise.
24575 (WRAPPER_NAME): Likewise.
24576 (WRAPPER_DECL): Likewise.
24577 (WRAPPER_DECL_ff): Likewise.
24578 (WRAPPER_DECL_fFF): Likewise.
24579 (VECTOR_WRAPPER): Likewise.
24580 (VECTOR_WRAPPER_ff): Likewise.
24581 (VECTOR_WRAPPER_fFF): Likewise.
24582 (VEC_LEN): New macro.
24583 * math/test-double-vlen4.h: Include test-double.h,
24584 test-math-no-inline.h and test-math-vector.h.
24585 (FLOAT): Remove macro.
24586 (FUNC): Likewise.
24587 (MATHCONST): Likewise.
24588 (PRINTF_EXPR): Likewise.
24589 (PRINTF_XEXPR): Likewise.
24590 (PRINTF_NEXPR): Likewise.
24591 (TEST_DOUBLE): Likewise.
24592 (TEST_MATHVEC): Likewise.
24593 (__NO_MATH_INLINES): Likewise.
24594 (CNCT): Likewise.
24595 (CONCAT): Likewise.
24596 (WRAPPER_NAME): Likewise.
24597 (WRAPPER_DECL): Likewise.
24598 (WRAPPER_DECL_ff): Likewise.
24599 (WRAPPER_DECL_fFF): Likewise.
24600 (VECTOR_WRAPPER): Likewise.
24601 (VECTOR_WRAPPER_ff): Likewise.
24602 (VECTOR_WRAPPER_fFF): Likewise.
24603 (VEC_LEN): New macro.
24604 * math/test-double-vlen8.h: Include test-double.h,
24605 test-math-no-inline.h and test-math-vector.h.
24606 (FLOAT): Remove macro.
24607 (FUNC): Likewise.
24608 (MATHCONST): Likewise.
24609 (PRINTF_EXPR): Likewise.
24610 (PRINTF_XEXPR): Likewise.
24611 (PRINTF_NEXPR): Likewise.
24612 (TEST_DOUBLE): Likewise.
24613 (TEST_MATHVEC): Likewise.
24614 (__NO_MATH_INLINES): Likewise.
24615 (CNCT): Likewise.
24616 (CONCAT): Likewise.
24617 (WRAPPER_NAME): Likewise.
24618 (WRAPPER_DECL): Likewise.
24619 (WRAPPER_DECL_ff): Likewise.
24620 (WRAPPER_DECL_fFF): Likewise.
24621 (VECTOR_WRAPPER): Likewise.
24622 (VECTOR_WRAPPER_ff): Likewise.
24623 (VECTOR_WRAPPER_fFF): Likewise.
24624 (VEC_LEN): New macro.
24625 * math/test-float-vlen4.h: Include test-float.h,
24626 test-math-no-inline.h and test-math-vector.h.
24627 (FLOAT): Remove macro.
24628 (FUNC): Likewise.
24629 (MATHCONST): Likewise.
24630 (PRINTF_EXPR): Likewise.
24631 (PRINTF_XEXPR): Likewise.
24632 (PRINTF_NEXPR): Likewise.
24633 (TEST_FLOAT): Likewise.
24634 (TEST_MATHVEC): Likewise.
24635 (__NO_MATH_INLINES): Likewise.
24636 (CNCT): Likewise.
24637 (CONCAT): Likewise.
24638 (WRAPPER_NAME): Likewise.
24639 (WRAPPER_DECL): Likewise.
24640 (WRAPPER_DECL_ff): Likewise.
24641 (WRAPPER_DECL_fFF): Likewise.
24642 (VECTOR_WRAPPER): Likewise.
24643 (VECTOR_WRAPPER_ff): Likewise.
24644 (VECTOR_WRAPPER_fFF): Likewise.
24645 (VEC_LEN): New macro.
24646 * math/test-float-vlen8.h: Include test-float.h,
24647 test-math-no-inline.h and test-math-vector.h.
24648 (FLOAT): Remove macro.
24649 (FUNC): Likewise.
24650 (MATHCONST): Likewise.
24651 (PRINTF_EXPR): Likewise.
24652 (PRINTF_XEXPR): Likewise.
24653 (PRINTF_NEXPR): Likewise.
24654 (TEST_FLOAT): Likewise.
24655 (TEST_MATHVEC): Likewise.
24656 (__NO_MATH_INLINES): Likewise.
24657 (CNCT): Likewise.
24658 (CONCAT): Likewise.
24659 (WRAPPER_NAME): Likewise.
24660 (WRAPPER_DECL): Likewise.
24661 (WRAPPER_DECL_ff): Likewise.
24662 (WRAPPER_DECL_fFF): Likewise.
24663 (VECTOR_WRAPPER): Likewise.
24664 (VECTOR_WRAPPER_ff): Likewise.
24665 (VECTOR_WRAPPER_fFF): Likewise.
24666 (VEC_LEN): New macro.
24667 * math/test-float-vlen16.h: Include test-float.h,
24668 test-math-no-inline.h and test-math-vector.h.
24669 (FLOAT): Remove macro.
24670 (FUNC): Likewise.
24671 (MATHCONST): Likewise.
24672 (PRINTF_EXPR): Likewise.
24673 (PRINTF_XEXPR): Likewise.
24674 (PRINTF_NEXPR): Likewise.
24675 (TEST_FLOAT): Likewise.
24676 (TEST_MATHVEC): Likewise.
24677 (__NO_MATH_INLINES): Likewise.
24678 (CNCT): Likewise.
24679 (CONCAT): Likewise.
24680 (WRAPPER_NAME): Likewise.
24681 (WRAPPER_DECL): Likewise.
24682 (WRAPPER_DECL_ff): Likewise.
24683 (WRAPPER_DECL_fFF): Likewise.
24684 (VECTOR_WRAPPER): Likewise.
24685 (VECTOR_WRAPPER_ff): Likewise.
24686 (VECTOR_WRAPPER_fFF): Likewise.
24687 (VEC_LEN): New macro.
24688 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
24689 test-vec-loop.h.
24690 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24691 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24692 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24693 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24694 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24695 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24696 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24697
24698 2015-06-24 Roland McGrath <roland@hack.frob.com>
24699
24700 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
24701 (__getlogin_r): ... this.
24702
24703 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24704
24705 [BZ #18594]
24706 * math/s_ccosh.c (__ccosh): Compare with least normal value
24707 instead of comparing class with FP_SUBNORMAL.
24708 * math/s_ccoshf.c (__ccoshf): Likewise.
24709 * math/s_ccoshl.c (__ccoshl): Likewise.
24710 * math/s_cexp.c (__cexp): Likewise.
24711 * math/s_cexpf.c (__cexpf): Likewise.
24712 * math/s_cexpl.c (__cexpl): Likewise.
24713 * math/s_csin.c (__csin): Likewise.
24714 * math/s_csinf.c (__csinf): Likewise.
24715 * math/s_csinh.c (__csinh): Likewise.
24716 * math/s_csinhf.c (__csinhf): Likewise.
24717 * math/s_csinhl.c (__csinhl): Likewise.
24718 * math/s_csinl.c (__csinl): Likewise.
24719 * math/s_ctan.c (__ctan): Likewise.
24720 * math/s_ctanf.c (__ctanf): Likewise.
24721 * math/s_ctanh.c (__ctanh): Likewise.
24722 * math/s_ctanhf.c (__ctanhf): Likewise.
24723 * math/s_ctanhl.c (__ctanhl): Likewise.
24724 * math/s_ctanl.c (__ctanl): Likewise.
24725 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
24726 csin, csinh, ctan and ctanh.
24727 * math/auto-libm-test-out: Regenerated.
24728 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
24729 * sysdeps/i386/fpu/libm-test-ulps: Update.
24730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24731
24732 2015-06-24 Roland McGrath <roland@hack.frob.com>
24733
24734 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
24735 return value is wrong, print the expected value too.
24736
24737 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
24738
24739 [BZ #18585]
24740 * elf/readlib.c (is_gdb_python_file): New.
24741 (process_file): Don't issue errors on filenames with -gdb.py
24742 suffix.
24743
24744 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24745
24746 * math/auto-libm-test-in: Add more tests of csin and csinh.
24747 * math/auto-libm-test-out: Regenerated.
24748 * math/libm-test.inc (csin_test_data): Remove tests moved to
24749 auto-libm-test-in.
24750 (csinh_test_data): Likewise.
24751
24752 [BZ #18593]
24753 * math/s_csin.c (__csin): Negate before rather than after possibly
24754 overflowing multiplication.
24755 * math/s_csinf.c (__csinf): Likewise.
24756 * math/s_csinh.c (__csinh): Likewise.
24757 * math/s_csinhf.c (__csinhf): Likewise.
24758 * math/s_csinhl.c (__csinhl): Likewise.
24759 * math/s_csinl.c (__csinl): Likewise.
24760 * math/auto-libm-test-in: Add some tests of csin and csinh.
24761 * math/auto-libm-test-out: Regenerated.
24762 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
24763 (csinh_test_data): Likewise.
24764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24765
24766 [BZ #18586]
24767 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
24768 underflow exception for small results.
24769
24770 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
24771
24772 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24773 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
24774 variable and included header.
24775 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
24776 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
24777 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
24778 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
24779 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
24780 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
24781 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
24782 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
24783 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
24784 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
24785 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
24786 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
24787 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
24788 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
24789 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
24790 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
24791
24792 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24793
24794 [BZ #16526]
24795 [BZ #16538]
24796 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
24797 (__sin): Force underflow exception for arguments with small
24798 absolute value.
24799 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
24800 (__kernel_sinf): Force underflow exception for arguments with
24801 small absolute value.
24802 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
24803 (__kernel_sincosl): Force underflow exception for arguments with
24804 small absolute value.
24805 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
24806 (__kernel_sinl): Force underflow exception for arguments with
24807 small absolute value.
24808 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
24809 (__kernel_sincosl): Force underflow exception for arguments with
24810 small absolute value.
24811 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
24812 (__kernel_sinl): Force underflow exception for arguments with
24813 small absolute value.
24814 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
24815 (__kernel_sinl): Force underflow exception for arguments with
24816 small absolute value.
24817 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
24818 (__kernel_sinf): Force underflow exception for arguments with
24819 small absolute value.
24820 * math/auto-libm-test-in: Add more tests of sin and sincos.
24821 * math/auto-libm-test-out: Regenerated.
24822
24823 [BZ #18245]
24824 [BZ #18583]
24825 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
24826 (__kernel_standard_l): Use feholdexcept and fesetenv around
24827 conversion to double instead of special-casing overflow and
24828 underflow.
24829 * math/libm-test.inc (fmod_test_data): Add more tests.
24830 (remainder_test_data): Likewise.
24831 (sqrt_test_data): Likewise.
24832
24833 2015-06-23 Torvald Riegel <triegel@redhat.com>
24834
24835 [BZ #17403]
24836 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
24837 atomic_read_barrier, atomic_write_barrier): Define.
24838 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
24839 atomic_read_barrier, atomic_write_barrier): Define.
24840
24841 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24842
24843 * math/Makefile [$(PERL) != no]
24844 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
24845 dependency on libm-test.stmp below the inclusion of Rules.
24846
24847 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
24848
24849 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24850 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
24851 and included header.
24852 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
24853 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
24854 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
24855 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
24856 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
24857 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
24858 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
24859 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
24860 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
24861 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
24862 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
24863 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
24864 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
24865 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
24866 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
24867 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
24868 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
24869 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
24870 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
24871
24872 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24873
24874 [BZ #18371]
24875 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
24876 intermediate but not final result might underflow.
24877 * math/s_csqrtf.c (__csqrtf): Likewise.
24878 * math/s_csqrtl.c (__csqrtl): Likewise.
24879 * math/auto-libm-test-in: Add more tests of csqrt.
24880 * math/auto-libm-test-out: Regenerated.
24881 * sysdeps/i386/fpu/libm-test-ulps: Update.
24882
24883 [BZ #18219]
24884 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24885 threshold on absolute value of exponent for which scaling is used.
24886 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24887 * math/auto-libm-test-in: Add more tests of exp2.
24888 * math/auto-libm-test-out: Regenerated.
24889
24890 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
24891
24892 [BZ #17977]
24893 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24894 when initializing interface list, based on the bug analysis
24895 and the patch proposed by Eric Newton.
24896 * resolv/tst-res_hconf_reorder.c: New test.
24897 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24898 tst-res_hconf_reorder.
24899 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24900 and $(shared-thread-library).
24901 (tst-res_hconf_reorder-ENV): New variable.
24902
24903 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24904 in comment.
24905
24906 2015-06-22 Joseph Myers <joseph@codesourcery.com>
24907
24908 [BZ #16353]
24909 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24910 (__expm1): Force underflow exception for arguments with small
24911 absolute value.
24912 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24913 (__expm1f): Force underflow exception for arguments with small
24914 absolute value.
24915 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24916 (__expm1): Force underflow exception for arguments with small
24917 absolute value.
24918 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24919 (__expm1f): Force underflow exception for arguments with small
24920 absolute value.
24921 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24922 Check for small arguments before calling __expm1.
24923 * math/auto-libm-test-in: Do not mark underflow exceptions as
24924 possibly missing for bug 16353.
24925 * math/auto-libm-test-out: Regenerated.
24926
24927 2015-06-22 Andreas Schwab <schwab@suse.de>
24928
24929 [BZ #18513]
24930 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24931 PTR queries.
24932
24933 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
24934
24935 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24936
24937 * string/strcoll_l.c: Remove unused struct element idxnow.
24938
24939 2015-06-21 Joseph Myers <joseph@codesourcery.com>
24940
24941 [BZ #18569]
24942 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24943 underflow and return argument in case of subnormal argument.
24944 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24945 Likewise.
24946 * math/auto-libm-test-in: Add more tests of expm1.
24947 * math/auto-libm-test-out: Regenerated.
24948
24949 [BZ #16361]
24950 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24951 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24952 tiny results.
24953 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24954 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24955 tiny results.
24956 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
24957 mark underflow exceptions as possibly missing for bug 16361.
24958 * math/auto-libm-test-out: Regenerated.
24959
24960 2015-06-19 Joseph Myers <joseph@codesourcery.com>
24961
24962 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24963 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24964 Remove variable.
24965 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24966 (test-xfail-XOPEN2K8/utmpx.h/conform).
24967
24968 * conform/conformtest.pl ($xerrors): New variable.
24969 (note_error): New function.
24970 (compiletest): New argument $xfail. Use not_error.
24971 (runtest): Likewise.
24972 (top level): Handle xfail- lines. Update calls to compiletest and
24973 runtest. Handle xfail- and optional- in headers listed with
24974 allow-header.
24975 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24976 (O_EXEC): Likewise.
24977 (O_SEARCH): Likewise.
24978 * conform/data/stropts.h-data (ioctl): Likewise.
24979 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24980 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24981 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24982 (msghdr.msg_controllen): Likewise.
24983 (cmsghdr.cmsg_len): Likewise.
24984 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24985 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24986 variable.
24987 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24988 (test-xfail-XPG4/stropts.h/conform): Likewise.
24989 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24990 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24991 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24992 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24993 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24994 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24995 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24996 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24997 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24998 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24999 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25000 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25001 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25002 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25003 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25004 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25005 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25006 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25007 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25008
25009 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
25010
25011 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
25012 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
25013 definitions for proper unfolding of __MATHDECL_VEC.
25014
25015 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
25016
25017 * benchtests/bench-strcoll.c:
25018 Include string.h.
25019 (main): Remove unused variable res.
25020
25021 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
25022
25023 * timezone/Makefile (%/UTC %/Universal):
25024 Generate test-result files for UTC and Universal.
25025
25026 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
25027
25028 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25029
25030 2015-06-18 Joseph Myers <joseph@codesourcery.com>
25031
25032 [BZ #16350]
25033 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
25034 for arguments with small absolute value.
25035 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
25036 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
25037 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
25038 (__asinh): Force underflow exception for arguments with small
25039 absolute value.
25040 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
25041 (__asinhf): Force underflow exception for arguments with small
25042 absolute value.
25043 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
25044 (__asinhl): Force underflow exception for arguments with small
25045 absolute value.
25046 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
25047 (__asinhl): Force underflow exception for arguments with small
25048 absolute value.
25049 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
25050 (__asinhl): Force underflow exception for arguments with small
25051 absolute value.
25052 * math/auto-libm-test-in: Do not mark underflow exceptions as
25053 possibly missing for bug 16350.
25054 * math/auto-libm-test-out: Regenerated.
25055
25056 * include/bits/ipc.h: Remove file.
25057 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
25058 variable.
25059 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25060 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25061 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25062 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25063 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25064 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25065 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25066 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25067 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25068
25069 * math/auto-libm-test-in: Remove spurious underflow allowance for
25070 tests of cexp.
25071 * math/auto-libm-test-out: Regenerated.
25072
25073 [BZ #18558]
25074 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
25075 unconditional definition.
25076 (MCAST_BLOCK_SOURCE): Likewise.
25077 (MCAST_UNBLOCK_SOURCE): Likewise.
25078 (MCAST_LEAVE_GROUP): Likewise.
25079 (MCAST_JOIN_SOURCE_GROUP): Likewise.
25080 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25081 (MCAST_MSFILTER): Likewise.
25082 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
25083 Remove variable.
25084 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25085 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25086 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25087 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25088 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25089
25090 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
25091
25092 * NEWS: Mention addition of x86_64 vector sincosf.
25093 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
25094 * math/test-float-vlen4.h: Likewise.
25095 * math/test-float-vlen8.h: Likewise.
25096 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25097 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
25098 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25099 * sysdeps/x86_64/fpu/Versions: New versions added.
25100 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25101 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25102 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25103 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
25104 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
25105 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
25106 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
25107 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
25108 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
25109 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
25110 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
25111 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
25112 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
25113 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
25114 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
25115 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
25116 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
25117 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
25118 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25119 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25120 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25121 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25122 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25123 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25124
25125 * NEWS: Mention addition of x86_64 vector sincos.
25126 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
25127 * math/math.h (__MATHDECL_VEC): New macro.
25128 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
25129 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
25130 declaration under condition.
25131 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
25132 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
25133 TEST_VEC_LOOP change.
25134 * math/test-double-vlen4.h: Likewise.
25135 * math/test-double-vlen8.h: Likewise.
25136 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
25137 * math/test-float-vlen4.h: Likewise.
25138 * math/test-float-vlen8.h: Likewise.
25139 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25140 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
25141 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25142 * sysdeps/x86_64/fpu/Versions: New versions added.
25143 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25144 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25145 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25146 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
25147 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
25148 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
25149 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
25150 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
25151 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
25152 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
25153 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
25154 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
25155 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
25156 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
25157 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
25158 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
25159 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
25160 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25161 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25162 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25163 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25164 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25165 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25166 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25167
25168 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25169 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25170 redirections for powf.
25171 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25172 * sysdeps/x86_64/fpu/Versions: New versions added.
25173 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25174 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25175 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25176 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
25177 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
25178 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
25179 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
25180 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
25181 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
25182 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
25183 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
25184 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
25185 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
25186 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
25187 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
25188 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
25189 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
25190 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25191 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25192 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25193 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25194 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25195 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25196 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25197 * math/test-float-vlen16.h: Fixed 2 argument macro.
25198 * math/test-float-vlen4.h: Likewise.
25199 * math/test-float-vlen8.h: Likewise.
25200 * NEWS: Mention addition of x86_64 vector powf.
25201
25202 2015-06-17 Joseph Myers <joseph@codesourcery.com>
25203
25204 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25205 and redefine.
25206 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25207 and redefine.
25208 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
25209 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25210 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25211
25212 [BZ #18553]
25213 * resource/getpriority.c (getpriority): Rename to __getpriority
25214 and define as weak alias of __getpriority.
25215 * resource/setpriority.c (setpriority): Rename to __setpriority
25216 and define as weak alias of __setpriority.
25217 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
25218 __getpriority and define as weak alias of __getpriority.
25219 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
25220 __setpriority and define as weak alias of __setpriority.
25221 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
25222 strong name.
25223 (setpriority): Use __setpriority as strong name.
25224 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
25225 __getpriority and define as weak alias of __getpriority.
25226 * include/sys/resource.h (__getpriority): Declare. Use
25227 libc_hidden_proto.
25228 (__setpriority): Likewise.
25229 (getpriority): Don't use libc_hidden_proto.
25230 (setpriority): Likewise.
25231 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
25232 getpriority. Call __setpriority instead of setpriority.
25233 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
25234 Remove variable.
25235
25236 [BZ #18547]
25237 * misc/getttyent.c (getttynam): Rename to __getttynam and define
25238 as weak alias of __getttynam. Use prototype function definition.
25239 Call __setttyent, __getttyent and __endttyent instead of
25240 setttyent, getttyent and endttyent.
25241 (getttyent): Rename to __getttyent and define as weak alias of
25242 __getttyent. Call __setttyent instead of setttyent. Call
25243 __fgets_unlocked instead of fgets_unlocked.
25244 (setttyent): Rename to __setttyent and define as weak alias of
25245 __setttyent.
25246 (endttyent): Rename to __endttyent and define as weak alias of
25247 __endttyent.
25248 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
25249 (__setttyent): Likewise.
25250 (__endttyent): Likewise.
25251 (getttyent): Don't use libc_hidden_proto.
25252 (setttyent): Likewise.
25253 (endttyent): Likewise.
25254 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
25255 __endttyent instead of setttyent, getttyent and endttyent.
25256 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
25257 Remove variable.
25258
25259 [BZ #18546]
25260 * socket/recv.c (__recv): Use libc_hidden_def.
25261 * socket/socket.c (__socket): Likewise.
25262 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25263 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25264 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
25265 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
25266 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
25267 libc_hidden_def.
25268 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
25269 libc_hidden_weak.
25270 * include/sys/socket.h (__socket): Do not use attribute_hidden.
25271 Use libc_hidden_proto.
25272 (__recv): Likewise.
25273 * socket/Versions (libc): Export __recv and __socket at version
25274 GLIBC_PRIVATE.
25275 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
25276 instead of recv.
25277 (init_mq_netlink): Call __socket instead of socket.
25278 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
25279 Remove variable.
25280
25281 [BZ #18545]
25282 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
25283 __mq_timedreceive and define as alias of __mq_timedreceive. Use
25284 hidden_weak.
25285 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
25286 define as alias of __mq_timedsend. Use hidden_weak.
25287 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
25288 __mq_timedsend as strong name.
25289 (mq_timedreceive): Use __mq_timedreceive as strong name.
25290 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
25291 (__mq_timedreceive): Likewise.
25292 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
25293 __mq_timedreceive instead of mq_timedreceive.
25294 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
25295 instead of mq_timedsend.
25296 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
25297 Remove variable.
25298
25299 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
25300 hidden_def and hidden_weak instead of libc_hidden_def and
25301 libc_hidden_weak.
25302 (top level): Refer to hidden_def in comment.
25303 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
25304 macro. Use it instead of libc_hidden_def.
25305 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
25306 specify __GI_* name explicitly.
25307 (mq_timedreceive): Likewise.
25308 (mq_setattr): Likewise.
25309
25310 [BZ #18544]
25311 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
25312 __pthread_barrier_init and define as weak alias of
25313 __pthread_barrier_init.
25314 * sysdeps/sparc/nptl/pthread_barrier_init.c
25315 (pthread_barrier_init): Likewise.
25316 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
25317 __pthread_barrier_wait and define as weak alias of
25318 __pthread_barrier_wait.
25319 * sysdeps/sparc/nptl/pthread_barrier_wait.c
25320 (pthread_barrier_wait): Likewise.
25321 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25322 (pthread_barrier_wait): Likewise.
25323 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
25324 (pthread_barrier_wait): Likewise.
25325 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
25326 (pthread_barrier_wait): Likewise.
25327 * nptl/Versions (libpthread): Export __pthread_barrier_init and
25328 __pthread_barrier_wait at version GLIBC_PRIVATE.
25329 * include/pthread.h (__pthread_barrier_init): Declare.
25330 (__pthread_barrier_wait): Likewise.
25331 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
25332 Call __pthread_barrier_wait instead of pthread_barrier_wait.
25333 (helper_thread): Likewise.
25334 (init_mq_netlink): Call __pthread_barrier_init instead of
25335 pthread_barrier_init.
25336
25337 [BZ #18542]
25338 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
25339 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
25340 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
25341 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
25342 vswscanf.
25343 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
25344 Remove variable.
25345
25346 [BZ #18540]
25347 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
25348 strong alias of _IO_fflush. Use libc_hidden_def.
25349 * libio/iofflush_u.c (fflush_unlocked): Rename to
25350 __fflush_unlocked and define as weak alias of __fflush_unlocked.
25351 Use libc_hidden_weak.
25352 * include/stdio.h (__fflush_unlocked): Declare. Use
25353 libc_hidden_proto.
25354 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
25355 fflush_unlocked.
25356 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
25357 Remove variable.
25358
25359 [BZ #18539]
25360 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
25361 define as weak alias of __addseverity.
25362 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
25363 Remove variable.
25364 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25365 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25366 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25367
25368 [BZ #18536]
25369 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
25370 (__tfind): Likewise.
25371 (__tdelete): Likewise.
25372 (__twalk): Likewise.
25373 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
25374 __twalk to GLIBC_PRIVATE.
25375 * include/search.h (__tsearch): Use libc_hidden_proto.
25376 (__tfind): Likewise.
25377 (__tdelete): Likewise.
25378 (__twalk): Likewise.
25379 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
25380 Call __tdelete instead of tdelete.
25381 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
25382 tfind. Call __tsearch instead of tsearch.
25383 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
25384 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
25385 Remove variable.
25386 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25387
25388 [BZ #18534]
25389 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
25390 (dprintf): Define as a weak alias of __dprintf, not a strong
25391 alias.
25392 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
25393 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
25394 dprintf.
25395 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
25396 Remove variable.
25397 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25398 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25399
25400 [BZ #18533]
25401 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
25402 not a strong alias.
25403 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
25404 Remove variable.
25405
25406 [BZ #18532]
25407 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
25408 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
25409 (in6addr_loopback): Rename to __in6addr_loopback and define as
25410 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
25411 * include/netinet/in.h (__in6addr_loopback): Declare. Use
25412 libc_hidden_proto.
25413 (__in6addr_any): Likewise.
25414 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
25415 in6addr_any.
25416 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
25417 variable.
25418 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25419
25420 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
25421
25422 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
25423 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
25424 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25425 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25426 redirections for pow.
25427 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25428 * sysdeps/x86_64/fpu/Versions: New versions added.
25429 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25430 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25431 build of SSE, AVX2 and AVX512 IFUNC versions.
25432 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
25433 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
25434 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
25435 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
25436 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
25437 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
25438 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
25439 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
25440 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
25441 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
25442 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
25443 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
25444 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
25445 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
25446 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25447 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25448 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25449 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25450 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25451 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25452 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25453 * NEWS: Mention addition of x86_64 vector pow.
25454
25455 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25456 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25457 redirections for expf.
25458 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25459 * sysdeps/x86_64/fpu/Versions: New versions added.
25460 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25461 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25462 build of SSE, AVX2 and AVX512 IFUNC versions.
25463 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
25464 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
25465 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
25466 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
25467 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
25468 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
25469 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
25470 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
25471 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
25472 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
25473 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
25474 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
25475 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
25476 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25477 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25478 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25479 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25480 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25481 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25482 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25483 * NEWS: Mention addition of x86_64 vector expf.
25484
25485 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
25486 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
25487 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25488 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25489 redirections for exp.
25490 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25491 * sysdeps/x86_64/fpu/Versions: New versions added.
25492 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25493 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25494 build of SSE, AVX2 and AVX512 IFUNC versions.
25495 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
25496 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
25497 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
25498 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
25499 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
25500 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
25501 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
25502 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
25503 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
25504 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
25505 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
25506 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
25507 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
25508 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25509 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25510 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25511 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25512 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25513 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25514 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25515 * NEWS: Mention addition of x86_64 vector exp.
25516
25517 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25518 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25519 redirections for logf.
25520 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25521 * sysdeps/x86_64/fpu/Versions: New versions added.
25522 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25523 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25524 build of SSE, AVX2 and AVX512 IFUNC versions.
25525 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
25526 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
25527 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
25528 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
25529 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
25530 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
25531 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
25532 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
25533 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
25534 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
25535 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
25536 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
25537 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
25538 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25539 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25540 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25541 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25542 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25543 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25544 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25545 * NEWS: Mention addition of x86_64 vector logf.
25546
25547 * bits/libm-simd-decl-stubs.h: Added stubs for log.
25548 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
25549 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25550 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25551 redirections for log.
25552 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25553 * sysdeps/x86_64/fpu/Versions: New versions added.
25554 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25555 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25556 build of SSE, AVX2 and AVX512 IFUNC versions.
25557 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
25558 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
25559 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
25560 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
25561 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
25562 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
25563 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
25564 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
25565 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
25566 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
25567 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
25568 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
25569 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
25570 test.
25571 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25572 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25573 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25574 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25575 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25576 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25577 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25578 * NEWS: Mention addition of x86_64 vector log.
25579
25580 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
25581
25582 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
25583 cfi_adjust_cfa_offset argument.
25584 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
25585 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
25586
25587 [BZ #18034]
25588 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
25589 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
25590 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
25591 ordering using ldar.
25592 (_dl_tlsdesc_dynamic): Likewise.
25593 (_dl_tlsdesc_return_lazy): Likewise.
25594 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
25595 relaxed atomics instead of volatile and synchronize with release store.
25596 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
25597 volatile.
25598 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25599
25600 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
25601
25602 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25603 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
25604 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25605 * sysdeps/x86_64/fpu/Versions: New versions added.
25606 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25607 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25608 build of SSE, AVX2 and AVX512 IFUNC versions.
25609 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
25610 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
25611 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
25612 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
25613 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
25614 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
25615 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
25616 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
25617 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
25618 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
25619 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
25620 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
25621 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
25622 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25623 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25624 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25625 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25626 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25627 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25628 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25629 * NEWS: Mention addition of x86_64 vector sinf.
25630
25631 2015-06-14 Joseph Myers <joseph@codesourcery.com>
25632
25633 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
25634 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
25635 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
25636 Remove variable.
25637 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25638 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25639
25640 2015-06-12 Joseph Myers <joseph@codesourcery.com>
25641
25642 [BZ #18530]
25643 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
25644 strong alias of _IO_fputs. Use libc_hidden_def.
25645 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
25646 and define as weak alias of __fputs_unlocked. Use
25647 libc_hidden_weak.
25648 * include/stdio.h (__fputs_unlocked): Declare. Use
25649 libc_hidden_proto.
25650 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
25651 fputs_unlocked.
25652
25653 [BZ #18529]
25654 * resolv/netdb.h [__USE_POSIX]: Change condition to
25655 [__USE_XOPEN2K].
25656 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
25657 not expect.
25658 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
25659 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
25660 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
25661 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
25662 [XPG4 || UNIX98] (AI_ALL): Likewise.
25663 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
25664 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
25665 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
25666 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
25667 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
25668 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
25669 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
25670 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
25671 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
25672 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
25673 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
25674 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
25675 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
25676 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
25677 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
25678 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25679 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25680 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
25681 [XPG4 || UNIX98] (gai_strerror): Likewise.
25682 [XPG4 || UNIX98] (getaddrinfo): Likewise.
25683 [XPG4 || UNIX98] (getnameinfo): Likewise.
25684
25685 [BZ #18528]
25686 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
25687 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
25688 __USE_XOPEN2K8].
25689 (getgrent): Likewise.
25690 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
25691 expect.
25692 [XPG3 || POSIX2008] (endgrent): Likewise.
25693 [XPG3] (setgrent): Likewise.
25694 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
25695 variable.
25696 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25697
25698 [BZ #18527]
25699 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
25700 define as weak alias of __getlogin_r. Use libc_hidden_weak.
25701 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
25702 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
25703 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
25704 * include/unistd.h (__getlogin_r): Declare. Use
25705 libc_hidden_proto.
25706 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
25707 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
25708 variable.
25709 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25710 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25711 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25712
25713 2015-06-12 Martin Sebor <msebor@redhat.com>
25714
25715 [BZ #18512]
25716 * Makerules (check-install-supported): New target.
25717 (install): Add check-install-supported as a dependency.
25718 * manual/install.texi (Installing the C Library): Document
25719 that overriding prefix and exec_prefix is not supported.
25720 Mention DESTDIR.
25721 * INSTALL: Regenerate from the above.
25722
25723 2015-06-12 Joseph Myers <joseph@codesourcery.com>
25724
25725 [BZ #18519]
25726 * posix/Versions (libc): Export __libc_pread at version
25727 GLIBC_PRIVATE.
25728 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
25729 instead of pread.
25730 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
25731 variable.
25732
25733 [BZ #18522]
25734 * misc/efgcvt_r.c
25735 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
25736 (cvt_symbol): Use weak_alias instead of strong_alias.
25737 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
25738 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
25739 Remove variable.
25740 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25741 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25742
25743 [BZ #18520]
25744 * inet/herrno.c (h_errno): Rename to __h_errno.
25745 (__libc_h_errno): Define as alias of __h_errno not h_errno.
25746 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
25747 to __h_errno instead of h_errno.
25748 * nptl/herrno.c (h_errno): Rename to __h_errno.
25749 (__h_errno_location): Refer to __h_errno not h_errno.
25750 * resolv/Versions (h_errno): Rename to __h_errno.
25751 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
25752 Remove variable.
25753 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25754
25755 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
25756
25757 * configure.ac: More strict check for AVX512 assembler support.
25758 * configure: Regenerated.
25759
25760 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
25761 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
25762 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25763 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
25764 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25765 * sysdeps/x86_64/fpu/Versions: New versions added.
25766 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25767 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25768 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25769 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
25770 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
25771 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
25772 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
25773 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
25774 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
25775 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
25776 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
25777 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
25778 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
25779 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
25780 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
25781 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
25782 test.
25783 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25784 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25785 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25786 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25787 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25788 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25789 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25790 * NEWS: Mention addition of x86_64 vector sin.
25791
25792 2015-06-11 Florian Weimer <fweimer@redhat.com>
25793
25794 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
25795 comment.
25796
25797 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
25798
25799 [BZ #18479]
25800 * nptl/pt-interp.c: New file.
25801 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
25802 Add pt-interp.
25803 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
25804 $(common-objpfx)runtime-linker.h.
25805
25806 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
25807
25808 * Makeconfig (+interp): Remove unused variable.
25809 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
25810 only. Depend on $(common-objpfx)runtime-linker.h instead of
25811 $(elf-objpfx)runtime-linker.h.
25812 ($(elf-objpfx)runtime-linker.h): Rename to
25813 $(common-objpfx)runtime-linker.h and move ...
25814 * Makerules [$(build-shared) = yes]: ... here.
25815 * elf/interp.c: Include <runtime-linker.h> instead of
25816 <elf/runtime-linker.h>.
25817
25818 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25819
25820 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
25821 (__gettimeofday_syscall): Remove vsyscall fallback.
25822 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
25823 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
25824 Add syscall fallback function.
25825 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
25826 if vDSO is not present.
25827 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
25828 fallback function.
25829 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
25830 present.
25831 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
25832 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25833
25834 2015-06-09 Joseph Myers <joseph@codesourcery.com>
25835
25836 [BZ #18497]
25837 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
25838 of wcscmp.
25839 (wcscmp): Define as weak alias of WCSCMP.
25840 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
25841 wcscoll.
25842 (USE_HIDDEN_DEF): Define.
25843 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
25844 __wcscoll. Don't use libc_hidden_weak.
25845 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
25846 wcscmp.
25847 * sysdeps/i386/i686/multiarch/wcscmp-c.c
25848 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
25849 __GI_wcscmp.
25850 (weak_alias): Undefine and redefine.
25851 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
25852 __wcscmp and define as weak alias of __wcscmp.
25853 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
25854 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
25855 (__wcscoll): Likewise.
25856 (wcscmp): Don't use libc_hidden_proto.
25857 (wcscoll): Likewise.
25858 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
25859 wcscoll.
25860 * posix/regexec.c (check_node_accept_bytes): Likewise.
25861 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
25862 variable.
25863 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25864 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25865
25866 [BZ #18507]
25867 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
25868 __fstatvfs and define as weak alias of __fstatvfs. Use
25869 libc_hidden_weak.
25870 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
25871 and define as weak alias of __statvfs. Use libc_hidden_weak.
25872 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
25873 Define as alias of __fstatvfs, not fstatvfs.
25874 (fstatvfs64): Likewise.
25875 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
25876 Define as alias of __statvfs, not statvfs.
25877 (statvfs64): Likewise.
25878 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
25879 Remove variable.
25880
25881 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25882
25883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25884 (HAVE_GETCPU_VSYSCALL): Define.
25885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25886 (HAVE_GETCPU_VSYSCALL): Likewise.
25887 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25888 * sysdeps/unix/sysv/linux/sched_getcpu.c
25889 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25890 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25891 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25892 prototype.
25893 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25894 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25895 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25896 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25897 Define.
25898 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25899 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25900 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25901 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25902
25903 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
25904
25905 * sysdeps/x86_64/fpu/Makefile: New file.
25906 * sysdeps/x86_64/fpu/Versions: New file.
25907 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25908 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25909 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25910 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25911 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25912 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25913 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25914 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25915 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25916 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25917 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25918 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25919 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25920 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25921 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25922 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25923 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25924 * sysdeps/x86_64/configure.ac: Options for libmvec build.
25925 * sysdeps/x86_64/configure: Regenerated.
25926 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25927 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25928 * manual/install.texi (Configuring and compiling): Document
25929 --disable-mathvec.
25930 * INSTALL: Regenerated.
25931 * NEWS: Mention addition of libmvec and x86_64 vector cos.
25932
25933 * math/Makefile: Added rules for vector tests.
25934 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25935 declaration under condition.
25936 * math/test-double-vlen2.h: New file.
25937 * math/test-double-vlen4.h: New file.
25938 * math/test-double-vlen8.h: New file.
25939 * math/test-vec-loop.h: Added initialization macro.
25940 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25941 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25942 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25943 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25944 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25945 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25946 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25947 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25948 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25949 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25950 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25951
25952 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25953 * sysdeps/x86_64/fpu/Versions: New versions added.
25954 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25955 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25956 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25957 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25958 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25959 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25960 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25961 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25962 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25963 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25964 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25965 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25966 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25967 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25968 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25969 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25970 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25971 * NEWS: Mention addition of x86_64 vector cosf.
25972
25973 * math/Makefile: Added CFLAGS for new tests.
25974 * math/test-float-vlen16.h: New file.
25975 * math/test-float-vlen4.h: New file.
25976 * math/test-float-vlen8.h: New file.
25977 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25978 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25979 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25980 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25981 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25982 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25983 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25984 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25985 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25986 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25987 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25988
25989 2015-06-09 Marko Myllynen <myllynen@redhat.com>
25990
25991 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25992 * locale/programs/ld-ctype.c: Likewise.
25993
25994 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
25995
25996 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25997 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25998 bit_ZMM16_31_state): New macro.
25999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26000 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
26001
26002 2015-06-08 Joseph Myers <joseph@codesourcery.com>
26003
26004 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
26005
26006 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
26007
26008 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
26009
26010 2015-06-05 Joseph Myers <joseph@codesourcery.com>
26011
26012 [BZ #18498]
26013 * libio/memstream.c (open_memstream): Rename to __open_memstream
26014 and define as weak alias of __open_memstream.
26015 * include/stdio.h (__open_memstream): Declare. Use
26016 libc_hidden_proto.
26017 (open_memstream): Don't use libc_hidden_proto.
26018 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
26019 open_memstream.
26020 * posix/getopt.c (_getopt_internal_r): Likewise.
26021 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
26022 variable.
26023 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
26024 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
26025 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
26026
26027 [BZ #18496]
26028 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
26029 instead of wcrtomb.
26030
26031 [BZ #18483]
26032 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
26033 [__USE_XOPEN2K8]. Remove redundant #endif.
26034 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
26035 Remove redundant #if.
26036 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
26037 Remove variable.
26038 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
26039 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
26040
26041 [BZ #18495]
26042 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
26043 (__iswlower): Likewise.
26044 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
26045 (__iswlower): Likewise.
26046 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
26047 instead of towlower.
26048 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
26049 instead of iswlower. Call __towupper instead of towupper.
26050 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
26051 instead of iswalnum.
26052
26053 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26054
26055 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
26056 errors to stderr.
26057
26058 2015-06-05 Florian Weimer <fweimer@redhat.com>
26059
26060 [BZ #15661]
26061 [BZ #17322]
26062 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
26063 Check for overflow properly. Check for O_APPEND. Ignore large
26064 file system block sizes. Add comments about problems.
26065 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
26066 * manual/filesys.texi (Storage Allocation): New node.
26067
26068 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26069
26070 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
26071 cancellable syscalls.
26072 (SYS_ify): Add guard to no redefine it.
26073 (INLINE_SYSCALL): Likewise.
26074 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
26075 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
26076 SYSCALL_CANCEL instead.
26077 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
26078 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26079 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26080 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26081 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26082 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
26083 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
26084 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
26085 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26086 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26087 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
26088 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
26089 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
26090 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
26091 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
26092 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26093 Likewise.
26094 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26095 (__libc_pread64): Likewise.
26096 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
26097 (__libc_preadv): Likewise.
26098 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
26099 (__libc_readv64): Likewise.
26100 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26101 (__libc_pwrite): Likewise.
26102 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26103 (__libc_pwrite64): Likewise.
26104 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
26105 (__libc_pwritev): Likewise.
26106 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
26107 (__libc_pwritev64): Likewise.
26108 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
26109 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
26110 (sync_file_range): Likewise.
26111 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
26112 Likewise.
26113 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
26114 Likewise.
26115 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26116 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26117 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26118 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26119 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26120 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26121 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26122 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
26123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26124 Likewise.
26125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26126 (__libc_read64): Likewise.
26127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
26128 Likewise.
26129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
26130 Likewise.
26131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
26132 Likewise.
26133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
26134 Likewise.
26135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26136 (__libc_pread64): Likewise.
26137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
26138 Likewise.
26139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26140 (__libc_pwrite64): Likewise.
26141 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
26142 (sync_file_range): Likewise.
26143 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
26144 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26145 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26146 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
26147 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
26148 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26149 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26150 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
26151 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
26152 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26153 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26154 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26155 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26156 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26157 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
26158 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26159 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26160 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26161 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26162 Likewise.
26163 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
26164 Likewise.
26165 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
26166 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
26167 Likewise.
26168 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
26169 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
26170 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
26171 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
26172 Likewise.
26173 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
26174 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
26175 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
26176 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
26177 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
26178
26179 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
26180
26181 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
26182 Include dl-vdso.
26183 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
26184 Use VDSO routines for gettimeofday, clock_gettime if
26185 available.
26186 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
26187 Declare VDSO symbols.
26188 * sysdeps/unix/sysv/linux/arm/sysdep.h:
26189 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
26190 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26191 * sysdeps/unix/sysv/linux/arm/Versions: Add
26192 __vdso_clock_gettime.
26193
26194 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26195
26196 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
26197 be an inline implementation regardless of library is built within.
26198 (open_not_cancel_2): Likewise.
26199 (__read_nocancel): Likewise.
26200 (__write_nocancel): Likewise.
26201 (openat_not_cancel): Likewise.
26202 (openat_not_cancel_3): Likewise.
26203 (openat64_not_cancel): Likewise.
26204 (openat64_not_cancel_3): Likewise.
26205 (__close_nocancel): Likewise.
26206 (pause_not_cancel): Likewise.
26207 (nanosleep_not_cancel): Likewise.
26208 (sigsuspend_not_cancel): Likewise.
26209
26210 2015-06-04 Torvald Riegel <triegel@redhat.com>
26211
26212 [BZ #14958]
26213 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
26214 wake-up.
26215 (__pthread_rwlock_rdlock_slow): Likewise.
26216 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26217 Likewise.
26218 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26219 Likewise.
26220 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
26221 * nptl/tst-rwlock16.c: New file.
26222 * nptl/Makefile (tests): Add new test.
26223
26224 2015-06-04 Torvald Riegel <triegel@redhat.com>
26225
26226 [BZ #18324]
26227 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
26228 missing wake-up of readers.
26229 * nptl/tst-rwlock15.c: New file.
26230 * nptl/Makefile (tests): Add new test.
26231
26232 2015-06-03 Roland McGrath <roland@hack.frob.com>
26233
26234 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
26235 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
26236 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
26237 and __nacl_supply_interface_rtld.
26238 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
26239 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
26240 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
26241 Add __nacl_supply_interface_rtld.
26242 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
26243
26244 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
26245
26246 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
26247 isfinite.
26248 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26249 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
26250
26251 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
26252
26253 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
26254 __signbit* with standard C99 macros.
26255 * math/e_exp10l.c: Likewise.
26256 * math/e_exp2l.c: Likewise.
26257 * math/e_scalb.c: Likewise.
26258 * math/e_scalbf.c: Likewise.
26259 * math/e_scalbl.c: Likewise.
26260 * math/s_ldexp.c: Likewise.
26261 * math/s_ldexpf.c: Likewise.
26262 * math/s_ldexpl.c: Likewise.
26263 * math/w_atan2.c: Likewise.
26264 * math/w_atan2f.c: Likewise.
26265 * math/w_atan2l.c: Likewise.
26266 * math/w_cosh.c: Likewise.
26267 * math/w_coshf.c: Likewise.
26268 * math/w_coshl.c: Likewise.
26269 * math/w_exp10.c: Likewise.
26270 * math/w_exp10f.c: Likewise.
26271 * math/w_exp10l.c: Likewise.
26272 * math/w_exp2.c: Likewise.
26273 * math/w_exp2f.c: Likewise.
26274 * math/w_exp2l.c: Likewise.
26275 * math/w_fmod.c: Likewise.
26276 * math/w_fmodf.c: Likewise.
26277 * math/w_fmodl.c: Likewise.
26278 * math/w_hypot.c: Likewise.
26279 * math/w_hypotf.c: Likewise.
26280 * math/w_hypotl.c: Likewise.
26281 * math/w_jnl.c: Likewise.
26282 * math/w_lgamma.c: Likewise.
26283 * math/w_lgamma_r.c: Likewise.
26284 * math/w_lgammaf.c: Likewise.
26285 * math/w_lgammaf_r.c: Likewise.
26286 * math/w_lgammal.c: Likewise.
26287 * math/w_lgammal_r.c: Likewise.
26288 * math/w_pow.c: Likewise.
26289 * math/w_powf.c: Likewise.
26290 * math/w_powl.c: Likewise.
26291 * math/w_remainder.c: Likewise.
26292 * math/w_remainderf.c: Likewise.
26293 * math/w_remainderl.c: Likewise.
26294 * math/w_scalb.c: Likewise.
26295 * math/w_scalbf.c: Likewise.
26296 * math/w_scalbl.c: Likewise.
26297 * math/w_scalbln.c: Likewise.
26298 * math/w_scalblnf.c: Likewise.
26299 * math/w_scalblnl.c: Likewise.
26300 * math/w_sinh.c: Likewise.
26301 * math/w_sinhf.c: Likewise.
26302 * math/w_sinhl.c: Likewise.
26303 * math/w_tgamma.c: Likewise.
26304 * math/w_tgammaf.c: Likewise.
26305 * math/w_tgammal.c: Likewise.
26306 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26307 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
26308 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26309 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26310 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26311 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26312 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26313 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26314 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26315 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26316 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26317 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26318 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26319 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26320 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26321 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26322 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26323 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26324 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26325 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26326 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26327 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26328 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26329 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26330 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26331 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26332 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
26333 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26334 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26335 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26336 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
26337 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
26338 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
26339 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
26340 * stdio-common/printf_fp.c: Likewise.
26341 * stdio-common/printf_fphex.c: Likewise.
26342 * stdio-common/printf_size.c: Likewise.
26343
26344 2015-06-03 Joseph Myers <joseph@codesourcery.com>
26345
26346 [BZ #18470]
26347 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
26348 strnlen.
26349 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
26350 Remove variable.
26351 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26352 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26353 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26354 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26355 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26356 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26357 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26358 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26359 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26360 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26361
26362 [BZ #18468]
26363 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
26364 weak alias of __wmemchr. Use libc_hidden_weak.
26365 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
26366 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
26367 instead of wmemchr.
26368
26369 2015-06-02 Roland McGrath <roland@hack.frob.com>
26370
26371 [BZ #18383]
26372 * elf/tst-tlsalign-extern.c: New file.
26373 * elf/tst-tlsalign-extern-static.c: New file.
26374 * elf/tst-tlsalign-vars.c: New file.
26375 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
26376 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
26377 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
26378 ($(objpfx)tst-tlsalign-extern-static): Likewise.
26379 (test-xfail-tst-tlsalign-extern-static): New variable.
26380
26381 2015-06-02 Joseph Myers <joseph@codesourcery.com>
26382
26383 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
26384 Use variable name _sc_err instead of err.
26385 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
26386 instead of ret.
26387 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
26388 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
26389 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
26390 (INLINE_SYSCALL): Likewise.
26391
26392 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
26393 * include/string.h (__strnlen): Use libc_hidden_proto.
26394 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
26395 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
26396 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
26397 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
26398 (libc_hidden_def): Undefine and redefine.
26399 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
26400 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
26401 __GI_strnlen.
26402 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
26403 libc_hidden_def.
26404 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
26405
26406 [BZ #18469]
26407 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
26408 weak alias of __towlower. Use libc_hidden_weak.
26409 (towupper): Rename to __towupper and define as weak alias of
26410 __towupper. Use libc_hidden_weak.
26411 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
26412 (__towupper): Likewise.
26413 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
26414 __towlower instead of towlower.
26415
26416 2015-06-02 Roland McGrath <roland@hack.frob.com>
26417
26418 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
26419 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
26420
26421 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26422
26423 * sysdeps/aarch64/libm-test-ulps: Update.
26424
26425 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26426
26427 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
26428 Define.
26429 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
26431 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26432 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26433 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
26434 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
26435 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
26436
26437 2015-06-01 Martin Sebor <msebor@redhat.com>
26438
26439 [BZ #18116]
26440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26441 (__setcontext): Use extended four-operand version of mtsf whenever
26442 possible.
26443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26444 (__novec_swapcontext): Likewise.
26445
26446 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26447
26448 * benchtests/scripts/compare_bench.py: New file.
26449 * benchtests/scripts/import_bench.py (mean): New function.
26450 (split_list): Likewise.
26451 (do_for_all_timings): Likewise.
26452 (compress_timings): Likewise.
26453
26454 * benchtests/scripts/import_bench.py: New file.
26455 * benchtests/scripts/validate_benchout.py: Import import_bench
26456 instead of jsonschema.
26457 (validate_bench): Remove function.
26458 (main): Use import_bench.
26459
26460 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
26461
26462 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
26463 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
26464
26465 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26466
26467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26468
26469 2015-05-28 Roland McGrath <roland@hack.frob.com>
26470
26471 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
26472 set THREAD_SELF->tid to a magic value and futex-wake it.
26473 Pass its address to the thread_exit system call.
26474 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
26475 bit is clear.
26476 * sysdeps/nacl/lowlevellock.h: New file.
26477 * sysdeps/nacl/lll_timedwait_tid.c: New file.
26478
26479 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
26480 Add TIMEOUT to current time, don't subtract it.
26481
26482 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
26483
26484 [BZ #2981]
26485 [BZ #18422]
26486 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
26487 ($(objpfx)tst-audit2.out): Also depend on
26488 $(objpfx)tst-auditmod9b.so.
26489 * elf/tst-audit2.c: Include <dlfcn.h>.
26490 (calloc_called): New.
26491 (calloc): Allow to be called more than once.
26492 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
26493
26494 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
26495
26496 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
26497 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
26498
26499 2015-05-27 Marko Myllynen <myllynen@redhat.com>
26500
26501 * stdlib/monetary.h: Fix comment.
26502
26503 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
26504
26505 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
26506 Avoid using variables in #defines that might cause shadowing.
26507 (INTERNAL_VSYSCALL_CALL): Likewise.
26508
26509 2015-05-26 Roland McGrath <roland@hack.frob.com>
26510
26511 * sysdeps/nacl/lll_timedlock_wait.c: New file.
26512
26513 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
26514 * nptl/lll_timedlock_wait.c: ... to this new file.
26515 * nptl/Makefile (libpthread-routines): Add it.
26516 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
26517 * nptl/lll_timedwait_tid.c: ... to this new file.
26518 * nptl/Makefile (libpthread-routines): Add it.
26519 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
26520 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
26521 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
26522 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
26523 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
26524 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
26525 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
26526 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
26527 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
26528 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
26529
26530 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26531
26532 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
26533 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26534 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26535 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
26536 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
26537 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26538 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26539 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26540 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26541 * sysdeps/unix/sysv/linux/tile/sysdep.h
26542 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26543 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
26544 using vDSO syscall macro.
26545
26546 2015-05-26 Andriy Rysin <arysin@gmail.com>
26547
26548 [BZ #17293]
26549 * uk_UA: Fix sorting order for Ukrainian locale
26550
26551 2015-05-26 Marko Myllynen <myllynen@redhat.com>
26552
26553 * stdlib/monetary.h: Fix comment.
26554
26555 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
26556
26557 [BZ #18234]
26558 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
26559 st_mtim and st_ctim members.
26560 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
26561 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
26562 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
26563 (struct stat64): Likewise.
26564 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
26565 (struct stat64): Likewise.
26566 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
26567 (struct stat64): Likewise.
26568
26569 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26570
26571 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
26572 Define and include sysdep-vdso.h.
26573 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
26574 Likewise.
26575 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
26576 Likewise.
26577 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
26578 Define with VDSO_SYMBOL and use PTR_MANGLE.
26579 (__vdso_clock_gettime): Likewise.
26580 (__vdso_clock_getres): Likewise.
26581 (_libc_vdso_platform_setup): Likewise.
26582 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26583 Likewise.
26584 (_libc_vdso_platform_setup): Likewise.
26585 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
26586 Likewise.
26587 (__vdso_clock_gettime): Likewise.
26588 (__vdso_clock_getres): Likewise.
26589 (__vdso_get_tbfreq): Likewise.
26590 (__vdso_getcpu): Likewise.
26591 (__vdso_time): Likewise.
26592 (__vdso_sigtramp_rt64): Likewise.
26593 (__vdso_signtramp32): Likewise.
26594 (__vdso_sigtramp_rt32): Likewise.
26595 (_libc_vdso_platform_setup): Likewise.
26596 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
26597 Likewise.
26598 (__vdso_clock_gettime): Likewise.
26599 (__vdso_clock_getres): Likewise.
26600 (_libc_vdso_platform_setup): Likewise.
26601 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
26602 Likewise.
26603 (__vdso_clock_gettime): Likewise.
26604 (_libc_vdso_platform_setup): Likewise.
26605 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26606 Likewise.
26607 (__vdso_getcpu): Likewise.
26608 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
26609 Use VDSO_SYMBOL macro to define.
26610 (__vdso_clock_gettime): Likewise.
26611 (__vdso_clock_getres): Likewise.
26612 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
26613 Likewise.
26614 (__vdso_clock_gettime): Likewise.
26615 (__vdso_clock_getres): Likewise.
26616 (__vdso_get_tbfreq): Likewise.
26617 (__vdso_getcpu): Likewise.
26618 (__vdso_time): Likewise.
26619 (__vdso_sigtramp_rt64): Likewise.
26620 (__vdso_signtramp32): Likewise.
26621 (__vdso_sigtramp_rt32): Likewise.
26622 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
26623 Likewise.
26624 (__vdso_clock_gettime): Likewise.
26625 (__vdso_clock_getres): Likewise.
26626 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
26627 Likewise.
26628 (__vdso_clock_gettime): Likewise.
26629 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26630 Likewise.
26631 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
26632 macro.
26633 (INTERNAL_VSYSCALL): Likewise.
26634 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
26635 Remove macro.
26636 (INTERNAL_VSYSCALL): Likewise.
26637 (INTERNAL_VSYSCALL_NCS): Likewise.
26638 (INTERNAL_VSYSCALL_CALL): New macro.
26639 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26640 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
26641 Likewise.
26642 (INTERNAL_VSYSCALL): Likewise.
26643 (INTERNAL_VSYSCALL_NCS): Likewise.
26644 (INTERNAL_VSYSCALL_CALL): New macro.
26645 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26647 (INLINE_VSYSCALL): Remove macro.
26648 (INTERNAL_VSYSCALL): Remove macro.
26649 (INTERNAL_VSYSCALL_NCS): Remove macro.
26650 (INTERNAL_VSYSCALL_CALL): New macro.
26651 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
26652 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
26653 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26654 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
26655 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26657 (INLINE_VSYSCALL): Remove macro.
26658 (INTERNAL_VSYSCALL): Likewise.
26659 (INTERNAL_VSYSCALL_NCS): Likewise.
26660 (INTERNAL_VSYSCALL_CALL): New macro.
26661 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
26662 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
26663 PTR_DEMANGLE on vDSO pointer.
26664 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26665 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
26666 macro.
26667 (INTERNAL_SYSCALL): Likewise.
26668 (INTERNAL_VSYSCALL_NCS): Remove macro.
26669 (INTERNAL_VSYSCALL_CALL): New macro.
26670 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
26671 Remove macro.
26672 (INTERNAL_VSYSCALL): Likewise.
26673 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
26674 sysdep-vdso.h instead of libc-vdso.h.
26675 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
26676 definition.
26677 (INLINE_VSYSCALL): Likewise.
26678 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
26679 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
26680 definition.
26681 (INLINE_VSYSCALL): Likewise.
26682 (INTERNAL_VSYSCALL): Likewise.
26683 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26684 * sysdeps/unix/sysv/linux/timespec_get.c
26685 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26686 (timespec_get): Use ANSI prototype.
26687 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
26688 and definition for Linux.
26689
26690 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
26691
26692 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
26693 * include/libc-symbols.h: libmvec_hidden_* macro series added.
26694
26695 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
26696
26697 [BZ #2981]
26698 [BZ #18410]
26699 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
26700 for missing DT_PLTRELSZ.
26701
26702 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
26703
26704 Remove obsolete aliases that broke 'locale -a'
26705 [BZ #18412]
26706 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
26707 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
26708 breaking some applications that use 'locale -a' output.
26709 Change the encoding of this file from Latin-1 to ASCII to avoid
26710 other potential problems with people grepping this file.
26711
26712 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26713
26714 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
26715 -fasynchronous-unwind-tables.
26716 (CFLAGS-sendto.c): Likewise.
26717 (CFLAGS-sendmsg.c): Likewise.
26718 (CFLAGS-connect.c): Likewise.
26719 (CFLAGS-recvmsg.c): Likewise.
26720 (CFLAGS-recvfrom.c): Likewise.
26721 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
26722 (SOCKETCALL): New macro: non-cancellable socketcall.
26723 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
26724 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
26725 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
26726 * sysdeps/unix/sysv/linux/accept.c: New file.
26727 * sysdeps/unix/sysv/linux/bind.c: Likewise.
26728 * sysdeps/unix/sysv/linux/connect.c: Likewise.
26729 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
26730 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
26731 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
26732 * sysdeps/unix/sysv/linux/listen.c: Likewise.
26733 * sysdeps/unix/sysv/linux/recv.c: Likewise.
26734 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
26735 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
26736 * sysdeps/unix/sysv/linux/send.c: Likewise.
26737 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
26738 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
26739 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
26740 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
26741 * sysdeps/unix/sysv/linux/socket.c: Likewise.
26742 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
26743 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
26744 prototype.
26745 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
26746 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26747 instead of __internal_xxx function.
26748 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
26749 prototype.
26750 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
26751 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26752 instead of __internal_xxx function.
26753 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
26754 prototype.
26755 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
26756 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26757 instead of __internal_xxx function.
26758 * sysdeps/unix/sysv/linux/accept.S: Remove file.
26759 * sysdeps/unix/sysv/linux/bind.S: Likewise.
26760 * sysdeps/unix/sysv/linux/connect.S: Likewise.
26761 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
26762 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
26763 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
26764 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
26765 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
26766 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
26767 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
26768 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
26769 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26770 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
26771 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
26772 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
26773 * sysdeps/unix/sysv/linux/listen.S: Likewise.
26774 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
26775 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
26776 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
26777 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
26778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
26779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
26780 * sysdeps/unix/sysv/linux/recv.S: Likewise.
26781 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
26782 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
26783 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
26784 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26785 * sysdeps/unix/sysv/linux/send.S: Likewise.
26786 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
26787 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
26788 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
26789 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
26790 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
26791 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
26792 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
26793 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
26794 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
26795 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
26796 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
26797 socketcall is implemented in GLIBC.
26798
26799 2015-05-22 Joseph Myers <joseph@codesourcery.com>
26800
26801 * soft-fp/fmadf4.c: Include <libc-internal.h>.
26802 (__fma): Ignore uninitialized warnings around packing.
26803 * soft-fp/fmasf4.c: Include <libc-internal.h>.
26804 (__fmaf): Ignore uninitialized warnings around packing.
26805 * soft-fp/fmatf4.c: Include <libc-internal.h>.
26806 (__fmal): Ignore uninitialized warnings around packing.
26807
26808 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
26809 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26810 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
26811 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26812
26813 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
26814 switch statement into default case.
26815 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
26816
26817 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
26818 a conditional in forcing "inexact".
26819 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26820 Likewise.
26821
26822 2015-05-22 Roland McGrath <roland@hack.frob.com>
26823
26824 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26825 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
26826 for each INTERNAL_SYSCALL use.
26827
26828 2015-05-22 Joseph Myers <joseph@codesourcery.com>
26829
26830 [BZ #438]
26831 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
26832 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
26833 variable.
26834
26835 [BZ #18444]
26836 * string/basename.c (basename): Rename to __basename and define as
26837 weak alias of __basename. Use libc_hidden_weak.
26838 * include/string.h (__basename): Declare. Use libc_hidden_proto.
26839 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
26840 __basename instead of basename.
26841 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
26842 Remove variable.
26843 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26844
26845 2015-05-18 Florian Weimer <fweimer@redhat.com>
26846
26847 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
26848 (_IO_JUMPS_FILE_plus): New.
26849 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
26850 _IO_CAST_FIELD_ACCESS.
26851 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
26852 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
26853 * libio/freopen.c (freopen): Likewise.
26854 * libio/freopen64.c (freopen64): Likewise.
26855 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
26856 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
26857 * libio/iofwide.c (_IO_fwide): Likewise.
26858 * libio/memstream.c (open_memstream): Likewise.
26859 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26860 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26861 * libio/oldiopopen.c (_IO_old_popen): Likewise.
26862
26863 2015-05-21 Joseph Myers <joseph@codesourcery.com>
26864
26865 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
26866 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
26867 NADJ.
26868 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
26869 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
26870 NADJ.
26871 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
26872 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
26873 NADJ.
26874
26875 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
26876 (p == 4) case.
26877
26878 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
26879 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
26880 Remove variable.
26881 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26882 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26883 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26884
26885 2015-05-21 Florian Weimer <fweimer@redhat.com>
26886
26887 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26888 Adjust jump table label generation macros.
26889
26890 2015-05-21 Florian Weimer <fweimer@redhat.com>
26891
26892 * stdio-common/vfprintf.c (vfprintf): Move local variables
26893 args_malloced, specs, specs_malloced, and the code after
26894 do_positional to the printf_positional function.
26895 (printf_positional): New function.
26896
26897 2015-05-21 Florian Weimer <fweimer@redhat.com>
26898
26899 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26900 function.
26901 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26902 STEP4_TABLE, process_arg): Move macro definitions
26903 out of the vfprintf function. (Cosmetic change only.)
26904
26905 2015-05-21 Carlos O'Donell <carlos@redhat.com>
26906
26907 * benchtests/Makefile (stdio-common-bench): Define.
26908 (benchset): Add stdio-common-bench.
26909 * sprintf-inputs: New file.
26910 * sprintf-source.c: New file.
26911
26912 2015-05-21 Andreas Schwab <schwab@suse.de>
26913
26914 [BZ #13028]
26915 [BZ #17053]
26916 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26917 of struct __res_state.
26918 * resolv/res_send.c (__libc_res_nsend): Likewise.
26919 (get_nsaddr): New function.
26920 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26921 statp directly.
26922
26923 2015-05-20 Joseph Myers <joseph@codesourcery.com>
26924
26925 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26926 -D_POSIX_C_SOURCE=199506L.
26927
26928 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26929
26930 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26931 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26932 Do not mention otherwise.
26933 [POSIX] (_XOPEN_VERSION): Do not expect.
26934 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26935 [POSIX] (_POSIX2_C_BIND): Likewise.
26936 [POSIX] (_POSIX2_VERSION): Likewise.
26937 [POSIX] (_XOPEN_XPG2): Likewise.
26938 [POSIX] (_XOPEN_XPG3): Likewise.
26939 [POSIX] (_XOPEN_XPG4): Likewise.
26940 [POSIX] (_XOPEN_UNIX): Likewise.
26941 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26942 [POSIX] (_POSIX_BARRIERS): Likewise.
26943 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26944 [POSIX] (_POSIX_CPUTIME): Likewise.
26945 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26946 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26947 [POSIX] (_POSIX_SHELL): Likewise.
26948 [POSIX] (_POSIX_SPAWN): Likewise.
26949 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26950 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26951 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26952 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26953 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26954 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26955 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26956 [POSIX] (_XBS5_LP64_OFF64): Likewise.
26957 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26958 [POSIX] (_POSIX_TIMEOUTS): Likewise.
26959 [POSIX] (_POSIX2_PBS): Likewise.
26960 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26961 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26962 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26963 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26964 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26965 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26966 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26967 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26968 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26969 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26970 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26971 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26972 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26973 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26974 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26975 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26976 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26977 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26978 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26979 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26980 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26981 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26982 [POSIX] (_SC_2_C_BIND): Likewise.
26983 [POSIX] (_SC_2_C_VERSION): Likewise.
26984 [POSIX] (_SC_2_PBS): Likewise.
26985 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26986 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26987 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26988 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26989 [POSIX] (_SC_2_PBS_TRACK): Likewise.
26990 [POSIX] (_SC_ATEXIT_MAX): Likewise.
26991 [POSIX] (_SC_BARRIERS): Likewise.
26992 [POSIX] (_SC_BASE): Likewise.
26993 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26994 [POSIX] (_SC_DEVICE_IO): Likewise.
26995 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26996 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26997 [POSIX] (_SC_FD_MGMT): Likewise.
26998 [POSIX] (_SC_FIFO): Likewise.
26999 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
27000 [POSIX] (_SC_FILE_LOCKING): Likewise.
27001 [POSIX] (_SC_FILE_SYSTEM): Likewise.
27002 [POSIX] (_SC_IOV_MAX): Likewise.
27003 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
27004 [POSIX] (_SC_NETWORKING): Likewise.
27005 [POSIX] (_SC_PAGE_SIZE): Likewise.
27006 [POSIX] (_SC_PASS_MAX): Likewise.
27007 [POSIX] (_SC_PIPE): Likewise.
27008 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
27009 [POSIX] (_SC_REGEXP): Likewise.
27010 [POSIX] (_SC_SHELL): Likewise.
27011 [POSIX] (_SC_SIGNALS): Likewise.
27012 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
27013 [POSIX] (_SC_SPIN_LOCKS): Likewise.
27014 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
27015 [POSIX] (_SC_USER_GROUPS): Likewise.
27016 [POSIX] (_SC_USER_GROUPS_R): Likewise.
27017 [POSIX] (_SC_STREAMS): Likewise.
27018 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
27019 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
27020 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
27021 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
27022 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
27023 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
27024 [POSIX] (_PC_FILESIZEBITS): Likewise.
27025 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
27026 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
27027 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
27028 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
27029 [POSIX] (uid_t): Likewise.
27030 [POSIX] (gid_t): Likewise.
27031 [POSIX] (off_t): Likewise.
27032 [POSIX] (pid_t): Likewise.
27033 [POSIX] (cuserid): Allow.
27034 (_SC_2_CHAR_TERM): Require constant.
27035 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
27036 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
27037 variable.
27038
27039 2015-05-20 Roland McGrath <roland@hack.frob.com>
27040
27041 * sysdeps/nacl/pthread-pids.h: New file.
27042 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
27043 (create_thread): Use __nacl_get_tid to initialize PD->tid.
27044
27045 * nptl/pthread-pids.h: New file.
27046 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
27047 * nptl/nptl-init.c: Include <pthread-pids.h>.
27048 (__pthread_initialize_minimal_internal):
27049 Call __pthread_initialize_pids instead of set_tid_address syscall.
27050
27051 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
27052 * sysdeps/posix/usleep.c: ... here.
27053
27054 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27055
27056 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
27057 call_pselect6 object.
27058 [$(subdir) = io]: Remove call_sync_file_range object.
27059 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
27060 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
27061 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
27062 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
27063
27064 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
27065
27066 * math/s_cproj.c: Add include "math_private.h".
27067 * math/s_cprojf.c: Likewise.
27068 * math/s_cprojl.c: Likewise.
27069
27070 2015-05-19 Joseph Myers <joseph@codesourcery.com>
27071
27072 [BZ #18244]
27073 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
27074 high mantissa bit when testing whether P is a NaN.
27075 * math/libm-test.inc (remainder_test_data): Add more tests.
27076 (remquo_test_data): Likewise.
27077
27078 [BZ #18049]
27079 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
27080 below -32, return the argument, with underflow if subnormal.
27081 * math/auto-libm-test-in: Add more tests of atanh.
27082 * math/auto-libm-test-out: Regenerated.
27083
27084 2015-05-19 Roland McGrath <roland@hack.frob.com>
27085
27086 [BZ #18434]
27087 * nptl/tst-sem15.c: New file.
27088 * nptl/Makefile (tests): Add it.
27089 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
27090 s/<</>>/ to fix typo in EOVERFLOW check.
27091 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
27092
27093 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27094
27095 * manual/strings.texi (envz_remove): Fix typo in safety
27096 annotations.
27097
27098 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
27099 Steve Ellcey <sellcey@imgtec.com>
27100
27101 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
27102 in order to avoid strict alias warnings.
27103 (iruserok_af): Ditto for ra.
27104
27105 2015-05-19 James Lemke <jwlemke@codesourcery.com>
27106
27107 [BZ #17581]
27108 * malloc/hooks.c
27109 (magicbyte): Convert to a function and avoid returning 0x01.
27110 (mem2mem_check): Avoid using a length byte equal to the magic byte.
27111 (mem2chunk_check): Fix unsigned comparisons to zero.
27112 Hoist defs of sz and magic.
27113
27114 2015-05-19 Richard Henderson <rth@redhat.com>
27115
27116 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
27117
27118 * sysdeps/alpha/fpu/libm-test-ulps: Update.
27119
27120 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27121
27122 [BZ #16159]
27123 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
27124 * malloc/arena.c (arena_lock): Check if arena is corrupt.
27125 (reused_arena): Find a non-corrupt arena.
27126 (heap_trim): Pass arena to unlink.
27127 * malloc/hooks.c (malloc_check_get_size): Pass arena to
27128 malloc_printerr.
27129 (top_check): Likewise.
27130 (free_check): Likewise.
27131 (realloc_check): Likewise.
27132 * malloc/malloc.c (malloc_printerr): Add arena argument.
27133 (unlink): Likewise.
27134 (munmap_chunk): Adjust.
27135 (ARENA_CORRUPTION_BIT): New macro.
27136 (arena_is_corrupt): Likewise.
27137 (set_arena_corrupt): Likewise.
27138 (sysmalloc): Use mmap if there are no usable arenas.
27139 (_int_malloc): Likewise.
27140 (__libc_malloc): Don't fail if arena_get returns NULL.
27141 (_mid_memalign): Likewise.
27142 (__libc_calloc): Likewise.
27143 (__libc_realloc): Adjust for additional argument to
27144 malloc_printerr.
27145 (_int_free): Likewise.
27146 (malloc_consolidate): Likewise.
27147 (_int_realloc): Likewise.
27148 (_int_memalign): Don't touch corrupt arenas.
27149 * malloc/tst-malloc-backtrace.c: New test case.
27150
27151 * Makefile (summarize-tests): Fix return value on success.
27152
27153 * manual/string.texi (Envz Functions): Add envz_remove.
27154
27155 2015-05-18 Roland McGrath <roland@hack.frob.com>
27156
27157 * sysdeps/posix/opendir.c: Include <stdbool.h>.
27158 (invalid_name): New function, broken out of ...
27159 (__opendirat): ... here. Call it.
27160 (need_isdir_precheck): New function, broken out of ...
27161 (__opendirat): ... here. Call it.
27162 Use __fxstatat64, not __xstatat64.
27163 (opendir_oflags): New function, broken out of ...
27164 (__opendirat): ... here. Call it.
27165 (opendir_tail): New function, broken out of ...
27166 (__opendirat): ... here. Call it.
27167 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
27168 opendir_tail, rather than punting to __opendirat.
27169 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
27170
27171 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27172
27173 * .gitignore: Ignore generated *.pyc.
27174
27175 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
27176
27177 * include/stdio.h: Define __need_wint_t.
27178 * test-skeleton.c: Avoid `for' loop initial declaration.
27179 * nptl/tst-initializers1.c: Use test-skeleton.c.
27180
27181 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27182
27183 [BZ #18418]
27184 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
27185
27186 2015-05-15 Joseph Myers <joseph@codesourcery.com>
27187
27188 [BZ #16352]
27189 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
27190 (__ieee754_atanh): Force underflow exception for results with
27191 small absolute value.
27192 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
27193 (__ieee754_atanhf): Force underflow exception for results with
27194 small absolute value.
27195 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
27196 (__ieee754_atanh): Force underflow exception for results with
27197 small absolute value.
27198 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
27199 (__ieee754_atanhf): Force underflow exception for results with
27200 small absolute value.
27201 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
27202 (__ieee754_atanhl): Force underflow exception for results with
27203 small absolute value.
27204 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
27205 (__ieee754_atanhl): Force underflow exception for results with
27206 small absolute value.
27207 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
27208 (__ieee754_atanhl): Force underflow exception for results with
27209 small absolute value.
27210 * math/auto-libm-test-in: Do not allow missing underflow
27211 exceptions from atanh.
27212 * math/auto-libm-test-out: Regenerated.
27213
27214 [BZ #18221]
27215 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
27216 2**-28 as threshold for returning x or +/- 1/x.
27217 * math/auto-libm-test-in: Add more tests of tan.
27218 * math/auto-libm-test-out: Regenerated.
27219
27220 [BZ #18220]
27221 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27222 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
27223 * math/auto-libm-test-in: Add another test of lgamma.
27224 * math/auto-libm-test-out: Regenerated.
27225
27226 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
27227
27228 * stdio-common/printf_fp.c (___printf_fp): Use abs.
27229 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
27230 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
27231 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
27232 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
27233 (ADD2A): Use fabs. (SUB2A): Use fabs.
27234 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
27235 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
27236 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
27237 (log1): Use fabs. (my_log2): Use fabs.
27238 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
27239 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
27240 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
27241 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
27242 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
27243 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
27244 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
27245 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
27246 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
27247 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
27248 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
27249
27250 2015-05-15 Joseph Myers <joseph@codesourcery.com>
27251
27252 [BZ #18217]
27253 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
27254 as threshold for returning 1 - x.
27255 * math/auto-libm-test-in: Add more tests of erfc.
27256 * math/auto-libm-test-out: Regenerated.
27257
27258 2015-05-14 Joseph Myers <joseph@codesourcery.com>
27259
27260 [BZ #18196]
27261 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
27262 threshold for large arguments.
27263 * math/auto-libm-test-in: Add another test of atan.
27264 * math/auto-libm-test-out: Regenerated.
27265
27266 [BZ #16339]
27267 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
27268 (__log1p): Force underflow exception for results with small
27269 absolute value.
27270 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
27271 (__log1pf): Force underflow exception for results with small
27272 absolute value.
27273 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
27274 (__log1p): Force underflow exception for results with small
27275 absolute value.
27276 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
27277 (__log1pf): Force underflow exception for results with small
27278 absolute value.
27279 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
27280 (__log1pl): Force underflow exception for results with small
27281 absolute value.
27282 * math/auto-libm-test-in: Do not allow missing underflow
27283 exceptions from log1p.
27284 * math/auto-libm-test-out: Regenerated.
27285
27286 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
27287 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27288
27289 [BZ #16704]
27290 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
27291
27292 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
27293
27294 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
27295 (libmvec): New variable.
27296 * configure.ac: Added option for mathvec build.
27297 * configure: Regenerated.
27298 * mathvec/Depend: New file.
27299 * mathvec/Makefile: New file.
27300 * shlib-versions: Added libmvec.
27301 * math/Makefile: Added rule for libm.so installation.
27302
27303 * bits/math-vector.h: New file.
27304 * bits/libm-simd-decl-stubs.h: New header.
27305 * math/Makefile (headers): Added new header
27306 libm-simd-decl-stubs.h.
27307 * math/math.h (__MATHCALL_VEC): New macro.
27308
27309 * math/gen-libm-have-vector-test.sh: Script generates series of macros
27310 for conditions in testing functions.
27311 * math/Makefile: Added call of libm-have-vector-test.sh.
27312 * math/libm-test.inc (HAVE_VECTOR): New macros.
27313
27314 * math/libm-test.inc: START refactored.
27315 * math/test-double.c (TEST_MATHVEC): Add define.
27316 * math/test-float.c: Likewise.
27317 * math/test-idouble.c: Likewise.
27318 * math/test-ifloat.c: Likewise.
27319 * math/test-ildoubl.c: Likewise.
27320 * math/test-ldouble.c: Likewise.
27321 * sysdeps/generic/math-tests-arch.h
27322 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
27323 architecture check.
27324
27325 * math/test-double.c (FUNC_TEST): New macro.
27326 * math/test-float.c: Likewise.
27327 * math/test-idouble.c: Likewise.
27328 * math/test-ifloat.c: Likewise.
27329 * math/test-ildoubl.c: Likewise.
27330 * math/test-ldouble.c: Likewise.
27331 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
27332
27333 2015-05-13 Roland McGrath <roland@hack.frob.com>
27334
27335 * sysdeps/nacl/fdopendir.c: New file.
27336
27337 * dirent/scandir-tail.c: New file.
27338 * dirent/scandir64-tail.c: New file.
27339 * dirent/Makefile (routines): Add them.
27340 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
27341 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
27342 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
27343 [!SCANDIR] (SCANDIR_TAIL): New macro.
27344 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
27345 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
27346 (SCANDIRAT): Macro removed.
27347 (SCANDIR_TAIL): New macro.
27348 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
27349 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
27350 (SCANDIRAT): Just call __opendirat and __scandir_tail.
27351 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
27352 (READDIR): Macro removed.
27353 (SCANDIR_TAIL): New macro.
27354 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
27355 (SCANDIR_TAIL): New macro.
27356
27357 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
27358 * dirent/scandir-cancel.c: ... to this new file.
27359 * dirent/Makefile (routines): Add it.
27360 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
27361 * sysdeps/unix/sysv/linux/i386/scandir64.c
27362 (SKIP_SCANDIR_CANCEL): Macro removed.
27363 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
27364
27365 * dirent/tst-scandir.c: New file.
27366 * dirent/tst-scandir64.c: New file.
27367 * dirent/Makefile (tests): Add them.
27368
27369 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
27370
27371 [BZ #18409]
27372 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
27373
27374 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27375
27376 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
27377 list.
27378
27379 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
27380
27381 * benchtests/bench-strcoll.c: New benchmark.
27382 * benchtests/Makefile: Generate locales and run benchmark.
27383 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
27384 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
27385 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
27386 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
27387 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
27388 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
27389 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
27390 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
27391 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
27392 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
27393 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
27394 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
27395 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
27396 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
27397 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
27398 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
27399 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
27400 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
27401 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
27402 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
27403 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
27404 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
27405 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
27406 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
27407
27408 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
27409
27410 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
27411 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27412
27413 2015-05-12 Roland McGrath <roland@hack.frob.com>
27414
27415 * posix/uname-values.h: New file.
27416 * posix/uname.c: Include that instead of <config-name.h>.
27417 * sysdeps/nacl/uname-values.h: New file.
27418 * sysdeps/arm/nacl/uname-values.h: New file.
27419
27420 2015-05-12 Joseph Myers <joseph@codesourcery.com>
27421
27422 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
27423 splitting into fields.
27424
27425 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
27426
27427 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
27428 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
27429 * locale/localeinfo.h: Add enum collation_encoding_type.
27430 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
27431 * programs/ld-collate.c (collate_output): Add encoding type info.
27432 * string/strcoll_l.c (STRDIFF): New function.
27433 * (STRCOLL): Use STRDIFF to skip over equal prefix.
27434 * wcsmbs/wcscoll_l.c: Define STRDIFF.
27435
27436 2015-05-11 Joseph Myers <joseph@codesourcery.com>
27437
27438 [BZ #18397]
27439 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
27440 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
27441 <fpu_control.h> instead of <math/fpu_control.c>.
27442 * sysdeps/mips/mips32/fpu/Makefile: New file.
27443
27444 2015-05-11 Andreas Schwab <schwab@suse.de>
27445
27446 [BZ #18007]
27447 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
27448 nss_endgrent.
27449 (_nss_compat_endgrent): Call nss_endgrent.
27450 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
27451 nss_endpwent.
27452 (_nss_compat_endpwent): Call nss_endpwent.
27453 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
27454 needent, call nss_setspent only if non-zero.
27455 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
27456 (internal_endspent): Don't call nss_endspent.
27457 (_nss_compat_endspent): Call nss_endspent.
27458 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
27459 Remove. All uses removed.
27460 (internal_setent): Remove parameter stayopen, add parameter
27461 stream. Use it instead of global variable.
27462 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
27463 (internal_endent, internal_getent): Add parameter stream. Use it
27464 instead of global variable.
27465 (CONCAT(_nss_files_end,ENTNAME))
27466 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
27467 (_nss_files_get##name##_r): Pass local stream. Remove locking.
27468 * nss/nss_files/files-alias.c (position, last_use): Remove. All
27469 uses removed.
27470 (internal_setent, internal_endent): Add parameter stream. Use it
27471 instead of global variable.
27472 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
27473 stream.
27474 (get_next_alias): Add parameter stream.
27475 (_nss_files_getaliasent_r): Pass global stream.
27476 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
27477 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
27478 (_nss_files_gethostbyname4_r): Pass local stream to
27479 internal_setent, internal_getent and internal_endent. Remove
27480 locking.
27481
27482 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
27483
27484 * tst-strfmon1.c (tests): Update expected currency symbol.
27485
27486 2015-05-08 Roland McGrath <roland@hack.frob.com>
27487
27488 * sysdeps/nacl/gethostname.c: New file.
27489
27490 2015-05-08 Joseph Myers <joseph@codesourcery.com>
27491
27492 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
27493 and sinh.
27494 * math/auto-libm-test-out: Regenerated.
27495 * sysdeps/i386/fpu/libm-test-ulps: Update.
27496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27497
27498 2015-05-08 Carlos O'Donell <carlos@redhat.com>
27499
27500 [BZ #18125]
27501 * stdlib/tst-setcontext3.c: New file.
27502 * stdlib/tst-setcontext3.sh: New file.
27503 * stdlib/Makefile (tests): Add tst-setcontext3.
27504 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
27505 to verify test program created output file.
27506 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
27507 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
27508 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
27509 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
27510
27511 2015-05-06 Roland McGrath <roland@hack.frob.com>
27512
27513 [BZ #18383]
27514 * elf/tst-tlsalign.c: New file.
27515 * elf/tst-tlsalign-static.c: New file.
27516 * elf/tst-tlsalign-lib.c: New file.
27517 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
27518 (tests-static): Add tst-tlsalign-static.
27519 (modules-names): Add tst-tlsalign-lib.
27520 (test-xfail-tst-tlsalign): New variable.
27521 (test-xfail-tst-tlsalign-static): New variable.
27522
27523 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
27524 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
27525
27526 2015-05-06 Joseph Myers <joseph@codesourcery.com>
27527
27528 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
27529 csqrt, erfc, sin and sincos.
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 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
27535
27536 * sysdeps/aarch64/libm-test-ulps: Update.
27537
27538 2015-05-05 Joseph Myers <joseph@codesourcery.com>
27539
27540 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
27541 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
27542 * math/auto-libm-test-out: Regenerated.
27543 * sysdeps/i386/fpu/libm-test-ulps: Update.
27544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27545
27546 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
27547
27548 [BZ #18265]
27549 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
27550 (wcsncpy): Likewise.
27551
27552 2015-05-05 Florian Weimer <fweimer@redhat.com>
27553
27554 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27555 Assume __ASSUME_FALLOCATE is always true.
27556 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27557 (__posix_fallocate64_l64): Likewise.
27558 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
27559 (posix_fallocate): Likewise.
27560 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
27561 (__posix_fallocate64_l64): Likewise.
27562 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27563 [!__ASSUME_FALLOCATE]: Add comment.
27564
27565 2015-05-05 Florian Weimer <fweimer@redhat.com>
27566
27567 * sysdeps/unix/sysv/linux/i386/Makefile
27568 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
27569 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
27570 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
27571 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27572 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27573 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
27574 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
27575
27576 2015-05-02 Joseph Myers <joseph@codesourcery.com>
27577
27578 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
27579 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
27580 tgamma.
27581 * math/auto-libm-test-out: Regenerated.
27582 * sysdeps/i386/fpu/libm-test-ulps: Update.
27583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27584
27585 2015-05-01 Joseph Myers <joseph@codesourcery.com>
27586
27587 * math/auto-libm-test-in: Add more tests of tgamma.
27588 * math/auto-libm-test-out: Regenerated.
27589 * sysdeps/i386/fpu/libm-test-ulps: Update.
27590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27591
27592 * math/auto-libm-test-in: Add more tests of tanh.
27593 * math/auto-libm-test-out: Regenerated.
27594 * sysdeps/i386/fpu/libm-test-ulps: Update.
27595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27596
27597 * math/auto-libm-test-in: Add more tests of tan.
27598 * math/auto-libm-test-out: Regenerated.
27599 * sysdeps/i386/fpu/libm-test-ulps: Update.
27600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27601
27602 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
27603 * math/auto-libm-test-out: Regenerated.
27604 * sysdeps/i386/fpu/libm-test-ulps: Update.
27605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27606
27607 * math/auto-libm-test-in: Add another test of pow.
27608 * math/auto-libm-test-out: Regenerated.
27609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27610
27611 * math/auto-libm-test-in: Add more tests of lgamma.
27612 * math/auto-libm-test-out: Regenerated.
27613 * sysdeps/i386/fpu/libm-test-ulps: Update.
27614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27615
27616 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
27617 log1p.
27618 * math/auto-libm-test-out: Regenerated.
27619 * sysdeps/i386/fpu/libm-test-ulps: Update.
27620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27621
27622 2015-05-01 Mark Wielaard <mjw@redhat.com>
27623
27624 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
27625 Elf64_Chdr structs and ELFCOMPRESS constants.
27626
27627 2015-05-01 Joseph Myers <joseph@codesourcery.com>
27628
27629 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
27630 expm1.
27631 * math/auto-libm-test-out: Regenerated.
27632 * sysdeps/i386/fpu/libm-test-ulps: Update.
27633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27634
27635 * math/auto-libm-test-in: Add more tests of erf and erfc.
27636 * math/auto-libm-test-out: Regenerated.
27637 * sysdeps/i386/fpu/libm-test-ulps: Update.
27638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27639
27640 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
27641
27642 * config.h.in (HAVE_AARCH64_BE): Add.
27643
27644 2015-04-30 Joseph Myers <joseph@codesourcery.com>
27645
27646 * math/auto-libm-test-in: Add more tests of csqrt.
27647 * math/auto-libm-test-out: Regenerated.
27648 * sysdeps/i386/fpu/libm-test-ulps: Update.
27649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27650
27651 * math/auto-libm-test-in: Add more tests of cosh and sinh.
27652 * math/auto-libm-test-out: Regenerated.
27653 * sysdeps/i386/fpu/libm-test-ulps: Update.
27654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27655
27656 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
27657
27658 2015-04-29 Roland McGrath <roland@hack.frob.com>
27659
27660 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
27661 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
27662
27663 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
27664 (euidaccess, eaccess): Define as weak aliases.
27665
27666 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
27667 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
27668 but __suseconds_t is often 'long int' so some sources assume that
27669 type is being used (e.g. they use %ld to print tv_usec).
27670
27671 2015-04-29 Florian Weimer <fweimer@redhat.com>
27672
27673 [BZ #18007]
27674 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
27675 (CVE-2014-8121)
27676 * nss/tst-nss-getpwent.c: New file.
27677 * nss/Makefile (tests): Add new test.
27678
27679 2015-04-28 Joseph Myers <joseph@codesourcery.com>
27680
27681 [BZ #18346]
27682 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
27683 exponents less than 48 as cases where high part of mantissa needs
27684 examining to determine whether argument is integral.
27685 * math/libm-test.inc (round_test_data): Add more tests.
27686
27687 2015-04-28 Mark Wielaard <mjw@redhat.com>
27688
27689 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
27690
27691 2015-04-27 David S. Miller <davem@davemloft.net>
27692
27693 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
27694 __tls_get_addr.
27695 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27696
27697 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
27698
27699 [BZ#18333]
27700 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
27701
27702 2015-04-27 Florian Weimer <fweimer@redhat.com>
27703
27704 [BZ#18333]
27705 * time/tzset.c (parse_tzname): Return error on memory allocation
27706 failure.
27707 * test-skeleton.c (struct temp_name_list): Change type of name
27708 member to non-const.
27709 (add_temp_file): Create a copy of the file name.
27710 (delete_temp_files): Deallocate memory.
27711 (create_temp_file): Add comment.
27712
27713 2015-04-24 Florian Weimer <fweimer@redhat.com>
27714
27715 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
27716 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
27717
27718 2015-04-24 Roland McGrath <roland@hack.frob.com>
27719
27720 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
27721 * sysdeps/arm/configure: Regenerated.
27722
27723 2015-04-24 Florian Weimer <fweimer@redhat.com>
27724
27725 [BZ #17715]
27726 * time/tzfile.c (__tzfile_read): Check for large values of
27727 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
27728 * time/tzset.c (__tzstring_len): New function, based on the old
27729 __tzstring function.
27730 (__tzstring): Call __tzstring_len.
27731 (parse_tzname): New helper function extracted from
27732 __tzset_parse_tz. Call __tzstring_len, without making a copy of
27733 the input string.
27734 (parse_offset): New helper function extracted from
27735 __tzset_parse_tz. Replace switch with fallthrough with
27736 initialization before sscanf.
27737 (parse_rule): Likewise.
27738 (__tzset_parse_tz): Rewrite using the new helper functions. Use
27739 new-style function definition.
27740 * timezone/Makefile (tests): Add tst-tzset.
27741 (tst-tzset.out): Dependencies on time zone files.
27742 (tst-tzset-ENV): Set TZDIR.
27743 (testdata/XT%): Copy crafted time zone files.
27744 * timezone/README: Mention crafted time zone files.
27745 * timezone/testdata/XT1, timezone/testdata/XT2,
27746 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
27747 files.
27748 * timezone/tst-tzset.c: New test.
27749
27750 2015-04-24 Florian Weimer <fweimer@redhat.com>
27751
27752 * Makeconfig (+gccwarn): Remove -Winline.
27753
27754 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
27755
27756 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
27757
27758 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
27759
27760 * NEWS: Mention sysconf() cache information support for s390.
27761 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
27762
27763 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
27764
27765 * math/k_casinh.c (__kernel_casinh): Use __copysign.
27766 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
27767 (__nearbyint): Likewise.
27768 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
27769 (copysignl): Likewise.
27770
27771 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
27772
27773 [BZ #18287]
27774 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
27775 based on padding. (CVE-2015-1781)
27776
27777 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27778
27779 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
27780 libc-vdso.h.
27781 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
27782 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
27783 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
27784 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27785 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27786 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
27787 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
27788 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27789 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27790 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
27791 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27792 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27793 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
27794 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
27795 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27796 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
27797 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
27798 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
27799 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
27800 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
27801 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
27802 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
27803 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
27804
27805 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
27806
27807 * stdlib/setenv.c (__add_to_environ):
27808 Dump core quickly if setenv (..., NULL, ...) is called.
27809 This time, do it the right way, and pacify GCC with a pragma.
27810
27811 2015-04-17 Roland McGrath <roland@hack.frob.com>
27812
27813 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
27814 IMAP->l_prev cannot be null, and #if out the code for the contrary
27815 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
27816 believe that NS (&_dl_ns[NSID]) could point outside the array.
27817
27818 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
27819 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
27820 before using NSID as an index.
27821
27822 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
27823
27824 [BZ #17825]
27825 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
27826 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
27827 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27828
27829 2015-04-17 Roland McGrath <roland@hack.frob.com>
27830
27831 Add preliminary port to Google Native Client on ARM.
27832 * abi-tags (.*-.*-nacl.*): New entry.
27833 * sysdeps/arm/nacl: New directory.
27834 * sysdeps/nacl: New directory.
27835
27836 2015-04-16 David S. Miller <davem@davemloft.net>
27837
27838 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
27839 lowlevellock-futex.h
27840
27841 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
27842
27843 * sysdeps/tile/configure.ac: New file.
27844 * sysdeps/tile/configure: Regenerated.
27845
27846 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27847
27848 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
27849 conditionals for weak_alias and libc_hidden_weak.
27850 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
27851 libc_hidden_weak and weak_alias.
27852 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
27853 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
27854 and weak_alias for static one.
27855
27856 2015-04-15 David S. Miller <davem@davemloft.net>
27857
27858 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27859
27860 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27861
27862 [BZ #18206]
27863 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
27864 Use signed comparision instead of substraction to avoid
27865 overflow bug.
27866 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
27867 Take the sign of ret.
27868 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
27869 Do not expect precise return values. Only the sign matters.
27870 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
27871 * wcsmbs/test-wcsncmp.c: New File.
27872 * string/test-strncmp.c: Add wcsncmp support.
27873
27874 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27875
27876 [BZ #6792]
27877 * math/w_log1p.c: New file.
27878 * math/w_log1pf.c: Likewise.
27879 * math/w_log1pl.c: Likewise.
27880 * math/Makefile (libm-calls): Add w_log1p.
27881 * math/s_log1pl.c (log1pl): Remove weak_alias.
27882 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27883 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27884 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27885 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27886 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27887 [NO_LONG_DOUBLE] (log1pl): Likewise.
27888 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27889 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27890 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27891 (log1p): Remove long_double_symbol.
27892 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27893 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27894 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27895 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27896 remove weak_alias for corresponding log1p function.
27897 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27898 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27899 * sysdeps/ia64/fpu/w_log1p.c: New file.
27900 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27901 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27902 * math/libm-test.inc (log1p_test_data): Add errno expectations.
27903
27904 2015-04-10 Joseph Myers <joseph@codesourcery.com>
27905
27906 [BZ #18247]
27907 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27908 decimal exponent by 1.
27909 * stdlib/tst-strtod-round-data: Add more tests.
27910 * stdlib/tst-strtod-round.c (tests): Regenerated.
27911
27912 2015-04-09 Joseph Myers <joseph@codesourcery.com>
27913
27914 * math/auto-libm-test-in: Add more tests of clog and clog10.
27915 * math/auto-libm-test-out: Regenerated.
27916 * sysdeps/i386/fpu/libm-test-ulps: Update.
27917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27918
27919 2015-04-09 Roland McGrath <roland@hack.frob.com>
27920
27921 * Makeconfig (module-cppflags): Exclude all .v.i files.
27922 (skip-module-cppflags): Variable removed.
27923
27924 * configure.ac (libc_config_ok): Initialize before reading
27925 preconfigure scripts, not after.
27926 * configure: Regenerated.
27927
27928 * test-skeleton.c (TIMEOUT): Move #define to top level.
27929 (main): Grok environment variable TEST_DIRECT. If set, print
27930 test expectation details into that file and then behave as if
27931 given --direct.
27932
27933 2015-04-09 Florian Weimer <fweimer@redhat.com>
27934
27935 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27936 warning on 32-bit.
27937
27938 2015-04-08 David S. Miller <davem@davemloft.net>
27939
27940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27941
27942 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27943
27944 * math/auto-libm-test-in: Add more tests of atanh.
27945 * math/auto-libm-test-out: Regenerated.
27946 * sysdeps/i386/fpu/libm-test-ulps: Update.
27947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27948
27949 * math/auto-libm-test-in: Add more tests of atan.
27950 * math/auto-libm-test-out: Regenerated.
27951 * sysdeps/i386/fpu/libm-test-ulps: Update.
27952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27953
27954 2015-04-08 Florian Weimer <fweimer@redhat.com>
27955
27956 * elf/pldd.c (main): Rewrite to use struct
27957 scratch_buffer instead of extend_alloca.
27958 * elf/pldd-xx.c (find_maps): Likewise.
27959 * grp/initgroups.c: Include <scratch_buffer.h> instead of
27960 <alloca.h>.
27961 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27962 scratch_buffer instead of extend_alloca.
27963 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27964 grp/compat-initgroups.c.
27965 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27966 Rewrite to use struct scratch_buffer instead of extend_alloca.
27967 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27968 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27969
27970 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27971
27972 * math/auto-libm-test-in: Add more tests of cbrt.
27973 * math/auto-libm-test-out: Regenerated.
27974 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27975
27976 * math/auto-libm-test-in: Add more tests of cabs.
27977 * math/auto-libm-test-out: Regenerated.
27978 * sysdeps/i386/fpu/libm-test-ulps: Update.
27979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27980
27981 [BZ #18210]
27982 [BZ #18211]
27983 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27984 (__ieee754_atan2): Set FE_TONEAREST mode for internal
27985 computations.
27986 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27987 clog10.
27988 * math/auto-libm-test-out: Regenerated.
27989 * sysdeps/i386/fpu/libm-test-ulps: Update.
27990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27991
27992 [BZ #18197]
27993 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27994 (atan): Set FE_TONEAREST mode for internal computations.
27995 * math/auto-libm-test-in: Add more tests of atan.
27996 * math/auto-libm-test-out: Regenerated.
27997
27998 2015-04-07 James Cowgill <james410@cowgill.org.uk>
27999
28000 [BZ #17930]
28001 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
28002
28003 2015-04-07 Florian Weimer <fweimer@redhat.com>
28004
28005 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
28006
28007 2015-04-07 Florian Weimer <fweimer@redhat.com>
28008
28009 * include/scratch_buffer.h: New file.
28010 * malloc/scratch_buffer_grow.c: Likewise.
28011 * malloc/scratch_buffer_grow_preserve.c: Likewise.
28012 * malloc/scratch_buffer_set_array_size.c: Likewise.
28013 * malloc/tst-scratch_buffer.c: Likewise.
28014 * malloc/Makefile (routines): Add scratch_buffer_grow.
28015 (tests): Add test case.
28016 * malloc/Versions (GLIBC_PRIVATE): Export
28017 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
28018 __libc_scratch_buffer_set_array_size.
28019
28020 2015-04-06 Richard Henderson <rth@redhat.com>
28021
28022 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
28023 * sysdeps/alpha/fpu/libm-test-ulps: Update.
28024
28025 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
28026 unsigned int before printing.
28027
28028 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28029
28030 [BZ #17596]
28031 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
28032 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28033
28034 2015-04-02 Florian Weimer <fweimer@redhat.com>
28035
28036 * include/libc-internal.h (libc_max_align_t): Define.
28037
28038 2015-04-02 Andreas Schwab <schwab@suse.de>
28039
28040 [BZ #16850]
28041 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
28042
28043 2015-04-02 Mel Gorman <mgorman@suse.de>
28044
28045 [BZ #17195]
28046 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
28047 as well as the main arena.
28048
28049 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
28050
28051 [BZ #18185]
28052 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
28053 sharing L2 cache to 2 for Silvermont/Knights Landing.
28054
28055 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
28056
28057 [BZ #17711]
28058 * config.make.in (have-protected-data): New.
28059 * configure.ac: Check linker support for protected data symbol.
28060 * configure: Regenerated.
28061 * elf/Makefile (modules-names): Add tst-protected1moda and
28062 tst-protected1modb if $(have-protected-data) is yes.
28063 (tests): Add tst-protected1a and tst-protected1b if
28064 $(have-protected-data) is yes.
28065 ($(objpfx)tst-protected1a): New.
28066 ($(objpfx)tst-protected1b): Likewise.
28067 (tst-protected1modb.so-no-z-defs): Likewise.
28068 * elf/tst-protected1a.c: New file.
28069 * elf/tst-protected1b.c: Likewise.
28070 * elf/tst-protected1mod.h: Likewise.
28071 * elf/tst-protected1moda.c: Likewise.
28072 * elf/tst-protected1modb.c: Likewise.
28073
28074 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
28075
28076 [BZ #17711]
28077 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
28078 indicates it is called from do_lookup_x on relocation against
28079 protected data, skip the data definion in the executable from
28080 copy reloc.
28081 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
28082 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
28083 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
28084 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
28085 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
28086 otherwise to 0.
28087 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28088 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
28089 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
28090 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28091 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
28092 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
28093
28094 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
28095
28096 * sysdeps/nptl/pthread.h: Remove duplicate definition of
28097 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
28098
28099 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
28100
28101 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
28102 THREAD_SETMEM_NC.
28103 * sysdeps/x86_64/nptl/tls.h: Ditto.
28104
28105 2015-03-27 Roland McGrath <roland@hack.frob.com>
28106
28107 * dlfcn/tststatic.c (main): Converted to ...
28108 (do_test): ... this.
28109 (TEST_FUNCTION): New macro.
28110 Include test-skeleton.c.
28111
28112 2015-03-26 Alan Modra <amodra@gmail.com>
28113
28114 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
28115 Don't segfault if ifunc resolver returns a NULL. Do set plt to
28116 zero for undefined weak.
28117 (elf_machine_plt_conflict): Similarly.
28118
28119 2015-03-25 Joseph Myers <joseph@codesourcery.com>
28120
28121 * math/auto-libm-test-in: Add more tests of acosh, asinh and
28122 atanh.
28123 * math/auto-libm-test-out: Regenerated.
28124 * sysdeps/i386/fpu/libm-test-ulps: Update.
28125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28126
28127 * math/auto-libm-test-in: Add another test of asin.
28128 * math/auto-libm-test-out: Regenerated.
28129 * sysdeps/i386/fpu/libm-test-ulps: Update.
28130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28131
28132 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
28133 Remove macro.
28134 (LLL_EBX_REG): Likewise.
28135 (LLL_ENTER_KERNEL): Likewise.
28136
28137 * math/auto-libm-test-in: Add more tests of asin.
28138 * math/auto-libm-test-out: Regenerated.
28139 * sysdeps/i386/fpu/libm-test-ulps: Update.
28140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28141
28142 [BZ #18138]
28143 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
28144 libc_do_syscall_args): New structure.
28145 (INTERNAL_SYSCALL_MAIN_0): New macro.
28146 (INTERNAL_SYSCALL_MAIN_1): Likewise.
28147 (INTERNAL_SYSCALL_MAIN_2): Likewise.
28148 (INTERNAL_SYSCALL_MAIN_3): Likewise.
28149 (INTERNAL_SYSCALL_MAIN_4): Likewise.
28150 (INTERNAL_SYSCALL_MAIN_5): Likewise.
28151 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
28152 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
28153 Replace conditional definitions by conditional definitions of ....
28154 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
28155 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
28156 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
28157 (libpthread-sysdep_routines): Add libc-do-syscall.
28158 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
28159 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
28160 to __NR_futex not 240.
28161
28162 2015-03-25 Alan Modra <amodra@gmail.com>
28163
28164 * NEWS: Advertise TLS optimization.
28165 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
28166 (DT_PPC_NUM): Increment.
28167 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
28168 (CHECK_STATIC_TLS): Use here.
28169 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
28170 TLS descriptors.
28171 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28172 * sysdeps/powerpc/dl-tls.c: New file.
28173 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
28174 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
28175 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
28176 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
28177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
28178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
28179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
28180
28181 2015-03-25 Alan Modra <amodra@gmail.com>
28182
28183 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
28184 for overlapping .opd entries" to "support...".
28185 * sysdeps/powerpc/powerpc64/configure: Regenerate
28186
28187 2015-03-25 Joseph Myers <joseph@codesourcery.com>
28188
28189 * math/auto-libm-test-in: Add more tests of acos.
28190 * math/auto-libm-test-out: Regenerated.
28191 * sysdeps/i386/fpu/libm-test-ulps: Update.
28192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28193
28194 * math/auto-libm-test-in: Add more tests of expm1.
28195 * math/auto-libm-test-out: Regenerated.
28196 * sysdeps/i386/fpu/libm-test-ulps: Update.
28197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28198
28199 2015-03-24 Joseph Myers <joseph@codesourcery.com>
28200
28201 * math/auto-libm-test-in: Add more tests of cosh and sinh.
28202 * math/auto-libm-test-out: Regenerated.
28203 * sysdeps/i386/fpu/libm-test-ulps: Update.
28204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28205
28206 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28208
28209 * math/auto-libm-test-in: Add more tests of log2.
28210 * math/auto-libm-test-out: Regenerated.
28211 * sysdeps/i386/fpu/libm-test-ulps: Update.
28212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28213
28214 2015-03-23 Roland McGrath <roland@hack.frob.com>
28215
28216 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
28217 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
28218 _IO_IS_APPENDING bit in READ_WRITE instead.
28219
28220 2015-03-23 Florian Weimer <fweimer@redhat.com>
28221
28222 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
28223 (__determine_cpumask_size): Replace extend_alloca with a
28224 variable-length array. Do not treat res == 0 as an error.
28225
28226 2015-03-23 Florian Weimer <fweimer@redhat.com>
28227
28228 [BZ #18100]
28229 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
28230 and integer overflow.
28231 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
28232 (main): Add integer overflow tests.
28233 * manual/pattern.texi (Calling Wordexp): Document additional use
28234 for WRDE_SYNTAX.
28235
28236 2015-03-23 Alan Modra <amodra@gmail.com>
28237
28238 * config.h.in: Remove HAVE_ASM_PPC_REL16.
28239 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
28240 and false branch of conditional.
28241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28242 Likewise.
28243
28244 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
28245
28246 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
28247 libc-modules.h
28248 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
28249 unused declaration of _hurd_intr_rpc_msg_in_trap.
28250 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
28251 defined instead of whether it is non-zero.
28252 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
28253 input constraint instead of both input and output constraint. Use ecx
28254 clobber instead of %ecx.
28255 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
28256 mutex_unlock): Use a statement expression instead of an expression list.
28257 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
28258 type to vm_size_t instead of vm_address_t.
28259 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
28260 defined instead of whether it is non-zero.
28261 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
28262 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
28263 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
28264 comparisons with mapaddr.
28265 * nscd/nscd-client.h: Include <time.h>.
28266 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
28267 9th parameter to __vm_region instead of int.
28268 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
28269 * scripts/check-local-headers.sh (exclude): Add device/,
28270 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
28271 cthreads.h.
28272
28273 2015-03-19 Roland McGrath <roland@hack.frob.com>
28274
28275 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
28276 to account for alignment padding.
28277 * sysdeps/arm/memmove.S: Likewise.
28278
28279 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
28280
28281 * sysdeps/unix/sysv/linux/generic/README: New file.
28282
28283 2015-03-18 Joseph Myers <joseph@codesourcery.com>
28284
28285 [BZ #18138]
28286 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
28287 (futex_abstimed_wait)
28288 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
28289 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
28290 of lll_futex_timed_wait.
28291
28292 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
28293
28294 [BZ #17542]
28295 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
28296
28297 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
28298
28299 [BZ #17090]
28300 [BZ #17620]
28301 [BZ #17621]
28302 [BZ #17628]
28303 * NEWS: Update.
28304 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
28305 entries with Static TLS too. Skip entries past the end of the
28306 allocated DTV, from Alan Modra.
28307 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
28308 Static TLS DTV entry set up from...
28309 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
28310 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
28311 * nptl/allocatestack.c (init_one_static_tls): ... and here...
28312 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
28313 for Static TLS.
28314 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
28315 that the slot we find is associated with the given map before
28316 using its generation count.
28317 * nptl_db/db_info.c: Include ldsodefs.h.
28318 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
28319 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
28320 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
28321 (link_map::l_tls_offset): New struct field.
28322 (dtv_t::counter): Likewise.
28323 (rtld_global): New struct.
28324 (_rtld_global): New rtld variable.
28325 (dl_tls_dtv_slotinfo_list): New rtld global field.
28326 (dtv_slotinfo_list): New struct.
28327 (dtv_slotinfo): Likewise.
28328 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
28329 (td_lookup): Rename to...
28330 (td_mod_lookup): ... this. Use new mod parameter instead of
28331 LIBPTHREAD_SO.
28332 * nptl_db/td_thr_tlsbase.c: Include link.h.
28333 (dtv_slotinfo_list, dtv_slotinfo): New functions.
28334 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
28335 addresses even if the DTV is out of date or missing them.
28336 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
28337 index zero-length arrays.
28338 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
28339 (td_lookup): Make it a macro implemented in terms of...
28340 (td_mod_lookup): ... this declaration.
28341 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
28342 (DB_MAIN_VARIABLE): Likewise.
28343
28344 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
28345
28346 [BZ #18134]
28347 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28348
28349 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
28350
28351 * stdlib/setenv.c (__add_to_environ): Revert previous change.
28352
28353 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
28354
28355 [BZ #18128]
28356 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
28357 (atomic_add, atomic_increment_and_test)
28358 (atomic_decrement_and_test): Fix 64-bit arithmetic.
28359
28360 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
28361
28362 * stdlib/setenv.c (__add_to_environ):
28363 Dump core quickly if setenv (..., NULL, ...) is called.
28364
28365 2015-03-13 Roland McGrath <roland@hack.frob.com>
28366
28367 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
28368 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
28369 all the necessary asm magic in one place.
28370 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
28371 using those.
28372
28373 2015-03-13 Carlos O'Donell <carlos@redhat.com>
28374
28375 [BZ #14906]
28376 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
28377 traced file mtime. Use consistent log message.
28378 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
28379 (register_traced_file): Call install_watches. Always set mtime.
28380 (invalidate_cache): Iterate over all trace files. Call install_watches.
28381 (inotify_check_files): Don't inline. Handle watching parent
28382 directories and configuration file movement in and out.
28383 (handle_inotify_events): New function.
28384 (main_loop_poll): Call handle_inotify_events.
28385 (main_loop_epoll): Likewise.
28386 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
28387 (struct traced_file): Use array of inotify fds. Add parent directory,
28388 and basename.
28389 (struct database_dyn): Remove unused file_mtime.
28390 (init_traced_file): New inline function.
28391 (define_traced_file): New macro.
28392 * nss/nss_db/db-init.c: Use define_traced_file.
28393 (_nss_db_init): Use init_traced_file.
28394 * nss/nss_files/files-init.c: Use define_traced_file.
28395 (_nss_files_init): Use init_traced_file.
28396
28397 2015-03-12 Joseph Myers <joseph@codesourcery.com>
28398
28399 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
28400 [_LIBC]: Do not include <stdlib.h>.
28401 [!_LIBC] (abort): Remove declaration.
28402 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
28403 _FP_STATIC_ASSERT instead of conditionally calling abort.
28404 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
28405 (_FP_EXTEND_CNAN): Likewise.
28406 (FP_TRUNC): Likewise.
28407 (__FP_CLZ): Likewise.
28408 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
28409
28410 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
28411
28412 * manual/string.texi (XPG basename): Fix prototype.
28413
28414 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
28415
28416 [BZ #18080]
28417 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
28418 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28419 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
28420 (__setcontext): Likewise.
28421 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
28422 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28423 Call rt_sigprocmask syscall one time to set new signal mask
28424 and retrieve the current signal mask instead of two calls.
28425 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
28426 (__swapcontext): Likewise.
28427 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
28428 * stdlib/tst-setcontext2.c: New file.
28429
28430 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
28431
28432 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28433
28434 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
28435
28436 [BZ #18093]
28437 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
28438 the wrong size.
28439
28440 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
28441
28442 [BZ #18043]
28443 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
28444
28445 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28446
28447 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
28448 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
28449 Remove define.
28450 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
28451 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
28452 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
28453 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
28454 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
28455 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
28456 define.
28457 * nptl_db/td_symbol_list.c (td_lookup): Remove
28458 HAVE_ASM_GLOBAL_DOT_NAME code.
28459 * sysdeps/powerpc/powerpc64/configure.ac: Remove
28460 HAVE_ASM_GLOBAL_DOT_NAME check.
28461 * sysdeps/powerpc/powerpc64/configure: Regenerate.
28462 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
28463 (DOT_LABEL): Remove define.
28464 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
28465 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
28466 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
28467 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
28468 (__TLS_GET_ADDR): Likewise.
28469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
28470 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
28471
28472 2015-03-11 Carlos O'Donell <carlos@redhat.com>
28473
28474 [BZ #18111]
28475 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
28476 (_FPU_SETCW): Initialize cw from fpsr before storing.
28477 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
28478 (fesetexceptflag): Rewrite using fpu_control.h.
28479 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
28480
28481 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
28482
28483 [BZ #18110]
28484 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
28485 asms.
28486 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28487
28488 2015-03-11 Joseph Myers <joseph@codesourcery.com>
28489
28490 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
28491 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
28492 abort.
28493 (_FP_FMA): Likewise.
28494 (_FP_DIV): Likewise.
28495
28496 2015-03-10 Roland McGrath <roland@hack.frob.com>
28497
28498 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
28499 with 0 in that case.
28500 * Makefile (summarize-tests): New canned sequence, factored out of
28501 commands for targets tests and xtests. Display summary lines that
28502 don't start with PASS: or XFAIL: rather than ones that do start with
28503 ERROR: or FAIL:. Make the commands fail if any summary lines fail
28504 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
28505 do start with ERROR: or FAIL:.
28506 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
28507 (except for [$(build-shared) = yes]).
28508 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
28509 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
28510 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
28511 * nptl/Makefile: Revert 2015-03-04 changes.
28512 [$(CXX) empty] (tests-unsupported): New variable.
28513 * debug/Makefile: Likewise.
28514
28515 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
28516 gnulib file. Replace __attribute with __attribute__ throughout.
28517
28518 2015-03-10 Carlos O'Donell <carlos@redhat.com>
28519
28520 * sysdeps/hppa/fpu/libm-test-ulps: Update.
28521
28522 2015-03-10 Joseph Myers <joseph@codesourcery.com>
28523
28524 [BZ #18104]
28525 * math/auto-libm-test-in: Add another test of pow.
28526 * math/auto-libm-test-out: Regenerated.
28527
28528 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28529
28530 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
28531 $(config-cflags-nofma).
28532
28533 2015-03-10 Joseph Myers <joseph@codesourcery.com>
28534
28535 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
28536 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
28537 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
28538 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
28539 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
28540 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
28541 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
28542 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
28543 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
28544 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
28545 Add comment on closing #endif.
28546
28547 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28548
28549 * posix/wordexp.c (CHAR_IN_SET): New macro.
28550 (parse_param): Use it.
28551
28552 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28553
28554 * sysdeps/powerpc/fpu/libm-test-ulps: update.
28555
28556 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28557
28558 [BZ #18043]
28559 * posix/wordexp.c (parse_param): Fix buffer overflow.
28560 * posix/wordexp-test.c (test_case): Add test case.
28561
28562 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28563
28564 [BZ #18042]
28565 * posix/wordexp.c (parse_backtick): Fix off-by-one.
28566 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
28567
28568 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28569
28570 [BZ #18043]
28571 * posix/wordexp-test.c (test_case): Add test for BZ #18043
28572 (do_bz18043): Delete.
28573 (at_page_end): New.
28574 (testit): Refactor to have words at the edge of unreadable page.
28575
28576 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28577
28578 [BZ #16734]
28579 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
28580 Cleanup read-only streams as well.
28581 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
28582
28583 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
28584
28585 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
28586 <bits/libc-lockP.h>
28587
28588 2015-03-07 Joseph Myers <joseph@codesourcery.com>
28589
28590 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
28591 on [__KERNEL__].
28592 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
28593 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
28594 * soft-fp/op-common.h (_FP_DECL): Likewise.
28595
28596 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
28597
28598 * elf/ifuncdep2.c (global): Replace
28599 __attribute__((visibility("protected"))) with
28600 asm (".protected global").
28601 * elf/ifuncmod1.c (global): Likewise.
28602 * elf/ifuncmod5.c (global): Likewise.
28603
28604 2015-03-06 Joseph Myers <joseph@codesourcery.com>
28605
28606 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
28607 <asm/sfp-machine.h> instead of <sfp-machine.h>.
28608
28609 2015-03-06 Roland McGrath <roland@hack.frob.com>
28610
28611 * manual/install.texi (Configuring and compiling):
28612 Document test-wrapper-env-only.
28613 * INSTALL: Regenerated.
28614
28615 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28616
28617 [BZ #18043]
28618 * posix/wordexp.c (parse_param): Fix buffer overflow.
28619 * posix/wordexp-test.c (do_bz18043): Add test case.
28620
28621 2015-03-06 Vincent Bernat <vincent@bernat.im>
28622
28623 * time/tst-strptime2.c (do_test): Ensure failing tests are
28624 reported correctly.
28625 * time/tst-strptime3.c (do_test): Likewise.
28626
28627 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
28628
28629 Fix aio_error thread-safety.
28630 * sysdeps/pthread/aio_error.c: New file
28631 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
28632 synchronization.
28633
28634 2015-03-06 Florian Weimer <fweimer@redhat.com>
28635
28636 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
28637 (group_number, vfprintf): Use it.
28638 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
28639 (JUMP, REF): Use it.
28640 (WORK_BUFFER_SIZE): New enum constant.
28641 (process_arg, vfprintf): Use it.
28642
28643 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
28644
28645 * manual/errno.texi (Error Messages): Complete example function
28646 by adding missing #define.
28647 (program_invocation_name): Add statement indicating GNU
28648 extension and reference which header file declares the variable.
28649 (program_invocation_short_name): Likewise.
28650
28651 2015-03-06 Mike Frysinger <vapier@gentoo.org>
28652
28653 * manual/errno.texi (Error Messages): Delete strerror ISO C89
28654 compatibility note.
28655
28656 2015-03-05 Roland McGrath <roland@hack.frob.com>
28657
28658 * Makeconfig (test-wrapper-env-only): New variable.
28659 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
28660 then use that with $(test-wrapper-env-only) rather than using
28661 $(test-wrapper-env) $(run-program-env) $($*-ENV).
28662
28663 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
28664
28665 [BZ #18082]
28666 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
28667 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
28668 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
28669 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
28670 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
28671 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
28672 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
28673 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
28674 Likewise.
28675 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
28676 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
28677 Likewise.
28678 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
28679 Likewise.
28680 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
28681 Likewise.
28682 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
28683 Likewise.
28684 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
28685 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
28686 Likewise.
28687 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
28688 Likewise.
28689 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
28690 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
28691
28692 2015-03-04 Roland McGrath <roland@hack.frob.com>
28693
28694 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
28695 (ETH_ALEN): New macro.
28696 (struct ether_addr): Use it for length of ether_addr_octet.
28697
28698 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
28699 (setdb): Don't call __nss_configure_lookup for "rpc".
28700 (do_test): Don't call test_rpc.
28701 (output_rpcent, test_rpc): Functions moved ...
28702 * sunrpc/test-rpcent.c: ... to this new file.
28703 * sunrpc/Makefile (tests): Add it.
28704
28705 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
28706 __xpg_sigpause.
28707 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
28708 * nptl/tst-signal6.c: Likewise.
28709 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
28710 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
28711
28712 * configure.ac (libc_cv_cxx_link_ok): New check.
28713 Reset CXX to empty if it fails to link.
28714 * configure: Regenerated.
28715 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
28716 bug-atexit3-lib only if $(CXX) is nonempty.
28717 * nptl/Makefile (tests): Likewise for tst-cancel24.
28718 (tests, tests-static): Likewise for tst-cancel24-static.
28719 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
28720 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
28721 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
28722 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
28723
28724 2015-03-04 Andreas Schwab <schwab@suse.de>
28725
28726 [BZ #17631]
28727 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
28728 for non-GCC compilers.
28729 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28730 Likewise.
28731
28732 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28733
28734 [BZ #17776]
28735 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
28736 integer before bitwise and assembly operations.
28737 (feclearexcept): Likewise.
28738 * math/test-fenvinline.c: New file.
28739 * math/Makefile: Add test-fenvinline test.
28740
28741 2015-03-03 Alan Modra <amodra@gmail.com>
28742
28743 [BZ #16512]
28744 * scripts/localplt.awk: Strip off symbol version.
28745 * NEWS: Mention bug fix.
28746
28747 2015-03-02 Roland McGrath <roland@hack.frob.com>
28748
28749 * sysdeps/pthread/timer_routines.c
28750 (timer_free_list, thread_free_list, thread_active_list): Make static.
28751
28752 2015-03-02 Joseph Myers <joseph@codesourcery.com>
28753
28754 [BZ #17779]
28755 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28756 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28757 Undefine.
28758 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28759 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28760 Likewise.
28761 * sysdeps/unix/sysv/linux/sh/kernel-features.h
28762 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28763 Likewise.
28764
28765 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
28766
28767 [BZ #18036]
28768 * posix/fnmatch_loop.c (END): Detect invalid pattern.
28769 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
28770
28771 2015-03-02 Andreas Schwab <schwab@suse.de>
28772
28773 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
28774 variable name.
28775
28776 2015-03-02 Florian Weimer <fweimer@redhat.com>
28777
28778 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
28779 Return error status.
28780
28781 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
28782
28783 [BZ #15969]
28784 * locale/findlocale.c (_nl_find_locale): Introduce const
28785 version of loc_name and drop unsafe type casts.
28786
28787 2015-02-27 Roland McGrath <roland@hack.frob.com>
28788
28789 * dlfcn/tststatic2.c (main): Converted to ...
28790 (do_test): ... this.
28791 (TEST_FUNCTION): New macro.
28792 Include test-skeleton.c.
28793
28794 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
28795
28796 [BZ #17711]
28797 * elf/Makefile (tests): Add vismain only if PIE is enabled.
28798 (tests-pie): Add vismain.
28799 (CFLAGS-vismain.c): New.
28800 * elf/vismain.c: Add comments for PIE requirement.
28801
28802 2015-02-27 Joseph Myers <joseph@codesourcery.com>
28803
28804 [BZ #18046]
28805 [BZ #18047]
28806 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
28807 0x1p-56L as threshold for just returning the argument.
28808 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
28809 0x1p-32L as threshold for just returning the argument.
28810 * math/auto-libm-test-in: Add more tests of atanh.
28811 * math/auto-libm-test-out: Regenerated.
28812 * sysdeps/i386/fpu/libm-test-ulps: Update.
28813 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
28814
28815 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
28816
28817 * string/bcopy.c (bcopy): Call memmove for performance.
28818
28819 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
28820
28821 * string/bzero.c (__bzero): Call memset for performance.
28822
28823 2015-02-27 John David Anglin <dave.anglin@bell.net>
28824
28825 [BZ #18068]
28826 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
28827 to 00100000.
28828
28829 2015-02-27 Joseph Myers <joseph@codesourcery.com>
28830
28831 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
28832
28833 2015-02-26 Joseph Myers <joseph@codesourcery.com>
28834
28835 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
28836 (__kernel_standard): Use CSTR macro when setting exc.name.
28837 * sysdeps/ieee754/Makefile [$(subdir) = math]
28838 (CFLAGS-k_standard.c): Remove variable.
28839
28840 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
28841 setting p and q from "else if" to "else".
28842 (qzero): Likewise.
28843 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
28844 (qone): Likewise.
28845 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
28846 (qzerof): Likewise.
28847 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
28848 (qonef): Likewise.
28849 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
28850 (qzero): Likewise.
28851 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
28852 (qone): Likewise.
28853
28854 [BZ #18038]
28855 [BZ #18039]
28856 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
28857 return pi/2 for arguments below 0x1p-113L.
28858 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
28859 return pi/2 for arguments below 0x1p-106L.
28860 * math/auto-libm-test-in: Add more tests of acos.
28861 * math/auto-libm-test-out: Regenerated.
28862
28863 [BZ #16351]
28864 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
28865 (MO): New macro.
28866 (__ieee754_asin): Force underflow exception for results with small
28867 absolute value.
28868 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
28869 (MO): New macro.
28870 (__ieee754_asinf): Force underflow exception for results with
28871 small absolute value.
28872 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
28873 (__ieee754_asin): Force underflow exception for results with small
28874 absolute value.
28875 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
28876 (__ieee754_asinf): Force underflow exception for results with
28877 small absolute value.
28878 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
28879 (__ieee754_asinl): Force underflow exception for results with
28880 small absolute value.
28881 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28882 (__ieee754_asinl): Force underflow exception for results with
28883 small absolute value.
28884 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28885 (__ieee754_asinl): Force underflow exception for results with
28886 small absolute value.
28887 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28888 Include <math.h>.
28889 * math/auto-libm-test-in: Do not mark underflow exceptions as
28890 possibly missing for bug 16351.
28891 * math/auto-libm-test-out: Regenerated.
28892
28893 [BZ #18030]
28894 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28895 of power of 2 down when low part has opposite sign.
28896 * math/libm-test.inc (logb_test_data): Add more tests.
28897
28898 2015-02-26 Andreas Schwab <schwab@suse.de>
28899
28900 [BZ #18032]
28901 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28902 over collating symbol inside a bracket expression. Minor cleanup.
28903 * posix/tst-fnmatch3.c (do_test): Add test case.
28904
28905 2015-02-26 Joseph Myers <joseph@codesourcery.com>
28906
28907 [BZ #18029]
28908 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28909 Adjust exponent of power of 2 down when low part has opposite
28910 sign.
28911 * math/libm-test.inc (ilogb_test_data): Add more tests.
28912
28913 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
28914
28915 [BZ #15969]
28916 * locale/findlocale.c (_nl_find_locale): Fix constness error in
28917 the previous change.
28918
28919 [BZ #15969]
28920 * locale/findlocale.c (_nl_find_locale): Retry archive search
28921 after alias expansion.
28922
28923 2015-02-25 Roland McGrath <roland@hack.frob.com>
28924
28925 * iconv/tst-iconv3.c (main): Converted to ...
28926 (do_test): ... this.
28927 (TEST_FUNCTION): New macro.
28928 Include test-skeleton.c.
28929
28930 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28931 (convert): Make function static.
28932 (test_unalign): Likewise. Add const to argument pointee types.
28933 (main): Replace with static function do_test.
28934 Print "Succeeded." only if RET is zero.
28935 (TEST_FUNCTION): New macro.
28936 Include test-skeleton.c.
28937
28938 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28939 returns a null pointer.
28940
28941 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28942
28943 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28944 to __memcpy_ppc only for static builds.
28945
28946 2015-02-25 Joseph Myers <joseph@codesourcery.com>
28947
28948 [BZ #18020]
28949 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28950 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28951 * math/auto-libm-test-in: Add more tests of asinh.
28952 * math/auto-libm-test-out: Regenerated.
28953 * sysdeps/i386/fpu/libm-test-ulps: Update.
28954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28955
28956 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
28957
28958 [BZ #15850]
28959 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28960 and ip6_mtuinfo definitions here.
28961 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28962 in this define too. Update comment.
28963
28964 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
28965
28966 * elf/sprof.c (load_shobj): Tweak error message to match others.
28967
28968 2015-02-24 Kevin Easton <kevin@guarana.org>
28969
28970 [BZ #16145] (partial fix)
28971 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28972 to reduce lock contention.
28973
28974 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
28975
28976 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28977 (struct timex): Update time comment.
28978 (ADJ_SETOFFSET): Define.
28979
28980 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28981
28982 [BZ #18019]
28983 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28984 2**56 not 2**28 as threshold for log (2x) formula.
28985 * math/auto-libm-test-in: Add more tests of acosh.
28986 * math/auto-libm-test-out: Regenerated.
28987 * sysdeps/i386/fpu/libm-test-ulps: Update.
28988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28989
28990 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28991
28992 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28993 parenthesis around the buf assignment.
28994 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28995
28996 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28997
28998 [BZ #16783]
28999 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
29000 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
29001 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
29002 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
29003 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
29004 * math/libm-test.inc (scalb_test_data): Add more tests.
29005
29006 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
29007
29008 [BZ #17916]
29009 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
29010 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
29011
29012 2015-02-24 Eric Rannaud <e@nanocritical.com>
29013
29014 [BZ #17523]
29015 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
29016 * io/bits/fcntl2.h (open): Use it.
29017 (openat): Likewise.
29018 * io/open.c (__libc_open): Likewise.
29019 * io/open64.c (__libc_open64): Likewise.
29020 * io/open64_2.c (__open64_2): Likewise.
29021 * io/open_2.c (__open_2): Likewise.
29022 * io/openat.c (__openat): Likewise.
29023 * io/openat64.c (__openat64): Likewise.
29024 * io/openat64_2.c (__openat64_2): Likewise.
29025 * io/openat_2.c (__openat_2): Likewise.
29026 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
29027 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
29028 * sysdeps/posix/open64.c (__libc_open64): Likewise.
29029 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29030 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
29031 (__open_nocancel): Likewise.
29032 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
29033 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
29034 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
29035
29036 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29037
29038 [BZ #14841]
29039 * resolv/gethnamaddr.c (getanswer): Skip logging if
29040 RES_USE_DNSSEC is set.
29041 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29042
29043 2015-02-24 Mike Frysinger <vapier@gentoo.org>
29044
29045 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
29046
29047 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
29048
29049 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
29050 201304L, for Unicode 7.
29051
29052 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
29053
29054 [BZ #17836]
29055 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
29056 shared library. Add gmon-start.os otherwise.
29057 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
29058 $(objpfx)gmon-start.os if builing shared library.
29059 ($(objpfx)g$(static-start-installed-name)): Likewise.
29060
29061 2015-02-23 Andreas Schwab <schwab@suse.de>
29062
29063 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
29064
29065 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29066
29067 [BZ #17269]
29068 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
29069 (enlarge_userbuf): Likewise.
29070
29071 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
29072
29073 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
29074 * math/atest-exp.c (TIMEOUT): Adjust to 200.
29075 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
29076 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
29077
29078 2015-02-20 Joseph Myers <joseph@codesourcery.com>
29079
29080 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
29081 expression inside statement expression.
29082
29083 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
29084
29085 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
29086 <sysdeps/nptl/lowlevellock.h> and remove macros and
29087 functions that are now defined there.
29088 (SYS_futex): Remove.
29089 (lll_compare_and_swap): Remove.
29090 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
29091
29092 2015-02-19 Joseph Myers <joseph@codesourcery.com>
29093
29094 [BZ #17999]
29095 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
29096 instead of scandirat.
29097 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
29098 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
29099 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
29100 __scandirat.
29101 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
29102 (__scandirat): Declare. Use libc_hidden_proto.
29103 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
29104 Remove variable.
29105 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29106
29107 2015-02-18 Joseph Myers <joseph@codesourcery.com>
29108
29109 [BZ #15319]
29110 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
29111 (MO): New macro.
29112 (__ieee754_atan2): For results with small absolute value, force
29113 underflow exception and remove excess range and precision from
29114 return value.
29115 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
29116 (MO): New macro.
29117 (__ieee754_atan2f): For results with small absolute value, force
29118 underflow exception and remove excess range and precision from
29119 return value.
29120 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
29121 (MO): New macro.
29122 (__atan): For results with small absolute value, force underflow
29123 exception and remove excess range and precision from return value.
29124 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
29125 (MO): New macro.
29126 (__atanf): For results with small absolute value, force underflow
29127 exception and remove excess range and precision from return value.
29128 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
29129 <math.h>.
29130 (__ieee754_atan2): Force underflow exception for results with
29131 small absolute value.
29132 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
29133 <math_private.h>.
29134 (atan): Force underflow exception for results with small absolute
29135 value.
29136 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
29137 (__atanf): Force underflow exception for results with small
29138 absolute value.
29139 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
29140 <math.h>.
29141 (__atanl): Force underflow exception for results with small
29142 absolute value.
29143 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
29144 (__atanl): Force underflow exception for results with small
29145 absolute value.
29146 * sysdeps/x86/fpu/bits/mathinline.h
29147 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
29148 (__ieee754_atan2): Only define inline for long double.
29149 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29150 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
29151 * math/auto-libm-test-in: Do not mark underflow exceptions as
29152 possibly missing for bug 15319. Add more tests of atan2.
29153 * math/auto-libm-test-out: Regenerated.
29154 * math/libm-test.inc (casin_test_data): Do not mark underflow
29155 exceptions as possibly missing for bug 15319.
29156 (casinh_test_data): Likewise.
29157 * sysdeps/i386/fpu/libm-test-ulps: Update.
29158
29159 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
29160
29161 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
29162 * sysdeps/mips/bits/endian.h: Fix comments.
29163
29164 2015-02-18 Joseph Myers <joseph@codesourcery.com>
29165
29166 [BZ #17996]
29167 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
29168 (hdestroy_r): Likewise.
29169 (hsearch_r): Likewise.
29170 (__hcreate_r): Declare and use libc_hidden_proto.
29171 (__hdestroy_r): Likewise.
29172 (__hsearch_r): Likewise.
29173 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
29174 (hcreate): Call __hcreate_r instead of hcreate_r.
29175 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
29176 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
29177 as weak alias of __hcreate_r.
29178 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
29179 __hdestroy_r.
29180 (hsearch_r): Rename to __hsearch_r and define as weak alias of
29181 __hsearch_r.
29182 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
29183 Remove variable.
29184 (test-xfail-XPG4/search.h/linknamespace): Likewise.
29185 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29186 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29187 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29188
29189 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29190
29191 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
29192 arena_lock into a single arena_get.
29193
29194 2015-02-17 Carlos O'Donell <carlos@redhat.com>
29195
29196 * dl-reloc.c: Inlucde libc-internal.h.
29197 (_dl_try_allocate_static_tls): Call ALIGN_UP.
29198 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
29199 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
29200 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
29201 (grow_heap): Likewise.
29202 * malloc/malloc.c: Include libc-internal.h.
29203 (do_check_malloc): Call powerof2.
29204 (sysmalloc): Use pagesize. Call ALIGN_UP.
29205 (systrim): Use pagesize.
29206 (mremap_chunk): Use pagesize. Call ALIGN_UP.
29207 (__libc_valloc): Use pagesize.
29208 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
29209
29210 2015-02-17 Joseph Myers <joseph@codesourcery.com>
29211
29212 [BZ #17991]
29213 * include/sys/resource.h (__getrlimit64): Declare. Use
29214 libc_hidden_proto.
29215 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
29216 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
29217 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
29218 getrlimit64.
29219 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
29220 __getrlimit64.
29221 [!getrlimit64] (getrlimit64): Define as weak alias of
29222 __getrlimit64. Use libc_hidden_weak.
29223 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
29224 using __getrlimit64 not __new_getrlimit64.
29225 (__GI_getrlimit64): Likewise.
29226 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
29227 Likewise.
29228 (__GI_getrlimit64): Likewise.
29229 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
29230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
29231 (getrlimit): Add __getrlimit64 alias.
29232 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
29233 Likewise.
29234 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
29235 Remove variable.
29236 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29237 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29238
29239 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
29240
29241 * libio/fileops.c: Add missing sys/mman.h
29242 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
29243
29244 2015-02-17 Joseph Myers <joseph@codesourcery.com>
29245
29246 * manual/math.texi (Errors in Math Functions): Clarify goals
29247 regarding inexact and underflow exceptions.
29248
29249 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
29250
29251 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
29252 * sysdeps/mips/memset.S: Ditto.
29253
29254 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
29255
29256 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
29257
29258 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
29259
29260 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
29261 (__v1longjmp): Remove versioned symbol.
29262 (__v1siglongjmp): Remove alias and versioned symbol.
29263 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
29264 (__v2siglongjmp): Likewise.
29265
29266 2015-02-16 Torvald Riegel <triegel@redhat.com>
29267
29268 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
29269
29270 2015-02-16 Mike Frysinger <vapier@gentoo.org>
29271
29272 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
29273
29274 2015-02-16 Joseph Myers <joseph@codesourcery.com>
29275
29276 [BZ #17987]
29277 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
29278 zero result does not depend on the sign resulting from
29279 subtraction.
29280 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29281 Likewise.
29282 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29283 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29284 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29285 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29286 * math/libm-test.inc (remquo_test_data): Add more tests.
29287
29288 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
29289
29290 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
29291 Problem reported by J William Piggott.
29292
29293 2015-02-16 Joseph Myers <joseph@codesourcery.com>
29294
29295 [BZ #17978]
29296 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
29297 products 4 * y and 2 * y where those would overflow.
29298 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29299 Likewise.
29300 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29301 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29302 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29303 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29304 * math/libm-test.inc (remquo_test_data): Add more tests.
29305
29306 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
29307
29308 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
29309 [defined _COMPILING_NEWLIB].
29310 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
29311 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
29312
29313 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
29314 [!defined __mips_isa_rev || __mips_isa_rev < 6].
29315
29316 2015-02-16 Torvald Riegel <triegel@redhat.com>
29317
29318 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
29319 acquired.
29320
29321 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
29322
29323 [BZ #17792]
29324 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
29325 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
29326 HOST_STACK_END_ADDR): Likewise.
29327
29328 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
29329
29330 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
29331 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
29332 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
29333
29334 2015-02-13 Roland McGrath <roland@hack.frob.com>
29335
29336 * sysdeps/generic/c++-types.data: New file.
29337 * sysdeps/generic/ld.abilist: New file.
29338 * sysdeps/generic/libBrokenLocale.abilist: New file.
29339 * sysdeps/generic/libanl.abilist: New file.
29340 * sysdeps/generic/libc.abilist: New file.
29341 * sysdeps/generic/libcrypt.abilist: New file.
29342 * sysdeps/generic/libdl.abilist: New file.
29343 * sysdeps/generic/libm.abilist: New file.
29344 * sysdeps/generic/libpthread.abilist: New file.
29345 * sysdeps/generic/libresolv.abilist: New file.
29346 * sysdeps/generic/librt.abilist: New file.
29347
29348 2015-02-13 Joseph Myers <joseph@codesourcery.com>
29349
29350 [BZ #17569]
29351 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29352 Compute absolute value of x as modified by fmod, not original
29353 value of x.
29354 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
29355 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
29356 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
29357 RUN_TEST_ffI_f1_mod8.
29358 (remquo_test_data): Add more tests.
29359
29360 2015-02-13 Roland McGrath <roland@hack.frob.com>
29361
29362 * sysdeps/init_array/pt-crti.S: New file.
29363
29364 2015-02-13 Joseph Myers <joseph@codesourcery.com>
29365
29366 [BZ #17967]
29367 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
29368 __builtin_fmaf instead of relying on contraction of a * b + c.
29369
29370 2015-02-12 J William Piggott <elseifthen@gmx.com>
29371
29372 [BZ #17969]
29373 * manual/time.texi: correct the zoneinfo path in the TZ Variable
29374 node.
29375
29376 2015-02-12 Joseph Myers <joseph@codesourcery.com>
29377
29378 [BZ #17964]
29379 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
29380 __builtin_fma instead of relying on contraction of a * b + c.
29381
29382 2015-02-12 Roland McGrath <roland@hack.frob.com>
29383
29384 * Makeconfig (ASFLAGS): Add -Werror=undef.
29385 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
29386 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
29387 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
29388
29389 * Makeconfig (after-link): New variable.
29390 (+link-pie, +link-pie-tests): Use it.
29391 (+link-static, +link-static-tests): Likewise.
29392 (+link, +link-tests): Likewise.
29393 * Makerules (build-module, build-module-asneeded): Likewise.
29394 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
29395 Likewise.
29396 * elf/Makefile ($(objpfx)ld.so): Likewise.
29397
29398 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
29399
29400 [BZ #17965]
29401 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
29402 both struct timeval and struct timespec.
29403
29404 2015-02-12 Joseph Myers <joseph@codesourcery.com>
29405
29406 [BZ #16560]
29407 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29408 and redefine.
29409 (__ieee754_exp2l): Do not multiply small fractional parts by
29410 M_LN2l.
29411 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
29412 small argument.
29413 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29414 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29415 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
29416 * math/auto-libm-test-in: Add more tests of exp2.
29417 * math/auto-libm-test-out: Regenerated.
29418
29419 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29420
29421 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
29422 unaligned path.
29423
29424 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29425
29426 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
29427 little endian.
29428
29429 2015-02-12 Andreas Schwab <schwab@suse.de>
29430
29431 [BZ #15790]
29432 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29433 Filter out elision flags from value returned in kind.
29434 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
29435 * nptl/tst-pthread-mutexattr.c: New file.
29436
29437 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
29438
29439 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
29440 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
29441 into gnu-gnu, and update comment to refer to abi-tags.
29442
29443 2015-02-11 Joseph Myers <joseph@codesourcery.com>
29444
29445 [BZ #15467]
29446 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
29447 (__sincos): Set errno to EDOM for infinite argument.
29448 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
29449 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
29450 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
29451 (__sincosl): Set errno to EDOM for infinite argument.
29452 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
29453 (__sincosl): Set errno to EDOM for infinite argument.
29454 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
29455 (__sincosl): Set errno to EDOM for infinite argument.
29456 * math/libm-test.inc (sincos_test_data): Test errno setting.
29457
29458 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
29459
29460 * string/strxfrm_l.c: Remove #define STRCMP.
29461 * string/strcoll_l.c: Remove #define STRLEN.
29462 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
29463 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
29464
29465 2015-02-10 Joseph Myers <joseph@codesourcery.com>
29466
29467 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
29468 * sysdeps/mips/mips32/sfp-machine.h: ... here.
29469 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
29470 * sysdeps/mips/mips64/Makefile: ... here.
29471 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
29472 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
29473 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
29474 * sysdeps/mips/mips64/sfp-machine.h: ... here.
29475 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
29476 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
29477 * sysdeps/mips/mips64/n64/Implies: Likewise.
29478
29479 2015-02-10 Roland McGrath <roland@hack.frob.com>
29480
29481 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
29482 <sys/time.h>, <string.h>, and <errno.h>.
29483 (dest_offset, dest_address, value, zero): Remove unused variables.
29484 (ldouble): Remove typedef.
29485 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
29486 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
29487 1). Fix code style.
29488 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
29489 (check): Function removed.
29490 (CHECK): New macro.
29491 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
29492 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
29493 Don't call set_sigaction_FP and remove_sigaction_FP here.
29494 (ldouble_test): Just use 'long double' as macro argument, no need for
29495 the 'ldouble' typedef.
29496 (do_test): Set up SIGFPE handler at start, using plain signal rather
29497 than sigaction. Fix code style.
29498
29499 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
29500
29501 [BZ #17949]
29502 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
29503 jump label.
29504
29505 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29506
29507 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
29508 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29509
29510 * sysdeps/powerpc/configure.ac: Remove file.
29511 * sysdeps/powerpc/configure: Likewise.
29512
29513 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29514 [sysdep_routines]: Remove wordcopy-power6 object.
29515 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29516 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
29517 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
29518 (__memmove_ppc32): Likewise.
29519 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
29520 file.
29521 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
29522 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
29523 Remove preprocessor.
29524
29525 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29526 [sysdep_routines]: Remove wide chars objects.
29527 [wcsmbs]: New rule for wide char objects.
29528
29529 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29530 Remove wordcopy-power6 obejct.
29531 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
29532 Use local call for wordcopy and memcpy symbols.
29533 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
29534 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
29535 implementation for loader.
29536 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
29537
29538 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29539 Remove wordcopy-power7 object.
29540 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
29541 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
29542 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
29543 (_wordcopy_fwd_dest_aligned): Likewise.
29544 (_wordcopy_bwd_aligned): Likewise.
29545 (_wordcopy_bwd_dest_aligned): Likewise.
29546
29547 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
29548 Rewrite to call __memmove_ppc instead of include default
29549 implementation.
29550
29551 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29552 Remove wide chars objects.
29553 [wcsmbs]: New rule for wide char objects.
29554
29555 2015-02-09 Andreas Schwab <schwab@suse.de>
29556
29557 [BZ #17912]
29558 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29559 in terms of __O_DIRECTORY.
29560
29561 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29562
29563 * time/getdate.c: Include <stdbool.h>.
29564 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
29565 call PTR_MANGLE.
29566 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
29567 PTR_DEMANGLE.
29568
29569 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
29570
29571 Add ersatz _Static_assert on older C hosts
29572 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
29573 pre-C11 C platform that is not known to support _Static_assert.
29574
29575 2015-02-07 Richard Braun <rbraun@sceen.net>
29576
29577 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
29578 sigstate.
29579 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
29580
29581 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29582
29583 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
29584 priority against unexistent AIO_PRIO_DELTA_MAX.
29585 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
29586 instead of int.
29587 * misc/fchflags.c (fchflags): Likewise.
29588 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
29589 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
29590 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
29591 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
29592 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
29593 Declare macros.
29594 [__USE_MISC] (chflags, fchflags): Declare functions.
29595 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
29596 EINVAL when nfds is greater than FD_SETSIZE.
29597 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
29598 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
29599 45.
29600 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
29601 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
29602 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
29603 MACH_RCV_TIMED_OUT.
29604 * hurd/hurd/signal.h (_hurd_self_sigstate,
29605 _hurd_critical_section_lock, _hurd_critical_section_unlock):
29606 Explicit casts from void *.
29607 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
29608 * abi-tags: Rename gnu-gnu os into gnu.
29609
29610 [BZ #4719]
29611 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
29612 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
29613 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
29614 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
29615 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
29616 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
29617
29618 [BZ #17944]
29619 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
29620 duplicates ADDR->sun_path with sockaddr LEN limitation.
29621 * sysdeps/mach/hurd/connect.c: Include <string.h>
29622 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
29623 * sysdeps/mach/hurd/sendmsg.c: Likewise.
29624 * sysdeps/mach/hurd/sendto.c: Likewise.
29625 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
29626 implementing it by hand.
29627
29628 2015-02-06 Roland McGrath <roland@hack.frob.com>
29629
29630 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
29631 Use sfi_breg on ldr.
29632 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
29633 Likewise.
29634
29635 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
29636 it's defined.
29637 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
29638 Test SIGSETXID only if it's defined.
29639
29640 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
29641
29642 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
29643 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
29644
29645 * nptl/tst-align2.c: Moved ...
29646 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
29647 * nptl/Makefile (tests): Remove tst-align2.
29648 * sysdeps/unix/sysv/linux/Makefile
29649 [$(subdir) = nptl] (tests): Add tst-align-clone.
29650 * nptl/tst-getpid1.c: Moved ...
29651 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
29652 * nptl/tst-getpid2.c: Moved ...
29653 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
29654 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
29655 * sysdeps/unix/sysv/linux/Makefile
29656 [$(subdir) = nptl] (tests): ... here.
29657 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
29658 * sysdeps/unix/sysv/linux/Makefile
29659 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
29660
29661 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
29662 Drop trailing \n from perror argument. Use return rather than exit.
29663
29664 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
29665 on [SA_SIGINFO].
29666 * nptl/tst-cancel21.c (do_test): Likewise.
29667 * debug/tst-backtrace6.c: Include <signal.h> first thing.
29668 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
29669 [!SA_SIGINFO]: Make it a stub test.
29670
29671 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
29672 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
29673
29674 * posix/tst-getlogin.c: Move to ...
29675 * login/tst-getlogin.c: ... here.
29676 * posix/Makefile (tests): Move tst-getlogin to ...
29677 * login/Makefile (tests): ... here.
29678
29679 * libio/tst-atime.c (do_test): Move local variables SV and E
29680 inside [ST_NOATIME] conditional.
29681
29682 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
29683
29684 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
29685
29686 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
29687 (wait_code): New function replaces macro.
29688 Call nanosleep rather than syscall.
29689
29690 * nptl/pt-system.c: Rewritten. Put everything under
29691 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29692 Use IFUNC to redirect when possible.
29693
29694 * nptl/pt-longjmp.c: Rewritten. Put everything under
29695 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29696 Use IFUNC to redirect when possible.
29697
29698 * nptl/pt-fork.c: Rewritten. Put everything under
29699 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29700 Use IFUNC to redirect when possible.
29701 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
29702
29703 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
29704 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
29705 unconditionally nowadays. This included the only reference to
29706 __vdso_clock_gettime that appears outside libc proper.
29707 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
29708 Remove version set (containing only __vdso_clock_gettime).
29709 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29710 Add attribute_hidden.
29711 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29712 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
29713 libc_hidden_data_def.
29714 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29715 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29716
29717 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
29718 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
29719 setrpcent, and getrpcport to ...
29720 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
29721 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
29722 getrpcbynumber_r, and getrpcent_r to ...
29723 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
29724 * inet/getrpcbyname.c: Moved ...
29725 * sunrpc/getrpcbyname.c: ... here.
29726 * inet/getrpcbyname_r.c: Moved ...
29727 * sunrpc/getrpcbyname_r.c: ... here.
29728 * inet/getrpcbynumber.c: Moved ...
29729 * sunrpc/getrpcbynumber.c: ... here.
29730 * inet/getrpcbynumber_r.c: Moved ...
29731 * sunrpc/getrpcbynumber_r.c: ... here.
29732 * inet/getrpcent.c: Moved ...
29733 * sunrpc/getrpcent.c: ... here.
29734 * inet/getrpcent_r.c: Moved ...
29735 * sunrpc/getrpcent_r.c: ... here.
29736 * inet/Makefile (routines): Move those to ...
29737 * sunrpc/Makefile (routines): ... here.
29738 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
29739 the $(subdirs) list.
29740 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
29741 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
29742 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
29743 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
29744
29745 * elf/Makefile (routines): Include $(all-dl-routines), not just
29746 $(dl-routines).
29747 (rtld-routines): Likewise. Use = rather than :=.
29748 * sysdeps/aarch64/Makefile [$(subdir) = elf]
29749 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
29750 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
29751 * sysdeps/arm/Makefile: Likewise.
29752 * sysdeps/i386/Makefile: Likewise.
29753 * sysdeps/x86_64/Makefile: Likewise.
29754 * sysdeps/hppa/Makefile [$(subdir) = elf]
29755 (sysdep_routines, sysdep-rtld-routines): Don't add
29756 $(sysdep-dl-routines) to these.
29757 * sysdeps/ia64/Makefile: Likewise.
29758 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
29759 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
29760 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
29761 Don't add dl-static to these; sysdep-dl-routines alone is enough.
29762 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
29763 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
29764 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
29765 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
29766 * sysdeps/powerpc/Makefile [$(subdir) = elf]
29767 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
29768 these; sysdep-dl-routines alone is enough.
29769
29770 2015-02-06 Joseph Myers <joseph@codesourcery.com>
29771
29772 [BZ #17932]
29773 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
29774 where multiplication results in zero and third argument is finite
29775 and nonzero.
29776 * math/auto-libm-test-in: Add more tests of fma.
29777 * math/auto-libm-test-out: Regenerated.
29778
29779 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
29780 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
29781 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
29782 (_FP_CMP_EQ): Likewise.
29783 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
29784
29785 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
29786 extra argument CHECK_NAN. Redefine as wrapper around
29787 _FP_EXTEND_CNAN.
29788
29789 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
29790
29791 * version.h (RELEASE): Set to "stable".
29792 (VERSION): Set to "2.21"
29793 * include/features.h (__GLIBC_MINOR__): Set to 21.
29794
29795 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
29796
29797 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29798 Paul Eggert <eggert@cs.ucla.edu>
29799
29800 [BZ #16618]
29801 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
29802 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
29803 size in bytes. Store needed elements in wpmax. Use needed size
29804 in bytes for extend_alloca.
29805
29806 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
29807
29808 * manual/install.texi: Latest tested versions are GCC 4.9.2,
29809 binutls 2.25, and texinfo 5.2.
29810 * INSTALL: Regenerate.
29811 * sysdeps/nios2/configure: Regenerate.
29812 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
29813 * manual/contrib.texi: Update.
29814 * po/be.po: Update.
29815 * po/bg.po: Update.
29816 * po/ca.po: Update.
29817 * po/cs.po: Update.
29818 * po/da.po: Update.
29819 * po/de.po: Update.
29820 * po/el.po: Update.
29821 * po/eo.po: Update.
29822 * po/es.po: Update.
29823 * po/fi.po: Update.
29824 * po/fr.po: Update.
29825 * po/gl.po: Update.
29826 * po/hr.po: Update.
29827 * po/hu.po: Update.
29828 * po/ia.po: Update.
29829 * po/id.po: Update.
29830 * po/it.po: Update.
29831 * po/ja.po: Update.
29832 * po/ko.po: Update.
29833 * po/lt.po: Update.
29834 * po/nb.po: Update.
29835 * po/nl.po: Update.
29836 * po/pl.po: Update.
29837 * po/pt_BR.po: Update.
29838 * po/ru.po: Update.
29839 * po/rw.po: Update.
29840 * po/sk.po: Update.
29841 * po/sl.po: Update.
29842 * po/sv.po: Update.
29843 * po/tr.po: Update.
29844 * po/uk.po: Update.
29845 * po/vi.po: Update.
29846 * po/zh_CN.po: Update.
29847 * po/zh_TW.po: Update.
29848
29849 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
29850 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
29851 * sysdeps/hppa/dl-irel.h: Remove #warning.
29852 * sysdeps/hppa/entry.h: Provide prototype for
29853 __canonicalize_funcptr_for_compare and cast argument.
29854 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
29855 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
29856 * sysdeps/hppa/sotruss-lib.c: New file.
29857 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
29858 (atomic_compare_and_exchange_val_acq): Use __typeof__.
29859 (atomic_compare_and_exchange_bool_acq): Likewise.
29860 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
29861 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
29862
29863 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
29864 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
29865 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
29866
29867 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
29868
29869 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
29870 called function in non-PIC case.
29871
29872 2015-01-31 David S. Miller <davem@davemloft.net>
29873
29874 * sysdeps/sparc/sparc32/bits/atomic.h
29875 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
29876 unlock not after it.
29877 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
29878 volatile register usage warnings from the compiler.
29879
29880 * sysdeps/sparc/nptl/sem_init.c: Delete.
29881 * sysdeps/sparc/nptl/sem_post.c: Delete.
29882 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29883 * sysdeps/sparc/nptl/sem_wait.c: Delete.
29884 * sysdeps/sparc/sparc32/sem_init.c: New file.
29885 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29886 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29887 padding explicitly initialized.
29888 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29889 padding for in-semaphore spinlock.
29890 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29891 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29892 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29893 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29894 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29895 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29896 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29897 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29898 version.
29899 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29900 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29901
29902 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
29903
29904 [BZ #17801]
29905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29906 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29907 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29908 New.
29909 (index_AVX_Fast_Unaligned_Load): Likewise.
29910 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29911 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29912 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29913 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29914 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29915 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29916 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29917 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29918 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29919
29920 2015-01-29 Andreas Schwab <schwab@suse.de>
29921
29922 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29923
29924 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29925
29926 [BZ #17892]
29927 * nscd/nscd_stat.c (send_stats): Initialize DATA.
29928
29929 2015-01-28 Martin Sebor <msebor@redhat.com>
29930
29931 * math/README.libm-test: Clarify. Add "How to read the test output."
29932
29933 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
29934
29935 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29936 Define to 0.
29937
29938 2015-01-28 Joseph Myers <joseph@codesourcery.com>
29939
29940 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29941 (__HAVE_64B_ATOMICS): Define to 0.
29942
29943 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29944
29945 [BZ #17885]
29946 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29947 value to set as new flag.
29948
29949 [BZ #16576]
29950 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29951 and use _ARCH_PPCSQ instead.
29952 (__ieee754_sqrt): Likewise.
29953 (__ieee754_sqrtf): Likewise.
29954 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29955 _ARCH_PPCSQ is defined.
29956 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29957 fsqrt instruction.
29958 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29959 _ARCH_PPCSQ is defined.
29960 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29961 fsqrts instruction.
29962 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29963
29964 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29965
29966 * iconv/loop.c: Suppress array out of bound warning caused by GCC
29967 bug (GCC BZ #64739).
29968
29969 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
29970
29971 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29972 Mark _retval as used.
29973 (lll_futex_wake_unlock): Likewise.
29974 (lll_futex_timed_wait_requeue_pi): Likewise.
29975
29976 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29977 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29978 register variables.
29979
29980 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29981 libm_hidden_def.
29982
29983 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29984 (__bswap_64): Mark as __always_inline.
29985
29986 2015-01-25 Bram <bug_rh@spam.wizbit.be>
29987
29988 [BZ #15378]
29989 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29990 when none of the search directories exist.
29991
29992 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29993
29994 [BZ #17869]
29995 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29996 power8 in .machine directive.
29997
29998 [BZ #17868]
29999 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
30000 set dependency from opd value.
30001
30002 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
30003
30004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30005 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
30006 architecture.
30007
30008 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
30009
30010 [BZ #17870]
30011 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
30012 with uint64_t.
30013 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
30014 (uint64_t) 1.
30015 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
30016 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
30017 Replace 1UL with (uint64_t) 1.
30018 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
30019 int with uint64_t.
30020
30021 2015-01-23 Roland McGrath <roland@hack.frob.com>
30022
30023 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
30024 (if_freenameindex): Likewise.
30025
30026 * resource/getrlimit64.c: Add missing libc_hidden_def.
30027
30028 2015-01-22 Joseph Myers <joseph@codesourcery.com>
30029
30030 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
30031 __label__.
30032 (_FP_FMA): Likewise.
30033 (_FP_TO_INT_ROUND): Likewise.
30034 (_FP_FROM_INT): Likewise.
30035
30036 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30037
30038 [BZ #16418]
30039 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30040 Make code racy and cancel safe.
30041
30042 2015-01-21 Carlos O'Donell <carlos@redhat.com>
30043
30044 * sysdeps/arm/unwind-resume.h: Fix copyright year.
30045 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
30046 attribution.
30047
30048 * pwd/tst-getpw.c: Rewrite.
30049
30050 [BZ #17702]
30051 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
30052 (modules-names): Add moddummy1 and moddummy2.
30053 ($(objpfx)tst-rec-dlopen): Define.
30054 * dlfcn/moddummy1.c: New file.
30055 * dlfcn/moddummy2.c: New file.
30056 * dlfcn/tst-rec-dlopen.c: New file.
30057 * elf/dl-cache.c (_dl_load_cache_lookup):
30058 Return char*. Copy result with alloca/strcpy/strdup.
30059 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
30060 returns char*. Free cached. If not saving realname
30061 free cached.
30062 * elf/dl-open.c (dl_open_worker): Do not assert that
30063 _r_debug->r_state is RT_CONSISTENT.
30064 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
30065 returns char*.
30066
30067 2015-01-21 Torvald Riegel <triegel@redhat.com>
30068 Carlos O'Donell <carlos@redhat.com>
30069
30070 [BZ #12674]
30071 * nptl/sem_waitcommon.c: New file.
30072 * nptl/sem_wait.c: Include sem_waitcommon.c.
30073 (__sem_wait_cleanup, do_futex_wait): Remove.
30074 (__new_sem_wait): Adapt.
30075 (__new_sem_trywait): New function.
30076 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
30077 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
30078 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
30079 (sem_timedwait): Adapt.
30080 * nptl/sem_post.c (__new_sem_post): Adapt.
30081 (futex_wake): New function.
30082 (__old_sem_post): Add release MO fence.
30083 * nptl/sem_open.c (sem_open): Adapt.
30084 * nptl/sem_init.c (__new_sem_init): Adapt.
30085 (futex_private_if_supported): New function.
30086 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
30087 (__old_sem_getvalue): Add using previous code.
30088 * sysdeps/nptl/internaltypes.h: Adapt.
30089 * nptl/tst-sem13.c (do_test): Adapt.
30090 * nptl/tst-sem11.c (main): Adapt.
30091 * nptl/sem_trywait.c: Remove.
30092 * nptl/DESIGN-sem.txt: Remove.
30093 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
30094 (gen-as-const-headers): Remove structsem.sym.
30095 * nptl/structsem.sym: Remove.
30096 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
30097 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
30098 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
30099 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
30100 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
30101 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
30102 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
30103 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
30104 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
30105 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
30106 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
30107 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
30108 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
30109 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
30110 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
30111 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
30112 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
30113 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
30114 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
30115 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
30116 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
30117 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
30118
30119 2015-01-20 Carlos O'Donell <carlos@redhat.com>
30120
30121 * INSTALL: Regenerated.
30122
30123 * po/libc.pot: Regenerated.
30124
30125 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
30126 Sandra Loosemore <sandra@codesourcery.com>
30127 Andrew Jenner <andrew@codesourcery.com>
30128 Joseph Myers <joseph@codesourcery.com>
30129 Nathan Sidwell <nathan@codesourcery.com>
30130
30131 * NEWS: Mention new Nios II port.
30132 * sysdeps/nios2/Implies: New file.
30133 * sysdeps/nios2/Makefile: New file.
30134 * sysdeps/nios2/Subdirs: New file.
30135 * sysdeps/nios2/Versions: New file.
30136 * sysdeps/nios2/__longjmp.S: New file.
30137 * sysdeps/nios2/abort-instr.h: New file.
30138 * sysdeps/nios2/backtrace.c: New file.
30139 * sysdeps/nios2/bits/endian.h: New file.
30140 * sysdeps/nios2/bits/fenv.h: New file.
30141 * sysdeps/nios2/bits/link.h: New file.
30142 * sysdeps/nios2/bits/setjmp.h: New file.
30143 * sysdeps/nios2/bsd-_setjmp.S: New file.
30144 * sysdeps/nios2/bsd-setjmp.S: New file.
30145 * sysdeps/nios2/configure: New generated file.
30146 * sysdeps/nios2/configure.ac: New file.
30147 * sysdeps/nios2/crti.S: New file.
30148 * sysdeps/nios2/crtn.S: New file.
30149 * sysdeps/nios2/dl-init.c: New file.
30150 * sysdeps/nios2/dl-machine.h: New file.
30151 * sysdeps/nios2/dl-sysdep.h: New file.
30152 * sysdeps/nios2/dl-tls.h: New file.
30153 * sysdeps/nios2/dl-trampoline.S: New file.
30154 * sysdeps/nios2/gccframe.h: New file.
30155 * sysdeps/nios2/gmp-mparam.h: New file.
30156 * sysdeps/nios2/jmpbuf-offsets.h: New file.
30157 * sysdeps/nios2/jmpbuf-unwind.h: New file.
30158 * sysdeps/nios2/ldsodefs.h: New file.
30159 * sysdeps/nios2/libc-tls.c: New file.
30160 * sysdeps/nios2/libm-test-ulps: New file.
30161 * sysdeps/nios2/machine-gmon.h: New file.
30162 * sysdeps/nios2/math-tests.h: New file.
30163 * sysdeps/nios2/math_private.h: New file.
30164 * sysdeps/nios2/memusage.h: New file.
30165 * sysdeps/nios2/nptl/Makefile: New file.
30166 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
30167 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
30168 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
30169 * sysdeps/nios2/nptl/pthreaddef.h: New file.
30170 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
30171 * sysdeps/nios2/nptl/tls.h: New file.
30172 * sysdeps/nios2/preconfigure: New file.
30173 * sysdeps/nios2/s_fma.c: New file.
30174 * sysdeps/nios2/s_fmaf.c: New file.
30175 * sysdeps/nios2/setjmp.S: New file.
30176 * sysdeps/nios2/sfp-machine.h: New file.
30177 * sysdeps/nios2/sotruss-lib.c: New file.
30178 * sysdeps/nios2/stackguard-macros.h: New file.
30179 * sysdeps/nios2/stackinfo.h: New file.
30180 * sysdeps/nios2/start.S: New file.
30181 * sysdeps/nios2/sysdep.h: New file.
30182 * sysdeps/nios2/tls-macros.h: New file.
30183 * sysdeps/nios2/tst-audit.h: New file.
30184 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
30185 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
30186 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
30187 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
30188 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
30189 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
30190 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
30191 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
30192 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
30193 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
30194 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
30195 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
30196 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
30197 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
30198 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
30199 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
30200 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
30201 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
30202 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
30203 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
30204 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
30205 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
30206 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
30207 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
30208 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
30209 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
30210 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
30211 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
30212 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
30213 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
30214 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
30215 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
30216 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
30217 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
30218 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
30219 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
30220 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
30221 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
30222 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
30223 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
30224 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
30225 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
30226 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
30227 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
30228
30229 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
30230
30231 [BZ #17844]
30232 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
30233 (getutent): Use weak_alias in non SHARED case
30234 and default_symbol_version in SHARED case.
30235 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
30236 (getutent_r, pututline): Likewise.
30237 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
30238 (getutid): Likewise.
30239 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
30240 (getutid_r): Likewise.
30241 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
30242 (getutline): Likewise.
30243 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
30244 (getutline_r): Likewise.
30245 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
30246 (updwtmp): Likewise.
30247
30248 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
30249
30250 [BZ #17848]
30251 * sysdeps/s390/s390-32/memcmp.S
30252 (memcmp_g5): Rename to __memcmp_g5.
30253 * sysdeps/s390/s390-32/memcpy.S
30254 (memcpy_g5): Rename to __memcpy_g5.
30255 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30256 (memcpy_mvcle) Rename to __memcpy_mvcle.
30257 * sysdeps/s390/s390-32/memset.S
30258 (memset_g5): Rename to __memset_g5.
30259 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30260 (IFUNC_RESOLVE): Prefix ifunc-resolve function
30261 and use prefixed functions.
30262 * sysdeps/s390/s390-32/multiarch/memcmp.S
30263 (memcmp_z196): Rename to __memcmp_z196.
30264 (memcmp_z10): Rename to __memcmp_z10.
30265 (memcmp): Set alias to __memcmp_g5.
30266 (bcmp): Set alias to __memcmp_g5.
30267 * sysdeps/s390/s390-32/multiarch/memcpy.S
30268 (memcpy_z196): Rename to __memcpy_z196.
30269 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30270 (memcpy_z10): Rename to __memcpy_z10.
30271 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30272 (memcpy): Set alias to __memcpy_g5.
30273 * sysdeps/s390/s390-32/multiarch/memset.S
30274 (memset_z196): Rename to __memset_z196.
30275 Jump to __memset_mvcle instead of memset_mvcle.
30276 (memset_z10): Rename to __memset_z10.
30277 Jump to __memset_mvcle instead of memset_mvcle.
30278 (memset_mvcle) Rename to __memset_mvcle.
30279 (memset): Set alias to __memset_g5.
30280 * sysdeps/s390/s390-64/memcmp.S
30281 (memcmp_z900): Rename to __memcmp_z900.
30282 * sysdeps/s390/s390-64/memcpy.S
30283 (memcpy_z900): Rename to __memcpy_z900.
30284 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30285 (memcpy_mvcle) Rename to __memcpy_mvcle.
30286 * sysdeps/s390/s390-64/memset.S
30287 (memset_z900): Rename to __memset_z900.
30288 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
30289 (IFUNC_RESOLVE): Prefix ifunc-resolve function
30290 and use prefixed functions.
30291 * sysdeps/s390/s390-64/multiarch/memcmp.S
30292 (memcmp_z196): Rename to __memcmp_z196.
30293 (memcmp_z10): Rename to __memcmp_z10.
30294 (memcmp): Set alias to __memcmp_z900.
30295 (bcmp): Set alias to __memcmp_z900.
30296 * sysdeps/s390/s390-64/multiarch/memcpy.S
30297 (memcpy_z196): Rename to __memcpy_z196.
30298 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30299 (memcpy_z10): Rename to __memcpy_z10.
30300 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30301 (memcpy): Set alias to __memcpy_z900.
30302 * sysdeps/s390/s390-64/multiarch/memset.S
30303 (memset_z196): Rename to __memset_z196.
30304 Jump to __memset_mvcle instead of memset_mvcle.
30305 (memset_z10): Rename to __memset_z10.
30306 Jump to __memset_mvcle instead of memset_mvcle.
30307 (memset_mvcle) Rename to __memset_mvcle.
30308 (memset): Set alias to __memset_z900.
30309
30310 2015-01-14 Joseph Myers <joseph@codesourcery.com>
30311
30312 [BZ #17748]
30313 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
30314 __fesetenv instead of fesetenv.
30315
30316 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30317
30318 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
30319 macro.
30320
30321 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30322
30323 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
30324 regression on LE.
30325
30326 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
30327 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
30328 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30329 strncmp-power8 object.
30330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30331 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
30332 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
30333 * NEWS: Update.
30334
30335 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30336 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30337
30338 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
30339 trailing byte check.
30340
30341 2015-01-13 David S. Miller <davem@davemloft.net>
30342
30343 * include/signal.h (__sigreturn): Guard with __USE_MISC.
30344
30345 2015-01-13 Roland McGrath <roland@hack.frob.com>
30346
30347 * login/logout.c (logout): Use memset rather than bzero.
30348 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
30349 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
30350 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
30351 (_gethtbyaddr): Likewise.
30352 * locale/programs/simple-hash.c (bcopy): Macro removed.
30353
30354 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30355
30356 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30357 Add strcmp-power8 object.
30358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30359 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
30360 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
30361 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
30362 __strcmp_power8 implementation.
30363 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
30364 * NEWS: Update.
30365
30366 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30367 Add strncpy-power8 and stpncpy-power8 objects.
30368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30369 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
30370 implementations.
30371 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
30372 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
30373 __stpncpy_power8 implementation.
30374 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
30375 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
30376 __strncpy_power8 implementation.
30377 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
30378 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
30379 * NEWS: Update.
30380
30381 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
30382 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
30383 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
30384
30385 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30386 strncat-power8 object.
30387 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
30388 __strcat_power8 implementation.
30389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30390 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
30391 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
30392 optimized strcat for power8.
30393
30394 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30395 strcpy-power8 and stpcpy-power8 objects.
30396 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30397 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
30398 implementations.
30399 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
30400 multiarch stpcpy implementation for POWER8.
30401 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
30402 multiarch strcpy implementation for POWER8.
30403 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
30404 __strcpy_power8 function.
30405 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
30406 stpcpy for POWER8.
30407 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
30408 strcpy for POWER8.
30409 * NEWS: Update.
30410
30411 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
30412
30413 [BZ #16009]
30414 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
30415 weights and rules. Use do_xfrm_cached if data fits in cache,
30416 do_xfrm otherwise. Moved former main loop to...
30417 * (do_xfrm_cached): New function.
30418 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
30419 find_idx, find_position and stack_push.
30420 * (find_idx): New function.
30421 * (find_position): Likewise.
30422 * localedata/sort-test.sh: Added test run for do_xfrm.
30423 * localedata/xfrm-test.c (main): Added command line option
30424 -nocache to run the test with strings that are too large for
30425 the STRXFRM cache.
30426
30427 2015-01-13 Torvald Riegel <triegel@redhat.com>
30428
30429 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
30430 variable to lll_futex_wake call, not the value itself.
30431
30432 2015-01-12 Joseph Myers <joseph@codesourcery.com>
30433
30434 [BZ #17803]
30435 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
30436 twom64. Adjust value to 0x1p-64L.
30437 (__scalblnl): Only return standard underflowing result for K <=
30438 -64 not K <= -63; adjust exponent for underflowing result by 64
30439 not 63.
30440 * math/libm-test.inc (scalbn_test_data): Add more tests.
30441 (scalbln_test_data): Likewise.
30442
30443 [BZ #17834]
30444 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
30445 0x1p63L.
30446 (__scalblnl): Get new exponent of adjusted subnormal value from ES
30447 not HX.
30448 * math/libm-test.inc (scalbn_test_data): Add more tests.
30449 (scalbln_test_data): Likewise.
30450
30451 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30452 Stefani Seibold <stefani@seibold.net>
30453
30454 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
30455 (sysdep_routines): Add dl-vdso here, ...
30456 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
30457 (sysdep_routines): ... not here.
30458 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
30459 fallback when vDSO is not presented.
30460 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30461 Define with libc_hidden_proto/libc_hidden_data_def definitions.
30462 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
30463 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
30464 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
30465 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
30466 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
30467 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
30468 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
30469 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
30470 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
30471 fallback configurable symbol when vDSO is not available.
30472 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
30473 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
30474 be able to redefine fallback symbol when vDSO is not available.
30475 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
30476 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
30477
30478 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30479
30480 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
30481 (TLS_INIT_TP): Add tm_capable initialization.
30482 (TLS_DEFINE_INIT_TP): Likewise.
30483 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
30484 TCB.
30485 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
30486 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
30487 calculation.
30488 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
30489 transactoion is lock elision is built and TCB tm_capable is set.
30490 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
30491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30492 (INTERNAL_SYSCALL_NCS): Likewise.
30493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30494 (INTERNAL_SYSCALL_NCS): Likewise.
30495 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
30496
30497 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
30498 for powerpc.
30499 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30500 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
30501 and remove it for 32 bits case.
30502 [pthread_rwlock_t] (__rwelision): New field for lock elision.
30503 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
30504 initialization.
30505 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
30506 Disable lock elision with rdlocks if elision is not available.
30507
30508 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
30509 (sysdep_routines): Add lock elision objects.
30510 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30511 [pthread_mutex_t] (__spins): Rework to add lock elision field.
30512 [pthread_mutex_t] (__elision): Add field.
30513 [__PTHREAD_SPINS]: Adjust to init lock elision field.
30514 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
30515 elision definitions for powerpc.
30516 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
30517 implementation of lock elision for powerpc.
30518 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
30519 implementation of timed lock elision for powerpc.
30520 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
30521 implementation of trylock with lock elision for powerpc.
30522 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
30523 implementaion of unlock for lock elision for powerpc.
30524 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
30525 automatic enable lock elision for mutexes.
30526 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
30527 transaction execution definitions for powerpc.
30528 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
30529 definitions.
30530 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
30531 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
30532 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
30533 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
30534 * NEWS: Update.
30535
30536 2015-01-09 Roland McGrath <roland@hack.frob.com>
30537
30538 * sysdeps/posix/shm-directory.c: Use <> rather than ""
30539 for #include of <shm-directory.h>.
30540
30541 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
30542
30543 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
30544 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
30545
30546 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
30547
30548 [BZ #17791]
30549 * NEWS: Mention bug fix.
30550 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
30551 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
30552 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
30553
30554 2015-01-09 Torvald Riegel <triegel@redhat.com>
30555
30556 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
30557
30558 2015-01-09 Torvald Riegel <triegel@redhat.com>
30559
30560 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
30561
30562 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30563
30564 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
30565 pointer and cast to uintptr_t.
30566
30567 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30568
30569 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
30570 removed.
30571 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
30572
30573 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30574
30575 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
30576 of 0.
30577
30578 2015-01-08 Roland McGrath <roland@hack.frob.com>
30579
30580 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
30581 <nptl/pthreadP.h> instead.
30582 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
30583
30584 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
30585 already defined.
30586 [__SIGRTMIN] (init): Function removed.
30587 [__SIGRTMIN] (initialized): Variable removed.
30588 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
30589 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
30590 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
30591 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
30592 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
30593 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
30594 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
30595 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
30596 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
30597 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
30598 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
30599 * sysdeps/nptl/allocrtsig.c: New file.
30600 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
30601 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
30602 * sysdeps/generic/testrtsig.h: File removed.
30603
30604 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
30605 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
30606
30607 * nptl/nptl-init.c (pthread_functions): Conditionalize
30608 .ptr__nptl_setxid initialization on [SIGSETXID].
30609
30610 * sysdeps/nptl/sys/procfs.h: New file.
30611 * nptl_db/Makefile (headers): Add it.
30612 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
30613
30614 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
30615 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
30616 * nptl/pthread_attr_setaffinity.c: Include it.
30617 * nptl/pthread_setattr_default_np.c: Likewise.
30618 * nptl/check-cpuset.h: New file.
30619
30620 2015-01-08 Richard Henderson <rth@redhat.com>
30621
30622 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
30623 (CFLAGS-tst-execstack-prog.c): Likewise.
30624 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
30625
30626 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
30627 Sandra Loosemore <sandra@codesourcery.com>
30628 Andrew Jenner <andrew@codesourcery.com>
30629 Joseph Myers <joseph@codesourcery.com>
30630 Nathan Sidwell <nathan@codesourcery.com>
30631
30632 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
30633 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
30634 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
30635 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
30636 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
30637 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
30638 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
30639 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
30640 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
30641 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
30642 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
30643 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
30644 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
30645 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
30646 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
30647 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
30648 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
30649
30650 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30651
30652 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
30653 timespec struct member in syscall macro.
30654 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
30655 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
30656 first timeval struct member in syscall macro.
30657 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
30658
30659 2015-01-07 Joseph Myers <joseph@codesourcery.com>
30660
30661 [BZ #17748]
30662 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
30663 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
30664 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
30665 __feupdateenv and define as weak alias of __feupdateenv. Use
30666 libm_hidden_weak.
30667 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
30668 libm_hidden_def.
30669 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
30670 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
30671 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30672 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
30673 libm_hidden_def.
30674 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
30675 __feupdateenv and define as weak alias of __feupdateenv. Use
30676 libm_hidden_weak.
30677 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
30678 libm_hidden_def.
30679 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
30680 __feupdateenv and define as weak alias of __feupdateenv. Use
30681 libm_hidden_weak.
30682 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
30683 libm_hidden_def.
30684 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30685 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30686 (__feupdateenv): Likewise.
30687 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
30688 __feupdateenv and define as weak alias of __feupdateenv. Use
30689 libm_hidden_weak.
30690 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30691 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
30692 libm_hidden_def.
30693 * sysdeps/tile/math_private.h (__feupdateenv): New inline
30694 function.
30695 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
30696 libm_hidden_def.
30697 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
30698 __feupdateenv instead of feupdateenv.
30699 (default_libc_feupdateenv_test): Likewise.
30700 (libc_feresetround_ctx): Likewise.
30701
30702 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30703
30704 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
30705 prototype.
30706
30707 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
30708
30709 * posix/regcomp.c (parse_bracket_exp): Initialize type to
30710 COLL_SYM in a couple of places to avoid uninitialized variable
30711 wanings on tilegx gcc 4.8.2.
30712
30713 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
30714
30715 * sysdeps/aarch64/strcpy.S: New file.
30716 * sysdeps/aarch64/stpcpy.S: New file.
30717 * NEWS: Updated.
30718
30719 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
30720
30721 * sysdeps/aarch64/strrchr.S: New file.
30722 * NEWS: Updated.
30723
30724 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
30725
30726 [BZ #17658]
30727 * stdlib/setenv.c: Fix memory leak when setting large,
30728 duplicate string.
30729
30730 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
30731
30732 [BZ #17273]
30733 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
30734 and tabs from buffer before parsing fstab entry.
30735 * misc/tst-mntent.c (main): Add test for mount entry with
30736 trailing spaces and tabs.
30737
30738 2015-01-06 Joseph Myers <joseph@codesourcery.com>
30739
30740 [BZ #17748]
30741 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
30742 * math/fesetround.c (fesetround): Rename to __fesetround and
30743 define as weak alias of __fesetround. Use libm_hidden_weak.
30744 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
30745 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
30746 * sysdeps/arm/fesetround.c (fesetround): Likewise.
30747 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
30748 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
30749 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
30750 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
30751 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
30752 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
30753 __fesetround_inline.
30754 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
30755 __fesetround_inline instead of __fesetround.
30756 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
30757 __fesetround and define as weak alias of __fesetround. Use
30758 libm_hidden_weak. Call __fesetround_inline instead of
30759 __fesetround.
30760 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
30761 __fesetround and define as weak alias of __fesetround. Use
30762 libm_hidden_weak.
30763 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
30764 Likewise.
30765 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
30766 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30767 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
30768 * sysdeps/tile/math_private.h (__fesetround): New inline function.
30769 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
30770 __fesetround and define as weak alias of __fesetround. Use
30771 libm_hidden_weak.
30772 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
30773 __fesetround instead of fesetround.
30774 (default_libc_feholdexcept_setround): Likewise.
30775 (libc_feholdsetround_ctx): Likewise.
30776 (libc_feholdsetround_noex_ctx): Likewise.
30777
30778 [BZ #17748]
30779 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
30780 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
30781 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30782 and define as weak alias of __fesetenv. Use libm_hidden_weak.
30783 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30784 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
30785 define as weak alias of __fesetenv. Use libm_hidden_weak.
30786 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30787 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30788 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30789 define as weak alias of __fesetenv. Use libm_hidden_weak.
30790 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30791 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30792 define as weak alias of __fesetenv. Use libm_hidden_weak.
30793 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
30794 libm_hidden_def.
30795 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
30796 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
30797 Likewise.
30798 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30799 define as weak alias of __fesetenv. Use libm_hidden_weak.
30800 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30801 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30802 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
30803 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30804 and define as weak alias of __fesetenv. Use libm_hidden_weak.
30805 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
30806 __fesetenv instead of fesetenv.
30807 (libc_feresetround_noex_ctx): Likewise.
30808 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30809 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30810 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
30811 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30812 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30813 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30814 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30815 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30816 (__feupdateenv): Likewise.
30817 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30818 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30819 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30820 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
30821
30822 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
30823
30824 [BZ #17806]
30825 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
30826 addresses have been freed.
30827
30828 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
30829
30830 * resolv/res_init.c (__res_vinit): Improve comments about nserv
30831 and nservall.
30832
30833 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
30834
30835 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
30836 Clean up check_pf allocation pattern. addresses
30837
30838 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30839
30840 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
30841 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
30842 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
30843 * nptl/pthread_exit.c (__pthread_exit): Likewise.
30844 * nptl/pthread_join.c (pthread_join): Likewise.
30845 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
30846 * sysdeps/posix/waitid.c (__waitid): Likewise.
30847 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30848 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30849 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30850 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30851 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30852 Likewise.
30853 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30854 (__libc_pread64): Likewise.
30855 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30856 (__libc_pwrite): Likewise.
30857 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30858 (__libc_pwrite64): Likewsie.
30859 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30860 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30861 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30862 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30863 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30864 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30865 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30867 Likewise.
30868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30869 (__libc_pread64): Likewise.
30870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
30871 Likewise.
30872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30873 (__libc_pwrite64): Likewise.
30874 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30875 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30876 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
30877 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
30878 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30879 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30880 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30881 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30882 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30883 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30884 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30885 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30886 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30887 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30888 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30889 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30890 Likewise.
30891
30892 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
30893
30894 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30895 (CFLAGS-test-double.c): Likewise.
30896 (CFLAGS-test-ldouble.c): Likewise.
30897 (CPPFLAGS-test-ifloat.c): Likewise.
30898 (CPPFLAGS-test-idouble.c): Likewise.
30899 (CPPFLAGS-test-ildoubl.c): Likewise.
30900 (CFLAGS-test-test-fenv.c): Remove variable.
30901 (CFLAGS-test-misc.c): Likewise.
30902
30903 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
30904
30905 [BZ #17797]
30906 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30907 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30908 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30909 CLOCKS_PER_SEC == 1000000.
30910 * time/clocktest.c (main): Replace %ld with %jd and cast to
30911 intmax_t.
30912
30913 2015-01-05 Roland McGrath <roland@hack.frob.com>
30914
30915 * sysdeps/generic/unwind-resume.h: New file.
30916 * sysdeps/gnu/unwind-resume.c: Include it.
30917 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30918 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30919 argument list.
30920 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30921 global rather than static.
30922 (_Unwind_Resume): Update user.
30923 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30924 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
30925 rather than static. Add __attribute__ ((cold)).
30926 (_Unwind_Resume, __gcc_personality_v0): Update callers.
30927 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30928 * sysdeps/arm/arm-unwind-resume.S: New file.
30929 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30930 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30931 * sysdeps/arm/Makefile [$(subdir) = csu]
30932 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30933 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30934 Add rt-arm-unwind-resume.
30935 [$(subdir) = nptl]
30936 (libpthread-sysdep_routines, libpthread-shared-only-routines):
30937 Add pt-arm-unwind-resume.
30938 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30939 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30940
30941 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30942
30943 [BZ #17748]
30944 * include/fenv.h (__feholdexcept): Declare. Use
30945 libm_hidden_proto.
30946 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30947 define as weak alias of __feholdexcept. Use libm_hidden_weak.
30948 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30949 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30950 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30951 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30952 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30953 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30954 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30955 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30956 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30957 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30958 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30959 (feholdexcept): Likewise.
30960 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30961 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30962 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30963 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30964 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30965 __feholdexcept instead of feholdexcept.
30966 (default_libc_feholdexcept_setround): Likewise.
30967
30968 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30969
30970 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30971 to avoid using stl/str to align destination.
30972
30973 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30974
30975 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30976
30977 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30978
30979 [BZ #17796]
30980 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30981 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30982 Define as weak alias not strong alias.
30983
30984 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30985
30986 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30987 bltzal with addiupc.
30988 (RTLD_START): Ditto.
30989
30990 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
30991
30992 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30993 for __vdso_* functions in declarations.
30994 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30995 definitions.
30996 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30997 INTERNAL_VSYSCALL): Use struct return types to check for error.
30998
30999 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
31000 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
31001 function with cast from llround().
31002 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
31003 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
31004 Define.
31005
31006 2015-01-05 Joseph Myers <joseph@codesourcery.com>
31007
31008 [BZ #17793]
31009 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
31010 Define as weak alias not strong alias.
31011
31012 [BZ #17635]
31013 * ctype/ctype-c99.c: New file. isblank implementation moved from
31014 ...
31015 * ctype/ctype-extn.c: ... here.
31016 (__isblank_l): Move to ...
31017 * ctype/ctype-c99_l.c: ... here. New file.
31018 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
31019 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
31020 Remove variable.
31021 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
31022 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
31023 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
31024 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31025 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31026
31027 [BZ #17777]
31028 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
31029 (posix_fadvise64): Define as weak alias not strong alias.
31030 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31031 (posix_fallocate64): Likewise.
31032 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
31033 Remove variable.
31034 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31035 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31036 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31037 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31038 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31039
31040 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
31041
31042 [BZ #16191]
31043 * NEWS: Mention bug fix.
31044 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
31045 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
31046 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
31047 (HOST_STACK_END_ADDR): Likewise.
31048
31049 2015-01-02 Joseph Myers <joseph@codesourcery.com>
31050
31051 [BZ #17748]
31052 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
31053 * math/fegetround.c (fegetround): Rename to __fegetround and
31054 define as weak alias of __fegetround. Use libm_hidden_weak.
31055 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
31056 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
31057 * sysdeps/arm/fegetround.c (fegetround): Likewise.
31058 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
31059 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
31060 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
31061 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
31062 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
31063 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
31064 Undefine after rather than before function definition; use
31065 parentheses around function name in definition.
31066 (__fegetround): Also undefine macro after function definition.
31067 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
31068 __fegetround and define as weak alias of __fegetround. Use
31069 libm_hidden_weak. Do not undefine as macro.
31070 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
31071 Likewise.
31072 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
31073 __fegetround and define as weak alias of __fegetround. Use
31074 libm_hidden_weak.
31075 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31076 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
31077 * sysdeps/tile/math_private.h (__fegetround): New inline function.
31078 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
31079 __fegetround and define as weak alias of __fegetround. Use
31080 libm_hidden_weak.
31081 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
31082 __fegetround instead of fegetround.
31083
31084 [BZ #17782]
31085 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
31086 Condition macro definition on [__USE_MISC].
31087
31088 [BZ #17781]
31089 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31090 (struct sigaction): Change type of sa_flags field to int.
31091
31092 [BZ #17780]
31093 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
31094 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
31095 __glibc_reserved0.
31096
31097 * nptl/version.c (banner): Use single year in copyright notice.
31098
31099 * NEWS: Update copyright dates.
31100 * catgets/gencat.c (print_version): Likewise.
31101 * csu/version.c (banner): Likewise.
31102 * debug/catchsegv.sh: Likewise.
31103 * debug/pcprofiledump.c (print_version): Likewise.
31104 * debug/xtrace.sh (do_version): Likewise.
31105 * elf/ldconfig.c (print_version): Likewise.
31106 * elf/ldd.bash.in: Likewise.
31107 * elf/pldd.c (print_version): Likewise.
31108 * elf/sotruss.sh: Likewise.
31109 * elf/sprof.c (print_version): Likewise.
31110 * iconv/iconv_prog.c (print_version): Likewise.
31111 * iconv/iconvconfig.c (print_version): Likewise.
31112 * locale/programs/locale.c (print_version): Likewise.
31113 * locale/programs/localedef.c (print_version): Likewise.
31114 * login/programs/pt_chown.c (print_version): Likewise.
31115 * malloc/memusage.sh (do_version): Likewise.
31116 * malloc/memusagestat.c (print_version): Likewise.
31117 * malloc/mtrace.pl: Likewise.
31118 * manual/libc.texinfo: Likewise.
31119 * nptl/version.c (banner): Likewise.
31120 * nscd/nscd.c (print_version): Likewise.
31121 * nss/getent.c (print_version): Likewise.
31122 * nss/makedb.c (print_version): Likewise.
31123 * posix/getconf.c (main): Likewise.
31124 * scripts/test-installation.pl: Likewise.
31125 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
31126
31127 2015-01-02 Will Newton <will.newton@linaro.org>
31128
31129 * sysdeps/arm/armv7/configure: Removed.
31130 * sysdeps/arm/armv7/configure.ac: Likewise.
31131
31132 2015-01-02 Joseph Myers <joseph@codesourcery.com>
31133
31134 * All files with FSF copyright notices: Update copyright dates
31135 using scripts/update-copyrights.
31136 * intl/plural.c: Regenerated.
31137 * locale/programs/charmap-kw.h: Likewise.
31138 * locale/programs/locfile-kw.h: Likewise.
31139
31140 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31141
31142 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
31143
31144 2014-12-31 Joseph Myers <joseph@codesourcery.com>
31145
31146 [BZ #17748]
31147 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
31148 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
31149 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31150 and define as weak alias of __fegetenv. Use libm_hidden_weak.
31151 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31152 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
31153 define as weak alias of __fegetenv. Use libm_hidden_weak.
31154 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
31155 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31156 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31157 define as weak alias of __fegetenv. Use libm_hidden_weak.
31158 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31159 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31160 define as weak alias of __fegetenv. Use libm_hidden_weak.
31161 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
31162 libm_hidden_def.
31163 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
31164 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
31165 Likewise.
31166 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31167 define as weak alias of __fegetenv. Use libm_hidden_weak.
31168 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31169 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31170 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
31171 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31172 and define as weak alias of __fegetenv. Use libm_hidden_weak.
31173 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
31174 __fegetenv instead of fegetenv.
31175 (libc_feholdsetround_noex_ctx): Likewise.
31176
31177 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
31178
31179 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
31180 (Elf_MIPS_ABIFlags_v0): New structure.
31181 (EF_MIPS_FP64): Define.
31182 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
31183 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
31184 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
31185 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
31186 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
31187 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
31188 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
31189 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
31190 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
31191 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
31192 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
31193 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
31194 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
31195 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
31196 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
31197 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
31198 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
31199 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
31200 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
31201 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
31202 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
31203 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
31204 field.
31205 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
31206 EF_MIPS_FP64.
31207 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
31208 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
31209 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
31210 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
31211 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
31212 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
31213 * sysdeps/mips/tst-abi-interlink.c: Likewise.
31214 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
31215 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
31216 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
31217 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
31218 record the current FP ABI extension.
31219 (mips-mode-switch): Define to show if kernel headers support mode
31220 switching.
31221 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
31222 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
31223 supported SYSV ABI version to 3.
31224 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
31225 feature.
31226
31227 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31228 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31229
31230 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
31231 path.
31232 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
31233
31234 2014-12-31 Joseph Myers <joseph@codesourcery.com>
31235
31236 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
31237 __fegetround and redefine to call __fegetround. Remove condition
31238 on [!__NO_MATH_INLINES].
31239 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
31240 function.
31241 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
31242 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31243 Remove macro.
31244 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
31245 instead of <fenv_libc.h>.
31246 (__llrintl): Call fegetround instead of __fegetround.
31247 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
31248 instead of <fenv_libc.h>.
31249 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31250 (__lrintl): Call fegetround instead of __fegetround.
31251 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
31252 instead of <fenv_libc.h>.
31253 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31254 (__rintl): Call fegetround instead of __fegetround.
31255
31256 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31257
31258 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
31259 arrays.
31260
31261 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
31262
31263 [BZ #17775]
31264 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
31265 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
31266 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
31267
31268 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
31269
31270 * sysdeps/i386/tls-macros.h: Include <features.h>.
31271 (TLS_LE): Use non-PIC version for GCC >= 5.0.
31272 (TLS_IE): Likewise.
31273 (TLS_LD): Likewise.
31274 (TLS_GD): Likewise.
31275 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
31276 define for GCC >= 5.0.
31277
31278 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
31279
31280 * math/test-fenv.c (test_single_exception, set_single_exc,
31281 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
31282 feexcp_mask_test, feenable_test, fe_single_test): Add
31283 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
31284 case where they are not used.
31285 * math/libm-test.inc: Likewise.
31286 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
31287 unused in the absence of FP rounding/exception support.
31288 * stdio-common/tst-printf-round.c: Likewise.
31289 * stdlib/tst-strtod-round.c: Likewise.
31290 * stdlib/tst-strtod-underflow.c: Likewise.
31291
31292 2014-12-30 Joseph Myers <joseph@codesourcery.com>
31293
31294 [BZ #17723]
31295 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
31296 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
31297 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31298 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31299 libm_hidden_weak.
31300 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
31301 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31302 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
31303 libm_hidden_def.
31304 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31305 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31306 libm_hidden_weak.
31307 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
31308 Likewise.
31309 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
31310 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31311 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31312 libm_hidden_weak.
31313 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31314 libm_hidden_def.
31315 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31316 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
31317 (__feraiseexcept): Likewise.
31318 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31319 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31320 libm_hidden_weak.
31321 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31322 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31323 libm_hidden_def.
31324 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
31325 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
31326 Use libm_hidden_def.
31327 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
31328 libm_hidden_def.
31329 (feraiseexcept): Define as weak not strong alias. Use
31330 libm_hidden_weak.
31331 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
31332 New inline function. Factored out of ...
31333 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
31334 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
31335 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
31336 feraiseexcept.
31337 * math/w_acos.c (__acos): Likewise.
31338 * math/w_asin.c (__asin): Likewise.
31339 * math/w_ilogb.c (__ilogb): Likewise.
31340 * math/w_j0.c (y0): Likewise.
31341 * math/w_j1.c (y1): Likewise.
31342 * math/w_jn.c (yn): Likewise.
31343 * math/w_log.c (__log): Likewise.
31344 * math/w_log10.c (__log10): Likewise.
31345 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
31346 * sysdeps/aarch64/fpu/math_private.h
31347 (libc_feupdateenv_test_aarch64): Likewise.
31348 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31349 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
31350 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
31351 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31352 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31353 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31354 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
31355 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31356 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31357 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31358
31359 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
31360
31361 [BZ #17732]
31362 * io/test-utime.c (main): Replace %ld with %jd and cast to
31363 intmax_t.
31364 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
31365 * nptl/tst-mutex5.c: Include <stdint.h>.
31366 (do_test): Replace %ld with %jd and cast to intmax_t.
31367 * posix/tst-regex.c (run_test): Likewise.
31368 (run_test_backwards): Likewise.
31369 * rt/tst-clock.c: Include <stdint.h>.
31370 (clock_test): Replace %ld with %jd and cast to intmax_t.
31371 * rt/tst-cpuclock1.c: Include <stdint.h>.
31372 (do_test): Replace %lu with %ju and cast to uintmax_t.
31373 * rt/tst-cpuclock2.c: Include <stdint.h>.
31374 (do_test): Replace %lu with %ju and cast to uintmax_t.
31375 * rt/tst-mqueue1.c: Include <stdint.h>.
31376 (check_attrs): Replace %ld with %jd and cast to intmax_t.
31377 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
31378 intmax_t.
31379 * rt/tst-mqueue4.c (do_test): Likewise.
31380 * rt/tst-timer4.c: Include <stdint.h>.
31381 (check_ts): Replace %ld with %jd and cast to intmax_t.
31382 (do_test): Likewise.
31383 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
31384 and cast to intmax_t.
31385 * sysdeps/pthread/tst-timer.c (main): Likewise.
31386 * time/clocktest.c (main): Likewise.
31387 * time/tst-posixtz.c (do_test): Likewise.
31388 * timezone/tst-timezone.c (main): Likewise.
31389
31390 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
31391 H.J. Lu <hongjiu.lu@intel.com>
31392
31393 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
31394 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31395 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
31396 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
31397 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
31398 version if bit_Fast_Unaligned_Load is set.
31399 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31400 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31401 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31402 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31403 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31404 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31406 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
31407 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
31408 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
31409 to 4.
31410 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
31411 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
31412 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
31413 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
31414
31415 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
31416
31417 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
31418 instead of #if to avoid a Wundef warning.
31419 * stdlib/tst-limits.c (do_test): Likewise.
31420
31421 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
31422 parallel other exception macros.
31423 (fegetenv): Convert from macro to extern inline so that it applies
31424 retroactively to inline functions already seen by the compiler.
31425 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
31426
31427 * posix/Makefile (before-compile): Use $(objpfx) for
31428 posix-conf-vars-def.h.
31429
31430 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31431
31432 * posix/getconf.c (main): Use size_t for type of I.
31433 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
31434 NSPEC.
31435
31436 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
31437 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
31438 * posix/posix-envs.def: Likewise.
31439 * sysdeps/posix/sysconf.c: Likewise.
31440 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
31441 (specs): Remove array.
31442 * scripts/gen-posix-conf-vars.awk: Support generation of specs
31443 array.
31444
31445 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
31446 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
31447 (__sysconf): Use CONF_IS_* macros.
31448
31449 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
31450 ($(objpfx)posix-conf-vars-def.h): New target.
31451 * posix/posix-conf-vars.list: New file.
31452 * posix/posix-conf-vars.h: New file.
31453 * posix/confstr.c: Include posix-conf-vars.h.
31454 (confstr): Use CONF_IS_* macros.
31455 * posix/posix-envs.def: Include posix-conf-vars.h. Use
31456 CONF_IS_* macros.
31457 * scripts/gen-posix-conf-vars.awk: New file.
31458
31459 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
31460
31461 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
31462 fegetround): Add no-op macros to avoid linknamespace issues.
31463
31464 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
31465 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
31466
31467 * sysdeps/unix/sysv/linux/tile/sysdep.h
31468 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
31469 assembly-specific section to avoid a redefinition warning.
31470
31471 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
31472 long before casting to pointer to avoid a cast warning.
31473
31474 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
31475
31476 * sysdeps/tile/tilegx/Implies: New file.
31477
31478 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
31479
31480 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
31481
31482 2014-12-23 Florian Weimer <fweimer@redhat.com>
31483
31484 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
31485
31486 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31487
31488 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
31489 not define.
31490 * sysdeps/unix/sysv/linux/utimes.c: Do not include
31491 <kernel-features.h>.
31492 (__utimes) [__NR_utimes]: Make code unconditional.
31493 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
31494 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31495 (__ASSUME_UTIMES): Do not undefine.
31496 * sysdeps/unix/sysv/linux/tile/kernel-features.h
31497 (__ASSUME_UTIMES): Likewise.
31498 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31499 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
31500 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
31501 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
31502
31503 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
31504
31505 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
31506
31507 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
31508
31509 [BZ #17747]
31510 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
31511 alias to weak alias for j0l, y0l.
31512 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
31513 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
31514
31515 [BZ #17746]
31516 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
31517 conversion.
31518
31519 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
31520
31521 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
31522 to zero if not already defined.
31523
31524 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31525
31526 [BZ #17724]
31527 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
31528 (__kernel_standard_f): Remove. Moved to k_standardf.c.
31529 (__kernel_standard_l): Remove. Moved to k_standardl.c with
31530 (char *) casts added.
31531 * sysdeps/ieee754/k_standardf.c: New file.
31532 * sysdeps/ieee754/k_standardl.c: Likewise.
31533 * math/Makefile (libm-support): Remove k_standard.
31534 (libm-calls): Add k_standard.
31535
31536 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31537
31538 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31539 Optimize to avoid an unnecessary FPCR read.
31540
31541 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31542
31543 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31544 Optimize to reduce FPCR/FPSR accesses.
31545
31546 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31547
31548 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
31549 Call libc_fetestexcept_aarch64.
31550
31551 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31552
31553 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
31554 Call libc_fesetround_aarch64.
31555
31556 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31557
31558 [BZ #17733]
31559 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
31560 (__bind): Do not define as weak alias.
31561 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
31562 define.
31563 (__getsockname): Do not define as weak alias.
31564
31565 2014-12-22 Will Newton <will.newton@linaro.org>
31566
31567 * manual/install.texi: Document that we require bison 2.7
31568 or above.
31569 * INSTALL: Regenerate.
31570 * configure.ac: Use AC_CHECK_PROG_VER instead of
31571 AC_PATH_PROG when checking for bison and check for
31572 version 2.7 or above.
31573 * configure: Regenerate.
31574
31575 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
31576
31577 [BZ #17745]
31578 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
31579 * sysdeps/tile/ffsll.c (ffsll): To here.
31580
31581 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
31582
31583 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
31584
31585 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
31586 if not defined.
31587 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
31588 definition.
31589 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31590 hidden ___tls_get_addr.
31591 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31592 hidden __tls_get_addr.
31593 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
31594 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
31595 Likewise.
31596
31597 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
31598
31599 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
31600 _dl_init call.
31601
31602 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
31603
31604 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
31605 from "call _dl_init@PLT".
31606 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
31607
31608 2014-12-21 Anders Kaseorg <andersk@mit.edu>
31609
31610 * manual/search.texi: (Array Sort Function): Clarify stable sorting
31611 guarantees.
31612
31613 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
31614
31615 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
31616
31617 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
31618
31619 [BZ #17744]
31620 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
31621 strnlen.
31622
31623 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
31624
31625 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
31626 of multu on MIPSr6.
31627 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
31628 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
31629 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
31630 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
31631 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
31632
31633 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
31634
31635 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
31636 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
31637 (PTR_SUBU): Use subu for mips32r6/mips64r6.
31638 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
31639 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
31640 mips32r6/mips64r6.
31641 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
31642
31643 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
31644
31645 * string/strncat.c (STRNCAT): Simplify implementation.
31646
31647 2014-12-19 David S. Miller <davem@davemloft.net>
31648
31649 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
31650 access the quad as both a long double and as a series of 4 words.
31651
31652 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
31653 link_map->l_info array access.
31654
31655 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
31656
31657 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
31658
31659 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
31660 * math/atest-exp2.c (TIMEOUT): Likewise.
31661 * math/atest-sincos.c (TIMEOUT): Likewise.
31662
31663 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31664
31665 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
31666 -Wno-error with -fno-builtin-lround.
31667
31668 2014-12-19 Torvald Riegel <triegel@redhat.com>
31669
31670 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
31671 Contains futex constants and functions moved over from ...
31672 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
31673 <lowlevellock-futex.h>.
31674 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31675 (lll_timedwait_tid): Add comments and parentheses around macro
31676 arguments.
31677
31678 2014-12-19 Torvald Riegel <triegel@redhat.com>
31679
31680 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
31681 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
31682 (__lll_private_flag): Remove.
31683 (lll_futex_wait): Likewise.
31684 (lll_futex_timed_wait): Likewise.
31685 (lll_futex_wake): Likewise.
31686 (lll_futex_requeue): Likewise.
31687 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31688 (__lll_timedwait_tid): Spell out argument names.
31689 (lll_timedwait_tid): Add comments and parentheses around macro
31690 arguments.
31691 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
31692 LLL_SHARED and LLL_PRIVATE usable from assembly code.
31693
31694 2014-12-19 Torvald Riegel <triegel@redhat.com>
31695
31696 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
31697 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
31698 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31699 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
31700 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
31701 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
31702 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
31703 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
31704 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
31705 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
31706 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
31707 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
31708 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
31709 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
31710 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
31711 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
31712 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
31713 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
31714 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
31715
31716 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31717
31718 * sysdeps/x86_64/x32/Makefile: New file.
31719
31720 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31721
31722 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
31723 1L with (mp_limb_t) 1.
31724
31725 2014-12-17 Roland McGrath <roland@hack.frob.com>
31726
31727 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
31728 * nptl/libc_pthread_init.c: ... here.
31729 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
31730 * nptl/register-atfork.c: ... here.
31731
31732 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
31733 Use pthread_sigmask rather than INTERNAL_SYSCALL.
31734 Use assert_perror to check its return value.
31735 (__gai_create_helper_thread): Likewise.
31736
31737 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
31738
31739 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
31740
31741 2014-12-17 Joseph Myers <joseph@codesourcery.com>
31742
31743 [BZ #17725]
31744 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
31745 __profil_counter.
31746 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
31747 Likewise.
31748 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
31749 Likewise.
31750 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
31751 Likewise.
31752 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
31753 (profil_counter): Likewise.
31754 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
31755 (profil_counter): Likewise.
31756 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
31757 Likewise.
31758 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
31759 Likewise.
31760 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
31761 (profil_counter): Likewise.
31762 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
31763 Likewise.
31764 [!__profil_counter] (profil_counter): Define as weak alias of
31765 __profil_counter.
31766 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
31767 (profil_counter): Rename to __profil_counter.
31768 [!__profil_counter] (profil_counter): Define as weak alias of
31769 __profil_counter.
31770 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
31771 (profil_counter): Rename to __profil_counter.
31772 [!__profil_counter] (profil_counter): Define as weak alias of
31773 __profil_counter.
31774 * sysdeps/posix/profil.c: Update comment referring to
31775 profil_counter.
31776 (__profil): Use __profil_counter instead of profil_counter.
31777 * sysdeps/posix/sprofil.c (profil_counter): Rename to
31778 __profil_counter. Use __profil_counter_ushort and
31779 __profil_counter_uint in definitions.
31780 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
31781 instead of profil_counter_uint and profil_counter_ushort.
31782
31783 [BZ #17722]
31784 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
31785 define as weak alias of __inet_makeaddr.
31786 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
31787 as weak alias of __inet_addr.
31788 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
31789 as weak alias of __inet_pton. Use libc_hidden_weak.
31790 * include/arpa/inet.h (__inet_pton): Declare. Use
31791 libc_hidden_proto.
31792 (inet_makeaddr): Don't use libc_hidden_proto.
31793 (__inet_makeaddr): Declare. Use libc_hidden_proto.
31794 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
31795 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
31796 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
31797 Remove variable.
31798 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31799 (test-xfail-POSIX/time.h/linknamespace): Likewise.
31800
31801 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
31802
31803 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
31804
31805 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
31806
31807 * stdio-common/bug-vfprintf-nargs.c (do_test):
31808 Cast value to intptr_t to avoid format warning
31809 for usage with PRIdPTR printing macro.
31810
31811 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
31812
31813 * libio/tst-widetext.c (do_test):
31814 Use format type %td instead of %Zd for ptrdiff_t
31815 in order to avoid format warning.
31816
31817 2014-12-17 Andreas Schwab <schwab@suse.de>
31818
31819 * nscd/mem.c (gc): Add size_t cast to match printf format.
31820
31821 2014-12-16 Roland McGrath <roland@hack.frob.com>
31822
31823 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
31824 (init): Apply PTR_MANGLE to pointers before storing them.
31825 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
31826 before using them.
31827
31828 2014-12-16 Joseph Myers <joseph@codesourcery.com>
31829
31830 [BZ #17719]
31831 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
31832 define as weak alias of __memrchr.
31833 (__memrchr): Do not define as strong alias of memrchr.
31834 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
31835 Remove variable.
31836 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31837 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31838 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31839
31840 [BZ #17717]
31841 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
31842 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
31843 (if_indextoname): Rename to __if_indextoname and define as weak
31844 alias of __if_indextoname. Use libc_hidden_weak.
31845 (if_freenameindex): Rename to __if_freenameindex and define as
31846 weak alias of __if_freenameindex.
31847 (if_nameindex): Rename to __if_nameindex and define as weak alias
31848 of __if_nameindex.
31849 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
31850 __if_nametoindex and define as weak alias of __if_nametoindex.
31851 Use libc_hidden_weak.
31852 (if_freenameindex): Rename to __if_freenameindex and define as
31853 weak alias of __if_freenameindex.
31854 (if_nameindex): Rename to __if_nameindex and define as weak alias
31855 of __if_nameindex.
31856 (if_indextoname): Rename to __if_indextoname and define as weak
31857 alias of __if_indextoname. Use libc_hidden_weak.
31858 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
31859 __if_nametoindex and define as weak alias of __if_nametoindex.
31860 Use libc_hidden_weak.
31861 (if_freenameindex): Rename to __if_freenameindex and define as
31862 weak alias of __if_freenameindex. Use libc_hidden_weak.
31863 (if_nameindex_netlink): Use __if_freenameindex instead of
31864 if_freenameindex.
31865 (if_nameindex): Rename to __if_nameindex and define as weak alias
31866 of __if_nameindex. Use libc_hidden_weak.
31867 (if_indextoname): Rename to __if_indextoname and define as weak
31868 alias of __if_indextoname. Use libc_hidden_weak.
31869 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
31870 libc_hidden_proto.
31871 [!_ISOMAC] (__if_freenameindex): Likewise.
31872 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
31873 if_nametoindex.
31874 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
31875 variable.
31876 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31877 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31878 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31879 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31880 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31881 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31882 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31883
31884 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31885 Remove variable.
31886 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31887 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31888
31889 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31890
31891 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31892 subscript above bounds'
31893
31894 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31895 bounds.
31896
31897 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
31898
31899 * libio/tst-fopenloc.c: Use test-skeleton.c.
31900
31901 * stdlib/tst-bsearch.c: Use test-skeleton.c.
31902 (entry): Rename to ITEM.
31903 (do_test, comp): Adjust.
31904
31905 * stdio-common/tst-fseek.c: Use test-skeleton.c.
31906
31907 2014-12-16 Torvald Riegel <triegel@redhat.com>
31908
31909 * string/tester.c: Include <libc-internal.h>.
31910 (test_memset): Ignore -Wmemset-transposed-args.
31911
31912 2014-12-16 Torvald Riegel <triegel@redhat.com>
31913
31914 * misc/tst-mntent2.c (do_test): Fix warning.
31915
31916 2014-12-16 Torvald Riegel <triegel@redhat.com>
31917
31918 * elf/tst-unique4lib.cc(a): Mark as used.
31919
31920 2014-12-16 Florian Weimer <fweimer@redhat.com>
31921
31922 [BZ #17630]
31923 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31924 names.
31925
31926 2014-12-16 Allan McRae <allan@archlinux.org>
31927
31928 * stdio-common/Makefile (tests): Re-add bug26.
31929
31930 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
31931
31932 [BZ #17657]
31933 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31934 static array.
31935
31936 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
31937
31938 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31939 (__lll_lock_wait): Likewise.
31940 (__lll_timedlock_wait): Likewise.
31941 (__lll_timedwait_tid): Likewise.
31942 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31943 (__lll_robust_timedlock_wait): Likewise.
31944 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31945 (lll_cond_trylock): Likewise.
31946 (__lll_lock): Likewise.
31947 (__lll_robust_lock): Likewise.
31948 (__lll_cond_lock): Likewise.
31949 (lll_robust_cond_lock): Likewise.
31950 (__lll_timedlock): Likewise.
31951 (__lll_robust_timedlock): Likewise.
31952 (__lll_unlock): Likewise.
31953 (__lll_robust_unlock): Likewise.
31954 (lll_wait_tid): Likewise.
31955 (lll_timedwait_tid): Likewise.
31956
31957 2014-12-15 Torvald Riegel <triegel@redhat.com>
31958
31959 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31960
31961 2014-12-15 Torvald Riegel <triegel@redhat.com>
31962
31963 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31964
31965 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31966
31967 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31968 * stdio-common/tst-sprintf.c: Likewise.
31969
31970 2014-12-15 Torvald Riegel <triegel@redhat.com>
31971
31972 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31973
31974 2014-12-15 Jeff Law <law@redhat.com>
31975
31976 [BZ #16617]
31977 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31978 on the heap. (CVE-2012-3406)
31979 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31980 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
31981 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31982
31983 2014-12-15 Will Newton <will.newton@linaro.org>
31984
31985 * manual/install.texi: Bump required version of texinfo
31986 to 4.7 from 4.5.
31987 * INSTALL: Regenerated.
31988 * configure.ac: Check for makeinfo version 4.7 and above.
31989 * configure: Regenerated.
31990
31991 2014-12-12 Roland McGrath <roland@hack.frob.com>
31992
31993 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31994 PREFIX, string constant to insert between directory and name.
31995 * sysdeps/posix/shm_open.c: Update caller.
31996 * sysdeps/posix/shm_unlink.c: Likewise.
31997 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31998 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31999 (SEM_SHM_PREFIX): New macro.
32000 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
32001 [$(have-thread-library) = no].
32002 * nptl/Makefile (libpthread-routines): Add shm-directory.
32003 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
32004 * sysdeps/nptl/shm-directory.h: New file.
32005 * sysdeps/posix/shm-directory.c
32006 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
32007 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
32008 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
32009 INTERNAL_SYSCALL.
32010 (__where_is_shmfs): Function removed.
32011 (mountpoint, defaultmount, defaultdir, __namedsem_once):
32012 Variables removed.
32013 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
32014 Use SHM_GET_NAME.
32015 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
32016
32017 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
32018 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
32019 unconditional for use inside libpthread.
32020 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
32021
32022 2014-12-12 Roland McGrath <roland@hack.frob.com>
32023
32024 * nptl/pthread_getaffinity.c: New file.
32025 * nptl/pthread_setaffinity.c: New file.
32026 * nptl/pthread_getname.c: New file.
32027 * nptl/pthread_setname.c: New file.
32028
32029 * nptl/pthread_create.c (START_THREAD_DEFN)
32030 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
32031
32032 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
32033 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32034
32035 * resolv/res_send.c (send_vc): Disable warning resplen may
32036 be used uninitialized.
32037
32038 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
32039
32040 * nptl/tst-mutex6.c
32041 (ATTR_NULL): New define checks ATTR against NULL.
32042 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
32043 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
32044
32045 2014-12-11 James Lemke <jwlemke@codesourcery.com>
32046
32047 [BZ #17581]
32048 * malloc/hooks.c
32049 (mem2mem_check): Revert my previous change.
32050 (malloc_check_get_size): Revert my previous change.
32051 (mem2chunk_check): Revert my previous change.
32052
32053 2014-12-11 Roland McGrath <roland@hack.frob.com>
32054
32055 * sysdeps/posix/shm-directory.c: New file.
32056 * sysdeps/posix/shm-directory.h: New file.
32057 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
32058 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
32059 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
32060 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
32061 Transmute EPERM to EACCES.
32062 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
32063 from ...
32064 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
32065 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
32066
32067 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32068
32069 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
32070 pointer and cast to uintptr_t.
32071 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
32072 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
32073 Add cast to avoid warning.
32074 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
32075
32076 2014-12-11 Joseph Myers <joseph@codesourcery.com>
32077
32078 * nptl/semaphore.h: Move to ...
32079 * sysdeps/pthread/semaphore.h: ... here.
32080 * Makefile (installed-headers): Change nptl/semaphore.h to
32081 sysdeps/pthread/semaphore.h.
32082
32083 2014-12-11 Roland McGrath <roland@hack.frob.com>
32084
32085 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
32086 generated error format strings.
32087
32088 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
32089 -Wformat-extra-args warnings for scanf formats.
32090 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
32091 test of zero-length format (duh).
32092 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
32093 corner-case scanf format test.
32094 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
32095 generated fprintf format string.
32096 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
32097 corner-case sprintf format tests.
32098 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
32099 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
32100 -Wformat-extra-args warnings throughout.
32101 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
32102 (CFLAGS-scanf4.c): Likewise.
32103 (CFLAGS-scanf7.c): Likewise.
32104 (CFLAGS-tst-sprintf.c): Likewise.
32105 (CFLAGS-tst-printf.c): Likewise.
32106 (CFLAGS-tst-printfsz.c): Likewise.
32107
32108 2014-12-11 Joseph Myers <joseph@codesourcery.com>
32109
32110 * include/cpio.h: New file.
32111 * include/fmtmsg.h: Likewise.
32112
32113 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
32114 corresponding format argument to size_t.
32115 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
32116 arguments.
32117 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
32118 corresponding format argument to size_t.
32119 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
32120 arguments.
32121 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
32122 corresponding format argument to size_t.
32123 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
32124 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
32125 (CFLAGS-tst-mbswcs2.c): Likewise.
32126 (CFLAGS-tst-mbswcs3.c): Likewise.
32127 (CFLAGS-tst-mbswcs4.c): Likewise.
32128 (CFLAGS-tst-mbswcs5.c): Likewise.
32129 (CFLAGS-tst-trans.c): Likewise.
32130
32131 2014-12-11 Roland McGrath <roland@hack.frob.com>
32132
32133 * posix/regexbug1.c (main): Use "%s" format with regerror results,
32134 rather than assuming they won't contain any '%'s.
32135
32136 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
32137
32138 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
32139 inhibit_loop_to_libcall to avoid recursive calls.
32140 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
32141 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
32142
32143 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
32144
32145 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
32146 prototype.
32147
32148 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
32149
32150 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
32151 integer value instead of boolean.
32152
32153 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
32154
32155 * malloc/malloc.c: Fix powerof2 check.
32156
32157 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
32158
32159 * locale/programs/locfile.h (maybe_swap_uint32):
32160 Remove inline and add unused attribute.
32161
32162 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
32163
32164 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
32165 Truncating assembler expression to a .long expression.
32166
32167 2014-12-11 Andreas Schwab <schwab@suse.de>
32168
32169 * elf/rtld.c (struct map_args): Constify str member.
32170 (do_preload): Constify fname argument.
32171
32172 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32173
32174 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
32175 constants definition.
32176
32177 2014-12-11 Andreas Schwab <schwab@suse.de>
32178
32179 [BZ #16657]
32180 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
32181 FORCE_ELISION instead of DO_ELISION.
32182 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
32183 Remove.
32184 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
32185 Likewise.
32186
32187 * iconvdata/gconv-modules: Remove duplicate entry.
32188
32189 2014-12-11 Will Newton <will.newton@linaro.org>
32190
32191 Merge gettext 0.19.3 into intl/.
32192
32193 This involves a number of cosmetic changes to comments
32194 and ANSI function definitions and prototypes throughout
32195 all the files. The gettext copyright header is used but
32196 with the date ranges taken from the glibc copy.
32197
32198 * NEWS: Add gettext merge to 2.21.
32199 * intl/bindtextdom.c: Switch to gettext copyright.
32200 Use ANSI definitions and prototypes.
32201 Use gl_* locking primitives rather than __libc_* ones.
32202 Use __builtin_expect rather than __glibc_likely/unlikely.
32203 * intl/dcgettext.c: Switch to gettext copyright.
32204 Use ANSI definitions and prototypes.
32205 * intl/dcigettext.c: Switch to gettext copyright.
32206 Use ANSI definitions and prototypes.
32207 (INTDIV0_RAISES_SIGFPE): New define.
32208 Use gl_* locking primitives rather than __libc_* ones.
32209 Include eval-plural.h instead of plural-eval.c.
32210 Use __builtin_expect rather than __glibc_likely/unlikely.
32211 * intl/dcngettext.c: Switch to gettext copyright.
32212 Use ANSI definitions and prototypes.
32213 * intl/dgettext.c: Likewise.
32214 * intl/dngettext.c: Likewise.
32215 * intl/plural-eval.c: Renamed to...
32216 * intl/eval-plural.h: ...this.
32217 * intl/explodename.c: Switch to gettext copyright.
32218 Use ANSI definitions and prototypes.
32219 (_nl_explode_name): Use strchr instead of __rawmemchr.
32220 * intl/finddomain.c: Switch to gettext copyright.
32221 Use ANSI definitions and prototypes.
32222 Use gl_* locking primitives rather than __libc_* ones.
32223 (_nl_find_domain): Use malloc rather than alloca for
32224 allocation of temporary locale name.
32225 * intl/gettext.c: Switch to gettext copyright.
32226 Use ANSI definitions and prototypes.
32227 * intl/gettextP.h: Switch to gettext copyright.
32228 Use ANSI definitions and prototypes.
32229 Use gl_* locking primitives rather than __libc_* ones.
32230 * intl/gmo.h: Switch to gettext copyright.
32231 (struct sysdep_string): Move struct segment_pair outside of
32232 struct definition.
32233 * intl/hash-string.c: Use ANSI definitions and prototypes.
32234 * intl/hash-string.h: Switch to gettext copyright.
32235 Use ANSI definitions and prototypes.
32236 * intl/l10nflist.c: Switch to gettext copyright.
32237 Use ANSI definitions and prototypes.
32238 (_nl_normalize_codeset): Avoid integer overflow.
32239 * intl/loadinfo.h: Switch to gettext copyright.
32240 Use ANSI definitions and prototypes.
32241 (LIBINTL_DLL_EXPORTED): New define.
32242 (PATH_SEPARATOR): New define.
32243 * intl/loadmsgcat.c: Switch to gettext copyright.
32244 * intl/localealias.c: Switch to gettext copyright.
32245 Use ANSI definitions and prototypes.
32246 (_nl_expand_alias): Use PATH_SEPARATOR.
32247 * intl/ngettext.c: Switch to gettext copyright.
32248 Use ANSI definitions and prototypes.
32249 * intl/plural-exp.c: Likewise.
32250 * intl/plural-exp.h: Switch to gettext copyright.
32251 Use ANSI definitions and prototypes.
32252 (struct expression): Move definition of enum operator outside
32253 of struct definition.
32254 * intl/plural.c: Regenerate.
32255 * intl/plural.y: Switch to gettext copyright.
32256 Use ANSI definitions and prototypes.
32257 Port to bison 3.0.
32258 * intl/textdomain.c: Switch to gettext copyright.
32259 Use ANSI definitions and prototypes.
32260 Use gl_* locking primitives rather than __libc_* ones.
32261
32262 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
32263
32264 * debug/warning-nop.c: Add used atrribute.
32265
32266 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32267
32268 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
32269
32270 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
32271 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
32272 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
32273
32274 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32275 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32276
32277 [BZ #17634]
32278 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
32279 Undefine after defining function. Define as weak alias of
32280 __wcschr. Use libc_hidden_weak.
32281 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
32282 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
32283 (libc_hidden_def): Also define __GI___wcschr alias.
32284 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
32285 __wcschr and define as weak alias of __wcschr.
32286 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
32287 __wcschr.
32288 [!WCSCHR] (DEFAULT_WCSCHR): Define.
32289 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
32290 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
32291 libc_hidden_weak. Do not use libc_hidden_def.
32292 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
32293 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
32294 __GI___wcschr alias.
32295 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
32296 [IS_IN (libc)] (wcschr): Define as macro expanding to
32297 __redirect_wcschr.
32298 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
32299 [IS_IN (libc)] (__wcschr_power6): Likewise.
32300 [IS_IN (libc)] (__wcschr_power7): Likewise.
32301 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
32302 instead of wcschr.
32303 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
32304 __libc_wcschr.
32305 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
32306 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
32307 __wcschr and define as weak alias of __wcschr. Use
32308 libc_hidden_builtin_def.
32309 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
32310 as weak alias of __wcschr. Use libc_hidden_weak.
32311 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
32312 wcschr.
32313 * time/era.c (_nl_init_era_entries): Likewise.
32314 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
32315 variable.
32316 (test-xfail-XPG3/time.h/linknamespace): Likewise.
32317 (test-xfail-XPG4/time.h/linknamespace): Likewise.
32318
32319 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32320
32321 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
32322 format for long int variable.
32323
32324 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
32325
32326 [BZ #10672]
32327 * manual/search.texi: (Array Sort Function): Remove claim how to make
32328 qsort stable.
32329
32330 2014-12-10 Andreas Schwab <schwab@suse.de>
32331
32332 [BZ #12847]
32333 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
32334 user-controlled locks.
32335
32336 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
32337
32338 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
32339 register.
32340
32341 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32342
32343 * configure.ac (--disable-werror): New configure option.
32344 (enable_werror): New AC_SUBST.
32345 * configure: Regenerated.
32346 * config.make.in (enable-werror): New variable.
32347 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
32348 -Wno-error=undef.
32349 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
32350 * manual/install.texi (Configuring and compiling): Document
32351 --disable-werror.
32352 * INSTALL: Regenerated.
32353 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
32354 (CFLAGS-tst-chk2.c): Likewise.
32355 (CFLAGS-tst-chk3.c): Likewise.
32356 (CFLAGS-tst-chk4.cc): Likewise.
32357 (CFLAGS-tst-chk5.cc): Likewise.
32358 (CFLAGS-tst-chk6.cc): Likewise.
32359 (CFLAGS-tst-lfschk1.c): Likewise.
32360 (CFLAGS-tst-lfschk2.c): Likewise.
32361 (CFLAGS-tst-lfschk3.c): Likewise.
32362 (CFLAGS-tst-lfschk4.cc): Likewise.
32363 (CFLAGS-tst-lfschk5.cc): Likewise.
32364 (CFLAGS-tst-lfschk6.cc): Likewise.
32365
32366 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
32367 (main): Disable -Wdeprecated-declarations around calls to
32368 register_printf_function.
32369
32370 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
32371 (do_test): Disable -Wdiv-by-zero around some calls to
32372 fwrite_unlocked and fread_unlocked.
32373
32374 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
32375 (DIAG_POP_NEEDS_COMMENT): Likewise.
32376 (_DIAG_STR1): Likewise.
32377 (_DIAG_STR): Likewise.
32378 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
32379 * stdio-common/bug21.c: Include <libc-internal.h>.
32380 (do_test): Disable -Wformat around call to sscanf.
32381 * stdio-common/scanf14.c: Include <libc-internal.h>.
32382 (main): Disable -Wformat around some calls to scanf functions.
32383
32384 2014-12-09 Torvald Riegel <triegel@redhat.com>
32385
32386 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
32387
32388 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32389
32390 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
32391 stack variable alignment.
32392
32393 2014-12-06 Joseph Myers <joseph@codesourcery.com>
32394
32395 [BZ #17682]
32396 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
32397 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
32398 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
32399 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
32400 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
32401 __getrlimit instead of getrlimit.
32402 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
32403 __gettimeofday instead of gettimeofday.
32404 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32405 Likewise.
32406 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32407 Likewise.
32408 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32409 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
32410 Remove variable.
32411 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
32412 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
32413
32414 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32415
32416 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
32417 for wide-character tests.
32418
32419 2014-12-04 Roland McGrath <roland@hack.frob.com>
32420
32421 * io/openat64.c: #include <libc-internal.h>
32422 (__openat64): Prototypify. Use ignore_value on MODE.
32423 * io/openat.c: Likewise.
32424 * misc/reboot.c: #include <libc-internal.h>
32425 (reboot): Prototypify. Use ignore_value on HOWTO.
32426 * misc/ptrace.c: #include <libc-internal.h>
32427 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
32428
32429 2014-12-04 Joseph Myers <joseph@codesourcery.com>
32430
32431 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
32432 XPG4, UNIX98 and XOPEN2K.
32433 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
32434 Remove variable.
32435 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
32436
32437 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32438
32439 * libio/fileops.c: Use ISO C style for function definitions.
32440 * libio/iofopen.c: Likewise.
32441 * libio/wfileops.c: Likewise.
32442
32443 [BZ #17653]
32444 * libio/fileops.c (_IO_new_file_underflow): Unset cached
32445 offset on EOF.
32446 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
32447 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
32448 (fgets_func): Function pointer to fgets and fgetws.
32449 (do_ftell_test): Add test to verify ftell value after read
32450 EOF.
32451 (do_test): Set fgets_func.
32452
32453 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
32454 O_TRUNC flag for w and w+ modes.
32455 (do_rewind_test): Likewise.
32456 (do_ftell_test): Likewise.
32457 (do_write_test): Likewise.
32458
32459 [BZ #17647]
32460 * libio/fileops.c (do_ftell): Seek only when there are
32461 unflushed writes.
32462 * libio/wfileops.c (do_ftell_wide): Likewise.
32463 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
32464 test case.
32465 (do_one_test): Call it.
32466
32467 2014-12-03 Joseph Myers <joseph@codesourcery.com>
32468
32469 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
32470 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
32471 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
32472 Remove variable.
32473 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
32474 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
32475 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
32476
32477 2014-12-02 Joseph Myers <joseph@codesourcery.com>
32478
32479 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
32480 Remove variable.
32481 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
32482
32483 [BZ #17668]
32484 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
32485 as weak alias of __getifaddrs. Use libc_hidden_weak.
32486 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32487 __freeifaddrs. Use libc_hidden_weak.
32488 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
32489 define as weak alias of __getifaddrs. Use libc_hidden_weak.
32490 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32491 __freeifaddrs. Use libc_hidden_weak.
32492 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
32493 __getifaddrs and define as weak alias of __getifaddrs. Use
32494 libc_hidden_weak.
32495 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32496 __freeifaddrs. Use libc_hidden_weak.
32497 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
32498 Remove variable.
32499 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
32500 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
32501
32502 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
32503
32504 [BZ #17601]
32505 * sysdeps/mips/start.S (__start): Use indirect jump to call
32506 __libc_start_main.
32507
32508 2014-12-02 Joseph Myers <joseph@codesourcery.com>
32509
32510 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
32511
32512 * nptl/tst-mutex1.c: Include <stdbool.h>.
32513 [!ATTR] (ATTR_NULL): New macro.
32514 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
32515 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
32516 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
32517
32518 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
32519 to char *.
32520
32521 [BZ #17665]
32522 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
32523 Change conditional to [__USE_MISC].
32524
32525 [BZ #17664]
32526 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
32527 fgets_unlocked.
32528 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
32529 __fgets_unlocked.
32530 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
32531 fgets_unlocked.
32532 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
32533 Remove variable.
32534 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
32535 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
32536 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
32537 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
32538 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
32539 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
32540 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
32541 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
32542 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
32543
32544 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
32545
32546 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32547
32548 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32549 Remove strpbrk objects.
32550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32551 (__libc_ifunc_impl_list): Remove strpbrk implementation.
32552 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
32553 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
32554 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
32555 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
32556
32557 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32558 Remove strcspn objects.
32559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32560 (__libc_ifunc_impl_list): Remove strcspn implementation.
32561 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
32562 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
32563 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
32564 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
32565
32566 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32567 Remove strspn objetcs.
32568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32569 (__libc_ifunc_impl_list): Remove strspn implementation.
32570 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
32571 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32572 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
32573 * sysdeps/powerpc/powerpc64/strspn.S: New file.
32574
32575 2014-12-01 James Lemke <jwlemke@codesourcery.com>
32576
32577 [BZ #17581]
32578 * malloc/hooks.c
32579 (mem2mem_check): Add a terminator to the chain of checking blocks.
32580 (malloc_check_get_size): Use it here.
32581 (mem2chunk_check): Ditto.
32582
32583 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32584
32585 * sysdeps/powerpc/powerpc64/strtok.S: New file.
32586 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
32587
32588 2014-11-29 Carlos O'Donell <carlos@redhat.com>
32589
32590 * bits/ioctl-types.h: Indent preprocessor directives correctly.
32591
32592 * nptl/nptl-init.c: Include libc-internal.h.
32593 (__pthread_initialize_minimal_internal): Use ROUND_UP.
32594
32595 * elf/ldconfig.c (search_dir): Expand comment.
32596
32597 2014-11-29 Joseph Myers <joseph@codesourcery.com>
32598
32599 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
32600 variable.
32601 (linknamespace-symlist-stdlibs-tests): Likewise.
32602 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
32603 instead of $(objpfx)symlist-stdlibs.
32604 (linknamespace-libs-isoc): New variable.
32605 (linknamespace-libs): Use $(linknamespace-libs-isoc).
32606 (linknamespace-libs-ISO): New variable.
32607 (linknamespace-libs-ISO99): Likewise.
32608 (linknamespace-libs-ISO11): Likewise.
32609 (linknamespace-libs-XPG3): Likewise.
32610 (linknamespace-libs-XPG4): Likewise.
32611 (linknamespace-libs-POSIX): Likewise.
32612 (linknamespace-libs-UNIX98): Likewise.
32613 (linknamespace-libs-XOPEN2K): Likewise.
32614 (linknamespace-libs-POSIX2008): Likewise.
32615 (linknamespace-libs-XOPEN2K8): Likewise.
32616 ($(objpfx)symlist-stdlibs): Replace by
32617 $(linknamespace-symlist-stdlibs-tests). Use
32618 $(linknamespace-libs-$*) as set of libraries.
32619 ($(linknamespace-header-tests)): Update dependencies. Use
32620 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
32621 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
32622 * conform/linknamespace.pl: Remove comment about considering
32623 definitions of symbols from irrelevant libraries.
32624
32625 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
32626
32627 [BZ #13862]
32628 * elf/dl-tls.c: Include <atomic.h>.
32629 (oom): Remove #ifdef SHARED/#endif.
32630 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
32631 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
32632 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
32633 big enough.
32634 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
32635 * nptl/Makefile (tests): Add tst-stack4.
32636 (modules-names): Add tst-stack4mod.
32637 ($(objpfx)tst-stack4): New.
32638 (tst-stack4mod.sos): Likewise.
32639 ($(objpfx)tst-stack4.out): Likewise.
32640 ($(tst-stack4mod.sos)): Likewise.
32641 (clean): Likewise.
32642 * nptl/tst-stack4.c: New file.
32643 * nptl/tst-stack4mod.c: Likewise.
32644
32645 2014-11-27 J. Brown <jb999@gmx.de>
32646
32647 * sysdeps/x86/bits/string.h: Add recent CPUs.
32648
32649 2014-11-27 Joseph Myers <joseph@codesourcery.com>
32650
32651 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
32652 sigblock.
32653
32654 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
32655 feof.
32656
32657 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
32658 variable.
32659
32660 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
32661
32662 * nscd/connections.c: Include libc-internal.h because of macro
32663 usage ignore_value.
32664
32665 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32666
32667 * string/bits/string3.h (__warn_memset_zero_len): Don't
32668 declare for gcc newer than 5.0.
32669 (memset): Don't test for zero-length __LEN for gcc newer than
32670 5.0.
32671
32672 2014-11-27 Joseph Myers <joseph@codesourcery.com>
32673
32674 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
32675 size_t for %zu format.
32676
32677 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
32678 difference, not %ju.
32679
32680 2014-11-26 Joseph Myers <joseph@codesourcery.com>
32681
32682 * include/libc-internal.h (ignore_value): New macro.
32683 * nscd/connections.c (restart): Wrap calls to setuid and setgid
32684 with ignore_value.
32685
32686 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
32687 definition.
32688
32689 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
32690 pthread_cleanup_push to void *.
32691
32692 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
32693 Undefine.
32694
32695 [BZ #16619]
32696 [BZ #16740]
32697 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
32698 instead of 1L << 52.
32699
32700 * libio/bug-rewind.c (do_test): Check fwscanf return values.
32701 * libio/bug-rewind2.c (do_test): Likewise.
32702
32703 * debug/test-stpcpy_chk-ifunc.c: Remove file.
32704 * debug/test-strcpy_chk-ifunc.c: Likewise.
32705 * wcsmbs/test-wcschr-ifunc.c: Likewise.
32706 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32707 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32708 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32709 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32710 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32711 * Rules [$(multi-arch) = no] (tests): Do not filter out
32712 $(tests-ifunc).
32713 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
32714 * debug/Makefile (tests-ifunc): Remove variable.
32715 (tests): Do not add $(tests-ifunc).
32716 * wcsmbs/Makefile (tests-ifunc): Remove variable.
32717 (tests): Do not add $(tests-ifunc).
32718 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
32719 [TEST_IFUNC]: Remove conditionals.
32720 * string/test-string.h (TEST_IFUNC): Remove macro.
32721 [TEST_IFUNC]: Remove conditionals.
32722
32723 * string/test-strchr.c [!WIDE] (L): New macro.
32724 [WIDE] (L): Likewise.
32725 (check1): Use CHAR instead of char. Use L on string and character
32726 constants.
32727
32728 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
32729
32730 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
32731 tests.
32732 * sysdeps/powerpc/bits/atomic.h
32733 (__arch_atomic_exchange_and_add_32_acq): Add definition.
32734 (__arch_atomic_exchange_and_add_32_rel): Likewise.
32735 (atomic_exchange_and_add_acq): Likewise.
32736 (atomic_exchange_and_add_rel): Likewise.
32737 * sysdeps/powerpc/powerpc32/bits/atomic.h
32738 (__arch_atomic_exchange_and_add_64_acq): Add definition.
32739 (__arch_atomic_exchange_and_add_64_rel): Likewise.
32740 * sysdeps/powerpc/powerpc64/bits/atomic.h
32741 (__arch_atomic_exchange_and_add_64_acq): Add definition.
32742 (__arch_atomic_exchange_and_add_64_rel): Likewise.
32743
32744 2014-11-26 Torvald Riegel <triegel@redhat.com>
32745
32746 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
32747 Change synchronization of __sched_fifo_min_prio and
32748 __sched_fifo_max_prio.
32749 * nptl/pthread_mutexattr_getprioceiling.c
32750 (pthread_mutexattr_getprioceiling): Likewise.
32751 * nptl/pthread_mutexattr_setprioceiling.c
32752 (pthread_mutexattr_setprioceiling): Likewise.
32753 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
32754 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
32755 Likewise.
32756
32757 2014-11-26 Joseph Myers <joseph@codesourcery.com>
32758
32759 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
32760 void.
32761
32762 2014-11-25 Joseph Myers <joseph@codesourcery.com>
32763
32764 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
32765 third argument const.
32766
32767 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
32768
32769 fnmatch: work around GCC compiler warning bug with uninit var
32770 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
32771 This works around a bug with x86-64 GCC 4.9.2 and earlier
32772 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
32773 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
32774 used uninitialized in this function [-Wmaybe-uninitialized]".
32775
32776 2014-11-25 Joseph Myers <joseph@codesourcery.com>
32777
32778 * posix/bug-regex31.c (main): Return RES not 0.
32779
32780 2014-11-25 Anton Blanchard <anton@samba.org>
32781
32782 * sysdeps/powerpc/bits/atomic.h
32783 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
32784
32785 2014-11-24 Sterling Augustine <saugustine@google.com>
32786
32787 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
32788
32789 2014-11-24 Ryan Cumming <etaoins@gmail.com>
32790
32791 [BZ #17608]
32792 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
32793
32794 2014-11-24 Joseph Myers <joseph@codesourcery.com>
32795
32796 [BZ #17633]
32797 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
32798 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
32799 variable.
32800 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
32801 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
32802
32803 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
32804
32805 * string/strncpy.c (strncpy): Improve performance by using memset.
32806
32807 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
32808
32809 * string/strcpy.c (strcpy):
32810 Improve performance by using strlen and memcpy.
32811
32812 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
32813
32814 * string/strcoll_l.c (get_next_seq): __always_inline.
32815 * string/strcoll_l.c (do_compare): __always_inline.
32816
32817 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32818
32819 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
32820 defined.
32821 * include/mqueue.h: Likewise.
32822 * include/stdlib.h: Likewise.
32823
32824 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
32825 (get_null_defines): Adjust.
32826 * sunrpc/Makefile: Adjust comment.
32827 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
32828 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
32829 (CFLAGS-interp.c): Likewise.
32830 (CFLAGS-ldconfig.c): Likewise.
32831 (CPPFLAGS-.os): Likewise.
32832 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32833 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32834 * extra-modules.mk (extra-modules.mk): Likewise.
32835 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
32836 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
32837 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
32838 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
32839 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
32840 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
32841 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
32842 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
32843 * iconvdata/Makefile (CPPFLAGS): Likewise.
32844 (cpp-srcs-left): Add libof for all iconvdata routines.
32845 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
32846 * include/assert.h: Likewise.
32847 * include/ctype.h: Likewise.
32848 * include/errno.h: Likewise.
32849 * include/libc-symbols.h: Likewise.
32850 * include/math.h: Likewise.
32851 * include/netdb.h: Likewise.
32852 * include/resolv.h: Likewise.
32853 * include/stdio.h: Likewise.
32854 * include/stdlib.h: Likewise.
32855 * include/string.h: Likewise.
32856 * include/sys/stat.h: Likewise.
32857 * include/wctype.h: Likewise.
32858 * intl/l10nflist.c: Likewise.
32859 * libidn/idn-stub.c: Likewise.
32860 * libio/libioP.h: Likewise.
32861 * nptl/libc_multiple_threads.c: Likewise.
32862 * nptl/pthreadP.h: Likewise.
32863 * posix/regex_internal.h: Likewise.
32864 * resolv/res_hconf.c: Likewise.
32865 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
32866 * sysdeps/arm/memmove.S: Likewise.
32867 * sysdeps/arm/sysdep.h: Likewise.
32868 * sysdeps/generic/_itoa.h: Likewise.
32869 * sysdeps/generic/symbol-hacks.h: Likewise.
32870 * sysdeps/gnu/errlist.awk: Likewise.
32871 * sysdeps/gnu/errlist.c: Likewise.
32872 * sysdeps/i386/i586/memcpy.S: Likewise.
32873 * sysdeps/i386/i586/memset.S: Likewise.
32874 * sysdeps/i386/i686/memcpy.S: Likewise.
32875 * sysdeps/i386/i686/memmove.S: Likewise.
32876 * sysdeps/i386/i686/mempcpy.S: Likewise.
32877 * sysdeps/i386/i686/memset.S: Likewise.
32878 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32879 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32880 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32881 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32882 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32883 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32884 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32885 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32886 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32887 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32888 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32889 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32890 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32891 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32892 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32893 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32894 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32895 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32896 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32897 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32898 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32899 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32900 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32901 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32902 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32903 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32904 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32905 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32906 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32907 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32908 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32909 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32910 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32911 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32912 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32913 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32914 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32915 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32916 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32917 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32918 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32919 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32920 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32921 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32922 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32923 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32924 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32925 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32926 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32927 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32928 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32929 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32930 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32931 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32932 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32933 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32934 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32935 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32936 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32937 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32938 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32939 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32940 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32941 * sysdeps/nptl/bits/libc-lock.h: Likewise.
32942 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32943 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32944 * sysdeps/posix/closedir.c: Likewise.
32945 * sysdeps/posix/opendir.c: Likewise.
32946 * sysdeps/posix/readdir.c: Likewise.
32947 * sysdeps/posix/rewinddir.c: Likewise.
32948 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32949 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32950 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32951 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32952 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32953 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32954 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32955 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32956 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32957 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32958 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32959 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32960 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32961 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32962 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32963 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32964 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32965 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32966 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32967 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32968 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32969 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32970 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32971 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32972 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32973 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32974 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32975 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32976 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32977 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32978 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32979 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32980 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32981 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32982 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32983 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32984 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32985 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32986 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32987 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32988 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32989 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32990 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32991 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32992 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32993 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32994 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32995 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32996 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32997 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32998 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32999 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
33000 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33001 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
33002 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
33003 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
33004 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
33005 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
33006 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
33007 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
33008 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
33009 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
33010 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33011 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
33012 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
33013 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
33014 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
33015 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
33016 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
33017 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
33018 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
33019 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
33020 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
33021 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
33022 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
33023 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
33024 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
33025 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
33026 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
33027 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
33028 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
33029 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
33030 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
33031 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
33032 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
33033 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
33034 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
33035 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33036 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33037 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33038 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
33039 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
33040 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
33041 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33042 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33043 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
33044 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33045 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33046 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
33047 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
33048 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33049 * sysdeps/unix/alpha/sysdep.S: Likewise.
33050 * sysdeps/unix/alpha/sysdep.h: Likewise.
33051 * sysdeps/unix/make-syscalls.sh: Likewise.
33052 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33053 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33054 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33055 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
33056 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33057 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
33058 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
33059 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33060 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33061 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
33062 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33063 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33064 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33065 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
33066 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33067 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33068 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33069 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
33070 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
33071 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33072 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
33073 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33074 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33075 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33076 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33077 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33078 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33081 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
33082 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33083 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33084 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33085 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33086 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33087 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33088 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33089 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33090 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33091 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
33092 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33093 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33094 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33095 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33096 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33097 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33098 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33099 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33100 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33101 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33102 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33103 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33104 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33105 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33106 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
33107 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33108 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33109 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33110 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
33111 * sysdeps/x86_64/memcpy.S: Likewise.
33112 * sysdeps/x86_64/memmove.c: Likewise.
33113 * sysdeps/x86_64/memset.S: Likewise.
33114 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
33115 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33116 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
33117 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
33118 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
33119 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33120 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33121 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33122 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33123 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33124 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33125 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33126 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
33127 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33128 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33129 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
33130 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33131 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33132 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33133 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33134 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
33135 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33136 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33137 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33138 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33139 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33140 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33141 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
33142 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33143 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33144 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
33145 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33146 * sysdeps/x86_64/strcmp.S: Likewise.
33147
33148 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
33149
33150 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
33151 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
33152 * elf/rtld-Rules: Likewise.
33153 * elf/setup-vdso.h: Likewise.
33154 * include/assert.h: Likewise.
33155 * include/bits/stdlib-float.h: Likewise.
33156 * include/errno.h: Likewise.
33157 * include/sys/stat.h: Likewise.
33158 * include/unistd.h: Likewise.
33159 * sysdeps/aarch64/setjmp.S: Likewise.
33160 * sysdeps/alpha/setjmp.S: Likewise.
33161 * sysdeps/arm/__longjmp.S: Likewise.
33162 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
33163 * sysdeps/arm/setjmp.S: Likewise.
33164 * sysdeps/arm/sysdep.h: Likewise.
33165 * sysdeps/generic/_itoa.h: Likewise.
33166 * sysdeps/generic/dl-sysdep.h: Likewise.
33167 * sysdeps/generic/ldsodefs.h: Likewise.
33168 * sysdeps/i386/dl-tls.h: Likewise.
33169 * sysdeps/i386/setjmp.S: Likewise.
33170 * sysdeps/m68k/setjmp.c: Likewise.
33171 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
33172 * sysdeps/mach/hurd/opendir.c: Likewise.
33173 * sysdeps/posix/getcwd.c: Likewise.
33174 * sysdeps/posix/opendir.c: Likewise.
33175 * sysdeps/posix/profil.c: Likewise.
33176 * sysdeps/powerpc/dl-procinfo.h: Likewise.
33177 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33178 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33179 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
33180 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33181 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
33182 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33183 * sysdeps/s390/dl-tls.h: Likewise.
33184 * sysdeps/s390/s390-32/setjmp.S: Likewise.
33185 * sysdeps/s390/s390-64/setjmp.S: Likewise.
33186 * sysdeps/sh/sh3/setjmp.S: Likewise.
33187 * sysdeps/sh/sh4/setjmp.S: Likewise.
33188 * sysdeps/unix/alpha/sysdep.h: Likewise.
33189 * sysdeps/unix/arm/sysdep.S: Likewise.
33190 * sysdeps/unix/i386/sysdep.S: Likewise.
33191 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33192 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33193 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33194 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33195 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33196 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
33197 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33198 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33199 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
33200 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
33201 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
33202 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33203 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33206 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33207 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33208 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33209 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33210 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33211 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33212 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33213 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33214 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33215 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33216 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33217 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33218 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33219 * sysdeps/x86_64/setjmp.S: Likewise.
33220
33221 * include/math.h: Use IS_IN instead of IS_IN_libm.
33222 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
33223 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33224 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33225 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
33226 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33227 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33228 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33229 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33230 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33231 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33232 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
33233 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
33234 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
33235 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
33236 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
33237 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
33238 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
33239 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
33240 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
33241 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
33242 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
33243 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
33244 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
33245 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
33246 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
33247 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
33248 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
33249 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33250 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33251 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
33252 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
33253 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
33254 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
33256 Likewise.
33257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
33258 Likewise.
33259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
33260 Likewise.
33261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
33262 Likewise.
33263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
33264 Likewise.
33265 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33266 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
33267 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33268 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33269 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33270 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
33272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
33273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
33274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
33275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
33276 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
33277 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
33278 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33279 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33280 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33281 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33282 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33283 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33284 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33285 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
33286 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
33287 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
33288 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
33289 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
33290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33291 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
33292
33293 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
33294 * nptl/pthreadP.h: Likewise.
33295 * nptl_db/structs.def: Likewise.
33296 * sysdeps/arm/sysdep.h: Likewise.
33297 * sysdeps/nptl/bits/libc-lock.h: Likewise.
33298 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
33299 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
33300 * sysdeps/unix/alpha/sysdep.h: Likewise.
33301 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33302 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33303 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33304 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33305 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33306 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33307 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33308 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33309 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33310 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33311 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33312 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33313 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33314 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33317 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33318 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33319 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33320 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33321 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33322 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33323 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33324 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33325 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
33326 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33327
33328 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
33329 * nptl/pthreadP.h: Likewise.
33330 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33331 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33332 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33333 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33334 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33335 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33336 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33337 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33338 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33339 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33340 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33341 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33343 Likewise.
33344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33345 Likewise.
33346 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33347 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33348 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33349 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33350 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33351 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33352 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33353 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33354
33355 * dlfcn/dladdr.c: Use IS_IN.
33356 * dlfcn/dladdr1.c: Likewise.
33357 * dlfcn/dlclose.c: Likewise.
33358 * dlfcn/dlerror.c: Likewise.
33359 * dlfcn/dlinfo.c: Likewise.
33360 * dlfcn/dlmopen.c: Likewise.
33361 * dlfcn/dlopen.c: Likewise.
33362 * dlfcn/dlsym.c: Likewise.
33363 * dlfcn/dlvsym.c: Likewise.
33364
33365 * include/ifaddrs.h: Use IS_IN.
33366 * inet/check_pf.c: Likewise.
33367 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33368 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
33369
33370 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
33371 IS_IN_ldconfig.
33372 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
33373 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
33374
33375 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
33376 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
33377 IS_IN (libc).
33378
33379 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
33380
33381 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
33382 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33383 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33384 * include/libc-symbols.h (IS_IN_LIB): New macro.
33385 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
33386 * include/netdb.h: Likewise.
33387 * include/stap-probe.h: Remove all uses of IN_LIB.
33388
33389 * Makeconfig (module-cppflags-real): Define MODULE_NAME
33390 instead of IN_MODULE.
33391 * include/libc-symbols.h (IN_MODULE): Define using
33392 MODULE_NAME.
33393 (PASTE_NAME, PASTE_NAME1): New macros.
33394 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
33395 of IN_LIB.
33396 (STAP_PROBE_ASM): Likewise.
33397
33398 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
33399
33400 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
33401 __mach_init in dlopened libc.
33402
33403 2014-11-22 Mike Frysinger <vapier@gentoo.org>
33404
33405 * sysdeps/arm/preconfigure.ac: Delete EABI check.
33406 * sysdeps/arm/preconfigure: Regenerate.
33407
33408 2014-11-21 Roland McGrath <roland@hack.frob.com>
33409
33410 * nptl/pthread_create.c (__pthread_create_2_1): Set
33411 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
33412 when copying values from IATTR into PD.
33413
33414 2014-11-21 Will Newton <will.newton@linaro.org>
33415 Andrew Pinski <andrew.pinski@caviumnetworks.com>
33416
33417 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
33418 Refactor inline-asm. Also add comment.
33419
33420 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
33421 ElfW macro instead of hardcoded Elf64 types.
33422 (la_aarch64_gnu_pltenter): Likewise.
33423 * sysdeps/aarch64/dl-machine.h
33424 (elf_machine_runtime_setup): Use ElfW(Addr).
33425
33426 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
33427 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
33428 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
33429 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
33430 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
33431 (R_AARCH64_TLS_DTPMOD64): Rename to ..
33432 (R_AARCH64_TLS_DTPMOD): This.
33433 (R_AARCH64_TLS_DTPREL64): Rename to ...
33434 (R_AARCH64_TLS_DTPREL): This.
33435 (R_AARCH64_TLS_TPREL64): Rename to ...
33436 (R_AARCH64_TLS_TPREL): This.
33437 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
33438 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
33439 R_AARCH64_TLS_TPREL64.
33440 (elf_machine_rela): Likewise.
33441
33442 2014-11-21 Torvald Riegel <triegel@redhat.com>
33443
33444 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
33445 by setting it to 0. 64b atomics are not supported currently.
33446
33447 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33448
33449 [BZ #16469]
33450 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
33451 search domain names.
33452
33453 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33454
33455 [BZ #16469]
33456 * NEWS: Update.
33457 * resolv/res_query.c (__libc_res_nquerydomain): Retain
33458 trailing dot.
33459 * posix/tst-getaddrinfo5.c: New.
33460 * posix/Makefile (tests): Add it.
33461
33462 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33463
33464 [BZ #14498]
33465 * NEWS: Fixed.
33466 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
33467 after parsing line but before break_if_match.
33468 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
33469 if there is a protocol mismatch.
33470
33471 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
33472
33473 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
33474 because the potential race is on the user-supplied stream.
33475
33476 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33477
33478 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
33479 string literal if not passed a buffer.
33480 * manual/job.texi (ctermid): Update reasoning, note deviation
33481 from posix, suggest mtasurace when not passed a buffer, for
33482 future non-preliminary safety notes.
33483
33484 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33485
33486 * manual/users.texi (cuserid): Fix MT-Safety note for the case
33487 of not passing it a buffer.
33488 Reported by Peng Haitao.
33489
33490 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33491
33492 * manual/Makefile ($(objpfx)stamp-summary): Require
33493 check-safety.sh to pass.
33494 * manual/check-safety.sh: Wish for verification that every
33495 @deftypefn and @deftypefun is followed by a @safety remark.
33496
33497 2014-11-20 Roland McGrath <roland@hack.frob.com>
33498
33499 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
33500
33501 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
33502 PTHREAD_CANCEL_ASYNCHRONOUS.
33503 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
33504 send SIGCANCEL.
33505
33506 * nptl/default-sched.h: New file.
33507 * sysdeps/unix/sysv/linux/default-sched.h: New file.
33508 * nptl/pthread_create.c: Include it.
33509 (__pthread_create_2_1): Use collect_default_sched instead of making
33510 Linux syscalls here directly.
33511
33512 2014-11-20 Torvald Riegel <triegel@redhat.com>
33513
33514 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
33515 __pthread_once): Use C11 atomics.
33516
33517 2014-11-20 Torvald Riegel <triegel@redhat.com>
33518
33519 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
33520
33521 2014-11-20 Torvald Riegel <triegel@redhat.com>
33522
33523 * include/atomic.h (__atomic_link_error, __atomic_check_size,
33524 atomic_thread_fence_acquire, atomic_thread_fence_release,
33525 atomic_thread_fence_seq_cst, atomic_load_relaxed,
33526 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
33527 atomic_compare_exchange_weak_relaxed,
33528 atomic_compare_exchange_weak_acquire,
33529 atomic_compare_exchange_weak_release,
33530 atomic_exchange_acquire, atomic_exchange_release,
33531 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
33532 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
33533 atomic_fetch_and_acquire,
33534 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
33535
33536 2014-11-20 Torvald Riegel <triegel@redhat.com>
33537
33538 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
33539 USE_ATOMIC_COMPILER_BUILTINS): Define.
33540 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
33541 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33542 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
33543 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33544 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
33545 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33546 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
33547 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33548 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
33549 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33550 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
33551 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33552 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
33553 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33554 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
33555 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33556 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33557 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33558 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33559 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33560 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
33561 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33562 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33563 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33564 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
33565 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33566 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33567 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33568 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
33569 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33570 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
33571 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33572 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
33573 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33574 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33575 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33576 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
33577 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33578 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
33579 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33580
33581 2014-11-19 Roland McGrath <roland@hack.frob.com>
33582
33583 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
33584 the sched_priority value here. It was already checked when the user
33585 called pthread_attr_setschedparam.
33586
33587 * nptl/tst-bad-schedattr.c: New file.
33588 * nptl/Makefile (tests): Add it.
33589
33590 2014-11-19 Carlos O'Donell <carlos@redhat.com>
33591 Florian Weimer <fweimer@redhat.com>
33592 Joseph Myers <joseph@codesourcery.com>
33593 Adam Conrad <adconrad@0c3.net>
33594 Andreas Schwab <schwab@suse.de>
33595 Brooks <bmoses@google.com>
33596
33597 [BZ #17625]
33598 * wordexp-test.c (__dso_handle): Add prototype.
33599 (__register_atfork): Likewise.
33600 (__app_register_atfork): New function.
33601 (registered_forks): New global.
33602 (register_fork): New function.
33603 (test_case): Add 3 new tests for WRDE_CMDSUB.
33604 (main): Call __app_register_atfork.
33605 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
33606 fork count is non-zero fail the test.
33607 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
33608 is set.
33609 (parse_dollars): Remove check for WRDE_NOCMD.
33610 (parse_dquote): Likewise.
33611
33612 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33613
33614 * Makeconfig (built-modules): List non-library modules to be
33615 built.
33616 (module-cppflags): Include libc-modules.h for
33617 everything except shlib-versions.v.i.
33618 (CPPFLAGS): Use it.
33619 (before-compile): Add libc-modules.h.
33620 ($(common-objpfx)libc-modules.h,
33621 $(common-objpfx)libc-modules.stmp): New targets.
33622 (common-generated): Add libc-modules.h and libc-modules.stmp.
33623 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
33624 * include/libc-symbols.h: Don't include libc-modules.h.
33625 * include/libc-modules.h: Remove file.
33626 * scripts/gen-libc-modules.awk: New script to generate
33627 libc-modules.h.
33628 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
33629 Depend on libc-modules.stmp.
33630
33631 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
33632
33633 * Makeconfig (in-module): Get value of libof set for the
33634 translation unit.
33635 (CPPFLAGS): Use $(in-module).
33636 * Makerules: Don't suffix routine names for nonlib.
33637 * include/libc-modules.h: New file.
33638 * include/libc-symbols.h: Include libc-modules.h
33639 (IS_IN): New macro to replace IS_IN_* macros.
33640 * elf/Makefile: Set libof-* for each routine.
33641 * elf/rtld-Rules: Likewise.
33642 * extra-modules.mk: Likewise.
33643 * iconv/Makefile: Likewise.
33644 * iconvdata/Makefile: Likewise.
33645 * locale/Makefile: Likewise.
33646 * malloc/Makefile: Likewise.
33647 * nss/Makefile: Likewise.
33648 * sysdeps/gnu/Makefile: Likewise.
33649 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
33650 * sysdeps/unix/sysv/linux/Makefile: Likewise.
33651 * sysdeps/s390/s390-64/Makefile: Likewise.
33652 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
33653 CPPFLAGS for nscd instead of nonlib.
33654
33655 2014-11-18 Roland McGrath <roland@hack.frob.com>
33656
33657 * nptl/createthread.c: New file.
33658
33659 * nptl/createthread.c: Moved ...
33660 * sysdeps/unix/sysv/linux/createthread.c: ... here.
33661
33662 * nptl/createthread.c: Add proper top-line comment.
33663 (do_clone): Folded into ...
33664 (create_thread): ... here. Take new arguments STOPPED_START and
33665 THREAD_RAN. Always set PD->stopped_start to something here. Don't
33666 increment __nptl_threads, do event-reporting logic, do
33667 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
33668 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
33669 resource cleanup if sched_setaffinity or sched_setscheduler fails,
33670 just send SIGCANCEL.
33671 * nptl/pthread_create.c: Forward-declare create_thread before
33672 including createthread.c.
33673 (start_thread): Use new macro START_THREAD_DEFN to replace defining
33674 declaration, and new macro START_THREAD_SELF to replace argument.
33675 Remove return statement.
33676 (report_thread_creation): New function.
33677 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
33678 synchronization logic, and __nptl_nthreads increment here, around
33679 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
33680 PD->parent_cancelhandling here, before create_thread. When
33681 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
33682 __deallocate_stack, and ENOMEM translation here.
33683
33684 2014-11-18 Joseph Myers <joseph@codesourcery.com>
33685
33686 [BZ #17616]
33687 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
33688 (mptwo): Rename to __mptwo.
33689 (__inv): Use __mptwo instead of mptwo.
33690 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
33691 (mptwo): Rename to __mptwo.
33692 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
33693 of mpone and __mptwo instead of mptwo.
33694 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
33695 instead of mpone.
33696 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33697 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
33698 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
33699 of mpone and __mptwo instead of mptwo.
33700 (__mpranred): Use __mpone instead of mpone.
33701 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
33702 variable.
33703 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33704 (test-xfail-ISO99/math.h/linknamespace): Likewise.
33705 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33706 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33707 (test-xfail-ISO11/math.h/linknamespace): Likewise.
33708 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33709 (test-xfail-XPG3/math.h/linknamespace): Likewise.
33710 (test-xfail-XPG4/math.h/linknamespace): Likewise.
33711 (test-xfail-POSIX/math.h/linknamespace): Likewise.
33712 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33713 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33714 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33715 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33716 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33717 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33718 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33719 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33720 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33721 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33722
33723 2014-11-18 Tom de Vries <tom@codesoucery.com>
33724
33725 * manual/signal.texi (Primitives Interrupted by Signals): In section,
33726 replace BSD Handler xref with BSD Signal Handling.
33727
33728 2014-11-17 Richard Henderson <rth@redhat.com>
33729
33730 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
33731 (_FP_PACK_RAW_2): Remove.
33732 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
33733 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
33734 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
33735 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
33736 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
33737 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
33738 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
33739 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
33740 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
33741 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
33742 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
33743 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
33744 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
33745 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
33746 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
33747 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
33748
33749 2014-11-14 Roland McGrath <roland@hack.frob.com>
33750
33751 * signal/signal.h [__USE_MISC]
33752 (struct sigvec): Remove type.
33753 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
33754 (sigvec): Remove declaration.
33755 * sysdeps/posix/sigvec.c: Moved ...
33756 * signal/sigvec.c: ... here, replacing old file.
33757 (struct sigvec): New type, copied from old signal.h definition.
33758 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
33759 (__sigvec): Convert definition to prototype.
33760 (sigvec): Replace weak_alias with compat_symbol.
33761 * signal/Versions (libc: GLIBC_2.21): New version set.
33762 * include/signal.h: Remove __sigvec declaration.
33763 * sysdeps/unix/bsd/sigvec.c: Remove file.
33764 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
33765 * manual/signal.texi (BSD Handler): Remove subsection.
33766 Move siginterrupt up to ...
33767 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
33768 (Blocking in BSD): Fold subsection into its parent.
33769 * NEWS: Mention sigvec removal.
33770
33771 2014-11-14 Joseph Myers <joseph@codesourcery.com>
33772
33773 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
33774 (DLA_FMS): Make definition conditional only on [__FMA4__].
33775 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
33776 definition.
33777
33778 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
33779 Make definition conditional only on [PROF].
33780 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
33781 definition.
33782 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
33783 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
33784
33785 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
33786 !__GNUC__].
33787 * include/signal.h (__sigpause): Move declaration above call to
33788 libc_hidden_proto.
33789 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
33790 variable.
33791 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33792 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33793
33794 2014-11-14 David S. Miller <davem@davemloft.net>
33795
33796 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
33797 Define before including <string/memcpy.c> and <string/mempcpy.c>.
33798
33799 2014-11-14 Joseph Myers <joseph@codesourcery.com>
33800
33801 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
33802 * configure: Regenerated.
33803 * manual/install.texi (Tools for Compilation): Document a
33804 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
33805 compiler verified to work.
33806 * INSTALL: Regenerated.
33807
33808 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
33809 redeclare with asm name.
33810 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
33811 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
33812 including <string.h>.
33813 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33814 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
33815 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33816 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
33817 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33818 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33819 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33820
33821 2014-11-13 Joseph Myers <joseph@codesourcery.com>
33822
33823 * stdlib/strtol.c (__strtol): Use prototype definition.
33824
33825 [BZ #17594]
33826 * stdlib/strtol.c (SYM__): New macro.
33827 (SYM__1): Likewise.
33828 (__strtol): Likewise.
33829 (strtol): Rename to __strtol and define as weak alias of
33830 __strtol. Use libc_hidden_weak.
33831
33832 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33833
33834 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
33835 Use numbered labels in inline assembly.
33836
33837 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33838
33839 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
33840 Add setjmp LIBC_PROBE.
33841 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
33842 Likewise.
33843 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
33844 Add longjmp, longjmp_target LIBC_PROBE.
33845 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
33846 Likewise.
33847
33848 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33849
33850 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33851 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
33852 to get rid of unused variable warning.
33853
33854 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33855
33856 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
33857 Check for unwind_backtrace == NULL only in SHARED case.
33858 (__backchain_backtrace): Compile only in SHARED case.
33859 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
33860 Likewise.
33861 (__backchain_backtrace): Declare as static.
33862
33863 2014-11-12 Roland McGrath <roland@hack.frob.com>
33864
33865 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
33866 (__libc_multiple_threads_ptr): Variable moved ...
33867 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
33868
33869 2014-11-12 Joseph Myers <joseph@codesourcery.com>
33870
33871 * conform/GlibcConform.pm: New file.
33872 * conform/conformtest.pl: Use GlibcConform module.
33873 * conform/linknamespace.pl: New file.
33874 * conform/list-header-symbols.pl: Likewise.
33875 * conform/Makefile (linknamespace-symlists-base): New variable.
33876 (linknamespace-symlists-tests): Likewise.
33877 (linknamespace-header-base): Likewise.
33878 (linknamespace-header-tests): Likewise.
33879 (tests-special): Add new tests.
33880 ($(linknamespace-symlists-tests)): New rule.
33881 (linknamespace-libs): New variable.
33882 ($(objpfx)symlist-stdlibs): New rule.
33883 ($(linknamespace-header-tests)): Likewise.
33884 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33885 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33886 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33887 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33888 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33889 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33890 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33891 (test-xfail-ISO/math.h/linknamespace): Likewise.
33892 (test-xfail-ISO/signal.h/linknamespace): Likewise.
33893 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33894 (test-xfail-ISO/time.h/linknamespace): Likewise.
33895 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33896 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33897 (test-xfail-ISO99/math.h/linknamespace): Likewise.
33898 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33899 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33900 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33901 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33902 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33903 (test-xfail-ISO11/math.h/linknamespace): Likewise.
33904 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33905 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33906 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33907 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33908 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33909 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33910 (test-xfail-XPG3/math.h/linknamespace): Likewise.
33911 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33912 (test-xfail-XPG3/search.h/linknamespace): Likewise.
33913 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33914 (test-xfail-XPG3/time.h/linknamespace): Likewise.
33915 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33916 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33917 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33918 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33919 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33920 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33921 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33922 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33923 (test-xfail-XPG4/math.h/linknamespace): Likewise.
33924 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33925 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33926 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33927 (test-xfail-XPG4/search.h/linknamespace): Likewise.
33928 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33929 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33930 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33931 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33932 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33933 (test-xfail-XPG4/time.h/linknamespace): Likewise.
33934 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33935 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33936 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33937 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33938 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33939 (test-xfail-POSIX/math.h/linknamespace): Likewise.
33940 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33941 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33942 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33943 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33944 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33945 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33946 (test-xfail-POSIX/time.h/linknamespace): Likewise.
33947 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33948 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33949 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33950 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33951 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33952 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33953 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33954 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33955 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33956 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33957 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33958 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33959 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33960 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33961 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33962 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33963 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33964 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33965 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33966 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33967 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33968 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33969 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33970 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33971 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33972 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33973 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33974 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33975 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33976 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33977 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33978 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33979 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33980 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33981 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33982 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33983 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33984 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33985 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33986 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33987 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33988 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33989 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33990 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33991 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33992 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33993 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33994 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33995 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33996 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33997 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33998 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33999 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
34000 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
34001 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
34002 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
34003 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
34004 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
34005 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
34006 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
34007 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
34008 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
34009 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
34010 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
34011 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
34012 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
34013 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
34014 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
34015 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
34016 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
34017 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
34018 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
34019 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
34020 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
34021 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
34022 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
34023 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
34024 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
34025 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
34026 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
34027 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
34028 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
34029 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
34030 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
34031 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
34032 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
34033 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
34034 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
34035 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
34036 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
34037 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
34038 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
34039 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
34040 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
34041 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
34042 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
34043 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
34044 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
34045
34046 [BZ #17589]
34047 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
34048 of fgets_unlocked.
34049
34050 [BZ #17585]
34051 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
34052 (memmem): Rename to __memmem and define as weak alias of
34053 __memmem. Use libc_hidden_weak.
34054 (__memmem): Use libc_hidden_def.
34055 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
34056 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
34057 memmem.
34058
34059 [BZ #17582]
34060 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
34061 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
34062 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
34063 and define as weak alias of __fgets_unlocked. Use
34064 libc_hidden_weak.
34065 (__fgets_unlocked): Use libc_hidden_def.
34066 * include/stdio.h (__fgets_unlocked): Declare. Use
34067 libc_hidden_proto.
34068 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
34069 __fgets_unlocked instead of fgets_unlocked.
34070 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
34071 (GET_NPROCS_CONF_PARSER): Likewise.
34072 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
34073 (GET_NPROCS_CONF_PARSER): Likewise.
34074
34075 [BZ #17574]
34076 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
34077 weak alias of __wmemset. Use libc_hidden_weak.
34078 (__wmemset): Use libc_hidden_def.
34079 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
34080 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
34081 of wmemset.
34082
34083 [BZ #17573]
34084 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
34085 with asm name __mempcpy.
34086 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
34087
34088 [BZ #17572]
34089 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
34090 and define as weak alias of __rawmemchr.
34091 (__rawmemchr): Do not define as strong alias of rawmemchr.
34092
34093 [BZ #17571]
34094 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
34095 alias of __qsort_r.
34096 (qsort): Call __qsort_r instead of qsort_r.
34097 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
34098 (__qsort_r): Declare. Call libc_hidden_proto.
34099 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
34100 instead of qsort_r.
34101 * nscd/gai.c (__qsort_r): Define to qsort_r.
34102 * posix/tst-rfc3484.c (__qsort_r): Likewise.
34103 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
34104 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
34105
34106 [BZ #17570]
34107 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
34108 define as weak alias of __malloc_info.
34109
34110 [BZ #17584]
34111 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
34112 as weak alias of __rewinddir. Don't use libc_hidden_def.
34113 (__rewinddir): Use libc_hidden_def.
34114 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
34115 as weak alias of __rewinddir. Don't use libc_hidden_def.
34116 (__rewinddir): Use libc_hidden_def.
34117 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
34118 weak alias of __rewinddir. Don't use libc_hidden_def.
34119 (__rewinddir): Use libc_hidden_def.
34120 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
34121 (__rewinddir): Use libc_hidden_proto.
34122 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
34123 rewinddir.
34124 (__getcwd): Use __rewinddir instead of rewinddir.
34125
34126 [BZ #17583]
34127 * libio/fileno.c (fileno): Rename to __fileno and define as weak
34128 alias of __fileno. Use libc_hidden_weak.
34129 (__fileno): Use libc_hidden_def.
34130 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
34131 * libio/ftello.c (ftello): Rename to __ftello and define as weak
34132 alias of __ftello.
34133 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
34134 __ftello.
34135 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
34136 (__fread_unlocked): Define as strong alias of _IO_fread. Use
34137 libc_hidden_def.
34138 (fread_unlocked): Don't use libc_hidden_ver.
34139 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
34140 and define as weak alias of __fread_unlocked. Don't use
34141 libc_hidden_def.
34142 (__fread_unlocked): Use libc_hidden_def.
34143 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
34144 (ftello): Don't use libc_hidden_proto.
34145 (__ftello): Declare. Use libc_hidden_proto.
34146 (fread_unlocked): Don't use libc_hidden_proto.
34147 (__fread_unlocked): Declare. Use libc_hidden_proto.
34148 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
34149 and __ftello instead of fileno, fread_unlocked and ftello.
34150
34151 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34152
34153 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
34154 GOT12.
34155 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
34156 Likewise.
34157 (_dl_start_user): Likewise.
34158 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
34159
34160 2014-11-12 Carlos O'Donell <carlos@redhat.com>
34161 Siddhesh Poyarekar <siddhesh@redhat.com>
34162
34163 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
34164 Move argv and envp down instead of moving argc up.
34165 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
34166
34167 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
34168
34169 [BZ #17506]
34170 * test-skeleton.c (main): Return successful if one of
34171 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
34172 * string/tst-strcoll-overflow.c: Define expected status.
34173
34174 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
34175
34176 [BZ #17475]
34177 * locale/iso-639.def: Define Bhili and Tulu language codes.
34178
34179 2014-11-11 Alan Hayward <alan.hayward@arm.com>
34180
34181 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
34182
34183 2014-11-10 Renlin Li <Renlin.Li@arm.com>
34184
34185 [BZ #17555]
34186 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
34187
34188 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
34189
34190 * configure.ac: Updated check of minimal required version to
34191 2.22.
34192 * manual/install.texi (Tools for Compilation): Updated version
34193 number.
34194 * configure: Regenerated.
34195 * INSTALL: Likewise.
34196
34197 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
34198
34199 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
34200 __tls_get_addr.
34201
34202 2014-11-07 Joseph Myers <joseph@codesourcery.com>
34203
34204 * include/sys/wait.h (__libc_waitpid): Remove declaration.
34205 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
34206 (__waitpid): Don't define as alias. Use libc_hidden_def not
34207 libc_hidden_weak.
34208 (waitpid): Define as alias of __waitpid.
34209 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
34210 __waitpid.
34211 (__waitpid): Don't define as alias. Use libc_hidden_def not
34212 libc_hidden_weak.
34213 (waitpid): Define as alias of __waitpid.
34214 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
34215 __libc_waitpid alias.
34216 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
34217 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
34218 Likewise.
34219 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
34220 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
34221 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
34222 alias.
34223 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
34224 __waitpid.
34225 (__waitpid): Don't define as alias. Use libc_hidden_def not
34226 libc_hidden_weak.
34227 (waitpid): Define as alias of __waitpid.
34228
34229 2014-11-06 Carlos O'Donell <carlos@redhat.com>
34230
34231 * manual/llio.texi: Add comment that write safety has been
34232 fixed in Linux.
34233
34234 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
34235 (localplt-build-dso): Add elf/ld.so.
34236 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
34237 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
34238 and free for ld.so.
34239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
34240 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
34241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
34242 Likewise.
34243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34244 Likewise.
34245 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
34246 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
34247 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
34248 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
34249 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
34250 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
34251 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
34252 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
34253 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
34254 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
34255 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
34256
34257 2014-11-05 Joseph Myers <joseph@codesourcery.com>
34258
34259 [BZ #14132]
34260 * include/libc-symbols.h (INTUSE): Remove macro.
34261 (INTDEF): Likewise.
34262 (INTVARDEF): Likewise.
34263 (_INTVARDEF): Likewise.
34264 (INTDEF2): Likewise.
34265 (INTVARDEF2): Likewise.
34266 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
34267 rtld_hidden_def instead of INTVARDEF.
34268 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
34269 (_dl_starting_up_internal): Remove declaration.
34270 (_dl_starting_up): Use rtld_hidden_proto.
34271 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
34272 declaration.
34273 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
34274 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
34275 _dl_starting_up.
34276 * elf/dl-writev.h (_dl_writev): Likewise.
34277 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
34278 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
34279 _dl_starting_up_internal.
34280
34281 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34282
34283 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34284 test-skeleton.c.
34285
34286 2014-11-05 Will Newton <will.newton@linaro.org>
34287
34288 * benchtests/Makefile: (bench-malloc): Add malloc thread
34289 scalability benchmark.
34290 * benchtests/bench-malloc-threads.c: New file.
34291
34292 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
34293
34294 * sysdeps/aarch64/strchrnul.S: New file.
34295
34296 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34297
34298 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
34299 definition.
34300 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34301 Likewise.
34302 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34303 Likewise.
34304 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34305 Likewise.
34306 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34307 Likewise.
34308 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34309 Likewise.
34310
34311 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
34312
34313 * catgets/test-gencat.c: Use test-skeleton.c.
34314 * catgets/tst-catgets.c: Likewise.
34315 * csu/tst-empty.c: Likewise.
34316 * elf/tst-audit2.c: Likewise.
34317 * elf/tst-global1.c: Likewise.
34318 * elf/tst-pathopt.c: Likewise.
34319 * elf/tst-piemod1.c: Likewise.
34320 * elf/tst-tls10.c: Likewise.
34321 * elf/tst-tls11.c: Likewise.
34322 * elf/tst-tls12.c: Likewise.
34323 * gnulib/tst-gcc.c: Likewise.
34324 * iconvdata/tst-e2big.c: Likewise.
34325 * iconvdata/tst-loading.c: Likewise.
34326 * iconv/tst-iconv1.c: Likewise.
34327 * iconv/tst-iconv2.c: Likewise.
34328 * inet/test-inet6_opt.c: Likewise.
34329 * inet/tst-gethnm.c: Likewise.
34330 * inet/tst-network.c: Likewise.
34331 * inet/tst-ntoa.c: Likewise.
34332 * intl/tst-codeset.c: Likewise.
34333 * intl/tst-gettext2.c: Likewise.
34334 * intl/tst-gettext3.c: Likewise.
34335 * intl/tst-ngettext.c: Likewise.
34336 * intl/tst-translit.c: Likewise.
34337 * io/test-stat.c: Likewise.
34338 * libio/test-fmemopen.c: Likewise.
34339 * libio/tst-freopen.c: Likewise.
34340 * libio/tst-sscanf.c: Likewise.
34341 * libio/tst-ungetwc1.c: Likewise.
34342 * libio/tst-ungetwc2.c: Likewise.
34343 * libio/tst-widetext.c: Likewise.
34344 * localedata/tst-ctype.c: Likewise.
34345 * localedata/tst-digits.c: Likewise.
34346 * localedata/tst-leaks.c: Likewise.
34347 * localedata/tst-mbswcs1.c: Likewise.
34348 * localedata/tst-mbswcs2.c: Likewise.
34349 * localedata/tst-mbswcs3.c: Likewise.
34350 * localedata/tst-mbswcs4.c: Likewise.
34351 * localedata/tst-mbswcs5.c: Likewise.
34352 * localedata/tst-setlocale.c: Likewise.
34353 * localedata/tst-trans.c: Likewise.
34354 * localedata/tst-wctype.c: Likewise.
34355 * localedata/tst-xlocale1.c: Likewise.
34356 * login/tst-grantpt.c: Likewise.
34357 * malloc/tst-calloc.c: Likewise.
34358 * malloc/tst-malloc.c: Likewise.
34359 * malloc/tst-mallocstate.c: Likewise.
34360 * malloc/tst-mcheck.c: Likewise.
34361 * malloc/tst-mtrace.c: Likewise.
34362 * malloc/tst-obstack.c: Likewise.
34363 * math/atest-exp2.c: Likewise.
34364 * math/atest-exp.c: Likewise.
34365 * math/atest-sincos.c: Likewise.
34366 * math/test-matherr.c: Likewise.
34367 * math/test-misc.c: Likewise.
34368 * math/test-powl.c: Likewise.
34369 * math/tst-definitions.c: Likewise.
34370 * misc/tst-dirname.c: Likewise.
34371 * misc/tst-efgcvt.c: Likewise.
34372 * misc/tst-fdset.c: Likewise.
34373 * misc/tst-hsearch.c: Likewise.
34374 * misc/tst-mntent2.c: Likewise.
34375 * nptl/tst-sem7.c: Likewise.
34376 * nptl/tst-sem8.c: Likewise.
34377 * nptl/tst-sem9.c: Likewise.
34378 * nss/test-netdb.c: Likewise.
34379 * posix/tst-fnmatch.c: Likewise.
34380 * posix/tst-getlogin.c: Likewise.
34381 * posix/tst-gnuglob.c: Likewise.
34382 * posix/tst-mmap.c: Likewise.
34383 * pwd/tst-getpw.c: Likewise.
34384 * resolv/tst-inet_ntop.c: Likewise.
34385 * rt/tst-timer.c: Likewise.
34386 * stdio-common/test-fseek.c: Likewise.
34387 * stdio-common/test-popen.c: Likewise.
34388 * stdio-common/test-vfprintf.c: Likewise.
34389 * stdio-common/tst-cookie.c: Likewise.
34390 * stdio-common/tst-fileno.c: Likewise.
34391 * stdio-common/tst-gets.c: Likewise.
34392 * stdio-common/tst-obprintf.c: Likewise.
34393 * stdio-common/tst-perror.c: Likewise.
34394 * stdio-common/tst-sprintf2.c: Likewise.
34395 * stdio-common/tst-sprintf3.c: Likewise.
34396 * stdio-common/tst-sprintf.c: Likewise.
34397 * stdio-common/tst-swprintf.c: Likewise.
34398 * stdio-common/tst-tmpnam.c: Likewise.
34399 * stdio-common/tst-unbputc.c: Likewise.
34400 * stdio-common/tst-wc-printf.c: Likewise.
34401 * stdlib/tst-environ.c: Likewise.
34402 * stdlib/tst-fmtmsg.c: Likewise.
34403 * stdlib/tst-limits.c: Likewise.
34404 * stdlib/tst-rand48-2.c: Likewise.
34405 * stdlib/tst-rand48.c: Likewise.
34406 * stdlib/tst-random2.c: Likewise.
34407 * stdlib/tst-random.c: Likewise.
34408 * stdlib/tst-strtol.c: Likewise.
34409 * stdlib/tst-strtoll.c: Likewise.
34410 * stdlib/tst-tls-atexit.c: Likewise.
34411 * stdlib/tst-xpg-basename.c: Likewise.
34412 * string/test-ffs.c: Likewise.
34413 * string/tst-bswap.c: Likewise.
34414 * string/tst-inlcall.c: Likewise.
34415 * string/tst-strtok.c: Likewise.
34416 * string/tst-strxfrm.c: Likewise.
34417 * sysdeps/x86_64/tst-audit10.c: Likewise.
34418 * sysdeps/x86_64/tst-audit3.c: Likewise.
34419 * sysdeps/x86_64/tst-audit4.c: Likewise.
34420 * sysdeps/x86_64/tst-audit5.c: Likewise.
34421 * time/tst-ftime_l.c: Likewise.
34422 * time/tst-getdate.c: Likewise.
34423 * time/tst-mktime3.c: Likewise.
34424 * time/tst-mktime.c: Likewise.
34425 * time/tst-posixtz.c: Likewise.
34426 * time/tst-strptime2.c: Likewise.
34427 * time/tst-strptime3.c: Likewise.
34428 * wcsmbs/tst-btowc.c: Likewise.
34429 * wcsmbs/tst-mbrtowc.c: Likewise.
34430 * wcsmbs/tst-mbsrtowcs.c: Likewise.
34431 * wcsmbs/tst-wchar-h.c: Likewise.
34432 * wcsmbs/tst-wcpncpy.c: Likewise.
34433 * wcsmbs/tst-wcrtomb.c: Likewise.
34434 * wcsmbs/tst-wcsnlen.c: Likewise.
34435 * wcsmbs/tst-wcstof.c: Likewise.
34436
34437 2014-11-04 Joseph Myers <joseph@codesourcery.com>
34438
34439 [BZ #14132]
34440 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
34441 INTDEF.
34442 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
34443 declaration.
34444 (_dl_mcount): Use rtld_hidden_proto.
34445 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
34446 _dl_mcount.
34447 * elf/rtld.c (_rtld_global_ro): Likewise.
34448
34449 [BZ #14132]
34450 * elf/dl-init.c (_dl_init): Don't use INTDEF.
34451 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
34452 of _dl_init_internal.
34453 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
34454 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
34455 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
34456 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
34457 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
34458 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
34459 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
34460 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
34461 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
34462 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
34463 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
34464 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
34465 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34466 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34467 * sysdeps/tile/dl-start.S (_start): Likewise.
34468 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
34469 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
34470
34471 [BZ #14132]
34472 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
34473 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
34474 (rtld_progname): Make macro definition unconditional.
34475 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
34476 INTDEF.
34477 (dlmopen_doit): Do not use INTUSE with _dl_argv.
34478 (dl_main): Likewise.
34479 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34480 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
34481 instead of _dl_argv_internal.
34482 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34483 __GI__dl_argv instead of INTUSE(_dl_argv).
34484 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
34485 __GI__dl_argv instead of _dl_argv_internal.
34486
34487 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
34488 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
34489 macro.
34490 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
34491 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
34492 New macro.
34493 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
34494 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
34495 macro.
34496 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
34497 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
34498
34499 2014-11-04 Andreas Schwab <schwab@suse.de>
34500
34501 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
34502
34503 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34504
34505 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
34506 mtvsrd instruction in binary form.
34507
34508 2014-11-03 Andreas Schwab <schwab@suse.de>
34509
34510 [BZ #17522]
34511 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
34512 for less than MB_LEN_MAX use a local buffer of that size.
34513 * libio/tst-fputws.c: New file.
34514 * libio/Makefile (tests): Add tst-fputws.
34515
34516 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
34517
34518 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
34519 the size of the fpu_fr.fpu_dregs[] array.
34520
34521 2014-11-01 Joseph Myers <joseph@codesourcery.com>
34522
34523 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
34524 (__nanosleep): Do not define as alias.
34525 (nanosleep): Define as alias of __nanosleep.
34526 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
34527 __libc_nanosleep name.
34528
34529 2014-10-31 Joseph Myers <joseph@codesourcery.com>
34530
34531 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
34532 install.texi in comment.
34533
34534 2014-10-31 Torvald Riegel <triegel@redhat.com>
34535
34536 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
34537 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
34538 ... add here and use lwsync or sync ...
34539 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
34540 ... and add here using lwsync.
34541
34542 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
34543
34544 * elf/dl-machine-reject-phdr.h: New file.
34545 * elf/dl-load.c: #include that.
34546 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
34547 if that returned true.
34548
34549 2014-10-31 Roland McGrath <roland@hack.frob.com>
34550
34551 [BZ #17496]
34552 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
34553 gen-as-const-headers chunk. Add a big scare comment after the last
34554 safe place to touch before-compile.
34555
34556 2014-10-31 Joseph Myers <joseph@codesourcery.com>
34557
34558 * manual/install.texi (Tools for Compilation): Update autoconf
34559 version requirements.
34560 * INSTALL: Regenerated.
34561
34562 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
34563 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
34564 (__libc_pselect): Likewise.
34565
34566 [BZ #14138]
34567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
34568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34571
34572 2014-10-31 Torvald Riegel <triegel@redhat.com>
34573
34574 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
34575 correct barrier instruction.
34576 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
34577 Likewise.
34578 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
34579 Likewise.
34580
34581 2014-10-30 Roland McGrath <roland@hack.frob.com>
34582
34583 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
34584 after defining inlines. Instead, just use parens to defeat macro
34585 expansion of __isctype in its declaration.
34586
34587 2014-10-30 Joseph Myers <joseph@codesourcery.com>
34588
34589 * include/sys/uio.h (__libc_readv): Remove declaration.
34590 (__libc_writev): Likewise.
34591 * misc/readv.c (__libc_readv): Rename to __readv.
34592 (__readv): Do not define as alias.
34593 (readv): Define as alias of __readv.
34594 * misc/writev.c (__libc_writev): Rename to __writev.
34595 (__writev): Do not define as alias.
34596 (writev): Define as alias of __writev.
34597 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
34598 (__readv): Do not define as alias.
34599 (readv): Define unconditionally as alias of __readv.
34600 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
34601 (__writev): Do not define as alias.
34602 (writev): Define unconditionally as alias of __writev.
34603 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
34604 name.
34605 (writev): Do not define __libc_writev name.
34606
34607 2014-10-30 Roland McGrath <roland@hack.frob.com>
34608
34609 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
34610 (convert_charseq): New function, broken out of ...
34611 (use_from_charmap): ... here. Call it.
34612 (use_to_charmap): Use convert_charseq and free instead of duplicating
34613 its code with a variable-length stack struct.
34614
34615 2014-10-30 Joseph Myers <joseph@codesourcery.com>
34616
34617 * include/fcntl.h (__libc_creat): Remove declaration.
34618 * io/creat.c (__libc_creat): Rename to creat.
34619 (creat): Do not define as alias.
34620 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
34621 of creat instead of __libc_creat.
34622 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
34623 to creat.
34624 (creat): Do not define as alias.
34625 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
34626 __libc_creat.
34627 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
34628 __libc_creat name.
34629 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
34630 Likewise.
34631
34632 2014-10-29 Carlos O'Donell <carlos@redhat.com>
34633
34634 * manual/llio.texi: Add comments discussing why write() may be
34635 considered MT-unsafe on Linux.
34636
34637 2014-10-28 Carlos O'Donell <carlos@redhat.com>
34638
34639 * dl-load.c (local_strdup): Remove.
34640 (expand_dynamic_string_token): Use __strdup.
34641 (decompose_rpath): Likewise.
34642 (_dl_map_object): Likewise.
34643
34644 2014-10-28 Joseph Myers <joseph@codesourcery.com>
34645
34646 [BZ #14132]
34647 * sysdeps/generic/unwind-dw2-fde.c
34648 (__register_frame_info_bases_internal): Do not declare.
34649 (__register_frame_info_table_bases_internal): Likewise.
34650 (__deregister_frame_info_bases_internal): Likewise.
34651 (__register_frame_info_bases): Declare and use hidden_proto before
34652 definition. Use hidden_def instead of INTDEF.
34653 (__register_frame_info_table_bases): Likewise.
34654 (__deregister_frame_info_bases): Likewise.
34655 (__register_frame_info): Do not use INTUSE.
34656 (__register_frame): Likewise.
34657 (__register_frame_info_table): Likewise.
34658 (__register_frame_table): Likewise.
34659 (__deregister_frame_info): Likewise.
34660 (__deregister_frame): Likewise.
34661
34662 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
34663
34664 * sysdeps/unix/sysv/linux/arm/kernel-features.h
34665 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
34666 not undefine.
34667 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
34668 Likewise.
34669 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
34670 Likewise.
34671
34672 2014-10-27 Joseph Myers <joseph@codesourcery.com>
34673
34674 [BZ #14138]
34675 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
34676 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
34677 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
34678 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
34679 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
34680 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
34681 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
34682 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
34683 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
34684 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
34685 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
34686 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
34687 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
34688 syscall.
34689 (setfsuid): Likewise.
34690 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
34691 (setfsuid): Likewise.
34692 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
34693 (setfsuid): Likewise.
34694 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
34695 Likewise.
34696 (setfsuid): Likewise.
34697 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
34698 (setfsuid): Likewise.
34699 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
34700 Likewise.
34701 (setfsuid): Likewise.
34702
34703 2014-10-27 Andreas Schwab <schwab@suse.de>
34704
34705 [BZ #17501]
34706 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
34707 check for Slow_SSE4_2 feature bit.
34708 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
34709 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34710 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
34711 Likewise. Fix check for Fast_Unaligned_Load feature bit.
34712
34713 2014-10-24 Roland McGrath <roland@hack.frob.com>
34714
34715 * configure.ac: Validate compiler version with a empirical test of
34716 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
34717 $CC -v output.
34718 * configure: Regenerated.
34719
34720 * inet/htons.c (htons): Prototypify.
34721 * inet/htonl.c (htonl): Likewise.
34722
34723 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34724
34725 * string/strncat.c (strncat): Improve performance by using strlen.
34726
34727 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34728
34729 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
34730
34731 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34732
34733 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
34734 Call libc_fetestexcept_aarch64.
34735
34736 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34737
34738 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
34739 Call libc_feholdexcept_aarch64.
34740
34741 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34742
34743 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
34744 Call get_rounding_mode.
34745
34746 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34747
34748 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34749 Simplify logic.
34750
34751 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34752
34753 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
34754 Simplify logic.
34755
34756 2014-10-24 Joseph Myers <joseph@codesourcery.com>
34757
34758 [BZ #14138]
34759 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
34760 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
34761 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
34762 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
34763 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
34764 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
34765 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
34766 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
34767 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
34768 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
34769 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34770 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
34771 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
34772 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
34773 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
34774 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
34775 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
34776 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
34777 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
34778 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
34779 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
34780 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
34781 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
34782 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
34783 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
34784 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
34785 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
34786 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
34787 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
34788 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
34789 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
34790 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
34791 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
34792 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
34793 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
34794 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
34795 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
34796 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
34797 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
34798 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
34799 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
34800 syscall.
34801 (geteuid): Likewise.
34802 (getgid): Likewise.
34803 (getuid): Likewise.
34804 (getresgid): Likewise.
34805 (getresuid): Likewise.
34806 (getgroups): Likewise.
34807 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
34808 (geteuid): Likewise.
34809 (getgid): Likewise.
34810 (getuid): Likewise.
34811 (getresgid): Likewise.
34812 (getresuid): Likewise.
34813 (getgroups): Likewise.
34814 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
34815 (geteuid): Likewise.
34816 (getgid): Likewise.
34817 (getuid): Likewise.
34818 (getresgid): Likewise.
34819 (getresuid): Likewise.
34820 (getgroups): Likewise.
34821 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
34822 Likewise.
34823 (geteuid): Likewise.
34824 (getgid): Likewise.
34825 (getuid): Likewise.
34826 (getresgid): Likewise.
34827 (getresuid): Likewise.
34828 (getgroups): Likewise.
34829 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
34830 (geteuid): Likewise.
34831 (getgid): Likewise.
34832 (getuid): Likewise.
34833 (getresgid): Likewise.
34834 (getresuid): Likewise.
34835 (getgroups): Likewise.
34836 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
34837 Likewise.
34838 (geteuid): Likewise.
34839 (getgid): Likewise.
34840 (getuid): Likewise.
34841 (getgroups): Likewise.
34842
34843 [BZ #14138]
34844 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
34845 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
34846 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
34847 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34848 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
34849 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
34850 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
34851 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
34852 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
34853 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
34854 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
34855 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
34856 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
34857 __chown.
34858 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
34859 (lchown): Likewise.
34860 (fchown): Likewise.
34861 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
34862 Likewise.
34863 (lchown): Likewise.
34864 (fchown): Likewise.
34865 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
34866 (lchown): Likewise.
34867 (fchown): Likewise.
34868 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
34869 Likewise.
34870 (lchown): Likewise.
34871 (fchown): Likewise.
34872
34873 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34874
34875 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
34876 Simplify logic.
34877
34878 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34879
34880 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34881 Cleanup logic.
34882
34883 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34884
34885 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34886 Remove unused include.
34887
34888 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34889
34890 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34891 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34892 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34893 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34894
34895 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
34896 Helge Deller <deller@gmx.de>
34897
34898 [BZ #17508]
34899 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34900 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34901 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34902
34903 2014-10-23 Joseph Myers <joseph@codesourcery.com>
34904
34905 [BZ #14132]
34906 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34907 Remove macro definition.
34908 (__ashrdi3_v_glibc20): Likewise.
34909 (__lshrdi3_v_glibc20): Likewise.
34910 (__cmpdi2_v_glibc20): Likewise.
34911 (__ucmpdi2_v_glibc20): Likewise.
34912 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34913 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34914 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34915 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34916 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34917 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34918
34919 2014-10-22 Roland McGrath <roland@hack.frob.com>
34920
34921 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34922 old GNU extension [0] syntax.
34923 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34924 alloca rather than an array member with variable length.
34925 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34926 * nscd/nscd.c (invalidate_db): New function, broken out of ...
34927 (parse_opt): ... here. Likewise use alloca there.
34928 Validate the -i argument before checking for rootness.
34929 (send_shutdown): New function, broken out of ...
34930 (parse_opt): ... here.
34931
34932 2014-10-22 Roland McGrath <roland@hack.frob.com>
34933
34934 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34935 macro to get at the _rt_local_ro field.
34936 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34937 ([PIC] case) or _dl_hwcap ([!PIC] case).
34938 * sysdeps/arm/setjmp.S: Likewise.
34939
34940 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34941 * sysdeps/arm/configure.ac: New check to define it.
34942 * sysdeps/arm/configure: Regenerated.
34943 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34944 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34945 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34946 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34947 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34948 Use move/movt pair instead of a load.
34949 (LDST_GLOBAL): Macro removed.
34950 (LDR_GLOBAL): New macro replaces it.
34951 (LDR_HIDDEN): New macro.
34952 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34953 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34954
34955 * setjmp/tst-setjmp-static.c: New file.
34956 * setjmp/Makefile (tests): Add it.
34957 (tests-static): New variable.
34958
34959 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
34960
34961 [BZ #17485]
34962 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34963
34964 2014-10-21 Joseph Myers <joseph@codesourcery.com>
34965
34966 [BZ #14132]
34967 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34968
34969 2014-10-21 Roland McGrath <roland@hack.frob.com>
34970
34971 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34972
34973 2014-10-20 Roland McGrath <roland@hack.frob.com>
34974
34975 * io/fts.c (dirent_not_directory): New function.
34976 (fts_build): Call it.
34977
34978 2014-10-20 Roland McGrath <roland@hack.frob.com>
34979
34980 * nptl/version.c (__nptl_main): Use normal __write rather than
34981 INTERNAL_SYSCALL.
34982 (banner): Update copyright years.
34983
34984 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34985 gettimeofday.
34986 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34987 * nptl/pthread_cond_timedwait.c: Likewise.
34988 * nptl/pthread_mutex_timedlock.c: Likewise.
34989 * nptl/sem_timedwait.c: Likewise.
34990
34991 * sysdeps/nptl/bits/libc-lock.h
34992 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34993 (__libc_lock_init_recursive): Return void, not 0.
34994 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34995 (__libc_rwlock_init): Likewise.
34996 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34997
34998 2014-10-20 Torvald Riegel <triegel@redhat.com>
34999
35000 [BZ #15215]
35001 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
35002 (__pthread_once_slow): ... here.
35003 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
35004 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
35005
35006 2014-10-20 Torvald Riegel <triegel@redhat.com>
35007
35008 [BZ #15215]
35009 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
35010 __PTHREAD_ONCE_FORK_GEN_INCR): New.
35011 * sysdeps/nptl/fork.c (__libc_fork): Use them.
35012 * nptl/pthread_once.c (__pthread_once): Likewise.
35013 Update comments.
35014
35015 2014-10-20 Joseph Myers <joseph@codesourcery.com>
35016
35017 [BZ #14138]
35018 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
35019 name.
35020 (writev): Use __libc_writev as strong name.
35021 * sysdeps/unix/sysv/linux/readv.c: Remove file.
35022 * sysdeps/unix/sysv/linux/writev.c: Likewise.
35023
35024 2014-10-17 Roland McGrath <roland@hack.frob.com>
35025
35026 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
35027
35028 * sysdeps/i386/nptl/tls.h
35029 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
35030 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
35031 New macros.
35032 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
35033 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
35034 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
35035 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
35036 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
35037 Call CHECK_THREAD_SYSINFO instead of doing an assert.
35038
35039 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
35040 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
35041 on [__NR_futex].
35042 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
35043 broken out of ...
35044 (__pthread_mutex_init): ... here. Call it.
35045 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
35046 Conditionalize PI cases on [__NR_futex].
35047 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
35048 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
35049 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
35050
35051 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
35052 conditional on [SIGSETXID].
35053 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
35054 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
35055 is defined. Likewise for SIGSETXID.
35056 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
35057 Conditionalize definitions on [SIGSETXID].
35058 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
35059 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
35060 unblocking on [SIGCANCEL].
35061
35062 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
35063 [__NR_set_robust_list].
35064
35065 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35066
35067 * string/strcoll_l.c (get_next_seq): Fix up formatting.
35068 (do_compare): Likewise.
35069
35070 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
35071
35072 [BZ #15884]
35073 * string/strcoll_l.c: Don't include stdio.h.
35074 (coll_seq): Remove members idxarr and rulearr.
35075 (get_next_seq_cached): Remove function.
35076 (get_next_seq): Likewise.
35077 (get_next_seq_nocache): Rename to get_next_seq.
35078 (do_compare): Remove function.
35079 (do_compare_nocache): Rename to do_compare.
35080 (STRCOLL): Remove weight and rules cache.
35081
35082 2014-10-16 Roland McGrath <roland@hack.frob.com>
35083
35084 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
35085 * sysdeps/arm/sfp-machine.h: ... to here.
35086 * sysdeps/arm/Implies: Remove arm/soft-fp.
35087
35088 2014-10-14 Joseph Myers <joseph@codesourcery.com>
35089
35090 * conform/data/sys/utsname.h-data (*_t): Allow.
35091 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
35092 [POSIX] (WEXITED): Do not expect constant.
35093 [POSIX] (WSTOPPED): Likewise.
35094 [POSIX] (WNOHANG): Likewise.
35095 [POSIX] (WNOWAIT): Likewise.
35096 [POSIX] (siginfo_t): Do not expect type or elements.
35097 [POSIX] (pid_t): Do not expect type.
35098 [POSIX] (signal.h): Do not allow header.
35099 [POSIX] (sys/resource.h): Likewise.
35100 [POSIX] (si_*): Do not allow pattern.
35101 [POSIX] (W*): Likewise.
35102 [POSIX] (P_*): Likewise.
35103 [POSIX] (BUS_*): Likewise.
35104 [POSIX] (CLD_*): Likewise.
35105 [POSIX] (FPE_*): Likewise.
35106 [POSIX] (ILL_*): Likewise.
35107 [POSIX] (POLL_*): Likewise.
35108 [POSIX] (SEGV_*): Likewise.
35109 [POSIX] (SI_*): Likewise.
35110 [POSIX] (TRAP_*): Likewise.
35111 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
35112 variable.
35113
35114 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
35115
35116 [BZ #12926]
35117 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
35118 infinite loop when __recvmsg returns 0.
35119
35120 2014-10-10 Joseph Myers <joseph@codesourcery.com>
35121
35122 * CANCEL-FCT-WAIVE: Remove file.
35123 * CANCEL-FILE-WAIVE: Likewise.
35124
35125 [BZ #14132]
35126 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
35127 instead of INTVARDEF.
35128 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35129 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
35130 rtld_hidden_data_def instead of INTVARDEF.
35131 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35132 * elf/dl-deps.c (expand_dst): Likewise.
35133 * elf/dl-load.c (_dl_dst_count): Likewise.
35134 (_dl_dst_substitute): Likewise.
35135 (decompose_rpath): Likewise.
35136 (_dl_init_paths): Likewise.
35137 (open_path): Likewise.
35138 (_dl_map_object): Likewise.
35139 * elf/rtld.c (dl_main): Likewise.
35140 (process_dl_audit): Likewise.
35141 (process_envvars): Likewise.
35142 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
35143 Remove declaration.
35144 (__libc_enable_secure): Use rtld_hidden_proto.
35145
35146 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35147
35148 * elf/dl-load.c
35149 (add_path): New function broken out of _dl_rtld_di_serinfo.
35150 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
35151
35152 2014-10-09 Joseph Myers <joseph@codesourcery.com>
35153
35154 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
35155 parentheses around macro arguments.
35156 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
35157 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
35158 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
35159 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
35160 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
35161 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35162 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35163 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
35164 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
35165 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
35166 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
35167 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
35168 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
35169 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
35170 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
35171 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
35172 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
35173 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
35174 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
35175 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
35176 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
35177 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
35178 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
35179 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35180 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35181 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
35182 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
35183 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
35184 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
35185 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
35186 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
35187 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
35188 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
35189 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
35190 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
35191 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
35192 Likewise.
35193 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
35194 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35195 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35196 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
35197 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
35198 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
35199 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
35200 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
35201 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
35202 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
35203 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
35204 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
35205 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
35206 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
35207 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
35208 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35209 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35210 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
35211 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
35212 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
35213 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
35214 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
35215 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
35216 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
35217 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
35218 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
35219 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
35220 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
35221 (_FP_FRAC_SRS_1): Likewise.
35222 (_FP_FRAC_CLZ_1): Likewise.
35223 (_FP_MUL_MEAT_1_imm): Likewise.
35224 (_FP_MUL_MEAT_1_wide): Likewise.
35225 (_FP_MUL_MEAT_1_hard): Likewise.
35226 (_FP_SQRT_MEAT_1): Likewise.
35227 (_FP_FRAC_ASSEMBLE_1): Likewise.
35228 (_FP_FRAC_DISASSEMBLE_1): Likewise.
35229 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
35230 (__FP_CLZ_2): Likewise.
35231 (_FP_MUL_MEAT_2_wide): Likewise.
35232 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35233 (_FP_MUL_MEAT_2_gmp): Likewise.
35234 (_FP_MUL_MEAT_2_120_240_double): Likewise.
35235 (_FP_SQRT_MEAT_2): Likewise.
35236 (_FP_FRAC_ASSEMBLE_2): Likewise.
35237 (_FP_FRAC_DISASSEMBLE_2): Likewise.
35238 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
35239 (_FP_FRAC_CLZ_4): Likewise.
35240 (_FP_MUL_MEAT_4_wide): Likewise.
35241 (_FP_MUL_MEAT_4_gmp): Likewise.
35242 (_FP_SQRT_MEAT_4): Likewise.
35243 (_FP_FRAC_ASSEMBLE_4): Likewise.
35244 (_FP_FRAC_DISASSEMBLE_4): Likewise.
35245 * soft-fp/op-common.h (_FP_CMP): Likewise.
35246 (_FP_CMP_EQ): Likewise.
35247 (_FP_CMP_UNORD): Likewise.
35248 (_FP_TO_INT): Likewise.
35249 (_FP_FROM_INT): Likewise.
35250 [!__FP_CLZ] (__FP_CLZ): Likewise.
35251 (_FP_DIV_HELP_imm): Likewise.
35252 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
35253 Likewise.
35254 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
35255 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
35256 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
35257 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
35258 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
35259 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35260 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35261 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
35262 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
35263 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
35264 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
35265 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
35266 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
35267 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
35268 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
35269 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
35270 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
35271 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
35272 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
35273 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
35274 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
35275 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
35276 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
35277 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35278 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35279 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
35280 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
35281 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
35282 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
35283 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
35284 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
35285 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
35286 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
35287 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
35288 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
35289 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
35290 (FP_UNPACK_RAW_SP): Likewise.
35291 (FP_PACK_RAW_S): Likewise.
35292 (FP_PACK_RAW_SP): Likewise.
35293 (FP_UNPACK_S): Likewise.
35294 (FP_UNPACK_SP): Likewise.
35295 (FP_UNPACK_SEMIRAW_S): Likewise.
35296 (FP_UNPACK_SEMIRAW_SP): Likewise.
35297 (FP_PACK_S): Likewise.
35298 (FP_PACK_SP): Likewise.
35299 (FP_PACK_SEMIRAW_S): Likewise.
35300 (FP_PACK_SEMIRAW_SP): Likewise.
35301 (_FP_SQRT_MEAT_S): Likewise.
35302 (FP_CMP_S): Likewise.
35303 (FP_CMP_EQ_S): Likewise.
35304 (FP_CMP_UNORD_S): Likewise.
35305 (FP_TO_INT_S): Likewise.
35306 (FP_FROM_INT_S): Likewise.
35307
35308 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
35309
35310 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
35311 (FP_EX_INVALID_IMZ): Likewise.
35312 (FP_EX_INVALID_IMZ_FMA): Likewise.
35313 (FP_EX_INVALID_ISI): Likewise.
35314 (FP_EX_INVALID_ZDZ): Likewise.
35315 (FP_EX_INVALID_IDI): Likewise.
35316 (FP_EX_INVALID_SQRT): Likewise.
35317 (FP_EX_INVALID_CVI): Likewise.
35318 (FP_EX_INVALID_VC): Likewise.
35319 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
35320 "invalid" exceptions.
35321 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
35322 (_FP_ADD_INTERNAL): Likewise.
35323 (_FP_MUL): Likewise.
35324 (_FP_FMA): Likewise.
35325 (_FP_DIV): Likewise.
35326 (_FP_CMP_CHECK_NAN): Likewise.
35327 (_FP_SQRT): Likewise.
35328 (_FP_TO_INT): Likewise.
35329 (FP_EXTEND): Likewise.
35330
35331 2014-10-09 Allan McRae <allan@archlinux.org>
35332
35333 * po/fr.po: Update French translation from translation project.
35334
35335 2014-10-09 Joseph Myers <joseph@codesourcery.com>
35336
35337 [BZ #14132]
35338 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
35339 of INTDEF.
35340 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
35341 (__cxa_atexit): Use libc_hidden_proto.
35342 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
35343
35344 [BZ #14132]
35345 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
35346 declaration.
35347 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
35348 [!_ISOMAC] (__iswspace_l_internal): Likewise.
35349 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
35350 [!_ISOMAC] (__iswctype_internal): Likewise.
35351 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
35352 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
35353 alias.
35354 (fcntl): Remove __fcntl_internal alias.
35355 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
35356 __connect_internal alias.
35357 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
35358 Likewise.
35359
35360 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
35361 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
35362 FP_DENORM_ZERO.
35363 (_FP_CHECK_FLUSH_ZERO): New macro.
35364 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
35365 (_FP_CMP): Likewise.
35366 (_FP_CMP_EQ): Likewise.
35367 (_FP_TO_INT): Do not set inexact for subnormal arguments if
35368 FP_DENORM_ZERO.
35369 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
35370 (FP_TRUNC): Likewise.
35371
35372 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
35373 treated as invalid conversion, not as normal exponent.
35374
35375 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
35376 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
35377 (_FP_CMP_EQ): Likewise.
35378 (_FP_CMP_UNORD): Likewise.
35379 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
35380 (FP_CMP_EQ_D): Likewise.
35381 (FP_CMP_UNORD_D): Likewise.
35382 * soft-fp/extended.h (FP_CMP_E): Likewise.
35383 (FP_CMP_EQ_E): Likewise.
35384 (FP_CMP_UNORD_E): Likewise.
35385 * soft-fp/quad.h (FP_CMP_Q): Likewise.
35386 (FP_CMP_EQ_Q): Likewise.
35387 (FP_CMP_UNORD_Q): Likewise.
35388 * soft-fp/single.h (FP_CMP_S): Likewise.
35389 (FP_CMP_EQ_S): Likewise.
35390 (FP_CMP_UNORD_S): Likewise.
35391 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
35392 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
35393 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
35394 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
35395 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
35396 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
35397 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
35398 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
35399 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
35400 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
35401 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
35402 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
35403 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
35404 to FP_CMP_Q.
35405 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
35406 FP_CMP_Q.
35407 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
35408 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
35409 FP_CMP_EQ_Q.
35410 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
35411 FP_CMP_Q.
35412 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
35413 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
35414 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
35415 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
35416 FP_CMP_EQ_Q.
35417 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
35418 FP_CMP_Q.
35419 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
35420 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
35421 FP_CMP_EQ_Q.
35422 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
35423 FP_CMP_Q.
35424 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
35425 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
35426 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
35427 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
35428 FP_CMP_EQ_Q.
35429
35430 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
35431 a subnormal result, set the underflow exception if trapping on
35432 underflow is enabled.
35433 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
35434 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
35435 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
35436 redefine to 0.
35437 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
35438 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35439 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35440 * soft-fp/extendxftf2.c (__extendxftf2): Use
35441 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
35442
35443 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
35444 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
35445 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35446 FP_HANDLE_EXCEPTIONS.
35447 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
35448 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35449 FP_HANDLE_EXCEPTIONS.
35450 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
35451 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35452 FP_HANDLE_EXCEPTIONS.
35453 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
35454 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35455 FP_HANDLE_EXCEPTIONS.
35456
35457 2014-10-08 Joseph Myers <joseph@codesourcery.com>
35458
35459 [BZ #14132]
35460 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
35461 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
35462 use INTUSE.
35463 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
35464 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
35465 Remove alias.
35466 (__adjtimex): Define using libc_hidden_ver.
35467 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
35468 Remove declaration.
35469 (ntp_gettime): Call __adjtimex directly.
35470 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
35471 Remove declaration.
35472 (ntp_gettimex): Call __adjtimex directly.
35473 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
35474 __adjtimex_internal alias.
35475
35476 2014-10-08 Roland McGrath <roland@hack.frob.com>
35477
35478 [BZ #17460]
35479 * nscd/nscd.c (more_help): Rewrite list of tables collection
35480 using xstrdup and asprintf.
35481
35482 * nscd/nscd_conf.c: Remove local xstrdup declaration.
35483
35484 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35485 Roland McGrath <roland@hack.frob.com>
35486
35487 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
35488 (do_lookup_unique): ... local function 'enter' here; update callers.
35489
35490 2014-10-06 Joseph Myers <joseph@codesourcery.com>
35491
35492 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
35493 compat_symbol calls on [SHARED].
35494 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
35495 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
35496 Remove.
35497 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35498 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
35499 (oldsetrlimit): Remove.
35500 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35502 (lchown): New syscall entry.
35503 (oldsetrlimit): Remove.
35504 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35505 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
35506 (oldsetrlimit): Remove.
35507 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35508
35509 [BZ #14138]
35510 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
35511 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
35512 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
35513 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
35514 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35515 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
35516 (fchown): Likewise.
35517 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
35518 (fchown): Likewise.
35519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
35520 Likewise.
35521
35522 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35523
35524 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
35525 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
35526 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
35527 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
35528 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
35529 Likewise.
35530 (__old_sem_post): Likewise.
35531
35532 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
35533
35534 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
35535 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
35536 HAVE_CLOCK_GETTIME_VSYSCALL macros.
35537 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
35538 Use INLINE_VSYSCALL macro.
35539 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
35540 __vdso_clock_gettime.
35541 * sysdeps/unix/sysv/linux/tile/init-first.c
35542 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
35543 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
35544 __vdso_clock_gettime.
35545
35546 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
35547 to set up frame more cleanly.
35548
35549 * sysdeps/tile/memcmp.c: New file.
35550
35551 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
35552
35553 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
35554 * sysdeps/tile/tilegx/strcasestr.c: New file.
35555 * sysdeps/tile/tilegx/strnlen.c: New file.
35556 * sysdeps/tile/tilegx/strstr.c: New file.
35557
35558 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
35559
35560 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
35561
35562 * nptl/tst-setuid3.c: Write errors to stdout.
35563
35564 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35565
35566 * elf/dl-deps.c
35567 (preload): New functions broken out of _dl_map_object_deps.
35568 (_dl_map_object_deps): Remove a nested function. Update call sites.
35569
35570 2014-10-01 Joseph Myers <joseph@codesourcery.com>
35571
35572 [BZ #14138]
35573 * sysdeps/unix/sysv/linux/execve.c: Remove file.
35574 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
35575
35576 2014-10-01 Steve Ellcey <sellcey@mips.com>
35577
35578 * sysdeps/mips/strcmp.S: New.
35579
35580 2014-09-30 Joseph Myers <joseph@codesourcery.com>
35581
35582 [BZ #14138]
35583 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
35584 (linkat): Likewise.
35585 (mkdirat): Likewise.
35586 (readlinkat): Likewise.
35587 (renameat): Likewise.
35588 (symlinkat): Likewise.
35589 (unlinkat): Likewise.
35590 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
35591 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
35592 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
35593 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
35594 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
35595 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
35596 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
35597
35598 2014-09-30 Will Newton <will.newton@linaro.org>
35599
35600 * math/math.h: Define long double math functions if
35601 _LIBC_TEST is defined.
35602 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
35603
35604 * localedata/Makefile: Move assignment to tests-special
35605 into an ifdef testing run-built-tests.
35606 * timezone/Makefile: Likewise.
35607
35608 2014-09-29 Joseph Myers <joseph@codesourcery.com>
35609
35610 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
35611 with $(BASH) not $(SHELL).
35612
35613 2014-09-29 Carlos O'Donell <carlos@redhat.com>
35614 Matthew LeGendre <legendre1@llnl.gov>
35615
35616 [BZ #17411]
35617 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
35618 l_reloc_result.
35619
35620 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35621
35622 * stdio-common/printf_fp.c
35623 (hack_digit): New function, broken out of ...
35624 (__printf_fp): ... local function here. Update call sites.
35625 hack_digit now takes an additional parameter that is a pointer
35626 to a struct of the referenced locals. Those locals moved inside
35627 the struct and references updated.
35628
35629 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
35630
35631 * aclocal.m4: Require autoconf 2.69.
35632 * configure: Regenerated.
35633 * sysdeps/aarch64/configure: Likewise.
35634 * sysdeps/alpha/configure: Likewise.
35635 * sysdeps/arm/armv7/configure: Likewise.
35636 * sysdeps/arm/configure: Likewise.
35637 * sysdeps/ia64/configure: Likewise.
35638 * sysdeps/mach/configure: Likewise.
35639 * sysdeps/mips/configure: Likewise.
35640 * sysdeps/s390/configure: Likewise.
35641 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
35642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
35643
35644 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
35645 file.
35646 * sysdeps/ia64/configure.ac: Likewise.
35647
35648 2014-09-26 Joseph Myers <joseph@codesourcery.com>
35649
35650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
35651 specify symbol version for ld.so. Do not include entry for
35652 libpthread.
35653 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35654 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35655 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35656
35657 [BZ #14171]
35658 * Makeconfig [$(build-shared) = yes]
35659 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
35660 makefiles.
35661 [$(build-shared) = yes && $(soversions.mk-done) = t]
35662 ($(common-objpfx)gnu/lib-names.h): Remove rule.
35663 [$(build-shared) = yes && $(soversions.mk-done) = t]
35664 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
35665 to Makerules.
35666 [$(build-shared) = yes && $(soversions.mk-done) = t]
35667 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
35668 here.
35669 [$(build-shared) = yes && $(soversions.mk-done) = t]
35670 (common-generated): Don't append gnu/lib-names.h and
35671 gnu/lib-names.stmp here.
35672 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
35673 (lib-names-h-abi): New variable.
35674 [$(build-shared) = yes && $(soversions.mk-done) = t]
35675 (lib-names-stmp-abi): Likewise.
35676 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35677 abi-variants] (before-compile): Append
35678 $(common-objpfx)$(lib-names-h-abi).
35679 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35680 abi-variants] (common-generated): Append gnu/lib-names.h.
35681 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35682 abi-variants] (install-others-nosubdir): Depend on
35683 $(inst_includedir)/$(lib-names-h-abi).
35684 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35685 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
35686 [$(build-shared) = yes && $(soversions.mk-done) = t]
35687 ($(common-objpfx)$(lib-names-h-abi)): New rule.
35688 [$(build-shared) = yes && $(soversions.mk-done) = t]
35689 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
35690 [$(build-shared) = yes && $(soversions.mk-done) = t]
35691 (common-generated): Append $(lib-names-h-abi) and
35692 $(lib-names-stmp-abi).
35693 * scripts/lib-names.awk: Do not handle multi being set.
35694 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
35695 Remove variable.
35696 (abi-lp64_be-ld-soname): Likewise.
35697 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
35698 Likewise.
35699 (abi-hard-ld-soname): Likewise.
35700 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
35701 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
35702 Remove variable.
35703 (abi-o32_hard-ld-soname): Likewise.
35704 (abi-o32_soft_2008-ld-soname): Likewise.
35705 (abi-o32_hard_2008-ld-soname): Likewise.
35706 (abi-n32_soft-ld-soname): Likewise.
35707 (abi-n32_hard-ld-soname): Likewise.
35708 (abi-n32_soft_2008-ld-soname): Likewise.
35709 (abi-n32_hard_2008-ld-soname): Likewise.
35710 (abi-n64_soft-ld-soname): Likewise.
35711 (abi-n64_hard-ld-soname): Likewise.
35712 (abi-n64_soft_2008-ld-soname): Likewise.
35713 (abi-n64_hard_2008-ld-soname): Likewise.
35714 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
35715 Likewise.
35716 (abi-64-v2-ld-soname): Likewise.
35717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
35718 ld.so entries.
35719 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
35720 variable.
35721 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
35722 entry.
35723 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
35724 variable.
35725 (abi-64-ld-soname): Likewise.
35726 (abi-x32-ld-soname): Likewise.
35727 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
35728 entry.
35729 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35730
35731 2014-09-23 Joseph Myers <joseph@codesourcery.com>
35732
35733 [BZ #14138]
35734 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
35735 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
35736 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
35737 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
35738 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
35739 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
35740 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
35741 syscall entry for GLIBC_2.2 symbol version.
35742 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
35743 Likewise.
35744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35745 (setrlimit): Likewise.
35746 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
35747 Likewise.
35748
35749 2014-09-23 Will Newton <will.newton@linaro.org>
35750
35751 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
35752 _LINUX_ARM_SYSDEP_H include guard too.
35753 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
35754 define.
35755
35756 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
35757
35758 * sysdeps/unix/sysv/linux/eventfd.c:
35759 Make first argument unsigned.
35760 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
35761 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
35762
35763 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
35764
35765 [BZ #16852]
35766 * socket/recvmmsg.c (recvmmsg): Drop const argument.
35767 * socket/sys/socket.h: Likewise.
35768 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
35769
35770 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35771
35772 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
35773
35774 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
35775
35776 * time/tst-ftime.c: New test.
35777 * time/Makefile (tests): Add tst-ftime.
35778
35779 2014-09-17 Joseph Myers <joseph@codesourcery.com>
35780
35781 * soft-fp/extended.h: Fix comment formatting.
35782 * soft-fp/op-1.h: Likewise.
35783 * soft-fp/op-2.h: Likewise.
35784 * soft-fp/op-4.h: Likewise.
35785 * soft-fp/op-8.h: Likewise.
35786 * soft-fp/op-common.h: Likewise.
35787 * soft-fp/soft-fp.h: Likewise.
35788
35789 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
35790
35791 2014-09-16 Joseph Myers <joseph@codesourcery.com>
35792
35793 [BZ #6652]
35794 * Makeconfig (soversions-default-setname): Remove variable.
35795 ($(common-objpfx)soversions.i): Don't pass default_setname to
35796 soversions.awk.
35797 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
35798 oldest_abi to abi-versions.awk.
35799 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
35800 * config.make.in (oldest-abi): Remove variable.
35801 * configure.ac (--enable-oldest-abi): Remove configure option.
35802 * configure: Regenerated.
35803 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
35804 text.
35805 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
35806 * scripts/soversions.awk: Do not handle default_setname variable.
35807 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
35808 variable.
35809 * sysdeps/mach/hurd/configure: Regenerated.
35810 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
35811 variable.
35812 * sysdeps/unix/sysv/linux/configure: Regenerated.
35813
35814 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35815
35816 * elf/Makefile (CFLAGS-interp.c): Remove.
35817 ($(elf-objpfx)runtime-linker.h): Generate header with linker
35818 path string.
35819 * elf/interp.c: Include generated runtime-linker.h
35820
35821 * Makerules (lib%.so): Don't include $(+interp) in
35822 prerequisites.
35823 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
35824 * dlfcn/eval.c: Remove file.
35825
35826 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
35827 macros.
35828
35829 [BZ #17266]
35830 * misc/sys/cdefs.h: Define __extern_always_inline for clang
35831 4.2 and newer.
35832
35833 [BZ #17370]
35834 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
35835
35836 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35837 Jakub Jelinek <jakub@redhat.com>
35838
35839 [BZ #17266]
35840 * libio/stdio.h: Check definition of __fortify_function
35841 instead of __extern_always_inline to include bits/stdio2.h.
35842 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
35843 check if __extern_always_inline is defined.
35844 [__USE_MISC || __USE_XOPEN]: Likewise.
35845 [__USE_ISOC99] Likewise.
35846 * misc/sys/cdefs.h (__fortify_function): Define only if
35847 __extern_always_inline is defined.
35848 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
35849 __extern_always_inline and __extern_inline only for g++-4.3
35850 and newer or a compatible gcc.
35851
35852 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
35853
35854 [BZ #17371]
35855 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35856 last change to handle zero prefix length.
35857
35858 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35859
35860 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
35861 _SC_REGEX_VERSION.
35862
35863 * posix/getconf.c (vars): Add _POSIX_IPV6 and
35864 _POSIX_RAW_SOCKETS.
35865
35866 2014-09-13 Allan McRae <allan@archlinux.org>
35867
35868 * po/ru.po: Update Russian translation from translation project.
35869
35870 2014-09-12 Roland McGrath <roland@hack.frob.com>
35871
35872 * locale/programs/locale.c (show_locale_vars): Inline local function
35873 into its sole call site. Clean up some style nits.
35874 (print_item): New function, broken out of ...
35875 (show_info): ... local function here. Clean up style nits.
35876
35877 * locale/programs/ld-ctype.c (set_one_default): New function, broken
35878 out of ...
35879 (set_class_defaults): ... local function set_default here.
35880 Define set_default as a macro locally to pass constant parameters.
35881 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35882 rather than a shared local.
35883
35884 * stdlib/rpmatch.c (try): New function, broken out of ...
35885 (rpmatch): ... local function here. Also, prototypify definition.
35886
35887 2014-09-12 Joseph Myers <joseph@codesourcery.com>
35888
35889 * scripts/soversions.awk: Do not handle configuration names.
35890 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35891 vendor and os variables to soversions.awk.
35892 * configure.ac: Do not modify gnu-* host_os.
35893 * configure: Regenerated
35894 * shlib-versions: Remove first column with configuration names.
35895 * nptl/shlib-versions: Likewise.
35896 * nptl_db/shlib-versions: Likewise.
35897 * sysdeps/hppa/shlib-versions: Likewise.
35898 * sysdeps/m68k/shlib-versions: Likewise.
35899 * sysdeps/mach/hurd/shlib-versions: Likewise.
35900 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35901 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35902 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35903 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35904 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35905 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35906 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35907 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35909 Likewise.
35910 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35911 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35912 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35913 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35914 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35915 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35916 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35917 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35918
35919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35920 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35922 Regenerated.
35923 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35925 Condition symbol version definitions on [HAVE_ELFV2_ABI].
35926
35927 * shlib-versions: Remove OS-specific entries. Moved to files in
35928 sysdeps.
35929 * sysdeps/mach/hurd/shlib-versions: New file.
35930 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35931
35932 * nptl/shlib-versions: Remove architecture-specific entries.
35933 Moved to files in sysdeps.
35934 * shlib-versions: Likewise.
35935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35936 file.
35937 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35938 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35939 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35940 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35941
35942 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35943 (UDP_NO_CHECK6_RX): Likewise.
35944
35945 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35946
35947 * sysdeps/posix/sysconf.c (__sysconf): Spell
35948 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35949
35950 2014-08-12 Florian Weimer <fweimer@redhat.com>
35951
35952 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35953 loading.
35954 * iconv/Versions (__gconv_transliterate): Export for use from
35955 gconv modules.
35956 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35957 (struct __gconv_trans_data, __gconv_trans_fct,
35958 __gconv_trans_context_fct, __gconv_trans_query_fct,
35959 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35960 definitions.
35961 (struct __gconv_step_data): Remove __trans member.
35962 (__gconv_transliterate): Declaration moved from gconv_int.h. No
35963 longer hidden. Remove unused trans_data argument.
35964 * iconv/gconv_int.h (struct trans_struct): Remove definition.
35965 (__gconv_translit_find): Remove declaration.
35966 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
35967 prototype.
35968 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35969 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35970 trans_data argument. Add hidden definition.
35971 (__gconv_translit_find): Remove.
35972 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35973 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35974 * iconv/skeleton.c: Remove transliteration initialization.
35975 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35976 __gconv_step_data initialization.
35977 * libio/iofwide.c (__libio_translit_): Remove.
35978 (_IO_fwide): Adjust struct __gconv_step_data initialization.
35979 * wcsmbs/btowc.c (__btowc): Likewise.
35980 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35981 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35982 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35983 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35984 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35985 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35986 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35987 * wcsmbs/wctob.c (wctob): Likewise.
35988
35989 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35990
35991 [BZ #16194]
35992 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35993 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
35994 register usage.
35995 * sysdeps/x86/Makefile: Adjust.
35996
35997 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35998 Roland McGrath <roland@hack.frob.com>
35999
36000 * locale/weight.h: Add include guard.
36001 (findidx): Make static rather than auto; take new parameters
36002 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
36003 * locale/weightwc.h: Likewise.
36004 * posix/fnmatch_loop.c
36005 (FCT): Change type of EXTRA from int32_t to wint_t.
36006 Don't include either header inside the function.
36007 Call FINDIDX rather than findidx, and pass new arguments.
36008 #undef FINDIDX at the end of the file.
36009 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
36010 FINDIDX before including fnmatch_loop.c for the non-wide version.
36011 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
36012 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
36013 for the wide version.
36014 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
36015 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
36016 Pass new arguments to findidx.
36017 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
36018 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
36019 Don't #include it inside the function. Pass new arguments to findidx.
36020 * posix/regex_internal.h
36021 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
36022 (re_string_elem_size_at): Don't #include it inside the function.
36023 Pass new arguments to findidx.
36024 * string/strcoll_l.c: #include WEIGHT_H at top level.
36025 (get_next_seq): Don't #include it inside the function.
36026 Pass new arguments to findidx.
36027 (get_next_seq_nocache): Likewise.
36028 * string/strxfrm_l.c: #include WEIGHT_H at top level.
36029 (STRXFRM): Don't #include it inside the function.
36030 Pass new arguments to findidx.
36031
36032 2014-09-11 Florian Weimer <fweimer@redhat.com>
36033
36034 [BZ #17344]
36035 * malloc/malloc.c (unlink): Turn asserts into a call to
36036 malloc_printerr.
36037
36038 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
36039
36040 [BZ #17370]
36041 * libio/wfileops (do_ftell_wide): Free OUT.
36042
36043 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
36044
36045 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
36046
36047 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36048
36049 [BZ #17363]
36050 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
36051 group if the current group is empty.
36052
36053 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36054
36055 * benchtests/bench-memset.c (test_main): Add more test from size
36056 from 32 to 512 bytes.
36057 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36058 Add POWER8 memset object.
36059 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36060 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
36061 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
36062 implementation.
36063 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
36064 Likewise.
36065 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
36066 multiarch POWER8 memset optimization.
36067 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
36068 POWER8 memset optimization.
36069
36070 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36071 Remove bzero multiarch objects.
36072 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
36073 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
36074 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
36075 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
36076 Remove define.
36077 [__bzero]: Redefine to specific name.
36078 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
36079 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
36080 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
36081 define.
36082 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36083 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36084
36085 2014-09-10 Florian Weimer <fweimer@redhat.com>
36086
36087 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
36088 warnings into errors.
36089
36090 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
36091 __cxa_thread_atexit_impl prototype.
36092
36093 2014-09-09 Steve Ellcey <sellcey@mips.com>
36094
36095 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
36096 Fix capitalization of error message.
36097
36098 2014-09-09 Steve Ellcey <sellcey@mips.com>
36099
36100 * sysdeps/mips/preconfigure: Modify ABI tests.
36101
36102 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
36103
36104 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
36105
36106 2014-09-07 Roland McGrath <roland@hack.frob.com>
36107 Carlos O'Donell <carlos@systemhalted.org>
36108
36109 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
36110 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
36111 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
36112 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
36113 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
36114 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
36115 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
36116 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
36117 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
36118 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
36119 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
36120 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
36121 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
36122 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
36123 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
36124 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
36125 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
36126 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
36127 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
36128 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
36129 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
36130 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
36131 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
36132 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
36133 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
36134 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
36135 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
36136 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
36137 Deconditionalize the code that was previously under [RESET_PID].
36138 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
36139 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
36140 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
36141 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
36142 include sysdep.h.
36143
36144 2014-09-08 Allan McRae <allan@archlinux.org>
36145
36146 * version.h (RELEASE): Set to "development".
36147 (VERSION): Set to "2.20.90"
36148
36149 2014-09-07 Allan McRae <allan@archlinux.org
36150
36151 * version.h (RELEASE): Set to "stable".
36152 (VERSION): Set to "2.20"
36153 * include/features.h (__GLIBC_MINOR__): Set to 20.
36154
36155 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
36156 Liebler.
36157
36158 * po/ko.po: Update Korean translation from translation project.
36159
36160 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
36161
36162 [BZ #17354]
36163 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
36164 macro for handling signed relocations.
36165
36166 2014-09-03 Florian Weimer <fweimer@redhat.com>
36167
36168 [BZ #17325]
36169 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
36170 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
36171 assert.
36172 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
36173 * iconvdata/ibm935.c (BODY): Likewise.
36174 * iconvdata/ibm937.c (BODY): Likewise.
36175 * iconvdata/ibm939.c (BODY): Likewise.
36176 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
36177 assert.
36178 * iconvdata/Makefile (iconv-test.out): Pass module list to test
36179 script.
36180 * iconvdata/run-iconv-test.sh: New test loop for checking for
36181 decoder crashers.
36182
36183 2014-09-02 Khem Raj <raj.khem@gmail.com>
36184
36185 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
36186 libm_hidden_ver.
36187
36188 2014-09-01 Allan McRae <allan@archlinux.org>
36189
36190 * po/eo.po: Update Esperanto translation from translation project.
36191
36192 * po/ca.po: Update Catalan translation from translation project.
36193
36194 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
36195
36196 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
36197 __proc_dostop call.
36198
36199 2014-08-27 Mark Wielaard <mjw@redhat.com>
36200
36201 [BZ #17319]
36202 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
36203 to call set_thread_area instead of hand written asm.
36204 (__NR_set_thread_area): Removed define.
36205 (TLS_FLAG_WRITABLE): Likewise.
36206 (__ASSUME_SET_THREAD_AREA): Remove check.
36207 (TLS_EBX_ARG): Remove define.
36208 (TLS_LOAD_EBX): Likewise.
36209
36210 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
36211
36212 Simplify atomicity of socket creation in bind.
36213
36214 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
36215 looking up the name after linking the file.
36216
36217 2014-08-27 Allan McRae <allan@archlinux.org>
36218
36219 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36220
36221 2014-08-26 Florian Weimer <fweimer@redhat.com>
36222
36223 [BZ #17187]
36224 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
36225 trans_compare, open_translit, __gconv_translit_find):
36226 Remove module loading code.
36227
36228 2014-08-26 Allan McRae <allan@archlinux.org>
36229
36230 * po/vi.po: Update Vietnamese translation from translation project.
36231
36232 * po/uk.po: Update Ukrainian translation from translation project.
36233
36234 * po/fr.po: Update French translation from translation project.
36235
36236 * po/ru.po: Update Russian translation from translation project.
36237
36238 * po/pl.po: Update Polish translation from translation project.
36239
36240 * po/cs.po: Update Czech translation from translation project.
36241
36242 * po/de.po: Update German translation from translation project.
36243
36244 * po/bg.po: Update Bulgarian translation from translation project.
36245
36246 * po/sv.po: Update Sweedish translation from translation project.
36247
36248 * po/nl.po: Update Dutch translation from translation project.
36249
36250 * po/es.po: Update Spanish translation from translation project.
36251
36252 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36253
36254 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
36255
36256 * catgets/Makefile (CPPFLAGS-gencat): Remove.
36257 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
36258 (CPPFLAGS-iconvconfig): Likewise.
36259 * timezone/Makefile (CPPFLAGS-zic): Likewise.
36260
36261 * include/libc-symbols.h: Remove unnecessary check for
36262 NOT_IN_libc.
36263 * nptl/pthreadP.h: Likewise.
36264 * sysdeps/aarch64/setjmp.S: Likewise.
36265 * sysdeps/alpha/setjmp.S: Likewise.
36266 * sysdeps/arm/sysdep.h: Likewise.
36267 * sysdeps/i386/setjmp.S: Likewise.
36268 * sysdeps/m68k/setjmp.c: Likewise.
36269 * sysdeps/posix/getcwd.c: Likewise.
36270 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36271 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36272 * sysdeps/s390/s390-32/setjmp.S: Likewise.
36273 * sysdeps/s390/s390-64/setjmp.S: Likewise.
36274 * sysdeps/sh/sh3/setjmp.S: Likewise.
36275 * sysdeps/sh/sh4/setjmp.S: Likewise.
36276 * sysdeps/unix/alpha/sysdep.h: Likewise.
36277 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36278 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36279 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36280 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36283 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36284 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36285 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36286 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36287 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36288 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36289 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36290 * sysdeps/x86_64/setjmp.S: Likewise.
36291
36292 2014-08-13 Joseph Myers <joseph@codesourcery.com>
36293
36294 [BZ #17263]
36295 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
36296 <stdint.h>.
36297 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
36298 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
36299
36300 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36301
36302 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
36303
36304 [BZ #17262]
36305 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
36306 and __x86_64__ when disabling x87 inline functions.
36307
36308 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
36309
36310 [BZ #17259]
36311 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
36312 asm statement with __cpuid_count.
36313
36314 2014-08-12 Mike Frysinger <vapier@gentoo.org>
36315
36316 * configure.ac: Change __ehdr_start code to dereference the struct.
36317 Run readelf on the output to look for relocations.
36318 * configure: Regenerated.
36319
36320 2014-08-12 Joseph Myers <joseph@codesourcery.com>
36321
36322 [BZ #17261]
36323 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
36324 value to 0.
36325 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
36326
36327 2014-08-12 Roland McGrath <roland@hack.frob.com>
36328
36329 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
36330
36331 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
36332
36333 [BZ #16892]
36334 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
36335 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
36336
36337 2014-08-12 Sean Anderson <seanga2@gmail.com>
36338
36339 * malloc/malloc.c: Fix typo in comment.
36340
36341 2014-08-09 Allan McRae <allan@archlinux.org>
36342
36343 * Regenerate libc.po.
36344
36345 2014-08-08 Mike Frysinger <vapier@gentoo.org>
36346
36347 * intl/tst-gettext2.sh: Check every lang file for creation.
36348
36349 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
36350
36351 * sysdeps/aarch64/fpu/math_private.h
36352 (libc_feholdsetround_noex_aarch64_ctx): New function.
36353
36354 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
36355
36356 * sysdeps/arm/armv6/strcpy.S (strcpy):
36357 Fix performance issue in misaligned cases.
36358
36359 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36360
36361 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
36362 Move definition from termios.h.
36363 (struct termio): Likewise.
36364 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36365 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36366 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36367 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36368 Likewise.
36369 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
36370 Move definition to ioctl-types.h
36371 (struct termio): Likewise.
36372 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36373 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36374 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36375 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36376 Likewise.
36377
36378 2014-08-05 Richard Henderson <rth@redhat.com>
36379
36380 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
36381 exceptions.
36382 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
36383 Add fraiseexcpt.
36384 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
36385 Use __feraiseexcept.
36386 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
36387 Protect libm symbols with IS_IN_libm.
36388
36389 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
36390
36391 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
36392
36393 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
36394
36395 2014-08-04 Will Newton <will.newton@linaro.org>
36396
36397 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
36398 file.
36399
36400 2014-08-04 Mike Frysinger <vapier@gentoo.org>
36401
36402 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
36403 variants for each function.
36404
36405 2014-08-04 Roland McGrath <roland@hack.frob.com>
36406
36407 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
36408 appended ...
36409 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
36410 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
36411 appended ...
36412 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
36413 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
36414 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
36415 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
36416 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
36417 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
36418 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
36419 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
36420 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
36421 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
36422 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
36423 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
36424 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
36425 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
36426 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
36427 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
36428 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
36429 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
36430 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
36431 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
36432 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
36433 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
36434 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
36435 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
36436 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
36437 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
36438 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
36439 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
36440 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
36441 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
36442 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
36443 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
36444 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
36445 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
36446 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
36447 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
36448 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
36449 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
36450 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
36451 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
36452 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
36453 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
36454 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
36455 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
36456 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
36457 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
36458 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
36459 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
36460 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
36461 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
36462 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
36463 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
36464 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
36465 Update #include.
36466 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
36467 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
36468
36469 2014-08-04 Roland McGrath <roland@hack.frob.com>
36470
36471 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
36472 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
36473 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
36474 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
36475 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
36476 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
36477
36478 2014-08-04 Roland McGrath <roland@hack.frob.com>
36479
36480 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
36481 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
36482 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36483 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
36484
36485 2014-08-04 Roland McGrath <roland@hack.frob.com>
36486
36487 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
36488 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
36489 (__libc_vfork): Define function under this name.
36490 (__vfork): Define as an alias.
36491 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
36492 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
36493
36494 2014-08-04 Roland McGrath <roland@hack.frob.com>
36495
36496 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
36497 that was previously under [RESET_PID].
36498 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
36499
36500 2014-08-04 Andreas Schwab <schwab@suse.de>
36501
36502 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
36503
36504 2014-08-03 Mike Frysinger <vapier@gentoo.org>
36505
36506 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
36507 (main): Likewise.
36508
36509 2014-08-01 Roland McGrath <roland@hack.frob.com>
36510
36511 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
36512
36513 2014-08-01 Richard Henderon <rth@redhat.com>
36514
36515 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
36516 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
36517 typo in exact zero test.
36518 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36519 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36520 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36521
36522 2014-08-01 Roland McGrath <roland@hack.frob.com>
36523
36524 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
36525 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
36526 * sysdeps/arm/sysdep.h: ... here.
36527 [!__ASSEMBLER__]: Include <stdint.h>.
36528
36529 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36530
36531 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
36532 (HAVE_WCTYPE_H): Likewise.
36533 (HAVE_ISWCTYPE): Likewise.
36534 (ENABLE_NLS): Likewise.
36535 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
36536 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
36537
36538 * posix/regex_internal.c: Check if DEBUG is defined and is
36539 set.
36540
36541 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
36542 (HAVE_MBSRTOWCS): Likewise.
36543 * posix/fnmatch.c: Include string.h unconditionally.
36544
36545 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
36546
36547 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
36548 reversal.
36549
36550 2014-07-31 Roland McGrath <roland@hack.frob.com>
36551
36552 * sysdeps/generic/safe-fatal.h: New file.
36553 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
36554 * nptl/forward.c: Include it.
36555 (__pthread_unwind): Use __safe_fatal as default action, rather
36556 than a bogus use of INTERNAL_SYSCALL that could never work.
36557
36558 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
36559 * configure.ac (libc_cv_builtin_trap): New test.
36560 * configure: Regenerated.
36561 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
36562 (ABORT_INSTRUCTION): Define using __builtin_trap.
36563
36564 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
36565 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
36566 * sysdeps/nptl/nptl-signals.h: New file.
36567 * nptl/pthreadP.h: Include <nptl-signals.h>.
36568
36569 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
36570
36571 * sysdeps/s390/s390-64/utf16-utf32-z9.c
36572 (ONE_DIRECTION): Define.
36573 * sysdeps/s390/s390-64/utf8-utf16-z9.c
36574 (ONE_DIRECTION): Define.
36575 * sysdeps/s390/s390-64/utf8-utf32-z9.c
36576 (ONE_DIRECTION): Define.
36577
36578 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
36579
36580 * sysdeps/s390/Makefile: Delete file.
36581 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
36582 * sysdeps/s390/__longjmp.c: Delete file.
36583 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
36584 Remove fields __flags and __reserved.
36585 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
36586 and add versioning.
36587 * sysdeps/s390/rtld-__longjmp.c: Delete file.
36588 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
36589 * sysdeps/s390/rtld-setjmp.S: Likewise.
36590 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
36591 * sysdeps/s390/s390-32/__longjmp.c: ... here.
36592 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
36593 * sysdeps/s390/s390-32/setjmp.S: ... here.
36594 Add versioning.
36595 (__sigsetjmp): Remove setting __flags field.
36596 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
36597 * sysdeps/s390/s390-64/__longjmp.c: ... here.
36598 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
36599 * sysdeps/s390/s390-64/setjmp.S: ... here.
36600 Add versioning.
36601 (__sigsetjmp): Remove setting __flags field.
36602 * sysdeps/s390/setjmp.S: Delete file.
36603 * sysdeps/s390/sigjmp.c: Likewise.
36604 * sysdeps/s390/v1-longjmp.c: Likewise.
36605 * sysdeps/s390/v1-setjmp.h: Likewise.
36606 * sysdeps/s390/v1-sigjmp.c: Likewise.
36607 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
36608 Remove v1-longjmp_chk.
36609 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
36610 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
36611 Include debug/longjmp_chk.c and add versioning.
36612 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
36613 Include nptl/pt-longjmp.c and add versioning.
36614 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
36615 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
36616 Include __longjmp.c.
36617 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36618 Move to ...
36619 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
36620 (__getcontext): Remove setting __flags field.
36621 Add versioning.
36622 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36623 Don't restore upper high grps.
36624 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
36625 Likewise.
36626 (__swapcontext): Remove setting uc_flags field.
36627 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
36628 Delete file.
36629 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36630 Include __longjmp.c.
36631 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36632 Move to ...
36633 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
36634 (__getcontext): Remove setting __flags field.
36635 Add versioning.
36636 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
36637 (__swapcontext): Remove setting uc_flags field.
36638 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
36639 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
36640 Remove fields uc_high_gprs and __reserved.
36641 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
36642 New file with reverted content.
36643 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
36644 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
36645 Regenerated.
36646 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
36647 Regenerated.
36648
36649 2014-07-31 Andreas Schwab <schwab@suse.de>
36650
36651 * config.h.in (HAVE_IFUNC): Define to 0.
36652 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
36653 definedness.
36654
36655 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
36656
36657 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36658 memmove-avx-unaligned, memcpy-avx-unaligned and
36659 mempcpy-avx-unaligned.
36660 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36661 Add tests for AVX memcpy functions.
36662 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
36663 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
36664 memcpy_chk.
36665 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
36666 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
36667 memmove_chk.
36668 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
36669 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
36670 mempcpy_chk.
36671 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
36672 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
36673 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
36674
36675 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36676
36677 [BZ #17213]
36678 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
36679 powerpc64le.
36680
36681 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
36682
36683 [BZ #16839]
36684 * manual/llio.texi: Add section about open file description locks.
36685 * manual/examples/ofdlocks.c: Example of open file description
36686 lock usage.
36687 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
36688 F_OFD_SETLK, and F_OFD_SETLKW.
36689
36690 2014-07-23 Allan McRae <allan@archlinux.org>
36691
36692 * po/es.po: Update Spanish translation from translation project.
36693
36694 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
36695
36696 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
36697
36698 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
36699
36700 [BZ #17078]
36701 * sysdeps/arm/dl-machine.h (elf_machine_rela)
36702 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
36703 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
36704
36705 2014-07-17 Joseph Myers <joseph@codesourcery.com>
36706
36707 [BZ #17088]
36708 * math/fesetenv.c (__fesetenv)
36709 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
36710 * math/feupdateenv.c (__feupdateenv)
36711 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
36712
36713 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
36714 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36715 (__ASSUME_SOCKETCALL): Do not define.
36716
36717 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
36718 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
36719 (__ASSUME_SOCKETCALL): Do not define.
36720 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
36721 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36722 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36723 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36724 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36725 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
36726 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36727 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36728
36729 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
36730 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
36731 (__ASSUME_SOCKETCALL): Do not define.
36732 (__ASSUME_IPC64): Define unconditionally.
36733 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36734 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36735 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36736 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36737 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
36738 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36739 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
36740 Likewise.
36741
36742 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
36743 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
36744 (__ASSUME_SOCKETCALL): Do not define.
36745 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
36746 (__ASSUME_FUTEX_LOCK_PI): Likewise.
36747 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36748 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36749 (__ASSUME_REQUEUE_PI): Define unconditionally.
36750 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
36751 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
36752 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36753 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
36754 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36755 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36756
36757 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
36758 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
36759 (__ASSUME_SOCKETCALL): Do not define.
36760 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
36761 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36762 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36763 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
36764 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36765 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36766
36767 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
36768 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
36769 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36770 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
36771 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36772 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
36773 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36774 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
36775 (__ASSUME_GETCPU_SYSCALL): Likewise.
36776
36777 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
36778 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
36779 cases for individual architectures.
36780 * sysdeps/gnu/configure: Regenerated.
36781 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
36782 LIBC_SLIBDIR_RTLDDIR.
36783 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
36784 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
36785 LIBC_SLIBDIR_RTLDDIR.
36786 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
36787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
36788 LIBC_SLIBDIR_RTLDDIR.
36789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
36790 Regenerated.
36791 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
36792 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
36793 file.
36794 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
36795 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
36796 file.
36797 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
36798 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
36799 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
36800 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
36801
36802 * sysdeps/aarch64/shlib-versions: Move to ...
36803 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
36804 * sysdeps/alpha/shlib-versions: Move to ...
36805 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
36806 * sysdeps/arm/shlib-versions: Move to ...
36807 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
36808 * sysdeps/hppa/shlib-versions: Move all contents except for
36809 libgcc_s entry to ...
36810 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
36811 entry from ...
36812 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
36813 * sysdeps/ia64/shlib-versions: Move to ...
36814 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
36815 entry from ...
36816 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
36817 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
36818 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
36819 * sysdeps/microblaze/shlib-versions: Move to ...
36820 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
36821 * sysdeps/mips/shlib-versions: Move to ...
36822 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
36823 entry from ...
36824 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
36825 * sysdeps/tile/shlib-versions: Move to ...
36826 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
36827 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
36828 from ...
36829 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
36830 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
36831 entry from ...
36832 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
36833
36834 2014-07-17 Will Newton <will.newton@linaro.org>
36835
36836 * sysdeps/arm/bits/atomic.h
36837 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
36838 (__arch_compare_and_exchange_bool_16_int): Likewise.
36839 (__arch_compare_and_exchange_bool_64_int): Likewise.
36840
36841 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
36842 into an #else block.
36843
36844 2014-07-16 Roland McGrath <roland@hack.frob.com>
36845
36846 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
36847 just Linux configurations. Test empirically that the compiler sets
36848 __ARM_EABI__, rather than using the tuple to decide.
36849 * sysdeps/arm/preconfigure: Regenerated.
36850 * sysdeps/unix/sysv/linux/arm/configure: File removed.
36851 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
36852 contents appended ...
36853 * sysdeps/arm/configure.ac: ... here.
36854 * sysdeps/arm/configure: Regenerated.
36855
36856 2014-07-15 Roland McGrath <roland@hack.frob.com>
36857
36858 * nptl/pthread_kill.c: New file.
36859 * nptl/pthread_sigmask.c: New file.
36860 * nptl/pthread_sigqueue.c: New file.
36861
36862 * sysdeps/nptl/lowlevellock.h: New file.
36863 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
36864 * sysdeps/nptl/lowlevellock-futex.h: New file.
36865
36866 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
36867 Remove dead declarations.
36868
36869 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
36870
36871 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
36872 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
36873 config-cflags-avx2.
36874 * sysdeps/x86_64/configure.ac: Likewise.
36875 * sysdeps/i386/configure: Regenerated.
36876 * sysdeps/x86_64/configure: Likewise.
36877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36878 memset-avx2 only if config-cflags-avx2 is yes.
36879 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36880 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36881 defined.
36882 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36883 only if HAVE_AVX2_SUPPORT is defined.
36884 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36885
36886 2014-07-14 Alan Modra <amodra@gmail.com>
36887
36888 [BZ #17153]
36889 * elf/elf.h (DT_PPC64_NUM): Correct value.
36890 * NEWS: Add to fixed bug list.
36891
36892 2014-07-13 Jim Meyering <meyering@fb.com>
36893
36894 [BZ 17150]
36895 regex: don't deref NULL upon heap allocation failure
36896 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36897 failure in one more place.
36898 To trigger the segfault, configure grep -with-included-regex,
36899 build it, and run these commands:
36900 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36901
36902 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
36903
36904 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36905
36906 2014-07-11 Richard Henderson <rth@redhat.com>
36907
36908 * sysdeps/aarch64/libm-test-ulps: Update.
36909
36910 2014-07-10 Florian Weimer <fweimer@redhat.com>
36911
36912 [BZ #17135]
36913 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36914 * nptl/allocatestack.c (__nptl_setxid_error): New function.
36915 (__nptl_setxid): Initialize error member. Call
36916 __nptl_setxid_error.
36917 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36918 * nptl/descr.h (struct xid_command): Add error member.
36919 * nptl/tst-setuid3.c: New file.
36920 * nptl/Makefile (tests): Add it.
36921
36922 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36923
36924 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36925 New define.
36926 (__lll_trylock): Use __lll_base_trylock.
36927 (__lll_cond_trylock): Likewise.
36928
36929 2014-07-10 Roland McGrath <roland@hack.frob.com>
36930
36931 * nptl/pthread_create.c (start_thread): Use atomic_or and
36932 lll_futex_wake directly rather than lll_robust_dead.
36933 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36934 (lll_robust_dead): Macro removed.
36935 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36936 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36937 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36938 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36939 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36940 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36941 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36942 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36943 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36944 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36945 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36946 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36947 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36948 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36949 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36950
36951 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36952 Use atomic_compare_and_exchange_val_acq directly rather than
36953 lll_robust_trylock.
36954 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36955 (__lll_robust_trylock, lll_robust_trylock): Removed.
36956 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36957 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36958 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36959 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36960 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36961 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36962 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36963 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36964 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36965 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36966 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36967 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36968 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36969 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36970
36971 2014-07-02 Florian Weimer <fweimer@redhat.com>
36972
36973 * manual/locale.texi (Locale Names): New section documenting
36974 locale name syntax. Adjust menu and node chaining accordingly.
36975 (Choosing Locale): Reference Locale Names, Locale Categories.
36976 Mention setting LC_ALL=C. Reflect that name syntax is now
36977 documented.
36978 (Locale Categories): New section title. Reference Locale Names.
36979 LC_ALL is an environment variable, but not a category.
36980 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36981 description, now in Locale Name. Reference that section. Locale
36982 name syntax is now documented.
36983
36984 2014-07-02 Florian Weimer <fweimer@redhat.com>
36985
36986 [BZ #17137]
36987 * locale/findlocale.c (name_present, valid_locale_name): New
36988 functions.
36989 (_nl_find_locale): Use the loc_name variable to store name
36990 candidates. Call name_present and valid_locale_name to check and
36991 validate locale names. Return an error if the locale is invalid.
36992
36993 2014-07-02 Florian Weimer <fweimer@redhat.com>
36994
36995 * locale/setlocale.c (setlocale): Use strdup for allocating
36996 composite name copy.
36997
36998 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36999
37000 Sync up with gnulib.
37001 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
37002 [!_LIBC && ENABLE_NLS]: Include gettext.h.
37003 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
37004 and _GL_ARG_NONNULL.
37005 [USE_UNLOCKED_IO]: Include unlocked-io.h.
37006 [!_LIBC]: Include code for Windows and Cygwin.
37007 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
37008 Include prototype for int strerror_r.
37009 [!_LIBC] (is_open): New function.
37010 (flush_stdout): New function.
37011 (print_errno_message): Use it.
37012 (error): Likewise.
37013 (error_at_line): Likewise.
37014 (error_tail) Add function attribute macros. Use
37015 __builtin_expect.
37016
37017 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
37018
37019 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
37020
37021 * io/ftw.c: Include sys/param.h unconditionally.
37022
37023 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
37024
37025 [BZ #17125]
37026 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
37027 libc_freeres_ptr.
37028 (freecache): New function to free CACHE on exit.
37029
37030 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
37031 initialization.
37032
37033 2014-07-09 David S. Miller <davem@davemloft.net>
37034
37035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37036
37037 * sysdeps/sparc/nptl/internaltypes.h: Delete.
37038 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
37039 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
37040 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
37041 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
37042 * sysdeps/sparc/nptl/sem_init.c: Likewise.
37043 * sysdeps/sparc/nptl/sem_post.c: Likewise.
37044 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
37045 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
37046 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
37047 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
37048 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
37049 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
37050
37051 2014-07-09 Andreas Schwab <schwab@suse.de>
37052
37053 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
37054 output.
37055 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
37056 (do_test): Likewise.
37057
37058 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37059
37060 2014-07-09 Will Newton <will.newton@linaro.org>
37061
37062 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
37063 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
37064 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
37065 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
37066 * sysdeps/hppa/start.S (_start): Likewise.
37067
37068 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
37069
37070 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
37071
37072 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
37073 defined.
37074
37075 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37076
37077 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
37078 after checking that it is non-NULL.
37079
37080 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
37081
37082 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37083
37084 * sysdeps/powerpc/memmove.c: Remove file.
37085 * sysdeps/powerpc/powerpc32/power4/memcopy.h
37086 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
37087 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
37088 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
37089 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
37090 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
37091 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
37092 string memmove instead of removed powerpc one.
37093
37094 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37095 [weak_alias]: Fix compiler warning due trailing data.
37096 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
37097 [weak_alias]: Likewise.
37098 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
37099 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
37100
37101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37102 (__libc_ifunc_impl_list): Add memmove functions.
37103
37104 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37105
37106 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
37107 Remove code.
37108 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
37109 Likewise.
37110 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
37111 Likewise.
37112 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
37113 Likewise.
37114 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
37115 Likewise.
37116 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
37117 Likewise.
37118 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
37119 Likewise.
37120 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
37121 Likewise.
37122 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
37123 Likewise.
37124 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
37125 Likewise.
37126 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
37127 Likewise.
37128 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
37129 Likewise.
37130 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
37131 Likewise.
37132 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
37133 Likewise.
37134 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
37135 Likewise.
37136 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
37137 Likewise.
37138 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
37139 Likewise.
37140
37141 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37142
37143 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
37144 to avoid alignment traps in non-cacheable memory.
37145 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37146
37147 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
37148 multiarch objects.
37149 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
37150 file: multiarch power7 memmove.
37151 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
37152 multiarch default memmove.
37153 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
37154 multiarch memove for powerpc32/power4.
37155
37156 * string/bcopy.c: Use full path to include memmove.c.
37157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
37158 multiarch objects.
37159 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
37160 bcopy for powerpc64.
37161 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
37162 bcopy for powerpc64.
37163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
37164 and memmove implementations.
37165 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
37166 optimized multiarch memmove for POWER7/powerpc64.
37167 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
37168 default multiarch memmove for powerpc64.
37169 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
37170 multiarch for powerpc64.
37171 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
37172 for POWER7/powerpc64.
37173 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
37174 memmove for POWER7/powerpc64.
37175
37176 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
37177 glibc default one.
37178
37179 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
37180 __ELF_NATIVE_CLASS equal to 64.
37181
37182 2014-07-07 Roland McGrath <roland@hack.frob.com>
37183
37184 * sysdeps/nptl/lowlevellock.h: File removed.
37185
37186 * NEWS: NPTL is no longer an add-on!
37187 * nptl/internaltypes.h: Moved ...
37188 * sysdeps/nptl/internaltypes.h: ... here.
37189 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
37190 * sysdeps/nptl/fork.c: Likewise.
37191 * sysdeps/nptl/gai_misc.h: Likewise.
37192 * sysdeps/nptl/librt-cancellation.c: Likewise.
37193 * sysdeps/nptl/jmp-unwind.c: Likewise.
37194 * sysdeps/nptl/setxid.h: Likewise.
37195 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
37196 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
37197 * sysdeps/unix/sysv/linux/arm/Implies: New file.
37198 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
37199 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
37200 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
37201 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
37202 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
37203 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
37204 * sysdeps/unix/sysv/linux/mips/Implies: New file.
37205 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
37206 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
37207 * sysdeps/unix/sysv/linux/sh/Implies: New file.
37208 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
37209 * sysdeps/unix/sysv/linux/tile/Implies: New file.
37210 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
37211 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
37212 * nptl/Makeconfig: Moved ...
37213 * sysdeps/nptl/Makeconfig: ... here.
37214 * nptl/configure: File removed.
37215 * nptl/ANNOUNCE: File removed.
37216 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
37217 * sysdeps/unix/sysv/linux/configure: Regenerated.
37218
37219 * nptl/Makefile (routines): Add libc_pthread_init,
37220 libc_multiple_threads, register-atfork and unregister-atfork.
37221 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
37222 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
37223 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
37224 pthread-pi-defines.sym, structsem.sym.
37225 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
37226 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
37227 [$(subdir) = nptl] (tests): Add tst-setgetname.
37228 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
37229 * sysdeps/unix/sysv/linux/sigaction.c: Just include
37230 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
37231 [!LIBC_SIGACTION]: Remove aliases.
37232 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37233 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37234 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37235 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
37236 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37237 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
37238 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37239 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37240 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37241 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
37242 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
37243 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
37244 __libc_allocate_rtsig_private.
37245 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
37246 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
37247 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
37248 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
37249 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
37250 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
37251 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
37252 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
37253 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
37254 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
37255 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
37256 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
37257 * nptl/internaltypes.h: ... here.
37258 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
37259 * sysdeps/nptl/jmp-unwind.c: ... here.
37260 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
37261 * nptl/libc-lowlevellock.c: ... here.
37262 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
37263 * nptl/libc_multiple_threads.c: ... here.
37264 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
37265 * nptl/libc_pthread_init.c: ... here.
37266 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
37267 * nptl/lowlevelbarrier.sym: ... here.
37268 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
37269 * nptl/lowlevelcond.sym: ... here.
37270 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
37271 * nptl/lowlevellock.c: ... here.
37272 * nptl/lowlevellock.h: Moved ...
37273 * sysdeps/nptl/lowlevellock.h: ... here.
37274 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
37275 * nptl/lowlevelrobustlock.c: ... here.
37276 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
37277 * nptl/lowlevelrobustlock.sym: ... here.
37278 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
37279 * nptl/lowlevelrwlock.sym: ... here.
37280 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
37281 * nptl/pt-fork.c: ... here.
37282 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
37283 * nptl/pthread-pi-defines.sym: ... here.
37284 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
37285 * nptl/pthread_attr_getaffinity.c: ... here.
37286 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
37287 * nptl/pthread_attr_setaffinity.c: ... here.
37288 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
37289 * nptl/pthread_mutex_cond_lock.c: ... here.
37290 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37291 Update #include.
37292 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
37293 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
37294 * nptl/pthread_once.c: ... here, replacing old file.
37295 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
37296 * nptl/pthread_yield.c: ... here.
37297 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
37298 * nptl/register-atfork.c: ... here.
37299 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
37300 * nptl/sem_post.c: ... here.
37301 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
37302 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
37303 * nptl/sem_timedwait.c: ... here.
37304 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
37305 * nptl/sem_trywait.c: ... here.
37306 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
37307 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
37308 * nptl/sem_wait.c: ... here.
37309 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
37310 * nptl/structsem.sym: ... here.
37311 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
37312 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
37313 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
37314 * nptl/unregister-atfork.c: ... here.
37315 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
37316 * nptl/unwindbuf.sym: ... here.
37317 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
37318 * sysdeps/nptl/fork.c: ... here.
37319 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
37320 * sysdeps/nptl/fork.h: ... here.
37321 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
37322 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
37323 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
37324 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
37325 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
37326 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
37327 * sysdeps/unix/sysv/linux/getpid.c: ... here.
37328 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
37329 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
37330 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
37331 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
37332 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
37333 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
37334 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
37335 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
37336 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
37337 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
37338 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
37339 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
37340 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
37341 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
37342 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
37343 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
37344 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
37345 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
37346 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
37347 * sysdeps/unix/sysv/linux/raise.c: ... here.
37348 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
37349 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
37350 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
37351 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
37352 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
37353 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
37354 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
37355 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
37356 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
37357 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
37358 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
37359 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
37360 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
37361 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
37362 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
37363
37364 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37365
37366 * sysdeps/generic/memcopy.h: Add comment for
37367 MEMCPY_OK_FOR_FWD_MEMMOVE.
37368
37369 2014-07-04 Will Newton <will.newton@linaro.org>
37370
37371 * string/memchr.c: Merge from gnulib.
37372 [_LIBC]: Remove conditionals.
37373 (__ptr_t): Remove define.
37374 (LONG_MAX_32_BITS): Likewise.
37375 (LONG_MAX): Likewise.
37376 (MEMCHR): Use ANSI prototype and optimize algorithm.
37377
37378 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
37379
37380 2014-07-03 Roland McGrath <roland@hack.frob.com>
37381
37382 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
37383 (lll_futex_timed_wait_bitset): Fix syscall argument count.
37384
37385 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
37386 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
37387 in a bare environment with no <stdlib.h> installed.
37388 * sysdeps/nptl/configure: Regenerated.
37389
37390 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
37391
37392 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
37393 AC_EGREP_CPP for kernel header checks, so they only succeed if
37394 including <linux/version.h> actually works right.
37395 * sysdeps/unix/sysv/linux/configure: Regenerated.
37396
37397 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
37398 value so it's not diagnosed as unused.
37399
37400 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
37401 thing) with "ifeq ($(subdir),rt)".
37402
37403 2014-07-03 Richard Henderson <rth@redhat.com>
37404
37405 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
37406 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
37407 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
37408
37409 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
37410 (math_force_eval): New.
37411
37412 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
37413 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
37414
37415 * sysdeps/alpha/fpu/s_round.c: Remove file.
37416 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
37417
37418 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
37419 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
37420 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
37421 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
37422 (_dl_start, print_statistics): Likewise.
37423 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
37424 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
37425
37426 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37427 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37428 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37429 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37430 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37431 (HP_SMALL_TIMING_AVAIL): Define.
37432 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37433 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37434 (HP_SMALL_TIMING_AVAIL): Define.
37435 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37436 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37437
37438 * sysdeps/aarch64/hp-timing.h: New file.
37439
37440 * sysdeps/generic/hp-timing.h: Remove dead comment.
37441 * sysdeps/generic/hp-timing-common.h: New file.
37442 * sysdeps/alpha/hp-timing.h: Include it.
37443 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
37444 * sysdeps/i386/i686/hp-timing.h: Likewise.
37445 * sysdeps/ia64/hp-timing.h: Likewise.
37446 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37447 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37448 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37449 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37450 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
37451 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
37452 (hp_timing_t): New.
37453
37454 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
37455 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
37456 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
37457 * elf/rtld.c (_dl_start_final): Likewise.
37458 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
37459 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37460 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37461 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37462 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37463 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37464 (HP_TIMING_DIFF_INIT): Remove.
37465 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37466 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37467 (HP_TIMING_DIFF_INIT): Remove.
37468 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37469 * sysdeps/i386/i686/hp-timing.c: Remove file.
37470 * sysdeps/x86_64/hp-timing.c: Remove file.
37471 * sysdeps/ia64/hp-timing.c: Remove file.
37472 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
37473 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
37474 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
37475 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
37476
37477 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
37478 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
37479 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
37480 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37481 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37482 (HP_TIMING_ACCUM): Remove.
37483 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37484 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
37485 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37486
37487 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
37488 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
37489 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
37490 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
37491 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
37492 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37493 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
37494 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37495
37496 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
37497
37498 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
37499
37500 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
37501
37502 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37503
37504 Sync up with gettext.
37505 * intl/loadmsgcat.c: Define O_BINARY if not defined.
37506 [_MSC_VER]: Include malloc.h
37507 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
37508 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
37509 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
37510 TEMP_FAILURE_RETRY. Cast return of alloca.
37511 [!_LIBC] Call gl_rwlock_init.
37512 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
37513
37514 2014-07-02 Roland McGrath <roland@hack.frob.com>
37515
37516 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
37517 before checking its value.
37518
37519 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37520
37521 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
37522
37523 * debug/memcpy_chk.c: Don't include pagecopy.h.
37524 * debug/mempcpy_chk.c: Likewise.
37525 * string/memcpy.c: Likewise.
37526 * string/memmove.c: Likewise.
37527 * sysdeps/powerpc/memmove.c: Likewise.
37528 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
37529 definition of PAGE_COPY_FWD_MAYBE here...
37530 * sysdeps/generic/pagecopy.h: ... from here.
37531 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
37532
37533 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
37534 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37535
37536 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
37537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
37538 optimizations.
37539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37540 (__libc_ifunc_impl_list): Likewise.
37541 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
37542 multiarch strcat for PPC64.
37543 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
37544 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
37545
37546 2014-07-02 Roland McGrath <roland@hack.frob.com>
37547
37548 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
37549
37550 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37551
37552 * intl/loadmsgcat.c: Remove declaration of
37553 get_sysdep_segment_value.
37554 (get_sysdep_segment_value): Use ISO C style.
37555 (_nl_load_domain): Use ISO C style. Get rid of redundant
37556 semicolon. Fix typo and formatting in comment.
37557 (_nl_unload_domain): Use ISO C style.
37558
37559 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
37560
37561 2014-07-02 Will Newton <will.newton@linaro.org>
37562
37563 * malloc/obstack.c: Merge from gnulib master.
37564 [HAVE_CONFIG_H]: Remove conditional code.
37565 [!_LIBC]: Include config.h.
37566 [!ELIDE_CODE]: Don't include inttypes.h, include
37567 stdint.h unconditionally.
37568 (print_and_abort): Mark as _Noreturn.
37569 (_obstack_allocated_p): Mark as __attribute_pure__.
37570 (obstack_free): Rename to __obstack_free.
37571 [!__attribute__]: Remove conditional code.
37572 * malloc/obstack.h: Merge from gnulib master.
37573 [__cplusplus]: Move conditional down.
37574 [!__attribute_pure__]: Define __attribute_pure__ here
37575 if it is not already defined.
37576 (_obstack_memory_used): Mark as __attribute_pure__.
37577 [!__obstack_free]: Define as obstack_free.
37578 [__GNUC__]: Remove check for ancient NeXT gcc.
37579
37580 2014-07-02 Will Newton <will.newton@linaro.org>
37581 Paul Eggert <eggert@cs.ucla.edu>
37582
37583 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
37584
37585 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37586
37587 * resolv/gethnamaddr.c: Add comment warning that the file is
37588 not maintained.
37589
37590 2014-07-01 Carlos O'Donell <carlos@redhat.com>
37591
37592 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
37593 entries.
37594
37595 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
37596 entry for aio_cancel and aio_cancel64.
37597 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
37598 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
37599 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
37600 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
37601 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
37602 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
37603 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
37604 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
37605 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
37606 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
37607 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
37608 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
37609 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
37610
37611 2014-07-01 Roland McGrath <roland@hack.frob.com>
37612
37613 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
37614 * nptl/pthread_mutex_lock.c: Likewise.
37615 * nptl/pthread_mutex_timedlock.c: Likewise.
37616 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
37617
37618 2014-07-01 Richard henderson <rth@redhat.com>
37619
37620 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
37621 (__isnan, __isnanl): Remove.
37622 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
37623
37624 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37625
37626 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
37627
37628 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37629
37630 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
37631
37632 * resolv/nss_dns/dns-host.c (getanswer_r)
37633 [MULTI_PTRS_ARE_ALIASES]: Remove code.
37634
37635 2014-07-01 Joseph Myers <joseph@codesourcery.com>
37636
37637 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37638 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
37639 undefine.
37640 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
37641 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
37642
37643 2014-07-01 Roland McGrath <roland@hack.frob.com>
37644
37645 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
37646 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
37647
37648 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
37649 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
37650
37651 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
37652 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
37653 ... here.
37654 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
37655 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
37656
37657 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
37658 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
37659 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
37660 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
37661
37662 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
37663 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
37664 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
37665 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
37666 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
37667 Moved ...
37668 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
37669 ... here.
37670 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
37671 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
37672 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
37673 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
37674 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
37675 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
37676 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
37677 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
37678 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
37679 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
37680 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
37681 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
37682 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
37683 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
37684 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
37685 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
37686 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
37687 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
37688 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
37689 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
37690 ... here.
37691 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
37692 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
37693 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
37694 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
37695 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
37696 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
37697 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
37698 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
37699
37700 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
37701
37702 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
37703 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
37704 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
37705 Add sysdep.
37706
37707 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37708
37709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37710
37711 2014-06-30 Joseph Myers <joseph@codesourcery.com>
37712
37713 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
37714 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37715
37716 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37717
37718 * sysdeps/arm/libm-test-ulps: Regenerated.
37719
37720 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
37721 Roland McGrath <roland@hack.frob.com>
37722
37723 * test-skeleton.c (signal_handler): Kill the whole process group
37724 before killing the child individually.
37725 (main): Report any failure on `setpgid'.
37726
37727 2014-06-30 Roland McGrath <roland@hack.frob.com>
37728
37729 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
37730 from _TLS_H to _ARM_NPTL_TLS_H.
37731 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
37732 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
37733
37734 2014-06-30 Joseph Myers <joseph@codesourcery.com>
37735
37736 [BZ #16539]
37737 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
37738 (__expm1l): Return argument unchanged when small but not
37739 subnormal.
37740
37741 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
37742 include macro name.
37743 (_FP_UNPACK_RAW_1_P): Likewise.
37744 (_FP_PACK_RAW_1): Likewise.
37745 (_FP_PACK_RAW_1_P): Likewise.
37746 (_FP_MUL_MEAT_1_wide): Likewise.
37747 (_FP_MUL_MEAT_DW_1_hard): Likewise.
37748 (_FP_MUL_MEAT_1_hard): Likewise.
37749 (_FP_DIV_MEAT_1_imm): Likewise.
37750 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
37751 (_FP_DIV_MEAT_1_udiv): Likewise.
37752 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
37753 (_FP_UNPACK_RAW_2): Likewise.
37754 (_FP_UNPACK_RAW_2_P): Likewise.
37755 (_FP_PACK_RAW_2): Likewise.
37756 (_FP_PACK_RAW_2_P): Likewise.
37757 (_FP_MUL_MEAT_DW_2_wide): Likewise.
37758 (_FP_MUL_MEAT_2_wide): Likewise.
37759 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
37760 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37761 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
37762 (_FP_MUL_MEAT_2_gmp): Likewise.
37763 (_FP_DIV_MEAT_2_udiv): Likewise.
37764 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
37765 (_FP_FRAC_SRL_4): Likewise.
37766 (_FP_FRAC_SRST_4): Likewise.
37767 (_FP_FRAC_SRS_4): Likewise.
37768 (_FP_UNPACK_RAW_4): Likewise.
37769 (_FP_UNPACK_RAW_4_P): Likewise.
37770 (_FP_PACK_RAW_4): Likewise.
37771 (_FP_PACK_RAW_4_P): Likewise.
37772 (_FP_MUL_MEAT_DW_4_wide): Likewise.
37773 (_FP_MUL_MEAT_4_wide): Likewise.
37774 (_FP_MUL_MEAT_4_gmp): Likewise.
37775 (umul_ppppmnnn): Likewise.
37776 (_FP_DIV_MEAT_4_udiv): Likewise.
37777 (__FP_FRAC_ADD_4): Likewise.
37778 (__FP_FRAC_SUB_3): Likewise.
37779 (__FP_FRAC_SUB_4): Likewise.
37780 (__FP_FRAC_DEC_3): Likewise.
37781 (__FP_FRAC_DEC_4): Likewise.
37782 (__FP_FRAC_ADDI_4): Likewise.
37783 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
37784 (_FP_FRAC_SRL_8): Likewise.
37785 (_FP_FRAC_SRS_8): Likewise.
37786
37787 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
37788 include macro name.
37789 (FP_UNPACK_RAW_EP): Likewise.
37790 (FP_PACK_RAW_E): Likewise.
37791 (FP_PACK_RAW_EP): Likewise.
37792 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
37793 (_FP_ISSIGNAN): Likewise.
37794 (_FP_ADD_INTERNAL): Likewise.
37795 (_FP_FMA): Likewise.
37796 (_FP_CMP): Likewise.
37797 (_FP_SQRT): Likewise.
37798 (_FP_TO_INT): Likewise.
37799 (_FP_FROM_INT): Likewise.
37800 (FP_EXTEND): Likewise.
37801 (_FP_DIV_MEAT_N_loop): Likewise.
37802
37803 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
37804
37805 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
37806 throughout.
37807
37808 2014-06-29 Joseph Myers <joseph@codesourcery.com>
37809
37810 [BZ #17097]
37811 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
37812 result with correct sign in case of exponents that produce
37813 overflow except for X very close to 1.
37814
37815 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
37816
37817 mktime: merge #if/#ifdef usage from glibc
37818 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
37819 as that works with both Glibc's and Gnulib's style.
37820 See thread starting at Siddhesh Poyarekar's bug report at:
37821 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
37822
37823 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37824
37825 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
37826 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
37827 * sysdeps/tile/tilegx/memmove.c: Remove file.
37828
37829 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37830
37831 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
37832 abi-name definition.
37833 * scripts/soversions.awk: Do not handle or generate ABI lines.
37834 * shlib-versions: Remove ABI entries.
37835 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
37836 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
37837
37838 2014-06-27 Roland McGrath <roland@hack.frob.com>
37839
37840 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
37841 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
37842 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
37843 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
37844 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
37845 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
37846 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
37847 Moved ...
37848 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
37849 ... here.
37850 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
37851 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
37852 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
37853 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
37854 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
37855 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
37856 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
37857 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
37858 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
37859 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
37860 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
37861 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
37862 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
37863 Moved ...
37864 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
37865 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
37866 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
37867 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
37868 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
37869 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
37870 Moved ...
37871 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
37872 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
37873 Moved ...
37874 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
37875 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
37876 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
37877 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
37878 Moved ...
37879 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
37880 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37881 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37882 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37883 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37884 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37885 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37886 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37887 Moved ...
37888 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37889 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37890 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37891 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37892 Moved ...
37893 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37894 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37895 Moved ...
37896 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37897 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37898 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37899 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37900 Moved ...
37901 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37902 ... here.
37903 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37904 Identical file removed.
37905 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37906 Moved ...
37907 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37908 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37909 Identical file removed.
37910 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37911 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37912 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37913 Moved ...
37914 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37915 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37916 Identical file removed.
37917 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37918 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37919 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37920 Identical file removed.
37921 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37922 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37923 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37924 Identical file removed.
37925 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37926 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37927 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37928 Identical file removed.
37929 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37930 Moved ...
37931 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37932 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37933 Identical file removed.
37934 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37935 Moved ...
37936 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37937 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37938 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37939 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37940 Identical file removed.
37941 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37942 Moved ...
37943 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37944 ... here.
37945 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37946 Identical file removed.
37947 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37948 Moved ...
37949 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37950 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37951 Identical file removed.
37952 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37953 Moved ...
37954 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37955 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37956 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37957 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37958 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37959 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37960 Moved ...
37961 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37962 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37963 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37964
37965 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37966 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37967 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37968 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37969 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37970
37971 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
37972
37973 [BZ #17092]
37974 * nscd/nscd.c (monitor_child): Return exit status of child
37975 instead of return value from wait syscall.
37976
37977 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37978
37979 * configure.ac (libc_commonpagesize): Remove variable.
37980 (libc_relro_required): Likewise.
37981 (libc_cv_z_relro): Remove configure test.
37982 * configure: Regenerated.
37983 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37984 variable.
37985 (libc_relro_required): Likewise.
37986 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37987 (libc_relro_required): Likewise.
37988 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37989 (libc_relro_required): Likewise.
37990 * sysdeps/arm/preconfigure: Regenerated.
37991 * sysdeps/ia64/preconfigure: Remove file.
37992 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37993 variable.
37994 (libc_relro_required): Likewise.
37995
37996 [BZ #16561]
37997 [BZ #16562]
37998 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37999 (__ieee754_yn): Set FE_TONEAREST mode internally and then
38000 recompute overflowing results in original rounding mode.
38001 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
38002 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
38003 recompute overflowing results in original rounding mode.
38004 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
38005 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
38006 recompute overflowing results in original rounding mode.
38007 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
38008 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
38009 recompute overflowing results in original rounding mode.
38010 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
38011 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
38012 recompute overflowing results in original rounding mode.
38013 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
38014 (libc_feholdsetround_ctx): New macro.
38015 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
38016 * sysdeps/i386/fpu/libm-test-ulps: Update.
38017 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
38018
38019 2014-06-26 Joseph Myers <joseph@codesourcery.com>
38020
38021 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
38022 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
38023 corresponding .cpsetup call.
38024
38025 2014-06-26 Roland McGrath <roland@hack.frob.com>
38026
38027 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
38028 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
38029 * sysdeps/arm/Makefile [$(subdir) = csu]
38030 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
38031 (static-only-routines): Add aeabi_read_tp here.
38032 (shared-only-routines): Add libc-aeabi_read_tp here.
38033 (CFLAGS-libc-start.c): Add -fexceptions here.
38034 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
38035 (sysdep_routines, static-only-routines, shared-only-routines):
38036 Don't add to these here.
38037 (CFLAGS-libc-start.c): Likewise.
38038
38039 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
38040 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
38041 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
38042 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
38043 * sysdeps/arm/Makefile [$(subdir) = rt]
38044 (librt-sysdep_routines, librt-shared-only-routines):
38045 Append rt-aeabi_unwind_cpp_pr1 here.
38046 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
38047 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
38048 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
38049 (libpthread-sysdep_routines, libpthread-shared-only-routines):
38050 Append nptl-aeabi_unwind_cpp_pr1 here.
38051 (tests): Filter out tst-cleanupx4 here.
38052 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
38053 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
38054 Don't do those here.
38055
38056 2014-06-26 Joseph Myers <joseph@codesourcery.com>
38057
38058 * scripts/list-sources.sh: Do not handle ports specially.
38059
38060 2014-06-26 Roland McGrath <roland@hack.frob.com>
38061
38062 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
38063 * sysdeps/arm/feupdateenv.c: Likewise.
38064
38065 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
38066
38067 2014-06-26 Joseph Myers <joseph@codesourcery.com>
38068
38069 * manual/texinfo.tex: Update to version 2014-05-05.10 with
38070 trailing whitespace removed.
38071 * scripts/config.guess: Update to version 2014-03-23.
38072 * scripts/config.sub: Update to version 2014-05-01
38073 * scripts/install-sh: Update to version 2013-12-25.23.
38074 * scripts/move-if-change: Update from gnulib.
38075
38076 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38077
38078 * debug/memmove_chk.c: Remove pagecopy.h include.
38079
38080 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
38081
38082 * time/mktime.c (leapyear): Remove inline keyword. The code is now
38083 identical to gnulib mktime.
38084
38085 2014-06-26 Joseph Myers <joseph@codesourcery.com>
38086
38087 * configure.ac: Do not test for machine being rs6000. Do not test
38088 for powerpc*-*soft.
38089 * configure: Regenerated.
38090
38091 [BZ #11505]
38092 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
38093 test.
38094 * configure: Regenerated.
38095 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
38096 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
38097 Remove configure test.
38098 * sysdeps/arm/configure: Regenerated.
38099 * sysdeps/nptl/configure.ac: Do not check
38100 libc_cv_asm_cfi_directives.
38101 * sysdeps/nptl/configure: Regenerated.
38102 * sysdeps/x86_64/nptl/configure.ac: Remove file.
38103 * sysdeps/x86_64/nptl/configure: Remove generated file.
38104 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
38105 unconditional.
38106 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
38107
38108 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38109
38110 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
38111 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
38112 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
38113 it is defined.
38114
38115 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
38116 instead of whether it is defined.
38117 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
38118 * sysdeps/hppa/dl-machine.h: Likewise.
38119 * sysdeps/ia64/dl-machine.h: Likewise.
38120 * sysdeps/m68k/dl-machine.h: Likewise.
38121 * sysdeps/microblaze/dl-machine.h: Likewise.
38122 * sysdeps/mips/dl-machine.: Likewise.
38123 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38124 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38125 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38126 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38127 * sysdeps/sh/dl-machine.h: Likewise.
38128 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38129 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38130 * sysdeps/tile/dl-machine.h: Likewise.
38131 * sysdeps/x86_64/dl-machine.h: Likewise.
38132
38133 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
38134 code.
38135 (verify_persistent_db): Likewise.
38136
38137 2014-06-26 Roland McGrath <roland@hack.frob.com>
38138
38139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
38140 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
38141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
38142 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
38143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38144 Moved ...
38145 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
38146 ... here.
38147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
38148 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
38149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
38150 Identical file removed.
38151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
38152 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
38153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
38154 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
38155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
38156 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
38157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
38158 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
38159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
38160 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
38161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38162 Moved ...
38163 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
38164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
38165 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
38166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
38167 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
38168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38169 Moved ...
38170 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
38171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
38172 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
38173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
38174 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
38175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38176 Identical file removed.
38177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
38178 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
38179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
38180 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
38181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38182 Moved ...
38183 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
38184 ... here.
38185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
38186 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
38187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
38188 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
38189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
38190 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
38191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
38192 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
38193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
38194 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
38195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38196 Moved ...
38197 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
38198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
38199 Moved ...
38200 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
38201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
38202 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
38203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38204 Moved ...
38205 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
38206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
38207 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
38208
38209 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
38210 folded into ...
38211 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
38212 * sysdeps/unix/sysv/linux/s390/Versions
38213 (libpthread: GLIBC_2.19): New version set.
38214 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
38215 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
38216 (librt: GLIBC_2.3.3): New version set.
38217 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
38218 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
38219 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
38220 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
38221 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
38222 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
38223 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
38224 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
38225 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
38226 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
38227 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
38228 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
38229 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
38230 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
38231 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
38232 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
38233 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
38234 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
38235 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
38236 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
38237 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
38238 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
38239 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
38240 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
38241 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
38242 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
38243 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
38244 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
38245 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
38246 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
38247 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
38248 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
38249 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
38250 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
38251 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
38252 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
38253 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
38254 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
38255 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
38256 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
38257 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
38258 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
38259 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
38260 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
38261 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
38262
38263 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
38264 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
38265 (__libc_vfork): Define the function under this name.
38266 [!NOT_IN_libc] (__vfork): Make this an alias.
38267 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38268 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
38269 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
38270 (__libc_vfork): Define the function under this name.
38271 [!NOT_IN_libc] (__vfork): Make this an alias.
38272 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38273 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
38274 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
38275 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
38276 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
38277 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38278
38279 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
38280 code that was previously under [RESET_PID].
38281 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
38282 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
38283 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
38284
38285 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
38286 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
38287 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
38288 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
38289 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
38290 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
38291 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
38292 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
38293 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
38294 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
38295 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
38296 Moved ...
38297 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
38298 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
38299 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
38300 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
38301 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
38302 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
38303 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
38304 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
38305 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
38306 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
38307 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
38308 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
38309 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
38310 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
38311 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
38312 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
38313 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
38314 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
38315 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
38316 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
38317 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
38318 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
38319 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
38320 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
38321 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
38322 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
38323 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
38324 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
38325 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
38326
38327 2014-06-25 Roland McGrath <roland@hack.frob.com>
38328
38329 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
38330 that was previously under [RESET_PID].
38331 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
38332
38333 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38334
38335 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
38336 not undefine and redefine.
38337 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
38338 [O_CLOEXEC]: Make code unconditional.
38339 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
38340 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
38341 <kernel-features.h>.
38342 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
38343 conditional variable definition.
38344 (shm_open) [O_CLOEXEC]: Make code unconditional.
38345 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
38346 code.
38347
38348 * configure.ac (USE_REGPARMS): Don't define here.
38349 * configure: Regenerated.
38350 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
38351 * sysdeps/i386/configure: Regenerated.
38352
38353 * nptl/createthread.c: Don't include kernel-features.h.
38354 * nptl/pthread_cancel.c: Likewise.
38355 * nptl/pthread_condattr_setclock.c: Likewise.
38356 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
38357 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
38358 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
38359 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
38360 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
38361 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
38362 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
38363 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
38364 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
38365 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
38366 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
38367 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
38368 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
38369 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
38370 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
38371 * nscd/gai.c: Likewise.
38372 * nss/nss_db/db-open.c: Likewise.
38373 * sysdeps/generic/ldsodefs.h: Likewise.
38374 * sysdeps/sh/nptl/tls.h: Likewise.
38375 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38376 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
38377 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
38378 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
38379 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
38380 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38381 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
38382 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38383 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38384 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38385 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38386 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38387 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
38388 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
38389 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
38390 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
38391 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
38392 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
38393 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
38394 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
38395 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
38396 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
38397 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
38398 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
38399 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
38400 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
38401 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
38402 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
38403 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38404 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
38405 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
38406 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
38407 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
38408 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38409 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38410 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38411 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38412 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
38413 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
38414 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
38415 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38416 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
38417 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
38418 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38419 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
38420 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
38421 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
38422 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
38423 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
38424 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
38425 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
38426 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
38427 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
38428 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38429 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
38430 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
38431 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38432 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
38433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
38435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
38436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
38437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
38438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
38439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
38440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
38441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
38444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
38445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
38446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
38447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
38453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
38454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
38455 * sysdeps/unix/sysv/linux/pread.c: Likewise.
38456 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
38457 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
38458 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
38459 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
38460 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
38461 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
38462 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
38463 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
38464 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
38465 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
38466 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
38467 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
38468 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
38469 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
38470 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
38471 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38472 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
38473 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
38474 * sysdeps/unix/sysv/linux/system.c: Likewise.
38475 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
38476 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38477 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38478 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38479 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38480 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38481 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38482
38483 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
38484 * configure: Regenerated.
38485 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
38486
38487 * configure.ac (base_machine): Do not set specially for particular
38488 machines here.
38489 * configure: Regenerated.
38490 * sysdeps/powerpc/preconfigure: Move machine and base_machine
38491 settings from configure.ac.
38492 * sysdeps/i386/preconfigure: New file.
38493 * sysdeps/s390/preconfigure: Likewise.
38494 * sysdeps/sh/preconfigure: Likewise.
38495 * sysdeps/sparc/preconfigure: Likewise.
38496
38497 2014-06-25 Roland McGrath <roland@hack.frob.com>
38498
38499 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
38500 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
38501 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
38502 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
38503 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
38504 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
38505 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
38506 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
38507 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
38508 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
38509 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
38510 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
38511 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
38512 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
38513 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
38514 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
38515 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
38516 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
38517 * sysdeps/sparc/sparc64/Makefile: ... appended here.
38518
38519 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
38520 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
38521 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
38522 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
38523 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
38524 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
38525 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
38526 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
38527 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
38528 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
38529 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
38530 * sysdeps/sparc/sparc32/sem_post.c: ... here.
38531 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
38532 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
38533 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
38534 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
38535 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
38536 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
38537 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
38538 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
38539 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
38540 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
38541 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
38542 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
38543 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
38544 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
38545 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
38546 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
38547 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
38548 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
38549 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
38550 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
38551 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
38552 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
38553 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
38554 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
38555 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
38556 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
38557
38558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
38559 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
38560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
38561 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
38562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38563 Moved ...
38564 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
38565 ... here.
38566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
38567 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
38568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
38569 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
38570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
38571 Moved ...
38572 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
38573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
38574 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
38575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
38576 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
38577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
38578 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
38579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38580 Moved ...
38581 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
38582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38583 Moved ...
38584 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
38585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
38586 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
38587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38588 Moved ...
38589 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
38590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
38591 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
38592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
38593 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
38594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
38595 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
38596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
38597 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
38598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38599 Moved ...
38600 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
38601 ... here.
38602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
38603 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
38604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
38605 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
38606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
38607 Moved ...
38608 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
38609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
38610 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
38611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
38612 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
38613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
38614 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
38615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38616 Moved ...
38617 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
38618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38619 Moved ...
38620 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
38621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
38622 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
38623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38624 Moved ...
38625 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
38626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
38627 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
38628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
38629 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
38630
38631 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38632
38633 * timezone/checktab.awk: Update from tzcode 2014e.
38634 * timezone/private.h: Likewise.
38635 * timezone/tzfile.h: Likewise.
38636 * timezone/zdump.c: Likewise.
38637 * timezone/zic.c: Likewise.
38638
38639 * sysdeps/unix/sysv/linux/kernel-features.h
38640 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
38641 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
38642 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
38643 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38644 Remove conditional code.
38645
38646 2014-06-25 Will Newton <will.newton@linaro.org>
38647
38648 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
38649 (_dl_arm_cap_flags): Add HWCAP2 values.
38650 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
38651 (_DL_HWCAP_COUNT): Increase to 37.
38652 (_DL_HWCAP_LAST): New define.
38653 (_DL_HWCAP2_LAST): New define.
38654 (_dl_procinfo): Add support for printing
38655 AT_HWCAP2 entries.
38656 (_dl_string_hwcap): Use _dl_hwcap_string.
38657
38658 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38659
38660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38661
38662 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38663
38664 * README: Do not mention ports directory.
38665
38666 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
38667 Remove macro.
38668 * sysdeps/unix/sysv/linux/futimes.c: Do not include
38669 <kernel-features.h>.
38670 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
38671 conditional variable definition.
38672 (__futimes): Update comment.
38673 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
38674 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
38675
38676 [BZ #16560]
38677 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
38678 arguments close to 0.
38679 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
38680 Likewise.
38681 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
38682 Likewise.
38683 * math/auto-libm-test-in: Add more tests of exp10.
38684 * math/auto-libm-test-out: Regenerated.
38685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38686
38687 * sysdeps/unix/sysv/linux/kernel-features.h
38688 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
38689 * sysdeps/unix/sysv/linux/readv.c: Do not include
38690 <kernel-features.h>.
38691 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38692 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38693 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38694 unconditional.
38695 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38696 conditional code.
38697 * sysdeps/unix/sysv/linux/writev.c: Do not include
38698 <kernel-features.h>.
38699 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38700 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38701 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38702 unconditional.
38703 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38704 conditional code.
38705
38706 2014-06-25 Will Newton <will.newton@linaro.org>
38707
38708 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
38709 comment changes throughout the file. Remove checks
38710 for HAVE_*_H definitions that are not required.
38711 (__gen_tempname): Call abort if an unknown kind value is
38712 passed.
38713
38714 2014-06-25 Andreas Schwab <schwab@suse.de>
38715
38716 [BZ #17086]
38717 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
38718 scalbln, scalblnf, scalblnl in libc.
38719
38720 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38721
38722 [BZ #17086]
38723 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
38724 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38725 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38726
38727 2014-06-24 Roland McGrath <roland@hack.frob.com>
38728
38729 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
38730 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
38731 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
38732 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
38733 Update #include.
38734 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
38735 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
38736 Update #include.
38737 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
38738 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
38739 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
38740 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
38741 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
38742 * sysdeps/x86/bits/pthreadtypes.h: ... here.
38743 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
38744 * sysdeps/x86/bits/semaphore.h: ... here.
38745 * sysdeps/x86/nptl/elide.h: Moved ...
38746 * sysdeps/x86/elide.h: ... here.
38747 * sysdeps/x86_64/nptl/Implies: File removed.
38748 * sysdeps/i386/nptl/Implies: File removed.
38749
38750 2014-06-24 Joseph Myers <joseph@codesourcery.com>
38751
38752 [BZ #16539]
38753 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
38754 return the argument for normal arguments with exponent below -64.
38755 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38756 Likewise.
38757 * math/auto-libm-test-in: Add another test of expm1.
38758 * math/auto-libm-test-out: Regenerated.
38759
38760 [BZ #16287]
38761 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
38762 calling __erfcl for arguments at least 16.
38763 * math/auto-libm-test-in: Add more tests of erf.
38764 * math/auto-libm-test-out: Regenerated.
38765
38766 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
38767 individual architectures.
38768 * sysdeps/unix/sysv/linux/configure: Regenerated.
38769 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
38770 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
38771 * sysdeps/unix/sysv/linux/powerpc/configure.ac
38772 (ldd_rewrite_script): Define variable.
38773 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
38775 file.
38776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
38777 generated file.
38778 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
38779 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
38780 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
38781 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
38782 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
38783 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
38784 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
38785 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
38786
38787 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38788
38789 [BZ #17084]
38790 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
38791 Rename member __data.d to __data.__elision_data.
38792
38793 2014-06-24 Wilco <wdijkstr@arm.com>
38794
38795 * NEWS: Add 16918 to fixed bug list.
38796
38797 2014-06-24 Wilco <wdijkstr@arm.com>
38798
38799 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
38800
38801 2014-06-24 Wilco <wdijkstr@arm.com>
38802
38803 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
38804 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
38805 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
38806 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
38807 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
38808 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
38809 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
38810 Use _FPU_MASK_RM.
38811
38812 2014-06-24 Wilco <wdijkstr@arm.com>
38813
38814 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
38815
38816 2014-06-24 Wilco <wdijkstr@arm.com>
38817
38818 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
38819 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
38820 * sysdeps/arm/fesetround.c (fesetround): Remove space.
38821 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
38822
38823 2014-06-24 Wilco <wdijkstr@arm.com>
38824
38825 [BZ #16918]
38826 * sysdeps/arm/feupdateenv.c (feupdateenv):
38827 Rewrite to reduce FPSCR accesses and fix return value.
38828
38829 2014-06-24 Wilco <wdijkstr@arm.com>
38830
38831 * sysdeps/arm/fclrexcpt.c (feclearexcept):
38832 Optimize to avoid unnecessary FPSCR writes.
38833 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
38834 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
38835 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
38836 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
38837
38838 2014-06-24 Wilco <wdijkstr@arm.com>
38839
38840 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
38841 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
38842 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
38843 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
38844 Call libc_fetestexcept_vfp.
38845 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
38846 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
38847 __SOFTFP__ ifdef so that they can be built for softfp.
38848
38849 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38850
38851 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
38852 argument type signed char.
38853
38854 * Makerules (check-abi): Dump diff of symlist if the test
38855 fails.
38856
38857 2014-06-23 Roland McGrath <roland@hack.frob.com>
38858
38859 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
38860 using abort.
38861
38862 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38863 Remove unused variable ST.
38864
38865 2014-06-23 Joseph Myers <joseph@codesourcery.com>
38866
38867 [BZ #16354]
38868 [BZ #17061]
38869 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
38870 small arguments before calling __expm1.
38871 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
38872 small arguments before calling __expm1f.
38873 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
38874 small arguments before calling __expm1l.
38875 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38876 Likewise.
38877 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38878 * math/auto-libm-test-in: Add more cosh tests. Do not allow
38879 spurious underflow for some cosh tests.
38880 * math/auto-libm-test-out: Regenerated.
38881 * sysdeps/i386/fpu/libm-test-ulps: Update.
38882
38883 [BZ #17050]
38884 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38885 (__ieee754_y1): Set errno if return value overflows.
38886 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38887 (__ieee754_y1f): Set errno if return value overflows.
38888 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38889 (__ieee754_y1l): Set errno if return value overflows.
38890 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38891 (__ieee754_y1l): Set errno if return value overflows.
38892 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38893 * math/auto-libm-test-out: Regenerated.
38894
38895 * math/gen-auto-libm-tests.c: Document use of
38896 ignore-zero-inf-sign.
38897 (input_flag_type): Add value flag_ignore_zero_inf_sign.
38898 (input_flags): Add ignore-zero-inf-sign.
38899 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38900 * math/gen-libm-test.pl (generate_testfile): Handle
38901 ignore-zero-inf-sign.
38902 * math/auto-libm-test-in: Mark some cpow tests with
38903 ignore-zero-inf-sign and some with xfail-rounding.
38904 * math/auto-libm-test-out: Regenerated.
38905 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38906 * sysdeps/i386/fpu/libm-test-ulps: Update.
38907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38908
38909 [BZ #16315]
38910 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38911 overflowing or underflowing operations take place with sign of
38912 result.
38913 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38914 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38915 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38916 (__ieee754_pow): Recompute overflowing and underflowing results in
38917 original rounding mode.
38918 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38919 (__powl_helper): Allow negative argument X and scale negated value
38920 as needed. Avoid passing value outside [-1, 1] to f2xm1.
38921 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38922 overflowing or underflowing operations take place with sign of
38923 result.
38924 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38925 Include <math.h>.
38926 * math/auto-libm-test-in: Add more tests of pow.
38927 * math/auto-libm-test-out: Regenerated.
38928 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38929 (pow_tonearest_test_data): Remove.
38930 (pow_test_tonearest): Likewise.
38931 (pow_towardzero_test_data): Likewise.
38932 (pow_test_towardzero): Likewise.
38933 (pow_downward_test_data): Likewise.
38934 (pow_test_downward): Likewise.
38935 (pow_upward_test_data): Likewise.
38936 (pow_test_upward): Likewise.
38937 (main): Don't call removed functions.
38938 * sysdeps/i386/fpu/libm-test-ulps: Update.
38939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38940
38941 2014-06-23 Roland McGrath <roland@hack.frob.com>
38942
38943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38944 Moved ...
38945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38947 Moved ...
38948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38950 Moved ...
38951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38953 Moved ...
38954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38956 File removed.
38957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38958 File removed.
38959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38960 File removed.
38961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38962 File removed.
38963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38964 File removed.
38965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38966 File removed.
38967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38968 File removed.
38969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38970 File removed.
38971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38972 File removed.
38973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38974 File removed.
38975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38976 File removed.
38977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38978 File removed.
38979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38980 Moved ...
38981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38983 Moved ...
38984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38985 ... here.
38986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38987 Moved ...
38988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38990 Moved ...
38991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38993 Moved ...
38994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38996 Moved ...
38997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38999 Moved ...
39000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
39001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
39002 Moved ...
39003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
39004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
39005 Moved ...
39006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
39007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
39008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
39009 ... here.
39010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
39011 Moved ...
39012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
39013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
39014 Moved ...
39015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
39016 ... here.
39017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
39018 Moved ...
39019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
39020 ... here.
39021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39022 Moved ...
39023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
39024 ... here.
39025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39026 Moved ...
39027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
39028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39029 Moved ...
39030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
39031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
39032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
39033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39034 Moved ...
39035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
39036 ... here.
39037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39038 Moved ...
39039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
39040 ... here.
39041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39042 Moved ...
39043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
39044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39045 Moved ...
39046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
39047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39048 Moved ...
39049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
39050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39051 Moved ...
39052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
39053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39054 Moved ...
39055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
39056 ... here.
39057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39058 Moved ...
39059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
39060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39061 Moved ...
39062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
39063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39064 Moved ...
39065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
39066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39067 Moved ...
39068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
39069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
39070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
39071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39072 Moved ...
39073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
39074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39075 Moved ...
39076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
39077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39078 Moved ...
39079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
39080 ... here.
39081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39082 Moved ...
39083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
39084 ... here.
39085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39086 Moved ...
39087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
39088 ... here.
39089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39090 Moved ...
39091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
39092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39093 Moved ...
39094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
39095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39096 Moved ...
39097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
39098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39099 Moved ...
39100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
39101 ... here.
39102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39103 Moved ...
39104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
39105 ... here.
39106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39107 Moved ...
39108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
39109 ... here.
39110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39111 Moved ...
39112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
39113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39114 Moved ...
39115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
39116
39117 2014-06-23 Will Newton <will.newton@linaro.org>
39118 Wilco <wdijkstr@arm.com>
39119
39120 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
39121 implementation. Include get-rounding-mode.h.
39122 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
39123 [!libc_feholdsetround_noex_ctx]: Define
39124 libc_feholdsetround_noex_ctx.
39125 [!libc_feholdsetround_noexf_ctx]: Define
39126 libc_feholdsetround_noexf_ctx.
39127 [!libc_feholdsetround_noexl_ctx]: Define
39128 libc_feholdsetround_noexl_ctx.
39129 (libc_feholdsetround_ctx): New function.
39130 (libc_feresetround_ctx): New function.
39131 (libc_feholdsetround_noex_ctx): New function.
39132 (libc_feresetround_noex_ctx): New function.
39133
39134 2014-06-23 Roland McGrath <roland@hack.frob.com>
39135
39136 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
39137 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
39138 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
39139 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
39140 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
39141 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
39142
39143 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
39144 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
39145 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
39146 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
39147 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
39148 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
39149 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
39150 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
39151 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
39152 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
39153 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
39154 Moved ...
39155 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
39156 ... here.
39157 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
39158 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
39159 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
39160 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
39161 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
39162 Moved ...
39163 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
39164 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
39165 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
39166 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
39167 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
39168 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
39169 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
39170 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
39171 Moved ...
39172 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
39173 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
39174 Moved ...
39175 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
39176 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
39177 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
39178 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
39179 Moved ...
39180 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
39181 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
39182 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
39183 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
39184 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
39185 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
39186 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
39187 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
39188 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
39189 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
39190 Moved ...
39191 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
39192 ... here.
39193 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
39194 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
39195 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
39196 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
39197 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
39198 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
39199 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
39200 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
39201 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
39202 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
39203 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
39204 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
39205 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
39206 Moved ...
39207 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
39208 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
39209 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
39210 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
39211 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
39212 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
39213 Moved ...
39214 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
39215 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
39216 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
39217 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
39218 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
39219
39220 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
39221 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
39222 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
39223 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
39224 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
39225 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
39226 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
39227 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
39228 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
39229 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
39230 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
39231 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
39232 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
39233 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
39234 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
39235 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
39236 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
39237 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
39238 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
39239 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
39240 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
39241 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
39242 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
39243 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
39244 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
39245 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
39246 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
39247 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
39248
39249 2014-06-23 Joseph Myers <joseph@codesourcery.com>
39250
39251 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
39252 (FALLOC_FL_COLLAPSE_RANGE): New macro.
39253 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
39254 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
39255 (IPV6_PMTUDISC_INTERFACE): Likewise.
39256 (IPV6_PMTUDISC_OMIT): Likewise.
39257
39258 2014-06-23 Andreas Schwab <schwab@suse.de>
39259
39260 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
39261 Remove unused errout label.
39262
39263 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39264
39265 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
39266 macro: hardware supports Vector Crypto instructions.
39267
39268 2014-06-23 Will Newton <will.newton@linaro.org>
39269
39270 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
39271 rather than __builtin_expect.
39272
39273 * elf/dl-lookup.c (undefined_msg): Remove variable.
39274 (_dl_lookup_symbol_x): Replace undefined_msg with string
39275 literal.
39276
39277 * elf/dl-lookup.c (do_lookup_unique): New function.
39278 (do_lookup_x): Move STB_GNU_UNIQUE handling code
39279 to a separate function.
39280
39281 2014-06-23 Andreas Schwab <schwab@suse.de>
39282
39283 [BZ #17079]
39284 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
39285 before reading the next line.
39286
39287 2014-06-23 Will Newton <will.newton@linaro.org>
39288
39289 * test-skeleton.c (signal_handler): Use printf and %m
39290 rather than perror. Use printf rather than fprintf to
39291 stderr. Use puts rather than fputs to stderr.
39292 (main): Likewise.
39293
39294 2014-06-22 Ludovic Courtès <ludo@gnu.org>
39295
39296 * nscd/nscd.c (thread_info_t): Remove typedef.
39297 (thread_info): Remove variable.
39298
39299 2014-06-21 Allan McRae <allan@archlinux.org>
39300
39301 * NEWS: Mention CVE-2014-4043.
39302
39303 2014-06-20 Roland McGrath <roland@hack.frob.com>
39304
39305 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
39306 * nptl/smp.h: ... here.
39307
39308 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
39309
39310 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
39311 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
39312 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
39313 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
39314
39315 * nptl/allocatestack.c: Include <stack-aliasing.h>.
39316 * nptl/stack-aliasing.h: New file.
39317 * sysdeps/i386/i686/stack-aliasing.h: New file.
39318 * sysdeps/i386/i686/nptl/Makefile: File removed.
39319 * sysdeps/x86_64/stack-aliasing.h: New file.
39320 * sysdeps/x86_64/nptl/Makefile
39321 (CFLAGS-pthread_create.c): Variable removed.
39322
39323 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
39324 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
39325 old file.
39326 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
39327 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
39328 old file.
39329
39330 2014-06-21 Joseph Myers <joseph@codesourcery.com>
39331
39332 * sysdeps/unix/sysv/linux/arm/kernel-features.h
39333 (__ASSUME_SIGFRAME_V2): Remove macro.
39334 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
39335 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
39336 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
39337 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
39338 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
39339 Declare as function. Remove conditional macro definitions.
39340 (__default_rt_sa_restorer): Likewise.
39341 (__default_sa_restorer_v1): Remove declaration.
39342 (__default_sa_restorer_v2): Likewise.
39343 (__default_rt_sa_restorer_v1): Likewise.
39344 (__default_rt_sa_restorer_v2): Likewise.
39345 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
39346 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
39347 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
39348
39349 2014-06-20 Roland McGrath <roland@hack.frob.com>
39350
39351 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
39352 (libpthread-routines): Add sysdep.
39353 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
39354 * sysdeps/unix/sysv/linux/sparc/Versions
39355 (libpthread: GLIBC_2.3.3): New version set.
39356 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
39357 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
39358 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
39359 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
39360 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
39361 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
39362 Moved ...
39363 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
39364 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
39365 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
39366 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
39367 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
39368 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
39369 * sysdeps/sparc/nptl/sem_init.c: ... here.
39370 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
39371 * sysdeps/sparc/nptl/sem_post.c: ... here.
39372 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
39373 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
39374 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
39375 * sysdeps/sparc/nptl/sem_wait.c: ... here.
39376 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
39377 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
39378 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
39379 (libpthread-routines): Add cpu_relax.
39380 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
39381 File removed.
39382 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
39383 (librt: GLIBC_2.3.3): New version set.
39384 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
39385 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
39386 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
39387 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
39388 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
39389 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
39390 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
39391 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
39392 Moved ...
39393 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
39394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
39395 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
39396 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
39397 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
39398 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
39399 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
39400 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
39401 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
39402 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
39403 Moved ...
39404 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
39405 Update #include.
39406 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
39407 Moved ...
39408 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
39409 Update #include.
39410 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
39411 Moved ...
39412 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
39413 Update #include.
39414 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
39415 Moved ...
39416 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
39417 Update #include.
39418 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
39419 Moved ...
39420 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
39421 Update #include.
39422 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
39423 Moved ...
39424 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
39425 Update #include.
39426 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
39427 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
39428 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
39429 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
39430 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
39431 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
39432 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
39433 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
39434 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
39435 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
39436 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39437 Moved ...
39438 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
39439 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
39440 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
39441 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
39442 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
39443
39444 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39445
39446 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
39447 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
39448 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39449 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
39450 * nscd/nscd.c: Likewise.
39451 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
39452 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
39453 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
39454 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
39455
39456 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
39457 <kernel-features.h>.
39458 (init_mq_netlink): Remove conditional have_sock_cloexec
39459 definitions. Remove code conditional on have_sock_cloexec < 0.
39460 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
39461 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
39462 * sysdeps/unix/sysv/linux/opensock.c: Do not include
39463 <kernel-features.h>.
39464 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
39465 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
39466
39467 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
39468
39469 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39470 Add tests for memset_chk and memset.
39471
39472 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
39473 with AVX2_Usable.
39474
39475 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
39476
39477 [BZ #16046]
39478 * elf/tst-dl-iter-static.c: New file.
39479 * elf/Makefile (tests-static): Add tst-dl-iter-static.
39480
39481 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
39482 error.
39483
39484 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39485
39486 * sysdeps/unix/sysv/linux/kernel-features.h
39487 (__ASSUME_F_GETOWN_EX): Remove macro.
39488 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
39489 <kernel-features.h>.
39490 (miss_F_GETOWN_EX): Remove variable or macro.
39491 (do_fcntl): Do not check miss_F_GETOWN_EX.
39492 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
39493
39494 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
39495 Remove macro.
39496 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
39497 [!__ASSUME_AT_RANDOM]: Remove conditional code.
39498 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
39499
39500 * sysdeps/unix/sysv/linux/kernel-features.h
39501 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
39502 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
39503 [ADJ_OFFSET_SS_READ]: Make code unconditional.
39504 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
39505
39506 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
39507
39508 [BZ #17075]
39509 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
39510 Fix calculation of the symbol's value.
39511 * sysdeps/arm/tst-armtlsdescloc.c: New file.
39512 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
39513 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
39514 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
39515 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
39516 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
39517 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
39518 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
39519 (modules-names): Add `tst-armtlsdescmod',
39520 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
39521 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
39522 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39523 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
39524 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
39525 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39526 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
39527 ($(objpfx)tst-armtlsdescloc): New dependency.
39528 ($(objpfx)tst-armtlsdescextnow): Likewise.
39529 ($(objpfx)tst-armtlsdescextlazy): Likewise.
39530 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
39531 TLS scheme support.
39532 * sysdeps/arm/configure: Regenerate.
39533
39534 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39535
39536 * include/fcntl.h (__atfct_seterrno): Remove prototype.
39537 (__atfct_seterrno_2): Likewise.
39538 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
39539 <kernel-features.h>.
39540 (__ASSUME_ATFCTS): Do not undefine and redefine.
39541 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
39542 (__have_atfcts): Remove conditional definition.
39543 (__fxstatat([__NR_fstatat64]: Make code unconditional.
39544 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
39545 unreachable if [__ASSUME_ATFCTS].
39546 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
39547 not undefine and redefine.
39548 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
39549 <kernel-features.h>.
39550 (faccessat) [__NR_faccessat]: Make code unconditional.
39551 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
39552 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
39553 <kernel-features.h>.
39554 (fchmodat) [__NR_fchmodat]: Make code unconditional.
39555 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39556 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
39557 <kernel-features.h>.
39558 (fchownat) [__NR_fchownat]: Make code unconditional.
39559 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
39560 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
39561 <kernel-features.h>.
39562 (futimesat) [__NR_futimesat]: Make code unconditional.
39563 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
39564 * sysdeps/unix/sysv/linux/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/fxstatat64.c: Do not include
39569 <kernel-features.h>.
39570 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
39571 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39572 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
39573 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39574 <kernel-features.h>.
39575 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
39576 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39577 * sysdeps/unix/sysv/linux/linkat.c: Do not include
39578 <kernel-features.h>.
39579 (linkat) [__NR_linkat]: Make code unconditional.
39580 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39581 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
39582 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
39583 <kernel-features.h>.
39584 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
39585 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39586 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
39587 <kernel-features.h>.
39588 (mkdirat) [__NR_mkdirat]: Make code unconditional.
39589 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
39590 * sysdeps/unix/sysv/linux/openat.c: Do not include
39591 <kernel-features.h>.
39592 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
39593 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
39594 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
39595 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
39596 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
39597 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
39598 <kernel-features.h>.
39599 (readlinkat) [__NR_readlinkat]: Make code unconditional.
39600 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
39601 result of INLINE_SYSCALL directly, not via int variable.
39602 * sysdeps/unix/sysv/linux/renameat.c: Do not include
39603 <kernel-features.h>.
39604 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
39605 (renameat) [__NR_renameat]: Make code unconditional.
39606 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
39607 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
39608 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
39609 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
39610 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
39611 (__ASSUME_ATFCTS): Do not undefine and redefine.
39612 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
39613 <kernel-features.h>.
39614 (symlinkat) [__NR_symlinkat]: Make code unconditional.
39615 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39616 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
39617 <kernel-features.h>.
39618 (unlinkat) [__NR_unlinkat]: Make code unconditional.
39619 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39620 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
39621 (__ASSUME_ATFCTS): Do not undefine and redefine.
39622 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39623 <kernel-features.h>.
39624 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39625 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39626 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39627 <kernel-features.h>.
39628 (__xmknodat) [__NR_mknodat]: Make code unconditional.
39629 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39630
39631 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
39632
39633 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
39634
39635 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
39636
39637 [BZ #17069]
39638 * posix/regcomp.c (parse_reg_exp): Deallocate partially
39639 constructed tree before returning error.
39640 * posix/bug-regexp36.c: Expand test case.
39641
39642 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39643
39644 [BZ #6803]
39645 * math/libm-test.inc (scalbln_test_date):
39646 Add errno expectations.
39647 * math/w_scalblnf.c: New File.
39648 Add wrapper which checks for setting errno to ERANGE.
39649 Add weak_alias for corresponding scalbln function.
39650 * math/w_scalbln.c: Likewise.
39651 * math/w_scalblnl.c: Likewise.
39652 * math/Makefile (libm-calls): Add w_scalbln.
39653 * sysdeps/ieee754/flt-32/s_scalblnf.c:
39654 Remove weak_alias for corresponding scalbln function.
39655 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39656 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39657 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39658 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39659 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
39660 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
39661 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
39662 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
39663 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
39664 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
39665 Remove long_double_symbol for scalblnl function in libm, libc.
39666 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
39667 Add wrapper which checks for setting errno to ERANGE.
39668 Add long_double_symbol for scalblnl function in libm, libc.
39669 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
39670 Remove long_double_symbol for scalblnl in libm.
39671 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
39672 Add wrapper which checks for setting errno to ERANGE.
39673 Add long_double_symbol for scalblnl function in libm.
39674 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
39675 Do not use wrapper because of own implementation.
39676
39677 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
39678
39679 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
39680 3 bytes for __pad1 for x32.
39681 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
39682
39683 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
39684 H.J. Lu <hongjiu.lu@intel.com>
39685
39686 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
39687 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
39688 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39689 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39690 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
39691
39692 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
39693
39694 [BZ #17069]
39695 * posix/regcomp.c (parse_expression): Deallocate partially
39696 constructed tree before returning error.
39697 * posix/Makefile.c (tests): Add bug-regex36.
39698 (generated): Add bug-regex36.mtrace.
39699 (tests-special): Add $(objpfx)bug-regex36-mem.out
39700 (bug-regex36-ENV): New variable.
39701 ($(objpfx)bug-regex36-mem.out): New rule.
39702 * posix/bug-regex36.c: New file.
39703
39704 2014-06-19 Will Newton <will.newton@linaro.org>
39705
39706 * malloc/malloc.c (systrim): If extra is zero then return
39707 early.
39708
39709 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39710
39711 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
39712
39713 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
39714
39715 * sysdeps/aarch64/strchr.S: New file.
39716
39717 2014-06-18 Joseph Myers <joseph@codesourcery.com>
39718
39719 [BZ #17022]
39720 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
39721 from arguments -2 or below.
39722 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39723 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
39724
39725 2014-06-18 Andreas Schwab <schwab@suse.de>
39726
39727 [BZ #17062]
39728 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
39729 of a bracket expr not to run off the end of the string.
39730 * posix/Makefile (tests): Add tst-fnmatch3.
39731 * posix/tst-fnmatch3.c: New file.
39732
39733 2014-06-18 Joseph Myers <joseph@codesourcery.com>
39734
39735 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
39736 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39737 [$(cross-compiling) = no]: Likewise.
39738 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39739 [$(cross-compiling) = no]: Likewise.
39740
39741 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39742
39743 [BZ #17031]
39744 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
39745 double, adjusted for any remainder from the high double.
39746 * math/libm-test.inc (nearbyint): Add tests.
39747 (rint): Likewise.
39748
39749 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39750
39751 * nptl/sysdeps/powerpc/Makefile: Moved ...
39752 * sysdeps/powerpc/nptl/Makefile: ... here.
39753 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
39754 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
39755 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
39756 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
39757 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
39758 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
39759 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
39760 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
39761 * nptl/sysdeps/powerpc/tls.h: Moved ...
39762 * sysdeps/powerpc/nptl/tls.h: ... here.
39763
39764 2014-06-16 Joseph Myers <joseph@codesourcery.com>
39765
39766 [BZ #16681]
39767 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
39768 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
39769 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
39770 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
39771 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
39772 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
39773 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
39774 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
39775 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
39776
39777 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
39778
39779 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39780
39781 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
39782
39783 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
39784 defined operator.
39785
39786 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
39787 $TIMEOUTFACTOR.
39788
39789 2014-06-16 Florian Weimer <fweimer@redhat.com>
39790
39791 [BZ #17058]
39792 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
39793 non-executed part of the test.
39794
39795 2014-06-16 Andreas Schwab <schwab@suse.de>
39796
39797 * string/bits/string2.h (strdup, strndup): Update feature guard.
39798
39799 2014-06-14 David S. Miller <davem@davemloft.net>
39800
39801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39802
39803 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
39804
39805 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
39806 that was previously under [RESET_PID].
39807 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
39808
39809 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
39810 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
39811 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
39812 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39813 (__libc_vfork): New strong alias.
39814 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
39815
39816 2014-06-14 Andi Kleen <ak@linux.intel.com>
39817
39818 * sysdeps/generic/elide.h: New file.
39819
39820 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
39821
39822 * Makefile (installed-headers): Adjust path of pthread.h header.
39823
39824 2014-06-13 Roland McGrath <roland@hack.frob.com>
39825
39826 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
39827 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
39828 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
39829 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
39830
39831 * nptl/sysdeps/s390/Makefile: Moved ...
39832 * sysdeps/s390/nptl/Makefile: ... here.
39833 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
39834 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
39835 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
39836 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
39837 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
39838 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
39839 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
39840 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
39841 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
39842 * sysdeps/s390/nptl/pthreaddef.h: ... here.
39843 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
39844 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
39845 * nptl/sysdeps/s390/tls.h: Moved ...
39846 * sysdeps/s390/nptl/tls.h: ... here.
39847
39848 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
39849 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
39850
39851 2014-06-13 David S. Miller <davem@davemloft.net>
39852
39853 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
39854 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
39855 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
39856 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
39857 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
39858 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
39859 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
39860 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
39861 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
39862 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
39863 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
39864 Remove RESET_PID cpp guards.
39865 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
39866 Remove RESET_PID cpp guards.
39867 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
39868
39869 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
39870
39871 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
39872 __sp to uintptr_t.
39873
39874 2014-06-13 Andi Kleen <ak@linux.intel.com>
39875
39876 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
39877 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
39878 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
39879 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
39880 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39881 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39882 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39883 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39884 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39885 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39886 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39887 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39888 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39889 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39890 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39891 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39892 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39893 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39894 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39895 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39896
39897 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39898 (pthread_rwlock_rdlock): Add elision.
39899 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39900 (pthread_rwlock_wrlock): Add elision.
39901 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39902 (pthread_rwlock_trywrlock): Add elision.
39903 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39904 (pthread_rwlock_tryrdlock): Add elision.
39905 * nptl/pthread_rwlock_unlock.c: Include elide.h.
39906 (pthread_rwlock_tryrdlock): Add elision unlock.
39907 * nptl/sysdeps/pthread/pthread.h:
39908 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39909 (PTHREAD_RWLOCK_INITIALIZER,
39910 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39911 Handle new elision field.
39912 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39913 * sysdeps/arm/nptl/bits/pthreadtypes.h
39914 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39915 * sysdeps/sh/nptl/bits/pthreadtypes.h
39916 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39917 * sysdeps/tile/nptl/bits/pthreadtypes.h
39918 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39919 * sysdeps/a/nptl/bits/pthreadtypes.h
39920 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39921 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39922 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39923 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39924 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39925 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39926 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39927 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39928 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39929 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39930 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39931 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39932 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39933 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39934 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39935 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39936 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39937 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39938 (elision_init): Set try_xbegin to zero when no RTM.
39939 * sysdeps/x86/nptl/bits/pthreadtypes.h
39940 (pthread_rwlock_t): Change __pad1 to __rwelision.
39941 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39942
39943 2014-06-13 Andi Kleen <ak@linux.intel.com>
39944
39945 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39946 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39947 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39948 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39949
39950 2014-06-13 Meador Inge <meadori@codesourcery.com>
39951
39952 [BZ #16996]
39953 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39954 that the cached result has been set before returning it.
39955
39956 2014-06-12 Roland McGrath <roland@hack.frob.com>
39957
39958 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39959 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39960 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39961 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39962 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39963 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39964
39965 * nptl/sysdeps/sparc/Makefile: Moved ...
39966 * sysdeps/sparc/nptl/Makefile: ... here.
39967 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39968 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39969 * nptl/sysdeps/sparc/tls.h: Moved ...
39970 * sysdeps/sparc/nptl/tls.h: ... here.
39971 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39972 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39973 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39974 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39975 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39976 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39977 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39978 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39979 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39980 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39981 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39982 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39983 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39984 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39985 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39986 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39987 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39988 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39989 Update #include.
39990 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39991 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39992 Update #include.
39993 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39994 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39995 Update #include.
39996 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39997 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39998 Update #include.
39999
40000 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
40001
40002 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
40003 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
40004
40005 * sysdeps/pthread/posix-timer.h: Include <list.h>.
40006 (struct list_links): Type removed.
40007 (struct thread_node, struct timer_node): Replace struct list_links
40008 with struct list_head.
40009 (list_unlink_ip): Likewise.
40010 * sysdeps/pthread/timer_routines.c
40011 (timer_free_list, thread_free_list, thread_active_list): Likewise.
40012 (list_append, list_insbefore): Likewise.
40013 (list_init): Function removed.
40014 (thread_init, init_module): Use INIT_LIST_HEAD instead.
40015 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
40016 * sysdeps/pthread/Makefile: ... here, new file.
40017
40018 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
40019 * sysdeps/nptl/Implies: ... here.
40020 * sysdeps/unix/sysv/linux/Implies: Add nptl.
40021 * nptl/sysdeps/pthread/list.h: Moved ...
40022 * include/list.h: ... here.
40023 * nptl/sysdeps/pthread/createthread.c: Moved ...
40024 * nptl/createthread.c: ... here.
40025 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
40026 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
40027 * nptl/pt-longjmp.c: ... here.
40028 * nptl/sysdeps/pthread/Makefile: Moved ...
40029 * sysdeps/nptl/Makefile: ... here.
40030 * nptl/sysdeps/pthread/Subdirs: Moved ...
40031 * sysdeps/nptl/Subdirs: ... here.
40032 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
40033 * sysdeps/nptl/aio_misc.h: ... here.
40034 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
40035 * sysdeps/nptl/bits/libc-lock.h: ... here.
40036 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
40037 * sysdeps/nptl/bits/libc-lockP.h: ... here.
40038 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
40039 * sysdeps/nptl/bits/stdio-lock.h: ... here.
40040 * nptl/sysdeps/pthread/configure: Moved ...
40041 * sysdeps/nptl/configure: ... here.
40042 * nptl/sysdeps/pthread/configure.ac: Moved ...
40043 * sysdeps/nptl/configure.ac: ... here.
40044 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
40045 * sysdeps/nptl/gai_misc.h: ... here.
40046 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
40047 * sysdeps/nptl/librt-cancellation.c: ... here.
40048 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
40049 * sysdeps/nptl/malloc-machine.h: ... here.
40050 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
40051 * sysdeps/nptl/pthread-functions.h: ... here.
40052 * nptl/sysdeps/pthread/pthread.h: Moved ...
40053 * sysdeps/nptl/pthread.h: ... here.
40054 * nptl/sysdeps/pthread/setxid.h: Moved ...
40055 * sysdeps/nptl/setxid.h: ... here.
40056 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
40057 * sysdeps/nptl/sigfillset.c: ... here.
40058 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
40059 * sysdeps/nptl/tcb-offsets.h: ... here.
40060 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
40061 * sysdeps/nptl/tst-mqueue8x.c: ... here.
40062 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
40063 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
40064 * nptl/sysdeps/pthread/allocalim.h: Moved ...
40065 * sysdeps/pthread/allocalim.h: ... here.
40066 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
40067 * sysdeps/pthread/bits/sigthread.h: ... here.
40068 * nptl/sysdeps/pthread/flockfile.c: Moved ...
40069 * sysdeps/pthread/flockfile.c: ... here.
40070 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
40071 * sysdeps/pthread/ftrylockfile.c: ... here.
40072 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
40073 * sysdeps/pthread/funlockfile.c: ... here.
40074 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
40075 * sysdeps/pthread/posix-timer.h: ... here.
40076 * nptl/sysdeps/pthread/timer_create.c: Moved ...
40077 * sysdeps/pthread/timer_create.c: ... here.
40078 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
40079 * sysdeps/pthread/timer_delete.c: ... here.
40080 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
40081 * sysdeps/pthread/timer_getoverr.c: ... here.
40082 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
40083 * sysdeps/pthread/timer_gettime.c: ... here.
40084 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
40085 * sysdeps/pthread/timer_routines.c: ... here.
40086 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
40087 * sysdeps/pthread/timer_settime.c: ... here.
40088 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
40089 * sysdeps/pthread/tst-timer.c: ... here.
40090 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
40091 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
40092
40093 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
40094 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
40095
40096 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
40097 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
40098 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
40099 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
40100 Update #include target.
40101 * nptl/sysdeps/i386/i686/Makefile: Moved ...
40102 * sysdeps/i386/i686/nptl/Makefile: ... here.
40103 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
40104 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
40105 Update #include target.
40106 * nptl/sysdeps/i386/i686/tls.h: Moved ...
40107 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
40108 * nptl/sysdeps/i386/Makefile: Moved ...
40109 * sysdeps/i386/nptl/Makefile: ... here.
40110 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
40111 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
40112 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
40113 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
40114 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
40115 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
40116 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
40117 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
40118 * sysdeps/i386/nptl/pthreaddef.h: ... here.
40119 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
40120 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
40121 * nptl/sysdeps/i386/tls.h: Moved ...
40122 * sysdeps/i386/nptl/tls.h: ... here.
40123
40124 * sysdeps/sh/Makefile [$(subdir) = csu]
40125 (gen-as-const-headers): Add tcb-offsets.sym.
40126 * nptl/sysdeps/sh/Makefile: File removed.
40127 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
40128 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
40129 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
40130 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
40131 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
40132 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
40133 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
40134 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
40135 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
40136 * sysdeps/sh/nptl/pthreaddef.h: ... here.
40137 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
40138 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
40139 * nptl/sysdeps/sh/tls.h: Moved ...
40140 * sysdeps/sh/nptl/tls.h: ... here.
40141 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
40142 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
40143 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
40144 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
40145 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
40146 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
40147 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
40148 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
40149 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
40150 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
40151 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
40152 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
40153 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
40154 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
40155 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
40156 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
40157 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
40158 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
40159 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
40160 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
40161 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
40162 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
40163 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
40164 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
40165 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
40166 Moved ...
40167 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
40168 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
40169 Moved ...
40170 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
40171 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
40172 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
40173 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
40174 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
40175 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
40176 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
40177 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
40178 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
40179 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
40180 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
40181 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
40182 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
40183 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
40184 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
40185 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
40186 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
40187 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
40188 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
40189
40190 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
40191
40192 * posix/spawn_faction_addopen.c: Include string.h.
40193
40194 2014-06-11 Roland McGrath <roland@hack.frob.com>
40195
40196 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
40197 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
40198 * nptl/sysdeps/x86_64/Makefile: Moved ...
40199 * sysdeps/x86_64/nptl/Makefile: ... here.
40200 * nptl/sysdeps/x86_64/configure: Moved ...
40201 * sysdeps/x86_64/nptl/configure: ... here.
40202 * nptl/sysdeps/x86_64/configure.ac: Moved ...
40203 * sysdeps/x86_64/nptl/configure.ac: ... here.
40204 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
40205 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
40206 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
40207 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
40208 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
40209 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
40210 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
40211 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
40212 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
40213 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
40214 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
40215 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
40216 * nptl/sysdeps/x86_64/tls.h: Moved ...
40217 * sysdeps/x86_64/nptl/tls.h: ... here.
40218 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
40219 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
40220 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
40221 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
40222
40223 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
40224
40225 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40226
40227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40228
40229 2014-06-11 Joseph Myers <joseph@codesourcery.com>
40230
40231 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
40232 type.
40233 [POSIX] (off_t): Likewise.
40234 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
40235 [POSIX] (S_ISBLK): Require macro.
40236 [POSIX] (S_ISCHR): Likewise.
40237 [POSIX] (S_ISDIR): Likewise.
40238 [POSIX] (S_ISFIFO): Likewise.
40239 [POSIX] (S_ISREG): Likewise.
40240 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
40241 optional-macro.
40242 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
40243 type.
40244 [POSIX] (time_t): Likewise.
40245 [POSIX] (timer_t): Likewise.
40246
40247 2014-06-11 Florian Weimer <fweimer@redhat.com>
40248
40249 [BZ #17048]
40250 * posix/spawn_int.h (struct __spawn_action): Make the path string
40251 non-const to support deallocation.
40252 * posix/spawn_faction_addopen.c
40253 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
40254 * posix/spawn_faction_destroy.c
40255 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
40256 path in all spawn_do_open actions.
40257 * posix/tst-spawn.c (do_test): Exercise the copy operation in
40258 posix_spawn_file_actions_addopen.
40259
40260 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
40261
40262 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
40263 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
40264 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
40265 conditional code always true.
40266 (__libc_vfork): New alias.
40267
40268 2014-06-11 Roland McGrath <roland@hack.frob.com>
40269
40270 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40271 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
40272
40273 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
40274
40275 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40276 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
40277
40278 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
40279 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
40280
40281 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40282 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
40283
40284 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
40285
40286 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
40287 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
40288 multiarch strcmp for PPC64.
40289 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
40290 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
40291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
40292 multiarch optimizations.
40293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40294 (__libc_ifunc_impl_list): Likewise.
40295
40296 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40297
40298 * benchtests/scripts/validate_benchout.py: New script.
40299 * benchtests/Makefile (bench-func): Call it.
40300 * benchtests/scripts/benchout.schema.json: New file.
40301
40302 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
40303
40304 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
40305 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
40306 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
40307 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
40308 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
40309 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
40310 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
40311 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
40312 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
40313 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
40314 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
40315 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
40316 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
40317 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
40318 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
40319 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
40320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
40321 Moved ...
40322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
40323 ... here.
40324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
40325 Moved ...
40326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
40327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
40328 Moved ...
40329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
40330 ... here.
40331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
40332 Moved ...
40333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
40334 ... here.
40335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
40336 Moved ...
40337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
40338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
40339 Moved ...
40340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
40341 ... here.
40342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
40343 Moved ...
40344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
40345 ... here.
40346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
40347 Moved ...
40348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
40349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
40350 Moved ...
40351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
40352 ... here.
40353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
40354 Moved ...
40355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
40356 ... here.
40357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
40358 Moved ...
40359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
40360 ... here.
40361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
40362 Moved ...
40363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
40364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
40365 Moved ...
40366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
40367 ... here.
40368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
40369 Moved ...
40370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
40371 ... here.
40372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
40373 Moved ...
40374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
40375 ... here.
40376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
40377 Moved ...
40378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
40379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
40380 Moved ...
40381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
40382 ... here.
40383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
40384 Moved ...
40385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
40386 ... here.
40387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
40388 Moved ...
40389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
40390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
40391 Moved ...
40392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
40393 ... here.
40394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
40395 Moved ...
40396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
40397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
40398 Moved ...
40399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
40400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
40401 Moved ...
40402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
40403 ... here.
40404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
40405 Moved ...
40406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
40407 ... here.
40408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
40409 Moved ...
40410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
40411 ... here.
40412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
40413 Moved ...
40414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
40415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
40416 Moved ...
40417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
40418 ... here.
40419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
40420 Moved ...
40421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
40422 ... here.
40423 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
40424 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
40425 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
40426 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
40427 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
40428 Moved ...
40429 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
40430 ... here.
40431 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
40432 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
40433 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
40434 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
40435 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
40436 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
40437 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
40438 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
40439 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
40440 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
40441 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
40442 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
40443 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
40444 Moved ...
40445 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
40446 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
40447 Moved ...
40448 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
40449 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
40450 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
40451 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
40452 Moved ...
40453 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
40454 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
40455 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
40456 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
40457 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
40458 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
40459 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
40460
40461 2014-06-10 Wilco <wdijkstr@arm.com>
40462
40463 * math/test-fenv-return.c: New file.
40464 * math/Makefile: Add new test test-fenv-return.
40465
40466 2014-06-10 Joseph Myers <joseph@codesourcery.com>
40467
40468 [BZ #17042]
40469 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
40470 when x - 1 is zero.
40471 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
40472 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
40473 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
40474 0.0L for an argument of 1.0L.
40475 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
40476 Likewise.
40477 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
40478 value when x - 1 is zero.
40479 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
40480 * sysdeps/i386/fpu/libm-test-ulps: Update.
40481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40482
40483 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
40484
40485 [BZ #15119]
40486 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
40487
40488 2014-06-09 Roland McGrath <roland@hack.frob.com>
40489
40490 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
40491 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
40492
40493 2014-06-09 Roland McGrath <roland@hack.frob.com>
40494
40495 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40496 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
40497
40498 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40499 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
40500
40501 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40502 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
40503
40504 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40505 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
40506
40507 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
40508 if not already defined.
40509 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
40510 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
40511 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
40512 (TLS_INIT_TP): Use it.
40513 (TLS_DEFINE_INIT_TP): New macro.
40514 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
40515
40516 2014-06-09 Joseph Myers <joseph@codesourcery.com>
40517
40518 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
40519 constant.
40520 [POSIX] (IXANY): Likewise.
40521 [POSIX] (OLCUC): Likewise.
40522 [POSIX || POSIX2008] (CBAUD): Do not allow.
40523 [POSIX || POSIX2008] (DEFECHO): Likewise.
40524 [POSIX || POSIX2008] (ECHOCTL): Likewise.
40525 [POSIX || POSIX2008] (ECHOKE): Likewise.
40526 [POSIX || POSIX2008] (ECHOPRT): Likewise.
40527 [POSIX || POSIX2008] (EXTA): Likewise.
40528 [POSIX || POSIX2008] (EXTB): Likewise.
40529 [POSIX || POSIX2008] (FLUSHO): Likewise.
40530 [POSIX || POSIX2008] (LOBLK): Likewise.
40531 [POSIX || POSIX2008] (PENDIN): Likewise.
40532 [POSIX || POSIX2008] (SWTCH): Likewise.
40533 [POSIX || POSIX2008] (VDISCARD): Likewise.
40534 [POSIX || POSIX2008] (VDSUSP): Likewise.
40535 [POSIX || POSIX2008] (VLNEXT): Likewise.
40536 [POSIX || POSIX2008] (VREPRINT): Likewise.
40537 [POSIX || POSIX2008] (VSTATUS): Likewise.
40538 [POSIX || POSIX2008] (VWERASE): Likewise.
40539 (B*): Change to B[0123456789]*.
40540 * conform/data/time.h-data [POSIX || UNIX98]
40541 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
40542 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40543 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
40544 [POSIX] (tm_*): Do not allow.
40545
40546 2014-06-07 Joseph Myers <joseph@codesourcery.com>
40547
40548 * Makefile (install): Don't set LANGUAGE.
40549 * Makefile.in (install): Likewise.
40550 * assert/Makefile (test-assert-ENV): Remove variable.
40551 (test-assert-perr-ENV): Likewise.
40552 * elf/Makefile (neededtest4-ENV): Likewise.
40553 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40554 [$(cross-compiling) = no]: Don't set LANGUAGE.
40555 * io/ftwtest-sh (LANG): Remove variable.
40556 * libio/Makefile (tst-widetext-ENV): Likewise.
40557 * manual/install.texi (Running make install): Don't refer to
40558 environment settings for make install.
40559 * INSTALL: Regenerated.
40560 * nptl/tst-tls6.sh: Don't set LANG.
40561 * posix/globtest.sh (LANG): Remove variable.
40562 * string/Makefile (tester-ENV): Likewise.
40563 (inl-tester-ENV): Likewise.
40564 (noinl-tester-ENV): Likewise.
40565 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40566 [$(cross-compiling) = no]: Don't set LANGUAGE.
40567 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
40568 without explicit environment settings.
40569
40570 2014-06-06 Roland McGrath <roland@hack.frob.com>
40571
40572 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
40573 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
40574 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
40575 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
40576
40577 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
40578
40579 * crypt/crypt-private.h [DOS]: Add some includes taken from the
40580 other files in the crypt directory.
40581 * crypt/crypt.c: Remove duplicate includes.
40582 * crypt/crypt-entry.c: Likewise.
40583 * crypt/crypt_util.c: Likewise.
40584
40585 2014-06-06 Joseph Myers <joseph@codesourcery.com>
40586
40587 * Makeconfig (run-program-env): New variable.
40588 (run-program-prefix-before-env): Likewise.
40589 (run-program-prefix-after-env): Likewise.
40590 (run-program-prefix): Define in terms of new variables.
40591 (built-program-cmd-before-env): New variable.
40592 (built-program-cmd-after-env): Likewise.
40593 (built-program-cmd): Define in terms of new variables.
40594 (test-program-prefix-before-env): New variable.
40595 (test-program-prefix-after-env): Likewise.
40596 (test-program-prefix): Define in terms of new variables.
40597 (test-program-cmd-before-env): New variable.
40598 (test-program-cmd-after-env): Likewise.
40599 (test-program-cmd): Define in terms of new variables.
40600 * Rules (make-test-out): Use $(run-program-env).
40601 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
40602 (help): Do not mention environment variables. Mention
40603 --timeoutfactor option.
40604 (timeoutfactor): New variable.
40605 (blacklist_exports): Remove function.
40606 (exports): Remove variable.
40607 (command): Do not include ${exports}.
40608 * manual/install.texi (Configuring and compiling): Do not mention
40609 test wrappers preserving environment variables. Mention that last
40610 assignment to a variable must take precedence.
40611 * INSTALL: Regenerated.
40612 * benchtests/Makefile (run-bench): Use $(run-program-env).
40613 * catgets/Makefile ($(objpfx)test1.cat): Use
40614 $(built-program-cmd-before-env), $(run-program-env) and
40615 $(built-program-cmd-after-env).
40616 ($(objpfx)test2.cat): Do not specify environment variables
40617 explicitly.
40618 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
40619 $(run-program-env) and $(built-program-cmd-after-env).
40620 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
40621 $(run-program-env) and $(test-program-cmd-after-env).
40622 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
40623 explicitly.
40624 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
40625 run_program_env and test_program_cmd_after_env arguments.
40626 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
40627 * elf/tst-pathopt.sh: Use run_program_env argument.
40628 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
40629 $(test-wrapper-env) and $(run-program-env).
40630 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
40631 run_program_env arguments.
40632 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
40633 * intl/Makefile ($(objpfx)tst-gettext.out): Use
40634 $(test-program-prefix-before-env), $(run-program-env) and
40635 $(test-program-prefix-after-env).
40636 ($(objpfx)tst-gettext2.out): Likewise.
40637 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
40638 run_program_env and test_program_prefix_after_env arguments.
40639 * intl/tst-gettext2.sh: Likewise.
40640 * intl/tst-gettext4.sh: Do not set environment variables
40641 explicitly.
40642 * intl/tst-gettext6.sh: Likewise.
40643 * intl/tst-translit.sh: Likewise.
40644 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
40645 $(test-program-prefix-before-env), $(run-program-env) and
40646 $(test-program-prefix-after-env).
40647 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
40648 run_program_env and test_program_prefix_after_env arguments.
40649 * math/Makefile (run-regen-ulps): Use $(run-program-env).
40650 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
40651 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
40652 explicitly with each use of ${test_wrapper_env}.
40653 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
40654 $(test-program-prefix-before-env), $(run-program-env) and
40655 $(test-program-prefix-after-env).
40656 * posix/tst-getconf.sh: Do not set environment variables
40657 explicitly.
40658 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
40659 run_program_env and test_program_prefix_after_env arguments.
40660 * stdio-common/tst-printf.sh: Do not set environment variables
40661 explicitly.
40662 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
40663 $(test-program-prefix-before-env), $(run-program-env) and
40664 $(test-program-prefix-after-env).
40665 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
40666 run_program_env and test_program_prefix_after_env arguments.
40667 Split $test calls into $test_pre and $test.
40668 * timezone/Makefile (build-testdata): Use
40669 $(built-program-cmd-before-env), $(run-program-env) and
40670 $(built-program-cmd-after-env).
40671
40672 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40673
40674 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
40675 strlen for non SHARED builds.
40676
40677 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40678
40679 * nptl/allocatestack.c (check_list): Inlined function...
40680 (__reclaim_stacks): ... here.
40681
40682 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
40683
40684 [BZ #15698]
40685 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40686 memory overrun.
40687
40688 2014-06-05 Joseph Myers <joseph@codesourcery.com>
40689
40690 * Rules (make-test-out): Include
40691 LOCPATH=$(common-objpfx)localedata in default environment.
40692 * debug/Makefile (tst-chk1-ENV): Remove variable.
40693 (tst-chk2-ENV): Likewise.
40694 (tst-chk3-ENV): Likewise.
40695 (tst-chk4-ENV): Likewise.
40696 (tst-chk5-ENV): Likewise.
40697 (tst-chk6-ENV): Likewise.
40698 (tst-lfschk1-ENV): Likewise.
40699 (tst-lfschk2-ENV): Likewise.
40700 (tst-lfschk3-ENV): Likewise.
40701 (tst-lfschk4-ENV): Likewise.
40702 (tst-lfschk5-ENV): Likewise.
40703 (tst-lfschk6-ENV): Likewise.
40704 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
40705 (tst-iconv7-ENV): Likewise.
40706 * intl/Makefile (LOCPATH-ENV): Likewise.
40707 (tst-codeset-ENV): Likewise.
40708 (tst-gettext3-ENV): Likewise.
40709 (tst-gettext5-ENV): Likewise.
40710 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
40711 (tst-fopenloc-ENV): Likewise.
40712 (tst-fgetws-ENV): Remove variable.
40713 (tst-ungetwc1-ENV): Likewise.
40714 (tst-ungetwc2-ENV): Likewise.
40715 (bug-ungetwc2-ENV): Likewise.
40716 (tst-swscanf-ENV): Likewise.
40717 (bug-ftell-ENV): Likewise.
40718 (tst-fgetwc-ENV): Likewise.
40719 (tst-fseek-ENV): Likewise.
40720 (tst-ftell-partial-wide-ENV): Likewise.
40721 (tst-ftell-active-handler-ENV): Likewise.
40722 (tst-ftell-append-ENV): Likewise.
40723 * posix/Makefile (tst-fnmatch-ENV): Likewise.
40724 (tst-regexloc-ENV): Likewise.
40725 (bug-regex1-ENV): Likewise.
40726 (tst-regex-ENV): Likewise.
40727 (tst-regex2-ENV): Likewise.
40728 (bug-regex5-ENV): Likewise.
40729 (bug-regex6-ENV): Likewise.
40730 (bug-regex17-ENV): Likewise.
40731 (bug-regex18-ENV): Likewise.
40732 (bug-regex19-ENV): Likewise.
40733 (bug-regex20-ENV): Likewise.
40734 (bug-regex22-ENV): Likewise.
40735 (bug-regex23-ENV): Likewise.
40736 (bug-regex25-ENV): Likewise.
40737 (bug-regex26-ENV): Likewise.
40738 (bug-regex30-ENV): Likewise.
40739 (bug-regex32-ENV): Likewise.
40740 (bug-regex33-ENV): Likewise.
40741 (bug-regex34-ENV): Likewise.
40742 (bug-regex35-ENV): Likewise.
40743 (tst-rxspencer-ENV): Likewise.
40744 (tst-rxspencer-no-utf8-ENV): Likewise.
40745 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
40746 (tst-sscanf-ENV): Likewise.
40747 (tst-swprintf-ENV): Likewise.
40748 (tst-swscanf-ENV): Likewise.
40749 (test-vfprintf-ENV): Likewise.
40750 (scanf13-ENV): Likewise.
40751 (bug14-ENV): Likewise.
40752 (tst-grouping-ENV): Likewise.
40753 * stdlib/Makefile (tst-strtod-ENV): Likewise.
40754 (tst-strtod3-ENV): Likewise.
40755 (tst-strtod4-ENV): Likewise.
40756 (tst-strtod5-ENV): Likewise.
40757 (testmb2-ENV): Likewise./
40758 * string/Makefile (tst-strxfrm-ENV): Likewise.
40759 (tst-strxfrm2-ENV): Likewise.
40760 (bug-strcoll1-ENV): Likewise.
40761 (test-strcasecmp-ENV): Likewise.
40762 (test-strncasecmp-ENV): Likewise.
40763 * time/Makefile (tst-strptime-ENV): Likewise.
40764 (tst-ftime_l-ENV): Likewise.
40765 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
40766 (tst-mbrtowc-ENV): Likewise.
40767 (tst-wcrtomb-ENV): Likewise.
40768 (tst-mbrtowc2-ENV): Likewise.
40769 (tst-c16c32-1-ENV): Likewise.
40770 (tst-mbsnrtowcs-ENV): Likewise.
40771
40772 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
40773
40774 * manual/resource.texi (How to get information about the memory
40775 subsystem?): Fix typo.
40776 Reported by Peon de la Parra Ivan <peon@keba.com>
40777
40778 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
40779
40780 [BZ #16882]
40781 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
40782 (pthread_spin_lock): Branch out of spin loop to proper location.
40783 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
40784 (pthread_spin_lock): Likewise.
40785
40786 * nptl/tst-spin4.c: New test.
40787 * nptl/Makefile (tests): Add tst-spin4.
40788
40789 2014-06-03 Andreas Schwab <schwab@suse.de>
40790
40791 [BZ #15946]
40792 * resolv/res_send.c (send_dg): Reload file descriptor after
40793 calling reopen.
40794
40795 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
40796
40797 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40798
40799 2014-06-03 Richard Henderson <rth@redhat.com>
40800
40801 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
40802 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
40803 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
40804 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
40805 in the SAVE_PID block.
40806 (__libc_vfork): New alias.
40807 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
40808
40809 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
40810 child in registers, not on the stack. Remove RESET_PID conditionals.
40811 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
40812
40813 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
40814
40815 * sysdeps/aarch64/libm-test-ulps: Regenerate.
40816
40817 2014-06-03 Wilco <wdijkstr@arm.com>
40818
40819 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
40820 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
40821 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40822 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
40823 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
40824 Likewise.
40825
40826 2014-06-03 Wilco <wdijkstr@arm.com>
40827
40828 * sysdeps/aarch64/fpu/math_private.h
40829 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
40830 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
40831 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
40832 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40833 Fix declarations.
40834
40835 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
40836
40837 * crypt/crypt-private.h: Include ufc-crypt.h.
40838 (__b64_from_24bit): Declare extern.
40839 * crypt/crypt_util.c(__b64_from_24bit): New function.
40840 (b64t): New static const variable.
40841 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
40842 (b64t): Remove variable.
40843 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
40844 * crypt/sha256-crypt.c: Include crypt-private.h.
40845 (b64t): Remove variable.
40846 (__sha256_crypt_r): Remove b64_from_24bit and replace
40847 with __b64_from_24bit.
40848 * crypt/sha512-crypt.c: Likewise.
40849
40850 2014-06-02 Roland McGrath <roland@hack.frob.com>
40851
40852 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
40853 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
40854 Label the code __libc_vfork rather than __vfork.
40855 [!NOT_IN_libc] (vfork): Define as weak alias.
40856 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
40857 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
40858 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
40859
40860 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40861
40862 * malloc/malloc.c (malloc_info): Fix format specifier for
40863 n_mmaps.
40864
40865 2014-06-02 Wilco <wdijkstr@arm.com>
40866
40867 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
40868 FPCR write.
40869
40870 2014-06-02 Wilco <wdijkstr@arm.com>
40871
40872 [BZ #17009]
40873 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40874 Rewrite to reduce FPCR/FPSR accesses.
40875
40876 2014-06-01 David S. Miller <davem@davemloft.net>
40877
40878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40879
40880 2014-05-31 David S. Miller <davem@davemloft.net>
40881
40882 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40883 to occur in round to nearest mode when |x| >= 2.0
40884
40885 2014-05-30 Richard Henderson <rth@twiddle.net>
40886
40887 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40888 (PSEUDO_RET_NOERRNO): Remove.
40889 (ret): Don't redefine.
40890 (ret_NOERRNO): Define in terms of ret.
40891 (ret_ERRVAL): Likewise.
40892
40893 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40894 use of PSEUDO_RET; perform the error check directly.
40895
40896 2014-05-30 Marko Myllynen <myllynen@redhat.com>
40897
40898 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40899 with __int128_t.
40900
40901 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40902
40903 * malloc/malloc (malloc_info): Fix formatting.
40904
40905 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40906 Roland McGrath <roland@hack.frob.com>
40907
40908 * malloc/malloc (malloc_info): Also print mmapped statistics.
40909
40910 2014-05-30 Roland McGrath <roland@hack.frob.com>
40911
40912 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40913 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40914
40915 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
40916
40917 * malloc/malloc.c (malloc_info): Inline mi_arena.
40918
40919 2014-05-29 Richard Henderson <rth@twiddle.net>
40920
40921 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40922 Remove comma before expanding ASM_ARGS_##nr.
40923 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40924 Make _x0 a strict output; make _x8 a strict input; adjust expansion
40925 of ASM_ARGS_##nr.
40926 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40927 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40928 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40929 (ASM_ARGS_1): Add leading comma.
40930
40931 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40932 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40933 to __errno_location.
40934 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40935 Remove the expected plt for __errno_location.
40936
40937 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40938 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40939 call to __read_tp.
40940
40941 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40942 Always allocate 64 bytes of stack frame. Use ldp/stp to create
40943 it and break it down.
40944 (DOCARGS_0, DOCARGS_1): Do nothing.
40945 (DOCARGS_2): Update to store into the new stack frame.
40946 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40947 (UNDOCARGS_1): Update to restore from the new stack frame.
40948 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40949 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40950
40951 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40952 (SINGLE_THREAD_P): New parameter for result regno.
40953 (PSEUDO): Update to match; use cbz instead of beq.
40954
40955 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40956 Use ENTRY to define the _nocancel entry point. Share the syscall
40957 and syscall error check paths with the cancel path.
40958 (PSEUDO_END): New.
40959
40960 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40961 whitespace; tabs before and after asm mnemonics.
40962
40963 2014-05-29 Eric Wong <normalperson@yhbt.net>
40964
40965 [BZ #15132]
40966 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40967 Call fstat64 or stat64 internally, depending on arguments passed.
40968 Replace stat buffer argument with file descriptor argument.
40969 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40970 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40971 Pass fd to __internal_statvfs instead of calling fstat64.
40972 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40973 Pass fd to __internal_statvfs64 instead of calling fstat64.
40974 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40975 Pass -1 to __internal_statvfs instead of calling stat64.
40976 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40977 Pass -1 to __internal_statvfs64 instead of calling stat64.
40978
40979 2014-05-28 Roland McGrath <roland@hack.frob.com>
40980
40981 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40982 that was previously under [RESET_PID].
40983 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40984
40985 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40986 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40987
40988 2014-05-27 Roland McGrath <roland@hack.frob.com>
40989
40990 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40991
40992 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40993 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40994
40995 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
40996
40997 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40998
40999 2014-05-27 Andreas Schwab <schwab@suse.de>
41000
41001 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
41002 TLS_INIT_TP macro.
41003 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
41004 * elf/rtld.c (init_tls, dl_main): Likewise.
41005 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
41006 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
41007 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
41008 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
41009 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
41010 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
41011 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
41012 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
41013 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
41014 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
41015 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
41016 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
41017 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
41018 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
41019 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
41020 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
41021 * sysdeps/generic/tls.h: Update description.
41022
41023 2014-05-27 Will Newton <will.newton@linaro.org>
41024
41025 [BZ #16990]
41026 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
41027 and restore r2 rather than just restoring.
41028
41029 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
41030
41031 [BZ #16724]
41032 * libio/tst-ftell-append.c: New test case.
41033 * libio/Makefile (tests): Add test case.
41034 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
41035 append mode.
41036 * libio/wfileops.c (do_ftell_wide): Likewise.
41037
41038 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41039
41040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41041
41042 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
41043 ...
41044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
41045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41046 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
41047 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
41048 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
41049 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
41050 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
41051 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
41052 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
41053 Moved ...
41054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
41055 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
41056 Moved ...
41057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
41058 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
41059 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
41060 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
41061 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
41062 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
41063 ...
41064 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
41065 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
41066 Moved ...
41067 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
41068 here.
41069 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
41070 ...
41071 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
41072 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
41073 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
41074
41075 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
41076 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
41077 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
41078 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
41079
41080 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
41081 merge into ...
41082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
41083 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
41084 ...
41085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
41086 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
41087 ...
41088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
41089 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41090 Moved ...
41091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
41092 here.
41093 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41094 Moved ...
41095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
41096 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41097 Moved ...
41098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
41099
41100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
41101 conditional [RESET_PID].
41102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
41103 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
41104 removed.
41105 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
41106 removed.
41107
41108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
41109 <tcb-offsets.h>.
41110 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41111 (__libc_vfork): New strong alias.
41112 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
41113 removed.
41114 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
41115 Removed.
41116
41117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
41118 <tcb-offsets.h>.
41119 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
41120 (__libc_vfork): New strong alias.
41121 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
41122 removed.
41123 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
41124 removed.
41125
41126 2014-05-26 Carlos O'Donell <carlos@redhat.com>
41127
41128 * malloc/malloc.c (mi_arena): New function.
41129 (malloc_info): Remove nested function mi_arena. Call non-nosted
41130 function mi_arena.
41131
41132 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41133
41134 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
41135 by insrwi.
41136 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
41137 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
41138 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
41139 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
41140 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
41141 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
41142 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
41143
41144 2014-05-26 Andreas Schwab <schwab@suse.de>
41145
41146 [BZ #16984]
41147 * locale/programs/repertoire.c (repertoire_read): Add slash
41148 between I18NPATH element and file name.
41149 * locale/programs/locfile.c (locfile_read): Likewise.
41150
41151 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
41152
41153 * nptl/pthread_mutexattr_settype.c
41154 (__pthread_mutexattr_settype):
41155 Disable lock elision for PTHREAD_MUTEX_NORMAL.
41156
41157 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
41158
41159 * nptl/tst-mutex5 (do_test):
41160 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
41161
41162 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41163
41164 * benchtests/README: Document 'init' directive.
41165 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
41166 BENCH_INIT.
41167 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
41168 (parse_file): Recognize 'init' directive.
41169
41170 2014-05-26 Kyle McMartin <kyle@redhat.com>
41171
41172 [BZ #16796]
41173 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
41174 alignment of struct pthread.
41175
41176 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41177
41178 [BZ #16878]
41179 * nscd/netgroupcache.c (addgetnetgrentX): Look for
41180 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41181 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
41182 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41183
41184 2014-05-25 Richard Henderson <rth@twiddle.net>
41185
41186 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41187 (SINGLE_THREAD_P_PIC): Remove.
41188 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
41189 (SINGLE_THREAD_P_PIC): Remove.
41190
41191 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
41192 branch to syscall error ...
41193 (PSEUDO): ... here.
41194 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
41195 from __local_syscall_error to .Lsyscall_error.
41196 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
41197 (SYSCALL_ERROR): Update label name.
41198
41199 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41200 Do not use DOARGS/UNDOARGS.
41201 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
41202 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
41203 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
41204 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
41205 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
41206
41207 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
41208 block comment.
41209
41210 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
41211 define if !NOT_IN_libc.
41212 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
41213 define with non-default symbol versions.
41214
41215 2014-05-23 Richard Henderson <rth@twiddle.net>
41216
41217 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
41218 (vfork, __vfork): Define via compat_symbol.
41219
41220 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
41221 [!HAVE_IFUNC] (vfork_compat): Remove.
41222 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
41223
41224 2014-05-23 Joseph Myers <joseph@codesourcery.com>
41225
41226 [BZ #16978]
41227 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
41228 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
41229 variable.
41230
41231 2014-05-23 Richard Henderson <rth@twiddle.net>
41232
41233 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
41234 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
41235 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
41236 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
41237
41238 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
41239 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
41240 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
41241 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
41242 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
41243 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
41244 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
41245 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
41246 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
41247 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
41248 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
41249 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
41250 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
41251 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
41252 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
41253 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
41254 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
41255 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
41256 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
41257 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
41258 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
41259 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
41260 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
41261 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
41262 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
41263 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
41264 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
41265 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
41266 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
41267 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
41268 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
41269 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
41270 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
41271 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
41272 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
41273 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
41274 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
41275 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
41276 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
41277 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
41278 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
41279 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
41280 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
41281 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
41282 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
41283 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
41284 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
41285 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
41286 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
41287 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
41288 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
41289 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
41290 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
41291 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
41292 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
41293 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
41294
41295 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
41296 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
41297 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
41298 before exiting on error.
41299 (__libc_vfork): New strong alias.
41300 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
41301 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
41302
41303 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
41304 that was previously under [RESET_PID].
41305 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
41306
41307 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
41308
41309 2014-05-23 Joseph Myers <joseph@codesourcery.com>
41310
41311 [BZ #16977]
41312 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
41313 value when x - 1 is zero.
41314 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
41315 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
41316 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
41317 0.0L for an argument of 1.0L.
41318 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
41319 Likewise.
41320 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
41321 value when x - 1 is zero.
41322 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
41323 * sysdeps/i386/fpu/libm-test-ulps: Update.
41324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41325
41326 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
41327
41328 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
41329 alphasort and versionsort.
41330
41331 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41332
41333 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
41334 macro.
41335 [copysignf]: Likewise.
41336
41337 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41338
41339 * crypt/md5-crypt.c: Fix formatting.
41340
41341 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
41342
41343 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
41344 (b64_from_24bit): New function.
41345
41346 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41347
41348 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
41349 libc_hidden_builtin_def to ifunc.
41350 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41351 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
41352
41353 2014-05-21 Roland McGrath <roland@hack.frob.com>
41354
41355 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
41356 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
41357
41358 2014-05-21 Joseph Myers <joseph@codesourcery.com>
41359
41360 * nscd/Depend (linuxthreads): Remove.
41361 (nptl): Add.
41362 * resolv/Depend (linuxthreads): Remove.
41363 * rt/Depend (linuxthreads): Remove.
41364
41365 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
41366 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
41367 $(common-objpfx)elf/.
41368 (link-libc-before-gnulib): Likewise.
41369 (elfobjdir): Remove variable.
41370 * Makefile (install): Use $(elf-objpfx) instead of
41371 $(common-objpfx)elf/.
41372 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
41373 $(elfobjdir)/.
41374 (link-libc-deps): Likewise.
41375 ($(common-objpfx)libc.so): Likewise.
41376 ($(common-objpfx)linkobj/libc.so): Likewise.
41377 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
41378 instead of $(common-objpfx)elf/.
41379 (symbolic-link-list): Likewise.
41380 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41381 [$(cross-compiling) = no]: Likewise.
41382 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
41383 $(elfobjdir)/.
41384 (static-gnulib-arch): Likewise.
41385 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41386 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
41387 $(common-objpfx)elf/.
41388
41389 2014-05-21 Richard Henderson <rth@redhat.com>
41390
41391 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41392 (SINGLE_THREAD_P): Use the correct width load. Fold
41393 into the ldr offset.
41394
41395 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
41396 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
41397
41398 2014-05-20 Joseph Myers <joseph@codesourcery.com>
41399
41400 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
41401 (libgcc_s_resume): Use __attribute_used__.
41402 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
41403 Likewise.
41404
41405 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41406
41407 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
41408 optimization when used with float constants.
41409
41410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41411
41412 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
41413
41414 [BZ #16915]
41415 * locale/nl_langinfo_l.c: Make direct reference to every
41416 _nl_current_CATEGORY symbol.
41417 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
41418 (tests-static): Add tst-langinfo-static.
41419 (tests-special): Add tst-langinfo-static.out.
41420 ($(objpfx)tst-langinfo.out): Redirect output.
41421 ($(objpfx)tst-langinfo-static.out): New.
41422 * localedata/tst-langinfo.sh: Send output to stdout.
41423 * localedata/tst-langinfo-static.c: New file.
41424
41425 [BZ #16965]
41426 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
41427 when the shift amount is modulo the limb size.
41428
41429 2014-05-20 Richard Henderson <rth@redhat.com>
41430
41431 [BZ #16967]
41432 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
41433 Change type of sa_flags from unsigned int to int.
41434
41435 [BZ #16966]
41436 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
41437
41438 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
41439
41440 2014-05-20 Will Newton <will.newton@linaro.org>
41441
41442 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41443 Test the return value of the system call in the nocancel case.
41444
41445 2014-05-20 Will Newton <will.newton@linaro.org>
41446 Yvan Roux <yvan.roux@linaro.org>
41447
41448 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
41449 #include of asm/ptrace.h.
41450 (PTRACE_GET_THREAD_AREA): Remove #undef.
41451 (PTRACE_GETHBPREGS): Likewise.
41452 (PTRACE_SETHBPREGS): Likewise.
41453 (struct user_regs_struct): New structure.
41454 (struct user_fpsimd_struct): New structure.
41455 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
41456 #include of asm/ptrace.h and second #include of sys/user.h.
41457 (PTRACE_GET_THREAD_AREA): Remove #undef.
41458 (PTRACE_GETHBPREGS): Likewise.
41459 (PTRACE_SETHBPREGS): Likewise.
41460 (ELF_NGREG): Use new struct user_regs_struct.
41461 (elf_fpregset_t): Use new struct user_fpsimd_struct.
41462
41463 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41464
41465 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
41466 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
41467
41468 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
41469
41470 [BZ #16958]
41471 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
41472 membar to avoid block loads/stores to overlap previous stores.
41473
41474 2014-05-17 Richard Henderson <rth@redhat.com>
41475
41476 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
41477 Create the __##syscall_name##_nocancel entry point.
41478 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
41479 Remove; let the sysdep-cancel.h code create it.
41480
41481 2014-05-17 David S. Miller <davem@davemloft.net>
41482
41483 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
41484 Protect with __USE_GNU.
41485 (TIOCSET_TEMPT): Likewise.
41486 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41487 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
41488 these are already provided in bits/ioctl-types.h
41489
41490 2014-05-16 Roland McGrath <roland@hack.frob.com>
41491
41492 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
41493 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
41494
41495 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
41496 Use wait4 regardless of [__NR_waitpid].
41497
41498 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
41499
41500 PR libgcc/60166
41501 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41502 (_FP_NANSIGN_Q): Set the quiet bit.
41503
41504 2014-05-16 Joseph Myers <joseph@codesourcery.com>
41505
41506 * benchtests/Makefile
41507 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
41508 not $(common-objpfx)math/libm.so.
41509 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
41510 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
41511 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
41512 $(common-objpfx)dlfcn/libdl.so.
41513 ($(objpfx)tst-audit8): Depend on $(libm), not
41514 $(common-objpfx)math/libm.so.
41515 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
41516 not $(common-objpfx)dlfcn/libdl.so.
41517 * math/Makefile
41518 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41519 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
41520 [$(build-shared) = yes].
41521 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
41522 $(common-objpfx)nptl/libpthread.so.
41523 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
41524 $(common-objpfx)math/libm.so$(libm.so-version) or
41525 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
41526 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
41527 $(common-objpfx)dlfcn/libdl.so.
41528 * setjmp/Makefile (link-libm): Remove variable.
41529 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
41530 * stdio-common/Makefile (link-libm): Remove variable.
41531 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
41532 * stdlib/Makefile (link-libm): Remove variable.
41533 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
41534 ($(objpfx)tst-strtod-round): Likewise.
41535 ($(objpfx)tst-tininess): Likewise.
41536 ($(objpfx)tst-strtod-underflow): Likewise.
41537 ($(objpfx)tst-strtod6): Likewise.
41538 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
41539 $(libdl), not $(common-objpfx)nptl/libpthread.so and
41540 $(common-objpfx)dlfcn/libdl.so.
41541
41542 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41543
41544 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
41545 BSD terminal modes definitions.
41546
41547 2014-05-16 Roland McGrath <roland@hack.frob.com>
41548
41549 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
41550 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
41551
41552 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
41553 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
41554 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
41555 Don't do #include_next.
41556 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
41557 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
41558 Don't do #include_next.
41559 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
41560 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
41561 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
41562 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
41563
41564 2014-05-16 Allan McRae <allan@archlinux.org>
41565
41566 * po/sv.po: Update Swedish translation from translation project.
41567
41568 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
41569 in sed expression.
41570
41571 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
41572
41573 [BZ #16917]
41574 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
41575 errno if the TIOCGPTN ioctl fails with an error different than
41576 EINVAL.
41577 * login/tst-ptsname.c: New file.
41578 * login/Makefile (tests): Add tst-ptsname.
41579
41580 [BZ #16943]
41581 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
41582 and prlimit64.
41583
41584 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41585
41586 [BZ #16849]
41587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
41588 herrno to return EAI_AGAIN.
41589
41590 2014-05-14 Roland McGrath <roland@hack.frob.com>
41591
41592 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
41593 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
41594 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
41595 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
41596 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
41597 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
41598 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
41599 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
41600 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
41601 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
41602 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
41603 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
41604 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
41605 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
41606 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
41607 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
41608 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
41609 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
41610 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
41611 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
41612 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
41613 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
41614 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
41615 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
41616 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
41617 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
41618 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
41619 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
41620 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
41621 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
41622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
41623 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
41624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
41625 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
41626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41627 Moved ...
41628 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
41629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
41630 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
41631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
41632 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
41633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
41634 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
41635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
41636 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
41637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
41638 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
41639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
41640 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
41641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
41642 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
41643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
41644 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
41645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
41646 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
41647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
41648 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
41649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
41650 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
41651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
41652 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
41653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
41654 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
41655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41656 Moved ...
41657 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
41658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
41659 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
41660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
41661 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
41662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
41663 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
41664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
41665 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
41666 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
41667 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
41668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
41669 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
41670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
41671 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
41672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
41673 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
41674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
41675 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
41676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41677 Moved ...
41678 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
41679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
41680 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
41681
41682 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
41683 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
41684 (libpthread-sysdep_routines): Add elision-related stuff here instead.
41685 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
41686 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
41687 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
41688 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
41689 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
41690 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
41691 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
41692 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
41693 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
41694 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
41695 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
41696 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
41697 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
41698 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
41699 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
41700 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
41701 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
41702 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
41703 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
41704 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
41705 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
41706 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
41707 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
41708 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
41709 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
41710 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
41711 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
41712 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
41713
41714 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
41715 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
41716
41717 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
41718 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
41719 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
41720 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
41721 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
41722 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
41723 Moved ...
41724 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
41725 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
41726 Moved ...
41727 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
41728 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
41729 Moved ...
41730 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
41731 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
41732 Moved ...
41733 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
41734 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
41735 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
41736 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
41737 Moved ...
41738 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
41739 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
41740 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
41741 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
41742 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
41743 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
41744 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
41745 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
41746 Moved ...
41747 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
41748 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41749 Moved ...
41750 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41751 ... here.
41752 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
41753 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
41754 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
41755 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
41756 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41757 Moved ...
41758 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41759 ... here.
41760 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
41761 Moved ...
41762 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
41763 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
41764 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
41765 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
41766 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
41767 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
41768 Moved ...
41769 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
41770 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
41771 Moved ...
41772 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
41773 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
41774 Moved ...
41775 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
41776 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
41777 Moved ...
41778 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
41779 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
41780 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
41781 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
41782 Moved ...
41783 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
41784 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
41785 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
41786 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
41787 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
41788 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
41789 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
41790 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
41791 Moved ...
41792 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
41793 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41794 Moved ...
41795 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41796 ... here.
41797 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
41798 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
41799 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
41800 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
41801 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41802 Moved ...
41803 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41804 ... here.
41805 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
41806 Moved ...
41807 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
41808 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
41809 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
41810 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
41811 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
41812 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
41813 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
41814 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
41815 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
41816 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
41817 Moved ...
41818 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
41819 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
41820 Moved ...
41821 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
41822 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
41823 Moved ...
41824 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
41825 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
41826 Moved ...
41827 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
41828 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
41829 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
41830 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
41831 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
41832 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
41833 Moved ...
41834 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
41835 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
41836 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
41837 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
41838 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
41839 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
41840 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
41841 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
41842 Moved ...
41843 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
41844 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41845 Moved ...
41846 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41847 ... here.
41848 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
41849 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
41850 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
41851 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
41852 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41853 Moved ...
41854 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41855 ... here.
41856 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
41857 Moved ...
41858 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
41859 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
41860 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
41861 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
41862 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
41863 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
41864 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
41865 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
41866 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
41867 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
41868 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
41869
41870 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
41871 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
41872
41873 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
41874 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
41875
41876 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
41877 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
41878 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
41879 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
41880 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41881 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41882 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41883 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41884 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41885 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41886 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41887 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41888 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41889 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41890 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41891 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41892 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41893 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41894 Moved ...
41895 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41896 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41897 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41898 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41899 Moved ...
41900 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41901 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41902 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41903 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41904 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41905 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41906 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41907 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41908 Moved ...
41909 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41910 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41911 Moved ...
41912 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41913 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41914 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41915 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41916 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41917 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41918 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41919 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41920 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41921 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41922 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41923 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41924 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41925 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41926 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41927 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41928 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41929
41930 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41931 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41932 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41933 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41934 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41935
41936 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41937 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41938 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41939 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41940 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41941 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41942 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41943 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41944 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41945 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41946
41947 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41948 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41949
41950 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41951 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41952 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41953 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41954 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41955 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41956 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41957 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41958 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41959 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41960 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41961 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41962 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41963 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41964 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41965 Update #include.
41966 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41967 Likewise.
41968 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41969 Likewise.
41970 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41971 Likewise.
41972 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41973 Likewise.
41974 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41975 Likewise.
41976 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41977 Likewise.
41978 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41979 Likewise.
41980 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41981 Likewise.
41982 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41983 Likewise.
41984 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41985 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41986 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41987 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41988 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41989 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41990 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41991 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41992 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41993 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41994 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41995 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41996 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41997 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
41998 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
41999
42000 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
42001 that was previously under [RESET_PID].
42002 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42003 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
42004 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
42005
42006 * sysdeps/i386/nptl/Implies: New file.
42007 * sysdeps/x86_64/nptl/Implies: New file.
42008 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
42009 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
42010 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
42011 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
42012
42013 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
42014 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42015 (__libc_vfork): New strong alias.
42016 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
42017 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
42018
42019 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
42020 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42021 (__libc_vfork): New strong alias.
42022 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
42023 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
42024
42025 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
42026 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42027 (__libc_vfork): New strong alias.
42028 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
42029 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
42030 * nptl/pt-vfork.c: New file.
42031 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
42032 (libpthread: GLIBC_2.20): New version set (empty).
42033
42034 2014-05-14 Will Newton <will.newton@linaro.org>
42035
42036 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
42037 rather than #if.
42038
42039 2014-05-14 Joseph Myers <joseph@codesourcery.com>
42040
42041 [BZ #16564]
42042 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
42043 arguments with exponent 65 or above.
42044 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
42045 arguments 0x1p113L or above.
42046 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
42047 to arguments 0x1p107L or above.
42048 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
42049 positive arguments with exponent 65 or above.
42050 * math/auto-libm-test-in: Add more tests of log1p.
42051 * math/auto-libm-test-out: Regenerated.
42052
42053 [BZ #16928]
42054 * math/s_cacos.c (__cacos): Ensure zero real part of result from
42055 non-finite arguments is +0.
42056 * math/s_cacosf.c (__cacosf): Likewise.
42057 * math/s_cacosl.c (__cacosl): Likewise.
42058 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
42059 * sysdeps/i386/fpu/libm-test-ulps: Update.
42060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42061
42062 [BZ #16927]
42063 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
42064 value.
42065 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
42066 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
42067 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
42068 for explicit high bit of mantissa when testing for argument equal
42069 to 1.
42070 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
42071 * sysdeps/i386/fpu/libm-test-ulps: Update.
42072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42073
42074 [BZ #16516]
42075 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
42076 (__erf): Scale by 16 instead of 8 in potentially underflowing
42077 case. Ensure exception if result actually underflows.
42078 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
42079 (__erff): Scale by 16 instead of 8 in potentially underflowing
42080 case. Ensure exception if result actually underflows.
42081 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
42082 (efx8): Remove variable.
42083 (__erfl): Scale by 16 instead of 8 in potentially underflowing
42084 case. Ensure exception if result actually underflows.
42085 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
42086 (efx8): Remove variable.
42087 (__erfl): Scale by 16 instead of 8 in potentially underflowing
42088 case. Ensure exception if result actually underflows.
42089 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
42090 (efx8): Remove variable.
42091 (__erfl): Scale by 16 instead of 8 in potentially underflowing
42092 case. Ensure exception if result actually underflows.
42093 * math/auto-libm-test-in: Add more tests of erf.
42094 * math/auto-libm-test-out: Regenerated.
42095
42096 2014-05-14 Andreas Schwab <schwab@suse.de>
42097
42098 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
42099 Remove code conditionalized on USE___THREAD.
42100
42101 * config.h.in (HAVE_PT_CHOWN): Define as 0.
42102 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
42103 not definedness.
42104
42105 2014-05-14 Joseph Myers <joseph@codesourcery.com>
42106
42107 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
42108 Define unconditionally.
42109 (__ASSUME_O_CLOEXEC): Likewise.
42110 (__ASSUME_SOCK_CLOEXEC): Likewise.
42111 (__ASSUME_IN_NONBLOCK): Likewise.
42112 (__ASSUME_PIPE2): Likewise.
42113 (__ASSUME_EVENTFD2): Likewise.
42114 (__ASSUME_SIGNALFD4): Likewise.
42115 (__ASSUME_DUP3): Likewise.
42116 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42117 (__ASSUME_DUP3): Do not define.
42118 (__ASSUME_EVENTFD2): Likewise.
42119 (__ASSUME_IN_NONBLOCK): Likewise.
42120 (__ASSUME_O_CLOEXEC): Likewise.
42121 (__ASSUME_PIPE2): Likewise.
42122 (__ASSUME_SIGNALFD4): Likewise.
42123 (__ASSUME_SOCK_CLOEXEC): Likewise.
42124 (__ASSUME_UTIMES): Undefine.
42125 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42126 (__ASSUME_UTIMES): Do not define.
42127 (__ASSUME_O_CLOEXEC): Likewise.
42128 (__ASSUME_SOCK_CLOEXEC): Likewise.
42129 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
42130 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
42131 0x020621].
42132 (__ASSUME_PIPE2): Likewise.
42133 (__ASSUME_EVENTFD2): Likewise.
42134 (__ASSUME_SIGNALFD4): Likewise.
42135 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
42136 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
42137 Do not define.
42138 (__ASSUME_EVENTFD2): Likewise.
42139 (__ASSUME_SIGNALFD4): Likewise.
42140 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
42141 (__ASSUME_32BITUIDS): Likewise.
42142 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42143 (__ASSUME_IPC64): Likewise.
42144 (__ASSUME_ST_INO_64_BIT): Likewise.
42145 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
42146 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
42147 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42148 (__ASSUME_UTIMES): Do not define.
42149 (__ASSUME_PSELECT): Likewise.
42150 (__ASSUME_PPOLL): Likewise.
42151 (__ASSUME_O_CLOEXEC): Likewise.
42152 (__ASSUME_SOCK_CLOEXEC): Likewise.
42153 (__ASSUME_IN_NONBLOCK): Likewise.
42154 (__ASSUME_PIPE2): Likewise.
42155 (__ASSUME_EVENTFD2): Likewise.
42156 (__ASSUME_SIGNALFD4): Likewise.
42157 (__ASSUME_DUP3): Likewise.
42158 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42159 (__ASSUME_UTIMES): Likewise.
42160 (__ASSUME_O_CLOEXEC): Likewise.
42161 (__ASSUME_SOCK_CLOEXEC): Likewise.
42162 (__ASSUME_IN_NONBLOCK): Likewise.
42163 (__ASSUME_PIPE2): Likewise.
42164 (__ASSUME_EVENTFD2): Likewise.
42165 (__ASSUME_SIGNALFD4): Likewise.
42166 (__ASSUME_DUP3): Likewise.
42167 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42168 (__ASSUME_UTIMES): Likewise.
42169 (__ASSUME_O_CLOEXEC): Likewise.
42170 (__ASSUME_SOCK_CLOEXEC): Likewise.
42171 (__ASSUME_IN_NONBLOCK): Likewise.
42172 (__ASSUME_PIPE2): Likewise.
42173 (__ASSUME_EVENTFD2): Likewise.
42174 (__ASSUME_SIGNALFD4): Likewise.
42175 (__ASSUME_DUP3): Likewise.
42176 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
42177 Likewise.
42178 (__ASSUME_UTIMES): Likewise.
42179 (__ASSUME_EVENTFD2): Likewise.
42180 (__ASSUME_SIGNALFD4): Likewise.
42181 * sysdeps/unix/sysv/linux/tile/kernel-features.h
42182 (__ASSUME_O_CLOEXEC): Likewise.
42183 (__ASSUME_SOCK_CLOEXEC): Likewise.
42184 (__ASSUME_IN_NONBLOCK): Likewise.
42185 (__ASSUME_PIPE2): Likewise.
42186 (__ASSUME_EVENTFD2): Likewise.
42187 (__ASSUME_SIGNALFD4): Likewise.
42188 (__ASSUME_DUP3): Likewise.
42189 (__ASSUME_UTIMES): Undefine.
42190
42191 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
42192 feclearexcept. Remove symbol versioning code.
42193 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
42194 symbol versioning code.
42195 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
42196 symbol versioning code.
42197 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
42198 feupdateenv. Remove symbol versioning code.
42199 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
42200 fegetexceptflag. Remove symbol versioning code.
42201 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
42202 fesetexceptflag. Remove symbol versioning code.
42203 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
42204 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
42205 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
42206 (__posix_fadvise64_l32): Remove prototype.
42207 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
42208 code.
42209
42210 2014-05-13 Roland McGrath <roland@hack.frob.com>
42211
42212 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
42213 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
42214 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
42215 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
42216
42217 2014-05-13 Sami Kerola <kerolasa@iki.fi>
42218
42219 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
42220 current working directory
42221
42222 2014-05-13 Roland McGrath <roland@hack.frob.com>
42223
42224 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
42225 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
42226 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
42227 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
42228 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
42229 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
42230 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
42231 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
42232 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
42233 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
42234 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
42235 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
42236 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
42237 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
42238 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
42239 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
42240 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
42241 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
42242 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
42243 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
42244 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
42245 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
42246 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
42247 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
42248 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
42249 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
42250 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
42251 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
42252 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
42253 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
42254 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
42255 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
42256 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
42257 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
42258 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
42259 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
42260 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
42261 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
42262 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
42263 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
42264 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
42265 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
42266
42267 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
42268 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
42269
42270 * sysdeps/unix/sysv/linux/arm/Makefile
42271 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
42272 Add rt-aeabi_unwind_cpp_pr1.
42273 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
42274 Add nptl-aeabi_unwind_cpp_pr1.
42275 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
42276 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
42277 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
42278 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42279 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
42280 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42281
42282 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
42283 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
42284 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
42285 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
42286
42287 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
42288 Deconditionalize the code that was previously under [RESET_PID].
42289 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
42290
42291 * sysdeps/generic/exit-thread.h: New file.
42292 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
42293 * include/unistd.h (__exit_thread): Remove declaration.
42294 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
42295 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
42296 * csu/libc-start.c: Include <exit-thread.h>.
42297 (LIBC_START_MAIN): Pass no argument to __exit_thread.
42298 * nptl/pthread_create.c: Include <exit-thread.h>.
42299 (start_thread): Call __exit_thread in place of __exit_thread_inline.
42300 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
42301 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
42302 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
42303 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
42304 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
42305 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
42306 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
42307 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
42308 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
42309 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
42310 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
42311 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
42312 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
42313 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
42314 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
42315 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
42316
42317 2014-05-13 Andreas Schwab <schwab@suse.de>
42318
42319 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
42320
42321 2014-05-12 Joseph Myers <joseph@codesourcery.com>
42322
42323 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
42324 (__ASSUME_UTIMES): Do not condition on kernel version.
42325 (__ASSUME_PSELECT): Define unconditionally.
42326 (__ASSUME_PPOLL): Likewise.
42327 (__ASSUME_ATFCTS): Likewise.
42328 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
42329 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
42330 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
42331 (__ASSUME_UTIMENSAT): Define unconditionally.
42332 (__ASSUME_PRIVATE_FUTEX): Likewise.
42333 (__ASSUME_FALLOCATE): Likewise.
42334 (__ASSUME_O_CLOEXEC): Likewise.
42335 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
42336 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
42337 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
42338 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
42339 (__ASSUME_IN_NONBLOCK): Likewise.
42340 (__ASSUME_PIPE2): Likewise.
42341 (__ASSUME_EVENTFD2): Likewise.
42342 (__ASSUME_SIGNALFD4): Likewise.
42343 (__ASSUME_DUP3): Likewise.
42344 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42345 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
42346 (__ASSUME_AT_RANDOM): Likewise.
42347 (__ASSUME_PREADV): Likewise.
42348 (__ASSUME_PWRITEV): Likewise.
42349 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
42350 (__ASSUME_F_GETOWN_EX): Define unconditionally.
42351 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
42352 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42353 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
42354 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42355 (__ASSUME_O_CLOEXEC): Define unconditionally.
42356 (__ASSUME_PSELECT): Do not undefine conditionally.
42357 (__ASSUME_PPOLL): Likewise.
42358 (__ASSUME_ATFCTS): Likewise.
42359 (__ASSUME_SET_ROBUST_LIST): Likewise.
42360 (__ASSUME_UTIMENSAT): Likewise.
42361 (__ASSUME_FDATASYNC): Define unconditionally.
42362 * sysdeps/unix/sysv/linux/arm/kernel-features.h
42363 (__ASSUME_SIGFRAME_V2): Likewise.
42364 )__ASSUME_EVENTFD2): Likewise.
42365 (__ASSUME_SIGNALFD4): Likewise.
42366 (__ASSUME_PSELECT): Do not undefine conditionally.
42367 (__ASSUME_PPOLL): Likewise.
42368 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42369 (__ASSUME_PSELECT): Define unconditionally.
42370 (__ASSUME_PPOLL): Likewise.
42371 (__ASSUME_O_CLOEXEC): Likewise.
42372 (__ASSUME_SOCK_CLOEXEC): Likewise.
42373 (__ASSUME_IN_NONBLOCK): Likewise.
42374 (__ASSUME_PIPE2): Likewise.
42375 (__ASSUME_EVENTFD2): Likewise.
42376 (__ASSUME_SIGNALFD4): Likewise.
42377 (__ASSUME_DUP3): Likewise.
42378 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42379 (__ASSUME_O_CLOEXEC): Likewise.
42380 (__ASSUME_SOCK_CLOEXEC): Likewise.
42381 (__ASSUME_IN_NONBLOCK): Likewise.
42382 (__ASSUME_PIPE2): Likewise.
42383 (__ASSUME_EVENTFD2): Likewise.
42384 (__ASSUME_SIGNALFD4): Likewise.
42385 (__ASSUME_DUP3): Likewise.
42386 * sysdeps/unix/sysv/linux/mips/kernel-features.h
42387 (__ASSUME_EVENTFD2): Likewise.
42388 (__ASSUME_SIGNALFD4): Likewise.
42389 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42390
42391 2014-05-12 Andreas Schwab <schwab@suse.de>
42392
42393 [BZ #16932]
42394 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
42395 (_nss_nis_gethostbyname4_r): Return error if item length is larger
42396 than maximum RPC packet size.
42397 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
42398 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
42399 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
42400 (_nss_nis_getservbyport_r): Likewise.
42401
42402 2014-05-12 Will Newton <will.newton@linaro.org>
42403
42404 * malloc/Makefile (tests): Add tst-mallopt.
42405 * malloc/tst-mallopt.c: New file.
42406
42407 2014-05-09 Roland McGrath <roland@hack.frob.com>
42408
42409 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
42410 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
42411
42412 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42413
42414 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
42415 (tst-tlsmod6.so): Likewise.
42416
42417 2014-05-09 Roland McGrath <roland@hack.frob.com>
42418
42419 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
42420
42421 2014-05-09 Joseph Myers <joseph@codesourcery.com>
42422
42423 [BZ #16064]
42424 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
42425 and <dl-procinfo.h>.
42426 (__fegetenv): Save SSE state in envp->__eip if supported.
42427 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
42428 envp->__eip if supported.
42429 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
42430 and <dl-procinfo.h>.
42431 (__fesetenv): Always set __eip, __cs_selector, __opcode,
42432 __data_offset and __data_selector in environment to 0. Set SSE
42433 state if supported.
42434 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
42435 test-fenv-sse.
42436 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
42437 -mfpmath=sse.
42438 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
42439
42440 2014-05-09 Will Newton <will.newton@linaro.org>
42441
42442 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
42443 and libc_relro_required for ARM.
42444 * sysdeps/arm/preconfigure: Regenerate.
42445
42446 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
42447 Stefan Liebler <stli@linux.vnet.ibm.com>
42448
42449 * config.make.in (enable-lock-elision): New Makefile variable.
42450 * configure.ac: Likewise.
42451 * configure: Regenerate.
42452 * sysdeps/s390/configure.ac:
42453 Add check for gcc transactions support.
42454 * sysdeps/s390/configure: Regenerate.
42455 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
42456 Build elision files if enabled.
42457 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
42458 Add lock elision support for s390.
42459 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
42460 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
42461 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
42462 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
42463 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
42464 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
42465 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42466 Likewise.
42467 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
42468 Likewise.
42469 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
42470 Likewise.
42471 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
42472 Likewise.
42473 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
42474 (__lll_timedlock_elision, __lll_lock_elision)
42475 (__lll_unlock_elision, __lll_trylock_elision)
42476 (lll_timedlock_elision, lll_lock_elision)
42477 (lll_unlock_elision, lll_trylock_elision): Add.
42478 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42479 (pthread_mutex_t): Add lock elision support for s390.
42480
42481 2014-05-14 Wilco <wdijkstr@arm.com>
42482
42483 * sysdeps/arm/fclrexcpt.c: Cleanup.
42484 * sysdeps/arm/fedisblxcpt.c: Cleanup.
42485 * sysdeps/arm/feenablxcpt.c: Cleanup.
42486 * sysdeps/arm/fegetenv.c: Cleanup.
42487 * sysdeps/arm/fegetexcept.c: Cleanup.
42488 * sysdeps/arm/fegetround.c: Cleanup.
42489 * sysdeps/arm/feholdexcpt.c: Cleanup.
42490 * sysdeps/arm/fesetenv.c: Cleanup.
42491 * sysdeps/arm/fesetround.c: Cleanup.
42492 * sysdeps/arm/feupdateenv.c: Cleanup.
42493 * sysdeps/arm/fgetexcptflg.c: Cleanup.
42494 * sysdeps/arm/fraiseexcpt.c: Cleanup.
42495 * sysdeps/arm/fsetexcptflg.c: Cleanup.
42496 * sysdeps/arm/ftestexcept.c: Cleanup.
42497 * sysdeps/arm/get-rounding-mode.h: Cleanup.
42498 * sysdeps/arm/setfpucw.c: Cleanup.
42499
42500 2014-05-09 Will Newton <will.newton@linaro.org>
42501
42502 * sysdeps/arm/armv7/strcmp.S: New file.
42503 * NEWS: Mention addition of ARMv7 optimized strcmp.
42504
42505 2014-05-08 Roland McGrath <roland@hack.frob.com>
42506
42507 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
42508 look for %.ac rather than %.in.
42509
42510 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
42511 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
42512 * sysdeps/mach/hurd/configure: Regenerated.
42513 * sysdeps/unix/sysv/linux/configure: Regenerated.
42514
42515 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
42516
42517 2014-05-07 Steve Ellcey <sellcey@mips.com>
42518
42519 [BZ# 16922]
42520 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
42521 (LONG_SUB): Ditto.
42522 (PTR_SUB): Ditto.
42523
42524 2014-05-07 Andreas Schwab <schwab@suse.de>
42525
42526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
42527 when skipping over non-matching result from nscd.
42528
42529 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
42530
42531 [BZ #16876]
42532 * nptl/sockperf.c (client): Check socket return value.
42533
42534 [BZ #16877]
42535 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
42536 nscd security class.
42537
42538 2014-05-06 Roland McGrath <roland@hack.frob.com>
42539
42540 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
42541 * sysdeps/arm/unwind.h: ... here.
42542
42543 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
42544
42545 [BZ# 16916]
42546 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
42547 Define.
42548
42549 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
42550
42551 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
42552 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
42553 multiarch strncpy for PPC64.
42554 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
42555 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
42556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
42557 multiarch optimizations.
42558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42559 (__libc_ifunc_impl_list): Likewise.
42560 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
42561 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
42562 multiarch stpncpy for PPC64.
42563 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
42564 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
42565
42566 2014-05-06 Andreas Schwab <schwab@suse.de>
42567
42568 [BZ #16912]
42569 * gmon/mcount.c (_MCOUNT_DECL): Use
42570 atomic_compare_and_exchange_bool_acq instead of
42571 catomic_compare_and_exchange_bool_acq.
42572
42573 2014-05-05 Roland McGrath <roland@hack.frob.com>
42574
42575 * elf/Makefile (others, install-bin): Remove pldd.
42576 (pldd-modules): Variable removed.
42577 ($(objpfx)pldd): Target removed.
42578 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
42579 (others, install-bin): Append pldd here.
42580 ($(objpfx)pldd): New target.
42581
42582 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
42583 to 0, so the first #if test emitted later doesn't see it undefined.
42584 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
42585 * sysdeps/gnu/errlist.c: Regenerated.
42586
42587 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42588
42589 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42590 [libc_hidden_builtin_def]: Define to empty value.
42591 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
42592 [libc_hidden_builtin_def]: Likewise.
42593 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
42594 [libc_hidden_builtin_def]: Likewise.
42595 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
42596 [libc_hidden_builtin_def]: Likewise.
42597 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
42598 __redirect_memcpy and define ifunc as default hidden symbol.
42599 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
42600 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
42601
42602 2014-05-04 Adam Conrad <adconrad@0c3.net>
42603
42604 * locale/iso-4217.def: Reintroduce XDR currency.
42605
42606 2014-05-04 Allan McRae <allan@archlinux.org>
42607
42608 * po/eo.po: Update Esperanto translation from translation project.
42609
42610 2014-05-02 Carlos O'Donell <carlos@redhat.com>
42611
42612 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
42613 and FEATURE_INDEX_MAX to 1.
42614 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
42615
42616 2014-05-01 Steve Ellcey <sellcey@mips.com>
42617
42618 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
42619 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
42620 * iconvdata/big5.c (ONE_DIRECTION): Define.
42621 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
42622 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
42623 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
42624 * iconvdata/cp932.c (ONE_DIRECTION): Define.
42625 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
42626 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
42627 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
42628 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
42629 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
42630 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
42631 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
42632 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
42633 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
42634 * iconvdata/gbk.c (ONE_DIRECTION): Define.
42635 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
42636 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
42637 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
42638 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
42639 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
42640 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
42641 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
42642 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
42643 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
42644 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
42645 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
42646 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
42647 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
42648 * iconvdata/iso646.c (ONE_DIRECTION): Define.
42649 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
42650 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
42651 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
42652 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
42653 * iconvdata/johab.c (ONE_DIRECTION): Define.
42654 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
42655 * iconvdata/sjis.c (ONE_DIRECTION): Define.
42656 * iconvdata/t.61.c (ONE_DIRECTION): Define.
42657 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
42658 * iconvdata/tscii.c (ONE_DIRECTION): Define.
42659 * iconvdata/uhc.c (ONE_DIRECTION): Define.
42660 * iconvdata/unicode.c (ONE_DIRECTION): Define.
42661 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
42662 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
42663 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
42664
42665 2014-05-01 Roland McGrath <roland@hack.frob.com>
42666
42667 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
42668 (_IO_JUMPS_OFFSET): Define to 0.
42669
42670 * nptl/sysdeps/pthread/bits/libc-lock.h
42671 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42672 (__libc_lock_define_initialized_recursive): Always define using
42673 initializer. Modern compilers treat uninitialized (implicit zero) and
42674 explicit zero initializers the same (i.e. put the datum in bss).
42675
42676 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
42677
42678 * nscd/nscd-client.h: Include <string.h>.
42679
42680 2014-05-01 David S. Miller <davem@davemloft.net>
42681
42682 [BZ #16885]
42683 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
42684 multiple zero bytes exist at the end of a string.
42685 Reported by Aurelien Jarno <aurelien@aurel32.net>
42686
42687 * string/test-strcmp.c (check): Add explicit test for situations where
42688 there are multiple zero bytes after the first.
42689
42690 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
42691
42692 [BZ #16890]
42693 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
42694 when compiling wprintf.
42695 * stdio-common/tstdiomisc.c (t3): New function.
42696 (main): Call it.
42697
42698 2014-05-01 Steve Ellcey <sellcey@mips.com>
42699
42700 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
42701 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
42702 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
42703 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
42704
42705 2014-05-01 Steve Ellcey <sellcey@mips.com>
42706
42707 * stdlib/longlong.h: Updated from GCC.
42708
42709 2014-05-01 Will Newton <will.newton@linaro.org>
42710 Bernard Ogden <bernie.ogden@linaro.org>
42711
42712 * NEWS: Update fixed bug list.
42713
42714 [BZ #15119]
42715 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
42716
42717 2014-04-30 David S. Miller <davem@davemloft.net>
42718
42719 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
42720 (libc_feholdexcept_setround_sparc_ctx): New function.
42721 (libc_fesetenv_sparc_ctx): Likewise.
42722 (libc_feupdateenv_sparc_ctx): Likewise.
42723 (libc_feholdsetround_sparc_ctx): Likewise.
42724 (libc_feholdexcept_setround_ctx): Define.
42725 (libc_feholdexcept_setroundf_ctx): Likewise.
42726 (libc_feholdexcept_setroundl_ctx): Likewise.
42727 (libc_fesetenv_ctx): Likewise.
42728 (libc_fesetenvf_ctx): Likewise.
42729 (libc_fesetenvl_ctx): Likewise.
42730 (libc_feupdateenv_ctx): Likewise.
42731 (libc_feupdateenvf_ctx): Likewise.
42732 (libc_feupdateenvl_ctx): Likewise.
42733 (libc_feresetround_ctx): Likewise.
42734 (libc_feresetroundf_ctx): Likewise.
42735 (libc_feresetroundl_ctx): Likewise.
42736 (libc_feholdsetround_ctx): Likewise.
42737 (libc_feholdsetroundf_ctx): Likewise.
42738 (libc_feholdsetroundl_ctx): Likewise.
42739
42740 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42741 with __USE_GNU instead of XOPEN cpp guards.
42742
42743 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
42744 0.
42745
42746 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42747 with XOPEN cpp guards.
42748
42749 2014-04-30 Julian Brown <julian@codesourcery.com>
42750
42751 [BZ #16888]
42752 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
42753 handling.
42754
42755 2014-04-30 Joseph Myers <joseph@codesourcery.com>
42756
42757 [BZ #9894]
42758 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
42759 Change to 2.6.32.
42760 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
42761 * sysdeps/unix/sysv/linux/configure: Regenerated.
42762 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
42763 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
42764 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
42765 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
42766 * README: Update reference to required Linux kernel version.
42767 * manual/install.texi (Linux): Update reference to required Linux
42768 kernel headers version.
42769 * INSTALL: Regenerated.
42770
42771 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
42772 header inclusion.
42773 [POSIX] (limits.h): Likewise.
42774 [POSIX] (math.h): Likewise.
42775 [POSIX] (sys/wait.h): Likewise.
42776 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
42777 function.
42778 [POSIX] (stddef.h): Do not allow header inclusion.
42779
42780 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42781
42782 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
42783
42784 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
42785
42786 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
42787 Return immediately after lll_futex_wake.
42788
42789 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42790
42791 [BZ #16791]
42792 * nscd/nscd-client.h (datahead_init_common): Initialize entire
42793 structure.
42794 (datahead_init_pos): Call datahead_init_common early.
42795 (datahead_init_neg): Likewise.
42796
42797 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
42798 datahead_init_neg): New functions.
42799 * nscd/aicache.c (addhstaiX): Use them.
42800 * nscd/grpcache.c (cache_addgr): Likewise.
42801 * nscd/hstcache.c (cache_addhst): Likewise.
42802 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42803 * nscd/netgroupcache.c (do_notfound): Likewise.
42804 (addgetnetgrentX): Likewise.
42805 (addinnetgrX): Likewise.
42806 * nscd/pwdcache.c (cache_addpw): Likewise.
42807 * nscd/servicescache.c (cache_addserv): Likewise.
42808
42809 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42810 Atsushi Onoe <atsushi@onoe.org>
42811
42812 [BZ #14308]
42813 [BZ #12994]
42814 [BZ #13651]
42815 * resolv/res_query.c (__libc_res_nsearch): Return if at least
42816 one response is valid.
42817 * resolv/res_send.c (send_dg): Check for validity of other
42818 response if the current response is a referral.
42819
42820 2014-04-29 Steve Ellcey <sellcey@mips.com>
42821
42822 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
42823
42824 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
42825
42826 [BZ #16823]
42827 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
42828 Always divide by positive zero when computing -Inf result.
42829 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42830 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
42831
42832 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42833
42834 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
42835 FPSCR if value do not change.
42836 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42837 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
42838 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
42839 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42840 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
42841 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
42842 function.
42843
42844 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
42845
42846 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
42847 * sysdeps/unix/sysv/linux/hppa: Move directory from
42848 ports/systeps/unix/sysv/linux/hppa.
42849 * README: Update listing for hppa-*-linux-gnu.
42850
42851 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
42852
42853 [BZ #16754]
42854 * manual/stdio.texi (Hook functions): Fix types of stream hook
42855 functions.
42856 [BZ #16854]
42857 * socket/sys/socket.h: Fix typo in comment.
42858
42859 2014-04-28 Wilco <wdijkstr@arm.com>
42860
42861 * sysdeps/arm/fenv_private.h: New file.
42862 * sysdeps/arm/math_private.h: New file.
42863 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
42864
42865 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
42866
42867 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
42868 with __int128_t.
42869 (La_x86_64_retval): Likewise.
42870
42871 2014-04-24 Ian Bolton <ian.bolton@arm.com>
42872
42873 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
42874 fpsr if value didn't change.
42875 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
42876 to fpcr if value didn't change.
42877 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
42878 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
42879 fpsr or fpcr if value didn't change.
42880 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42881 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42882 fpcr if value didn't change.
42883 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42884 to fpsr if value didn't change.
42885
42886 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
42887
42888 * nptl/tst-sem3.c: Use test-skeleton.c
42889 (main): Rename to do_test. Use return instead of
42890 exit.
42891 * nptl/tst-sem4.c: Use test-skeleton.c
42892 (main): Rename to do_test.
42893
42894 2014-04-22 David S. Miller <davem@davemloft.net>
42895
42896 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42897 (struct sigaction): New struct member __glibc_reserved0, change
42898 type of sa_flags to int.
42899
42900 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
42901
42902 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42903 (COUNT_LEADING_ZEROS_0): Define for AArch64.
42904
42905 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42906
42907 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42908 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42909
42910 2014-04-22 Will Newton <will.newton@linaro.org>
42911 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
42912
42913 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42914 (__longjmp): Add longjmp and longjmp_target SystemTap
42915 probes.
42916 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42917 (__sigsetjmp): Add setjmp SystemTap probe.
42918
42919 2014-04-17 Carlos O'Donell <carlos@redhat.com>
42920
42921 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42922 match manual order.
42923
42924 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42925
42926 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42927
42928 * sysdeps/powerpc/fpu/fenv_private.h
42929 (libc_feholdexcept_setroundl_ctx): Define to
42930 libc_feholdexcept_setround_ppc_ctx.
42931 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42932 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42933 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42934 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42935
42936 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42937
42938 * sysdeps/aarch64/math-tests.h: New file.
42939
42940 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
42941
42942 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42943 New.
42944 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42945 Check and set bit_AVX2_Usable.
42946 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42947 macro.
42948 (bit_AVX2): Likewise.
42949 (index_AVX2_Usable): Likewise.
42950 (CPUID_AVX2): Likewise.
42951 (HAS_AVX2): Likewise.
42952
42953 2014-04-17 Will Newton <will.newton@linaro.org>
42954
42955 * manual/setjmp.texi (System V contexts): Add note that
42956 calling setcontext on a context created by a call to a
42957 signal handler is undefined. Update text to note that
42958 setcontext from a signal handler is possible but not
42959 recommended.
42960
42961 [BZ #16629]
42962 * stdlib/tst-setcontext.c: Include signal.h.
42963 (main): Check that the signal stack before and
42964 after swapcontext is the same.
42965
42966 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42967 Re-implement to restore registers in user code and avoid
42968 rt_sigreturn system call.
42969
42970 2014-04-17 Wilco <wdijkstr@arm.com>
42971
42972 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42973 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42974 * math/test-fenv.c: Skip exception trap tests on targets which only
42975 support non-stop mode.
42976
42977 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42978 Wilco Dijkstra <wilco.dijkstra@arm.com>
42979
42980 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42981 (libc_feholdsetround_aarch64_ctx)
42982 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42983 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42984 (libc_feresetround_ctx, libc_feresetroundf_ctx)
42985 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42986 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42987 (libc_feresetround_noexl_ctx): Define.
42988
42989 2014-04-16 Richard Henderson <rth@redhat.com>
42990
42991 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42992
42993 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42994 unwind tables.
42995
42996 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42997 const from the non-libc, non-ldso copy.
42998
42999 * sysdeps/alpha/libm-test-ulps: Regenerate.
43000
43001 2014-04-16 Ian Bolton <ian.bolton@arm.com>
43002 Wilco Dijkstra <wilco.dijkstra@arm.com>
43003
43004 * sysdeps/aarch64/fpu/math_private.h: New file.
43005
43006 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
43007
43008 * sysdeps/aarch64/libm-test-ulps: Regenerate.
43009
43010 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
43011
43012 [BZ #16275]
43013 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
43014 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
43015 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
43016 Intel MPX bound registers before _dl_profile_fixup.
43017 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
43018 registers after _dl_profile_fixup. Save and restore bound
43019 registers bnd0/bnd1 when calling _dl_call_pltexit.
43020 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
43021 (LR_BND_OFFSET): Likewise.
43022 (LRV_BND0_OFFSET): Likewise.
43023 (LRV_BND1_OFFSET): Likewise.
43024
43025 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43026
43027 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
43028 to...
43029 * sysdeps/mach/hurd/i386/tls.h: ... here.
43030 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
43031 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
43032 fields.
43033
43034 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43035
43036 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
43037
43038 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
43039
43040 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43041
43042 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
43043
43044 [BZ #14770]
43045 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
43046 * sysdeps/s390/configure: Regenerate.
43047
43048 [BZ #16824]
43049 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
43050 Set round-to-nearest internally to reduce error accumulation.
43051
43052 2014-04-16 Alan Modra <amodra@gmail.com>
43053
43054 [BZ #16740]
43055 [BZ #16619]
43056 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
43057 * math/libm-test.inc (frexp_test_data): Add tests.
43058 * NEWS: Update fixed bug list.
43059
43060 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
43061
43062 * benchtests/Makefile: Depend on libraries in build directory.
43063 (bench-math): Separate out math tests.
43064 (bench-pthread): Separate out pthread tests.
43065 (bench): Include math and pthread tests.
43066
43067 2014-04-14 Carlos O'Donell <carlos@redhat.com>
43068
43069 [BZ #16831]
43070 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
43071 _dl_debug_initialize.
43072
43073 * configure.ac: Remove SELinux header check.
43074 * configure: Regenerate.
43075 * nscd/selinux.c (perms): Array of const char* to permission names.
43076 (nscd_request_avc_has_perm): Call security_deny_unknown to find
43077 default policy. Call string_to_security_class and string_to_av_perm to
43078 translate strings. Enforce default policy and call avs_has_perm with
43079 results of translated strings.
43080
43081 2014-04-13 David S. Miller <davem@davemloft.net>
43082
43083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43084
43085 2014-04-12 Allan McRae <allan@archlinux.org>
43086
43087 [BZ #16838]
43088 * manual/string.texi (Collation Functions): Fix qsort argument
43089 order in example.
43090 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43091
43092 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
43093
43094 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
43095 Make the test a no-op if there are no exceptions defined.
43096
43097 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
43098
43099 * elf/Makefile (tests): make tst-dlopen-aout conditional on
43100 enable-hardcoded-path-in-tests
43101
43102 2014-04-11 Will Newton <will.newton@linaro.org>
43103
43104 * benchtests/Makefile (extra-objs): Add json-lib.o.
43105 (bench-func): Tidy up JSON output.
43106 * benchtests/bench-skeleton.c: Include json-lib.h.
43107 (main): Use JSON library functions to do output of
43108 benchmark results.
43109 * benchtests/bench-timing-type.c (main): Output the
43110 timing type simply, leaving formatting to the user.
43111 * benchtests/json-lib.c: New file.
43112 * benchtests/json-lib.h: Likewise.
43113
43114 2014-04-11 Torvald Riegel <triegel@redhat.com>
43115
43116 [BZ #15215]
43117 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
43118 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
43119 memory barriers. Add comments.
43120 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
43121 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
43122 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
43123 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
43124 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
43125 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
43126
43127 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
43128
43129 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
43130 * sysdeps/s390/s390-64/configure.ac: ... this ...
43131 * sysdeps/s390/configure.ac: ... to here.
43132 * sysdeps/s390/s390-32/configure: Delete file.
43133 * sysdeps/s390/s390-64/configure: Delete file.
43134 * sysdeps/s390/configure: Regenerate.
43135
43136 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
43137
43138 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
43139
43140 2014-04-11 Will Newton <will.newton@linaro.org>
43141
43142 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
43143 to zero if it is not defined elsewhere. (mtrim): Test
43144 the value of MALLOC_DEBUG with #if rather than #ifdef.
43145
43146 2014-04-10 Torvald Riegel <triegel@redhat.com>
43147
43148 * benchtests/pthread_once-inputs: New file.
43149 * benchtests/pthread_once-source.c: New file.
43150 * benchtests/README: Update documentation.
43151
43152 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
43153 H.J. Lu <hongjiu.lu@intel.com>
43154
43155 [BZ #16275]
43156 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
43157 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
43158 * sysdeps/x86_64/configure: Regenerated.
43159 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
43160 macro.
43161 (REGISTER_SAVE_RAX): Likewise.
43162 (REGISTER_SAVE_RCX): Likewise.
43163 (REGISTER_SAVE_RDX): Likewise.
43164 (REGISTER_SAVE_RSI): Likewise.
43165 (REGISTER_SAVE_RDI): Likewise.
43166 (REGISTER_SAVE_R8): Likewise.
43167 (REGISTER_SAVE_R9): Likewise.
43168 (REGISTER_SAVE_BND0): Likewise.
43169 (REGISTER_SAVE_BND1): Likewise.
43170 (REGISTER_SAVE_BND2): Likewise.
43171 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
43172 bound registers when calling _dl_fixup.
43173
43174 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43175
43176 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
43177 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
43178 of its definition.
43179 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
43180 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
43181 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
43182 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
43183 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
43184 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
43185 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
43186
43187 2014-04-09 Peter Brett <peter@peter-b.co.uk>
43188
43189 [BZ #15514]
43190 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
43191 pathconf(_PC_NAME_MAX).
43192
43193 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43194
43195 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
43196 Remove macro usage.
43197 (__PTHREAD_SPINS): Move definition to ...
43198 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43199 (__PTHREAD_SPINS): ... here.
43200 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43201 (__PTHREAD_SPIN): Likewise.
43202 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
43203 (__PTHREAD_SPIN): Likewise.
43204 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
43205 (__PTHREAD_SPIN): Likewise.
43206 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
43207 (__PTHREAD_SPIN): Likewise.
43208 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
43209 (__PTHREAD_SPIN): Likewise.
43210 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
43211 (__PTHREAD_SPIN): Likewise.
43212 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
43213 (__PTHREAD_SPIN): Likewise.
43214 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
43215 (__PTHREAD_SPIN): Likewise.
43216 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
43217 (__PTHREAD_SPIN): Likewise.
43218 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
43219 (__PTHREAD_SPIN): Likewise.
43220 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
43221 (__PTHREAD_SPIN): Likewise.
43222 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
43223 (__PTHREAD_SPIN): Likewise.
43224
43225 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
43226 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
43227 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
43228 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
43229 imply folder.
43230 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
43231 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
43232 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
43233 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
43234 correct imply path.
43235 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
43236 strlen symbol for non multi-arch builds.
43237 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
43238 missing hidden_def and weak_alias.
43239
43240 2014-04-08 Carlos O'Donell <carlos@redhat.com>
43241
43242 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
43243
43244 2014-04-07 Will Newton <will.newton@linaro.org>
43245
43246 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
43247 and contents. [!_LIBC] Remove #ifndef and contents.
43248 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
43249 * string/memccpy.c (__memccpy): Use ANSI prototype.
43250 * string/memfrob.c (memfrob): Likewise.
43251 * string/strcoll.c (STRCOLL): Likewise.
43252 * string/strlen.c (strlen): Likewise.
43253 * string/strtok.c (STRTOK): Likewise.
43254 * string/strcat.c: Remove unused #include of memcopy.h.
43255 (strcat): Use ANSI prototype.
43256 * string/strchr.c: Remove unused #include of memcopy.h.
43257 (strchr): Use ANSI prototype.
43258 * string/strcmp.c: Remove unused #include of memcopy.h.
43259 (strcmp): Use ANSI prototype.
43260 * string/strcpy.c: Remove unused #include of memcopy.h.
43261 (strcpy): Use ANSI prototype.
43262
43263 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43264
43265 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
43266 * config.make.in (config-extra-cppflags): Set it from
43267 libc_extra_cppflags.
43268 * configure.ac (libc_extra_cflags): Make it accumulate over
43269 configure fragments.
43270 (libc_extra_cppflags): New flag.
43271 * configure. Regenerate.
43272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43273 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
43274 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
43275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
43276
43277 [BZ #16815]
43278 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
43279 result for FE_DOWNWARD rounding mode.
43280 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
43281 Likewise.
43282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43283
43284 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
43285
43286 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
43287 in function argument name.
43288
43289 2014-04-03 David Svoboda <svoboda@cert.org>
43290
43291 [BZ #5666]
43292 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
43293 explicitly.
43294
43295 2014-04-03 Roland McGrath <roland@hack.frob.com>
43296
43297 * elf/dl-unmap-segments.h: New file.
43298 * sysdeps/generic/ldsodefs.h
43299 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
43300 * elf/dl-close.c: Include <dl-unmap-segments.h>.
43301 * elf/dl-fptr.c: Likewise.
43302 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
43303 * sysdeps/aarch64/tlsdesc.c: Likewise.
43304 * sysdeps/arm/tlsdesc.c: Likewise.
43305 * sysdeps/i386/tlsdesc.c: Likewise.
43306 * sysdeps/tile/dl-runtime.c: Likewise.
43307 * sysdeps/x86_64/tlsdesc.c: Likewise.
43308 * elf/dl-load.h: New file.
43309 * elf/dl-load.c: Include it.
43310 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
43311 Macros moved to dl-load.h.
43312 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
43313 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
43314 Use _dl_unmap_segments in place of __munmap.
43315 Break out segment-mapping loop into ...
43316 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
43317
43318 2014-04-03 Will Newton <will.newton@linaro.org>
43319
43320 * elf/dl-lookup.c (do_lookup_x): Remove comment
43321 referring to nested function and move variable
43322 declarations down to before first use.
43323
43324 2014-04-02 Joseph Myers <joseph@codesourcery.com>
43325
43326 [BZ #16799]
43327 [BZ #16800]
43328 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
43329 with 0 numerator.
43330 * math/s_catanf.c (__catanf): Likewise.
43331 * math/s_catanh.c (__catanh): Likewise.
43332 * math/s_catanhf.c (__catanhf): Likewise.
43333 * math/s_catanhl.c (__catanhl): Likewise.
43334 * math/s_catanl.c (__catanl): Likewise.
43335 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
43336 by positive zero when computing -Inf result.
43337 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
43338 (catanh_test): Likewise.
43339 * sysdeps/i386/fpu/libm-test-ulps: Update.
43340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43341
43342 [BZ #16789]
43343 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
43344 instead of using underflowing value in computing result.
43345 * math/s_clog10.c (__clog10): Likewise.
43346 * math/s_clog10f.c (__clog10f): Likewise.
43347 * math/s_clog10l.c (__clog10l): Likewise.
43348 * math/s_clogf.c (__clogf): Likewise.
43349 * math/s_clogl.c (__clogl): Likewise.
43350 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
43351 (clog10_test): Likewise.
43352 * sysdeps/i386/fpu/libm-test-ulps: Update.
43353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43354
43355 2014-04-02 Alan Modra <amodra@gmail.com>
43356
43357 [BZ #16739]
43358 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
43359 output when value is near a power of two. Use int64_t for lx and
43360 remove casts. Use decimal rather than hex exponent constants.
43361 Don't use long double multiplication when double will suffice.
43362 * math/libm-test.inc (nextafter_test_data): Add tests.
43363 * NEWS: Add 16739 and 16786 to bug list.
43364
43365 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
43366
43367 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
43368
43369 2014-04-01 Will Newton <will.newton@linaro.org>
43370
43371 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
43372 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
43373
43374 2014-04-01 Florian Weimer <fweimer@redhat.com>
43375
43376 [BZ #13347]
43377 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
43378 * nptl/tst-setuid2.c: New file.
43379 * nptl/Makefile (xtests): Add tst-setuid2.
43380
43381 2014-04-01 Alan Modra <amodra@gmail.com>
43382
43383 [BZ #16786]
43384 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
43385
43386 2014-03-31 Joseph Myers <joseph@codesourcery.com>
43387
43388 [BZ #6803]
43389 [BZ #6804]
43390 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
43391 set errno as appropriate.
43392 * math/w_scalbf.c (__scalbf): Likewise.
43393 * math/w_scalbl.c (__scalbl): Likewise.
43394 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
43395 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
43396 * math/libm-test.inc (scalb_test_data): Add errno expectations.
43397 Add more NaN tests.
43398
43399 [BZ #16349]
43400 * math/w_atan2.c: Include <errno.h>.
43401 (__atan2): Set errno for result underflowing to zero.
43402 * math/w_atan2f.c: Include <errno.h>.
43403 (__atan2f): Set errno for result underflowing to zero.
43404 * math/w_atan2l.c: Include <errno.h>.
43405 (__atan2l): Set errno for result underflowing to zero.
43406 * math/auto-libm-test-in: Don't allow missing errno for some atan2
43407 tests.
43408 * math/auto-libm-test-out: Regenerated.
43409
43410 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43411
43412 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43413 Encode instruction correctly in little endian.
43414 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43415 Likewise.
43416 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43417 Likewise.
43418 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43419 Likewise.
43420 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43421 Likewise.
43422
43423 2014-03-31 Joseph Myers <joseph@codesourcery.com>
43424
43425 [BZ #9894]
43426 * sysdeps/unix/sysv/linux/kernel-features.h
43427 [__sparc__ && !__arch64__ && !__sparc_v9__]
43428 (__ASSUME_SET_ROBUST_LIST): Do not define.
43429 [__sparc__ && !__arch64__ && !__sparc_v9__]
43430 (__ASSUME_FUTEX_LOCK_PI): Likewise.
43431 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
43432 Likewise.
43433 * sysdeps/unix/sysv/linux/arm/kernel-features.h
43434 (__ASSUME_FUTEX_LOCK_PI): Undefine.
43435 (__ASSUME_REQUEUE_PI): Likewise.
43436 (__ASSUME_SET_ROBUST_LIST): Likewise.
43437 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43438 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
43439 Undefine.
43440 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43441 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
43442 Likewise.
43443 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
43444 Likewise.
43445 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
43446 Likewise.
43447 * sysdeps/unix/sysv/linux/mips/kernel-features.h
43448 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
43449 Undefine.
43450 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
43451 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
43452 Likewise.
43453
43454 [BZ #16648]
43455 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43456 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
43457 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
43458
43459 2014-03-31 Will Newton <will.newton@linaro.org>
43460
43461 * benchtests/Makefile (bench): Add ffs and ffsll to list
43462 of tests.
43463 * benchtests/ffs-inputs: New file.
43464 * benchtests/ffsll-inputs: Likewise.
43465
43466 2014-03-29 Joseph Myers <joseph@codesourcery.com>
43467
43468 [BZ #16770]
43469 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
43470 too large before casting to int.
43471 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
43472 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
43473 * math/libm-test.inc (scalb_test_data): Add more tests.
43474
43475 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43476
43477 * benchtests/Makefile (DETAILED_OPT): New make option.
43478 (bench-func): Run benchmark program with -d if DETAILED_OPT is
43479 set.
43480 * benchtests/bench-skeleton.c: Include stdbool.h.
43481 (main): Store and print timings per input.
43482 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
43483 member to each argument value.
43484 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
43485 (_print_arg_data): Initialize per-input timing to 0.
43486
43487 * benchtests/Makefile (timing-type): New binary.
43488 (bench-clean): Also remove bench-timing-type.
43489 (bench): New target for timing-type.
43490 (bench-func): Print output in JSON format.
43491 * benchtests/bench-skeleton.c (main): Print output in JSON
43492 format.
43493 * benchtests/bench-timing-type.c: New file.
43494 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
43495 (TIMING_PRINT_STATS): Remove.
43496 * benchtests/scripts/bench.py (_print_arg_data): Store variant
43497 name separately.
43498
43499 * benchtests/bench-modf.c: Remove.
43500 * benchtests/modf-inputs: New inputs file.
43501
43502 2014-03-28 Joseph Myers <joseph@codesourcery.com>
43503
43504 [BZ #16362]
43505 * math/s_clog10.c (M_PI_LOG10E): New macro.
43506 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
43507 imaginary parts are 0.
43508 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
43509 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
43510 imaginary parts are 0.
43511 * math/s_clog10l.c (M_PI_LOG10El): New macro.
43512 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
43513 imaginary parts are 0.
43514 * math/libm-test.inc (clog10_test_data): Update expected results
43515 for when real and imaginary parts are 0.
43516
43517 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
43518
43519 * elf/dl-load.c: Finish conversion of __builtin_expect into
43520 __glibc_{un}likely.
43521
43522 2014-03-27 Joseph Myers <joseph@codesourcery.com>
43523
43524 [BZ #16348]
43525 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
43526 1+x for argument with exponent below -67.
43527 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
43528 Likewise.
43529 * math/auto-libm-test-in: Add more tests of exp.
43530 * math/auto-libm-test-out: Regenerated.
43531
43532 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43533
43534 [BZ #16759]
43535 * inet/getnetgrent_r.c (get_nonempty_val): New function.
43536 (nscd_getnetgrent): Use it.
43537
43538 [BZ #16760]
43539 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
43540 of stpcpy.
43541
43542 2014-03-27 Andi Kleen <ak@linux.intel.com>
43543
43544 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
43545 (lll_robust_lock, lll_cond_lock, lll_timedlock)
43546 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43547 (lll_robust_unlock): Remove out of line section. Use cfi
43548 intrinsics.
43549 (LLL_STUB_UNWIND_INFO*): Remove.
43550 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
43551 (lll_robust_lock, lll_cond_lock, lll_timedlock)
43552 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43553 (lll_robust_unlock): Remove out of line section. Use cfi
43554 intrinsics.
43555 (LLL_STUB_UNWIND_INFO*): Remove.
43556
43557 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43558
43559 [BZ #16758]
43560 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
43561 blank values.
43562
43563 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
43564
43565 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
43566
43567 2014-03-26 Joseph Myers <joseph@codesourcery.com>
43568
43569 [BZ #16198]
43570 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
43571 fnstenv.
43572 * math/test-fenv-preserve.c: New file.
43573 * math/Makefile (tests): Add test-fenv-preserve.
43574
43575 2014-03-26 Will Newton <will.newton@linaro.org>
43576
43577 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
43578
43579 2014-03-25 Roland McGrath <roland@hack.frob.com>
43580
43581 * scripts/versionlist.awk: Partition the version sets and emit all
43582 GLIBC_* (sorted) before all others (sorted).
43583
43584 2014-03-25 Joseph Myers <joseph@codesourcery.com>
43585
43586 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
43587 GLIBC_2.2.5 version.
43588
43589 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43590
43591 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
43592 calls.
43593
43594 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
43595 previous change.
43596
43597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43598
43599 2014-03-25 Andreas Schwab <schwab@suse.de>
43600
43601 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
43602 label to be used after in6ailist is initialized.
43603
43604 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43605
43606 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43607 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43608
43609 2014-03-25 Joseph Myers <joseph@codesourcery.com>
43610
43611 [BZ #16357]
43612 [BZ #16599]
43613 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
43614 min_plus_half.
43615 (fp_formats): Update initializers.
43616 (init_fp_formats): Initialize new field.
43617 (output_for_one_input_case): Allow underflow for results up to
43618 min_plus_half.
43619 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
43620 * math/auto-libm-test-in: Don't mark some underflows from asin and
43621 atanh as spurious.
43622 * math/auto-libm-test-out: Regenerated.
43623 * sysdeps/i386/fpu/libm-test-ulps: Update.
43624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43625
43626 2014-03-25 Andreas Schwab <schwab@suse.de>
43627
43628 * libio/Makefile (tst-ftell-partial-wide-ENV)
43629 (tst-ftell-active-handler-ENV): Define.
43630
43631 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
43632
43633 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
43634
43635 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
43636
43637 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
43638
43639 2014-03-24 Joseph Myers <joseph@codesourcery.com>
43640
43641 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
43642 * sysdeps/x86_64/fpu/multiarch/e_exp.c
43643 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
43644
43645 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
43646
43647 [BZ #16634]
43648 * elf/dl-load.c (open_verify): Add mode parameter.
43649 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
43650 (open_path): Change from boolean 'secure' to complete flag 'mode'
43651 (_dl_map_object): Adjust.
43652 * elf/Makefile (tests): Add tst-dlopen-aout.
43653 * elf/tst-dlopen-aout.c: New test.
43654
43655 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
43656
43657 [BZ #16714]
43658 * sysdeps/unix/sysv/linux/s390/bits/stat.h
43659 (struct stat): Rename member pad0 to __glibc_reserved0.
43660
43661 [BZ #16712]
43662 * sysdeps/s390/s390-32/bits/wordsize.h
43663 (__WORDSIZE32_SIZE_ULONG): New define.
43664 * sysdeps/s390/s390-64/bits/wordsize.h
43665 (__WORDSIZE32_SIZE_ULONG): Likewise.
43666 * sysdeps/generic/stdint.h (SIZE_MAX):
43667 Define as UL if __WORDSIZE32_SIZE_ULONG.
43668
43669 [BZ #16713]
43670 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
43671 (__glibc_reserved0): New variable.
43672 (sa_flags): Change type to int.
43673
43674 * posix/Makefile (before-compile): Use += before-compile instead
43675 of a :=.
43676
43677 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43678 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43679
43680 2014-03-20 Andreas Schwab <schwab@suse.de>
43681
43682 [BZ #16743]
43683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
43684 non-matching result from nscd.
43685
43686 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
43687
43688 * scripts/bench.py: Moved to ...
43689 * benchtests/scripts/bench.py: ... here.
43690 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
43691
43692 2014-03-24 Andreas Schwab <schwab@suse.de>
43693
43694 [BZ #16002]
43695 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
43696 alloca_account and account alloca use for struct in6ailist.
43697
43698 2014-03-24 Joseph Myers <joseph@codesourcery.com>
43699
43700 [BZ #16284]
43701 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
43702 rounding mode to recompute results that overflow to infinity or
43703 underflow to zero.
43704 * math/auto-libm-test-in: Don't mark tests as expected to fail for
43705 bug 16284.
43706 * math/auto-libm-test-out: Regenerated.
43707 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
43708 (ccosh_test): Likewise.
43709 (csin_test_data): Use plus_oflow.
43710 (csin_test): Use ALL_RM_TEST.
43711 (csinh_test_data): Use plus_oflow.
43712 (csinh_test): Use ALL_RM_TEST.
43713 * sysdeps/i386/fpu/libm-test-ulps: Update.
43714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43715
43716 2014-03-21 Joseph Myers <joseph@codesourcery.com>
43717
43718 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
43719 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
43720 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
43721
43722 [BZ #16731]
43723 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
43724 when x - 1 is zero.
43725 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
43726 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
43727 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43728 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
43729 argument is 1.
43730 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
43731 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
43732 zero.
43733 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
43734 * sysdeps/i386/fpu/libm-test-ulps: Update.
43735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43736
43737 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
43738
43739 * scripts/bench.pl: Remove file.
43740 * scripts/bench.py: New benchmark script.
43741 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
43742 * benchtests/README: Mention python dependency.
43743 * scripts/pylintrc: New file.
43744 * scripts/pylint: New file.
43745
43746 * bits/mathdef.h: Use #ifdef instead of #if.
43747 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
43748 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43749 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
43750 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43751 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
43752 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43753
43754 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43755 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43756
43757 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
43758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
43759 and strpbrk-ppc64 objects.
43760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43761 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
43762 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
43763 multiarch strpbrk for POWER7.
43764 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
43765 multiarch strpbrk for PPC64.
43766 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
43767 ifunc selector.
43768 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
43769 strpbrk for POWER7.
43770
43771 2014-03-20 Joseph Myers <joseph@codesourcery.com>
43772
43773 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
43774 (atan_test): Likewise.
43775 (atanh_test_data): Use NO_TEST_INLINE for two tests.
43776 (atanh_test): Use ALL_RM_TEST.
43777 (atan2_test_data): Likewise.
43778 (cabs_test): Likewise.
43779 (cacosh_test): Likewise.
43780 (carg_test): Likewise.
43781 (casin_test): Likewise.
43782 (casinh_test): Likewise.
43783 (cbrt_test): Likewise.
43784 (csqrt_test): Likewise.
43785 (erf_test): Likewise.
43786 (erfc_test): Likewise.
43787 (pow10_test): Likewise.
43788 (exp2_test): Likewise.
43789 (hypot_test): Likewise.
43790 (j0_test): Likewise.
43791 (j1_test): Likewise.
43792 (lgamma_test): Likewise.
43793 (gamma_test): Likewise.
43794 (sincos_test): Likewise.
43795 (tanh_test): Likewise.
43796 (y0_test): Likewise.
43797 (y1_test): Likewise.
43798 * sysdeps/i386/fpu/libm-test-ulps: Update.
43799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43800
43801 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43802
43803 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
43804 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
43805 and strcspn-ppc64 objects.
43806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43807 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
43808 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
43809 multiarch strcspn for POWER7.
43810 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
43811 multiarch strcspn for PPC64.
43812 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
43813 ifunc selector.
43814 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
43815 strcspn for POWER7.
43816
43817 2014-03-20 Joseph Myers <joseph@codesourcery.com>
43818
43819 * math/gen-libm-test.pl (generate_testfile): Expect only function
43820 name as argument to AUTO_TESTS_* and pass results for all rounding
43821 modes to parse_args.
43822 (parse_auto_input): Separate inputs of automatic tests from
43823 outputs before storing in %auto_tests.
43824 * math/libm-test.inc (acos_test_data): Update call to
43825 AUTO_TESTS_f_f.
43826 (acos_test): Use ALL_RM_TEST.
43827 (acos_tonearest_test_data): Remove.
43828 (acos_test_tonearest): Likewise.
43829 (acos_towardzero_test_data): Likewise.
43830 (acos_test_towardzero): Likewise.
43831 (acos_downward_test_data): Likewise.
43832 (acos_test_downward): Likewise.
43833 (acos_upward_test_data): Likewise.
43834 (acos_test_upward): Likewise.
43835 (acosh_test_data): Update call to AUTO_TESTS_f_f.
43836 (asin_test_data): Likewise.
43837 (asin_test): Use ALL_RM_TEST.
43838 (asin_tonearest_test_data): Remove.
43839 (asin_test_tonearest): Likewise.
43840 (asin_towardzero_test_data): Likewise.
43841 (asin_test_towardzero): Likewise.
43842 (asin_downward_test_data): Likewise.
43843 (asin_test_downward): Likewise.
43844 (asin_upward_test_data): Likewise.
43845 (asin_test_upward): Likewise.
43846 (asinh_test_data): Update call to AUTO_TESTS_f_f.
43847 (atan_test_data): Likewise.
43848 (atanh_test_data): Likewise.
43849 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
43850 (cabs_test_data): Update call to AUTO_TESTS_c_f.
43851 (carg_test_data): Likewise.
43852 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
43853 (ccos_test_data): Update call to AUTO_TESTS_c_c.
43854 (ccosh_test_data): Likewise.
43855 (cexp_test_data): Likewise.
43856 (clog_test_data): Likewise.
43857 (clog10_test_data): Likewise.
43858 (cos_test_data): Update call to AUTO_TESTS_f_f.
43859 (cos_test): Use ALL_RM_TEST.
43860 (cos_tonearest_test_data): Remove.
43861 (cos_test_tonearest): Likewise.
43862 (cos_towardzero_test_data): Likewise.
43863 (cos_test_towardzero): Likewise.
43864 (cos_downward_test_data): Likewise.
43865 (cos_test_downward): Likewise.
43866 (cos_upward_test_data): Likewise.
43867 (cos_test_upward): Likewise.
43868 (cosh_test_data): Update call to AUTO_TESTS_f_f.
43869 (cosh_test): Use ALL_RM_TEST.
43870 (cosh_tonearest_test_data): Remove.
43871 (cosh_test_tonearest): Likewise.
43872 (cosh_towardzero_test_data): Likewise.
43873 (cosh_test_towardzero): Likewise.
43874 (cosh_downward_test_data): Likewise.
43875 (cosh_test_downward): Likewise.
43876 (cosh_upward_test_data): Likewise.
43877 (cosh_test_upward): Likewise.
43878 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
43879 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
43880 (ctan_test_data): Likewise.
43881 (ctan_test): Use ALL_RM_TEST.
43882 (ctan_tonearest_test_data): Remove.
43883 (ctan_test_tonearest): Likewise.
43884 (ctan_towardzero_test_data): Likewise.
43885 (ctan_test_towardzero): Likewise.
43886 (ctan_downward_test_data): Likewise.
43887 (ctan_test_downward): Likewise.
43888 (ctan_upward_test_data): Likewise.
43889 (ctan_test_upward): Likewise.
43890 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43891 (ctanh_test): Use ALL_RM_TEST.
43892 (ctanh_tonearest_test_data): Remove.
43893 (ctanh_test_tonearest): Likewise.
43894 (ctanh_towardzero_test_data): Likewise.
43895 (ctanh_test_towardzero): Likewise.
43896 (ctanh_downward_test_data): Likewise.
43897 (ctanh_test_downward): Likewise.
43898 (ctanh_upward_test_data): Likewise.
43899 (ctanh_test_upward): Likewise.
43900 (erf_test_data): Update call to AUTO_TESTS_f_f.
43901 (erfc_test_data): Likewise.
43902 (exp_test_data): Likewise.
43903 (exp_test): Use ALL_RM_TEST.
43904 (exp_tonearest_test_data): Remove.
43905 (exp_test_tonearest): Likewise.
43906 (exp_towardzero_test_data): Likewise.
43907 (exp_test_towardzero): Likewise.
43908 (exp_downward_test_data): Likewise.
43909 (exp_test_downward): Likewise.
43910 (exp_upward_test_data): Likewise.
43911 (exp_test_upward): Likewise.
43912 (exp10_test_data): Update call to AUTO_TESTS_f_f.
43913 (exp10_test): Use ALL_RM_TEST.
43914 (exp10_tonearest_test_data): Remove.
43915 (exp10_test_tonearest): Likewise.
43916 (exp10_towardzero_test_data): Likewise.
43917 (exp10_test_towardzero): Likewise.
43918 (exp10_downward_test_data): Likewise.
43919 (exp10_test_downward): Likewise.
43920 (exp10_upward_test_data): Likewise.
43921 (exp10_test_upward): Likewise.
43922 (exp2_test_data): Update call to AUTO_TESTS_f_f.
43923 (expm1_test_data): Likewise.
43924 (expm1_test): Use ALL_RM_TEST.
43925 (expm1_tonearest_test_data): Remove.
43926 (expm1_test_tonearest): Likewise.
43927 (expm1_towardzero_test_data): Likewise.
43928 (expm1_test_towardzero): Likewise.
43929 (expm1_downward_test_data): Likewise.
43930 (expm1_test_downward): Likewise.
43931 (expm1_upward_test_data): Likewise.
43932 (expm1_test_upward): Likewise.
43933 (fma_test_data): Update call to AUTO_TESTS_fff_f.
43934 (fma_test): Use ALL_RM_TEST.
43935 (fma_towardzero_test_data): Remove.
43936 (fma_test_towardzero): Likewise.
43937 (fma_downward_test_data): Likewise.
43938 (fma_test_downward): Likewise.
43939 (fma_upward_test_data): Likewise.
43940 (fma_test_upward): Likewise.
43941 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43942 (j0_test_data): Update call to AUTO_TESTS_f_f.
43943 (j1_test_data): Likewise.
43944 (jn_test_data): Update call to AUTO_TESTS_if_f.
43945 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43946 (log_test_data): Update call to AUTO_TESTS_f_f.
43947 (log10_test_data): Likewise.
43948 (log1p_test_data): Likewise.
43949 (log2_test_data): Likewise.
43950 (pow_test_data): Update call to AUTO_TESTS_ff_f.
43951 (pow_tonearest_test_data): Likewise.
43952 (sin_test_data): Update call to AUTO_TESTS_f_f.
43953 (sin_test): Use ALL_RM_TEST.
43954 (sin_tonearest_test_data): Remove.
43955 (sin_test_tonearest): Likewise.
43956 (sin_towardzero_test_data): Likewise.
43957 (sin_test_towardzero): Likewise.
43958 (sin_downward_test_data): Likewise.
43959 (sin_test_downward): Likewise.
43960 (sin_upward_test_data): Likewise.
43961 (sin_test_upward): Likewise.
43962 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43963 (sinh_test_data): Update call to AUTO_TESTS_f_f.
43964 (sinh_test): Use ALL_RM_TEST.
43965 (sinh_tonearest_test_data): Remove.
43966 (sinh_test_tonearest): Likewise.
43967 (sinh_towardzero_test_data): Likewise.
43968 (sinh_test_towardzero): Likewise.
43969 (sinh_downward_test_data): Likewise.
43970 (sinh_test_downward): Likewise.
43971 (sinh_upward_test_data): Likewise.
43972 (sinh_test_upward): Likewise.
43973 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43974 (sqrt_test): Use ALL_RM_TEST.
43975 (sqrt_tonearest_test_data): Remove.
43976 (sqrt_test_tonearest): Likewise.
43977 (sqrt_towardzero_test_data): Likewise.
43978 (sqrt_test_towardzero): Likewise.
43979 (sqrt_downward_test_data): Likewise.
43980 (sqrt_test_downward): Likewise.
43981 (sqrt_upward_test_data): Likewise.
43982 (sqrt_test_upward): Likewise.
43983 (tan_test_data): Update call to AUTO_TESTS_f_f.
43984 (tan_test): Use ALL_RM_TEST.
43985 (tan_tonearest_test_data): Remove.
43986 (tan_test_tonearest): Likewise.
43987 (tan_towardzero_test_data): Likewise.
43988 (tan_test_towardzero): Likewise.
43989 (tan_downward_test_data): Likewise.
43990 (tan_test_downward): Likewise.
43991 (tan_upward_test_data): Likewise.
43992 (tan_test_upward): Likewise.
43993 (tanh_test_data): Update call to AUTO_TESTS_f_f.
43994 (tgamma_test_data): Likewise.
43995 (y0_test_data): Likewise.
43996 (y1_test_data): Likewise.
43997 (yn_test_data): Update call to AUTO_TESTS_if_f.
43998 (main): Do not call removed functions.
43999
44000 2014-03-19 Joseph Myers <joseph@codesourcery.com>
44001
44002 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
44003 (ldexp_test_data): Remove.
44004 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
44005 scalbn_test_data.
44006 (scalb_test): Use ALL_RM_TEST.
44007
44008 2014-03-19 Andreas Schwab <schwab@suse.de>
44009
44010 * nscd/nscd.service: Also invalidate netgroup cache on reload.
44011
44012 2014-03-19 Joseph Myers <joseph@codesourcery.com>
44013
44014 [BZ #16649]
44015 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44016 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
44017 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
44018 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44019 (__ASSUME_PREADV): Undefine.
44020 (__ASSUME_PWRITEV): Likewise.
44021
44022 2014-03-18 Roland McGrath <roland@hack.frob.com>
44023
44024 * bits/mman-linux.h: Add comment about non-Linux use.
44025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
44026 bits/mman-linux.h resting place.
44027
44028 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
44029 * bits/mman-linux.h: ... here.
44030
44031 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44032
44033 * conform/conformtest.pl: Add standard definition when calling C
44034 preprocessor on data files.
44035 (checknamespace): Remove unused variable.
44036
44037 2014-03-18 Joseph Myers <joseph@codesourcery.com>
44038
44039 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
44040 minus_oflow, plus_uflow and minus_uflow in expected results.
44041 * math/libm-test.inc (scalbn_test_data): Add more tests of
44042 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
44043 minus_uflow.
44044 (scalbn_test): Use ALL_RM_TEST.
44045 (scalbln_test_data): Add more tests of negative arguments. Use
44046 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
44047 (scalbln_test): Use ALL_RM_TEST.
44048
44049 2014-03-18 Roland McGrath <roland@hack.frob.com>
44050
44051 * scripts/abilist.awk: Ignore symbols marked with .hidden.
44052
44053 2014-03-18 Will Newton <will.newton@linaro.org>
44054
44055 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
44056 inaccurate comment.
44057
44058 2014-03-18 Joseph Myers <joseph@codesourcery.com>
44059
44060 * Makerules [!subdir] (check-abi): Exit with error status if a
44061 test failed.
44062
44063 2014-03-17 Joseph Myers <joseph@codesourcery.com>
44064
44065 * math/libm-test.inc (nearbyint_test_data): Include all tests used
44066 for rint. Include results for all rounding modes.
44067 (nearbyint_test): Use ALL_RM_TEST.
44068 (rint_test_data): Include all tests used for nearbyint.
44069
44070 2014-03-17 Will Newton <will.newton@linaro.org>
44071
44072 * nptl/sysdeps/pthread/pthread.h: Revert previous
44073 change.
44074
44075 * sysdeps/generic/ldsodefs.h: Revert previous
44076 change.
44077
44078 * libio/genops.c: Revert previous change.
44079 * libio/libioP.h: Likewise.
44080 * stdio-common/vfprintf.c: Likewise.
44081
44082 * sysdeps/generic/math_private.h: Revert previous
44083 change.
44084
44085 * sysdeps/generic/math_private.h: Check whether
44086 HAVE_RM_CTX is defined with #ifdef rather
44087 than #if.
44088
44089 * argp/argp-fmtstream.h: Check whether
44090 __STRICT_ANSI__ is defined with #ifdef rather
44091 than #if.
44092 * argp/argp.h: Likewise.
44093
44094 * libio/genops.c: Check whether
44095 _IO_JUMPS_OFFSET is defined with #ifdef rather
44096 than #if.
44097 * libio/libioP.h: Likewise.
44098 * stdio-common/vfprintf.c: Likewise.
44099
44100 * sysdeps/generic/ldsodefs.h: Check whether
44101 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
44102 than #if.
44103
44104 * nptl/sysdeps/pthread/pthread.h: Check
44105 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
44106 its value.
44107
44108 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
44109
44110 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
44111 setting O_APPEND.
44112 * libio/tst-ftell-active-handler.c (do_append_test): Add a
44113 test case.
44114
44115 [BZ #16680]
44116 * libio/fileops.c (_IO_file_open): Seek to end of file but
44117 don't cache the offset.
44118 (get_file_offset): Remove function.
44119 (do_ftell): Use cached offset when available.
44120 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
44121 don't cache the offset.
44122 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
44123 case.
44124 (do_one_test): Call it.
44125 (do_ftell_test): Fix up expected old offset for a+ mode.
44126 * libio/wfileops.c (do_ftell_wide): Used cached offset when
44127 available.
44128
44129 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
44130 up test status with function return status.
44131 (do_write_test): Likewise.
44132 (do_append_test): Likewise.
44133
44134 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
44135 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
44136 Remove.
44137
44138 2014-03-17 Joseph Myers <joseph@codesourcery.com>
44139
44140 * math/gen-libm-test.pl (parse_args): Handle results specified for
44141 each rounding mode separately.
44142 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
44143 tests and results from lrint_tonearest_test_data,
44144 lrint_towardzero_test_data, lrint_downward_test_data and
44145 lrint_upward_test_data.
44146 (lrint_test): Use ALL_RM_TEST.
44147 (lrint_tonearest_test_data): Remove.
44148 (lrint_test_tonearest): Likewise.
44149 (lrint_towardzero_test_data): Likewise.
44150 (lrint_test_towardzero): Likewise.
44151 (lrint_downward_test_data): Likewise.
44152 (lrint_test_downward): Likewise.
44153 (lrint_upward_test_data): Likewise.
44154 (lrint_test_upward): Likewise.
44155 (llrint_test_data): Merge in per-rounding-mode tests and results
44156 from llrint_tonearest_test_data, llrint_towardzero_test_data,
44157 llrint_downward_test_data and llrint_upward_test_data.
44158 (llrint_test): Use ALL_RM_TEST.
44159 (llrint_tonearest_test_data): Remove.
44160 (llrint_test_tonearest): Likewise.
44161 (llrint_towardzero_test_data): Likewise.
44162 (llrint_test_towardzero): Likewise.
44163 (llrint_downward_test_data): Likewise.
44164 (llrint_test_downward): Likewise.
44165 (llrint_upward_test_data): Likewise.
44166 (llrint_test_upward): Likewise.
44167 (rint_test_data): Merge in per-rounding-mode tests and results
44168 from rint_tonearest_test_data, rint_towardzero_test_data,
44169 rint_downward_test_data and rint_upward_test_data. Add
44170 per-rounding-mode results for tests not in those arrays.
44171 (rint_test): Use ALL_RM_TEST.
44172 (rint_tonearest_test_data): Remove.
44173 (rint_test_tonearest): Likewise.
44174 (rint_towardzero_test_data): Likewise.
44175 (rint_test_towardzero): Likewise.
44176 (rint_downward_test_data): Likewise.
44177 (rint_test_downward): Likewise.
44178 (rint_upward_test_data): Likewise.
44179 (rint_test_upward): Likewise.
44180 (main): Don't call removed functions.
44181
44182 2014-03-14 Roland McGrath <roland@hack.frob.com>
44183
44184 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
44185 "Compiled on ..." crapola. It is anti-useful.
44186
44187 2014-03-14 Joseph Myers <joseph@codesourcery.com>
44188
44189 * scripts/evaluate-test.sh: Handle fourth argument to determine
44190 whether test run should stop on failure.
44191 * Makeconfig (stop-on-test-failure): New variable.
44192 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
44193 $(stop-on-test-failure).
44194 * Makefile (tests): Give a summary of results from testing and
44195 exit with failure status if they include an ERROR or FAIL.
44196 (xtests): Likewise.
44197 * manual/install.texi (Configuring and compiling): Mention
44198 stop-on-test-failure=y.
44199 * INSTALL: Regenerated.
44200
44201 2014-03-14 Roland McGrath <roland@hack.frob.com>
44202
44203 * scripts/versionlist.awk: New file.
44204 * Makerules [$(build-shared) = yes]
44205 (postclean-generated): Add Versions.def, not Versions.def.v and
44206 Versions.def.v.i.
44207 ($(common-objpfx)Versions.def.v.i): Target removed.
44208 ($(common-objpfx)Versions.def): New target.
44209 ($(common-objpfx)Versions.all): Depend on that rather that
44210 $(common-objpfx)Versions.def.v.
44211 * Versions.def: File removed.
44212
44213 * Makeconfig (+gccwarn): Add -Wundef.
44214 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
44215 a dl-sysdep.h breaking its contract.
44216 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
44217 * include/stackinfo.h: New file.
44218 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
44219 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
44220 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
44221 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
44222 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
44223 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
44224 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44225 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44226 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44227 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44228 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44229 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
44230 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44231 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44232 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44233
44234 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44235
44236 [BZ #16707]
44237 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
44238 implementation.
44239 * math/libm-test.inc (round_test_data): Add more tests.
44240
44241 [BZ #16706]
44242 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
44243 implementation.
44244 * math/libm-test.inc (nearbyint_test_data): Add more tests.
44245
44246 [BZ #16701]
44247 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
44248 implementation.
44249 * math/libm-test.inc (ceil_test_data): Add more tests.
44250
44251 * math/libm-test.inc (trunc_test_data): Add more tests related to
44252 BZ#16414.
44253
44254 2014-03-14 Roland McGrath <roland@hack.frob.com>
44255
44256 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
44257 with #if rather than #ifdef.
44258 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
44259
44260 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
44261
44262 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
44263 first. Disable AVX-512 GCC support if assembler doesn't support
44264 it.
44265 * sysdeps/x86_64/configure: Regenerated.
44266
44267 2014-03-13 Carlos O'Donell <carlos@redhat.com>
44268
44269 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
44270 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
44271 (__old_pthread_attr_setstack): Likewise.
44272 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
44273 [!_STACK_GROWS_DOWN]: Likewise.
44274
44275 2014-03-13 Mike Frysinger <vapier@gentoo.org>
44276
44277 * config.make.in (have-bash2): Delete.
44278 * configure.ac (libc_cv_have_bash2): Delete.
44279 * configure: Regenerate.
44280 * elf/Makefile (common-ldd-rewrite): Rename to ...
44281 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
44282 (sh-ldd-rewrite): Delete.
44283 (bash-ldd-rewrite): Delete.
44284 (have-bash2): Delete checks.
44285 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
44286 ldd-rewrite.
44287
44288 * config.make.in (have-ksh): Delete.
44289 (KSH): Delete.
44290 * configure.ac (libc_cv_have_ksh): Delete.
44291 * configure: Regenerate.
44292
44293 * elf/Makefile: Delete $(have-ksh) check.
44294 ($(objpfx)sotruss): Change KSH to BASH.
44295 * elf/sotruss.ksh: Rename to ...
44296 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
44297 function style to match POSIX. Drop ksh vim mode setting.
44298
44299 * manual/time.texi (Specifying the Time Zone with TZ): Change
44300 Tuesday to Thursday.
44301
44302 * debug/tst-longjmp_chk2.c: Update header comment.
44303 (stackoverflow_handler): Add comment. Call assert on pass value.
44304
44305 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
44306
44307 [BZ #16194]
44308 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
44309 (HAVE_AVX512_ASM_SUPPORT): Likewise.
44310 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
44311 (La_x86_64_vector): Add zmm.
44312 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
44313 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
44314 ($(objpfx)tst-audit10): New target.
44315 ($(objpfx)tst-audit10.out): Likewise.
44316 (tst-audit10-ENV): New.
44317 (AVX512-CFLAGS): Likewise.
44318 (CFLAGS-tst-audit10.c): Likewise.
44319 (CFLAGS-tst-auditmod10a.c): Likewise.
44320 (CFLAGS-tst-auditmod10b.c): Likewise.
44321 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
44322 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
44323 * sysdeps/x86_64/configure: Regenerated.
44324 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
44325 AVX-512 zmm register support.
44326 (_dl_x86_64_save_sse): Likewise.
44327 (_dl_x86_64_restore_sse): Likewise.
44328 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
44329 size vector registers.
44330 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
44331 (ZMM_SIZE): Likewise.
44332 * sysdeps/x86_64/tst-audit10.c: New file.
44333 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
44334 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
44335
44336 2014-03-13 Roland McGrath <roland@hack.frob.com>
44337
44338 * configure.ac (HAVE_EHDR_START): New check.
44339 * configure: Regenerated.
44340 * config.h.in (HAVE_EHDR_START): New #undef.
44341 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
44342 assuming the lowest-addressed segment maps the start of the file.
44343
44344 2014-03-13 Joseph Myers <joseph@codesourcery.com>
44345
44346 * INSTALL: Regenerated.
44347
44348 2014-03-13 Will Newton <will.newton@linaro.org>
44349
44350 * manual/setjmp.texi (System V contexts): Improve
44351 clarity and grammar of documentation.
44352
44353 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
44354
44355 [BZ #16381]
44356 * elf/Makefile (tests): Add tst-pie2.
44357 (tests-pie): Add tst-pie2.
44358 * elf/tst-pie2.c: New file.
44359 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
44360 for ET_EXEC.
44361 * elf/rtld.c (map_doit): Load executable as lt_executable.
44362 (dl_main): Likewise.
44363
44364 2014-03-12 Joseph Myers <joseph@codesourcery.com>
44365
44366 [BZ #16642]
44367 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44368 (__ASSUME_PSELECT): Undefine.
44369
44370 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44371
44372 [BZ #16689]
44373 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
44374 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
44375 static build.
44376 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
44377 selector for static builds.
44378
44379 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44380
44381 [BZ #16695]
44382 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
44383 key in the buffer.
44384
44385 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44386
44387 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
44388 IFUNC selector for static builds.
44389
44390 2014-03-11 Joseph Myers <joseph@codesourcery.com>
44391
44392 * sysdeps/mips/math_private.h [__mips_hard_float]
44393 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
44394 libc_feresetround_mips_ctx.
44395 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
44396 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
44397 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
44398
44399 [BZ #16677]
44400 * math/s_nextafter.c (__nextafter): Do not return value from
44401 overflowing computation.
44402 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
44403 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
44404 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
44405 Likewise.
44406 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
44407 Likewise.
44408 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
44409 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
44410
44411 2014-03-11 Roland McGrath <roland@hack.frob.com>
44412
44413 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
44414 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
44415 Move sfi_sp use from the load-multiple (that no longer sets sp) to
44416 the new mov targetting sp.
44417
44418 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44419
44420 [BZ #16683]
44421 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
44422 Define it for static builds as well.
44423 (NO_BZERO_IMPL): Likewise.
44424
44425 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
44426
44427 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
44428 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
44429 multiarch strspn for PPC64.
44430 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
44431 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
44432 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44433 (__libc_ifunc_impl_list): Likewise.
44434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
44435 multiarch optimizations
44436 * string/strspn.c (strspn): Using macro to redefine symbol name.
44437
44438 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
44439 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44440
44441 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
44442 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
44443 multiarch strncat for PPC64.
44444 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
44445 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
44446 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44447 (__libc_ifunc_impl_list): Likewise.
44448 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
44449 multiarch optimizations
44450
44451 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44452
44453 [BZ #16639]
44454 * nscd/nscd.service: Make service type forking.
44455
44456 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44457
44458 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
44459 sign in non default rounding modes.
44460 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
44461
44462 2014-03-08 Joseph Myers <joseph@codesourcery.com>
44463
44464 * math/libm-test.inc (ALL_RM_TEST): New macro.
44465 (ceil_test): Use ALL_RM_TEST.
44466 (cimag_test): Likewise.
44467 (conj_test): Likewise.
44468 (copysign_test): Likewise.
44469 (cproj_test): Likewise.
44470 (creal_test): Likewise.
44471 (fabs_test): Likewise.
44472 (floor_test): Likewise.
44473 (fmax_test): Likewise.
44474 (fmin_test): Likewise.
44475 (fmod_test): Likewise.
44476 (fpclassify_test): Likewise.
44477 (frexp_test): Likewise.
44478 (ilogb_test): Likewise.
44479 (isfinite_test): Likewise.
44480 (finite_test): Likewise.
44481 (isgreater_test): Likewise.
44482 (isgreaterequal_test): Likewise.
44483 (isinf_test): Likewise.
44484 (isless_test): Likewise.
44485 (islessequal_test): Likewise.
44486 (islessgreater_test): Likewise.
44487 (isnan_test): Likewise.
44488 (isnormal_test): Likewise.
44489 (issignaling_test): Likewise.
44490 (isunordered_test): Likewise.
44491 (logb_test): Likewise.
44492 (logb_downward_test_data): Remove.
44493 (logb_test_downward): Likewise.
44494 (lround_test): Use ALL_RM_TEST.
44495 (llround_test): Likewise.
44496 (modf_test): Likewise.
44497 (nexttoward_test): Likewise.
44498 (remainder_test): Likewise.
44499 (drem_test): Likewise.
44500 (remainder_tonearest_test_data): Likewise.
44501 (remainder_test_tonearest): Likewise.
44502 (drem_test_tonearest): Likewise.
44503 (remainder_towardzero_test_data): Likewise.
44504 (remainder_test_towardzero): Likewise.
44505 (drem_test_towardzero): Likewise.
44506 (remainder_downward_test_data): Likewise.
44507 (remainder_test_downward): Likewise.
44508 (drem_test_downward): Likewise.
44509 (remainder_upward_test_data): Likewise.
44510 (remainder_test_upward): Likewise.
44511 (drem_test_upward): Likewise.
44512 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
44513 (round_test): Use ALL_RM_TEST.
44514 (signbit_test): Likewise.
44515 (trunc_test): Likewise.
44516 (significand_test): Likewise.
44517 (main): Don't call removed functions.
44518
44519 2014-03-07 Joseph Myers <joseph@codesourcery.com>
44520
44521 [BZ #16674]
44522 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
44523 || __USE_XOPEN2K8].
44524 (ILL_ILLOPN): Likewise.
44525 (ILL_ILLADR): Likewise.
44526 (ILL_ILLTRP): Likewise.
44527 (ILL_PRVOPC): Likewise.
44528 (ILL_PRVREG): Likewise.
44529 (ILL_COPROC): Likewise.
44530 (ILL_BADSTK): Likewise.
44531 (FPE_INTDIV): Likewise.
44532 (FPE_INTOVF): Likewise.
44533 (FPE_FLTDIV): Likewise.
44534 (FPE_FLTOVF): Likewise.
44535 (FPE_FLTUND): Likewise.
44536 (FPE_FLTRES): Likewise.
44537 (FPE_FLTINV): Likewise.
44538 (FPE_FLTSUB): Likewise.
44539 (SEGV_MAPERR): Likewise.
44540 (SEGV_ACCERR): Likewise.
44541 (BUS_ADRALN): Likewise.
44542 (BUS_ADRERR): Likewise.
44543 (BUS_OBJERR): Likewise.
44544 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44545 (TRAP_TRACE): Likewise.
44546 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44547 __USE_XOPEN2K8].
44548 (CLD_KILLED): Likewise.
44549 (CLD_DUMPED): Likewise.
44550 (CLD_TRAPPED): Likewise.
44551 (CLD_STOPPED): Likewise.
44552 (CLD_CONTINUED): Likewise.
44553 (POLL_IN): Likewise.
44554 (POLL_OUT): Likewise.
44555 (POLL_MSG): Likewise.
44556 (POLL_ERR): Likewise.
44557 (POLL_PRI): Likewise.
44558 (POLL_HUP): Likewise.
44559 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
44560 Likewise.
44561 (ILL_ILLOPN): Likewise.
44562 (ILL_ILLADR): Likewise.
44563 (ILL_ILLTRP): Likewise.
44564 (ILL_PRVOPC): Likewise.
44565 (ILL_PRVREG): Likewise.
44566 (ILL_COPROC): Likewise.
44567 (ILL_BADSTK): Likewise.
44568 (FPE_INTDIV): Likewise.
44569 (FPE_INTOVF): Likewise.
44570 (FPE_FLTDIV): Likewise.
44571 (FPE_FLTOVF): Likewise.
44572 (FPE_FLTUND): Likewise.
44573 (FPE_FLTRES): Likewise.
44574 (FPE_FLTINV): Likewise.
44575 (FPE_FLTSUB): Likewise.
44576 (SEGV_MAPERR): Likewise.
44577 (SEGV_ACCERR): Likewise.
44578 (BUS_ADRALN): Likewise.
44579 (BUS_ADRERR): Likewise.
44580 (BUS_OBJERR): Likewise.
44581 (BUS_MCEERR_AR): Likewise.
44582 (BUS_MCEERR_AO): Likewise.
44583 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44584 (TRAP_TRACE): Likewise.
44585 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44586 __USE_XOPEN2K8].
44587 (CLD_KILLED): Likewise.
44588 (CLD_DUMPED): Likewise.
44589 (CLD_TRAPPED): Likewise.
44590 (CLD_STOPPED): Likewise.
44591 (CLD_CONTINUED): Likewise.
44592 (POLL_IN): Likewise.
44593 (POLL_OUT): Likewise.
44594 (POLL_MSG): Likewise.
44595 (POLL_ERR): Likewise.
44596 (POLL_PRI): Likewise.
44597 (POLL_HUP): Likewise.
44598 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
44599 (ILL_ILLOPN): Likewise.
44600 (ILL_ILLADR): Likewise.
44601 (ILL_ILLTRP): Likewise.
44602 (ILL_PRVOPC): Likewise.
44603 (ILL_PRVREG): Likewise.
44604 (ILL_COPROC): Likewise.
44605 (ILL_BADSTK): Likewise.
44606 (FPE_INTDIV): Likewise.
44607 (FPE_INTOVF): Likewise.
44608 (FPE_FLTDIV): Likewise.
44609 (FPE_FLTOVF): Likewise.
44610 (FPE_FLTUND): Likewise.
44611 (FPE_FLTRES): Likewise.
44612 (FPE_FLTINV): Likewise.
44613 (FPE_FLTSUB): Likewise.
44614 (SEGV_MAPERR): Likewise.
44615 (SEGV_ACCERR): Likewise.
44616 (BUS_ADRALN): Likewise.
44617 (BUS_ADRERR): Likewise.
44618 (BUS_OBJERR): Likewise.
44619 (BUS_MCEERR_AR): Likewise.
44620 (BUS_MCEERR_AO): Likewise.
44621 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44622 (TRAP_TRACE): Likewise.
44623 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44624 __USE_XOPEN2K8].
44625 (CLD_KILLED): Likewise.
44626 (CLD_DUMPED): Likewise.
44627 (CLD_TRAPPED): Likewise.
44628 (CLD_STOPPED): Likewise.
44629 (CLD_CONTINUED): Likewise.
44630 (POLL_IN): Likewise.
44631 (POLL_OUT): Likewise.
44632 (POLL_MSG): Likewise.
44633 (POLL_ERR): Likewise.
44634 (POLL_PRI): Likewise.
44635 (POLL_HUP): Likewise.
44636 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
44637 Likewise.
44638 (ILL_ILLOPN): Likewise.
44639 (ILL_ILLADR): Likewise.
44640 (ILL_ILLTRP): Likewise.
44641 (ILL_PRVOPC): Likewise.
44642 (ILL_PRVREG): Likewise.
44643 (ILL_COPROC): Likewise.
44644 (ILL_BADSTK): Likewise.
44645 (ILL_BADIADDR): Likewise.
44646 (ILL_BREAK): Likewise.
44647 (FPE_INTDIV): Likewise.
44648 (FPE_INTOVF): Likewise.
44649 (FPE_FLTDIV): Likewise.
44650 (FPE_FLTOVF): Likewise.
44651 (FPE_FLTUND): Likewise.
44652 (FPE_FLTRES): Likewise.
44653 (FPE_FLTINV): Likewise.
44654 (FPE_FLTSUB): Likewise.
44655 (FPE_DECOVF): Likewise.
44656 (FPE_DECDIV): Likewise.
44657 (FPE_DECERR): Likewise.
44658 (FPE_INVASC): Likewise.
44659 (FPE_INVDEC): Likewise.
44660 (SEGV_MAPERR): Likewise.
44661 (SEGV_ACCERR): Likewise.
44662 (SEGV_PSTKOVF): Likewise.
44663 (BUS_ADRALN): Likewise.
44664 (BUS_ADRERR): Likewise.
44665 (BUS_OBJERR): Likewise.
44666 (BUS_MCEERR_AR): Likewise.
44667 (BUS_MCEERR_AO): Likewise.
44668 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44669 (TRAP_TRACE): Likewise.
44670 (TRAP_BRANCH): Likewise.
44671 (TRAP_HWBKPT): Likewise.
44672 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44673 __USE_XOPEN2K8].
44674 (CLD_KILLED): Likewise.
44675 (CLD_DUMPED): Likewise.
44676 (CLD_TRAPPED): Likewise.
44677 (CLD_STOPPED): Likewise.
44678 (CLD_CONTINUED): Likewise.
44679 (POLL_IN): Likewise.
44680 (POLL_OUT): Likewise.
44681 (POLL_MSG): Likewise.
44682 (POLL_ERR): Likewise.
44683 (POLL_PRI): Likewise.
44684 (POLL_HUP): Likewise.
44685 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
44686 (ILL_ILLOPN): Likewise.
44687 (ILL_ILLADR): Likewise.
44688 (ILL_ILLTRP): Likewise.
44689 (ILL_PRVOPC): Likewise.
44690 (ILL_PRVREG): Likewise.
44691 (ILL_COPROC): Likewise.
44692 (ILL_BADSTK): Likewise.
44693 (FPE_INTDIV): Likewise.
44694 (FPE_INTOVF): Likewise.
44695 (FPE_FLTDIV): Likewise.
44696 (FPE_FLTOVF): Likewise.
44697 (FPE_FLTUND): Likewise.
44698 (FPE_FLTRES): Likewise.
44699 (FPE_FLTINV): Likewise.
44700 (FPE_FLTSUB): Likewise.
44701 (SEGV_MAPERR): Likewise.
44702 (SEGV_ACCERR): Likewise.
44703 (BUS_ADRALN): Likewise.
44704 (BUS_ADRERR): Likewise.
44705 (BUS_OBJERR): Likewise.
44706 (BUS_MCEERR_AR): Likewise.
44707 (BUS_MCEERR_AO): Likewise.
44708 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44709 (TRAP_TRACE): Likewise.
44710 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44711 __USE_XOPEN2K8].
44712 (CLD_KILLED): Likewise.
44713 (CLD_DUMPED): Likewise.
44714 (CLD_TRAPPED): Likewise.
44715 (CLD_STOPPED): Likewise.
44716 (CLD_CONTINUED): Likewise.
44717 (POLL_IN): Likewise.
44718 (POLL_OUT): Likewise.
44719 (POLL_MSG): Likewise.
44720 (POLL_ERR): Likewise.
44721 (POLL_PRI): Likewise.
44722 (POLL_HUP): Likewise.
44723 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
44724 (ILL_ILLOPN): Likewise.
44725 (ILL_ILLADR): Likewise.
44726 (ILL_ILLTRP): Likewise.
44727 (ILL_PRVOPC): Likewise.
44728 (ILL_PRVREG): Likewise.
44729 (ILL_COPROC): Likewise.
44730 (ILL_BADSTK): Likewise.
44731 (FPE_INTDIV): Likewise.
44732 (FPE_INTOVF): Likewise.
44733 (FPE_FLTDIV): Likewise.
44734 (FPE_FLTOVF): Likewise.
44735 (FPE_FLTUND): Likewise.
44736 (FPE_FLTRES): Likewise.
44737 (FPE_FLTINV): Likewise.
44738 (FPE_FLTSUB): Likewise.
44739 (SEGV_MAPERR): Likewise.
44740 (SEGV_ACCERR): Likewise.
44741 (BUS_ADRALN): Likewise.
44742 (BUS_ADRERR): Likewise.
44743 (BUS_OBJERR): Likewise.
44744 (BUS_MCEERR_AR): Likewise.
44745 (BUS_MCEERR_AO): Likewise.
44746 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44747 (TRAP_TRACE): Likewise.
44748 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44749 __USE_XOPEN2K8].
44750 (CLD_KILLED): Likewise.
44751 (CLD_DUMPED): Likewise.
44752 (CLD_TRAPPED): Likewise.
44753 (CLD_STOPPED): Likewise.
44754 (CLD_CONTINUED): Likewise.
44755 (POLL_IN): Likewise.
44756 (POLL_OUT): Likewise.
44757 (POLL_MSG): Likewise.
44758 (POLL_ERR): Likewise.
44759 (POLL_PRI): Likewise.
44760 (POLL_HUP): Likewise.
44761 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
44762 (ILL_ILLOPN): Likewise.
44763 (ILL_ILLADR): Likewise.
44764 (ILL_ILLTRP): Likewise.
44765 (ILL_PRVOPC): Likewise.
44766 (ILL_PRVREG): Likewise.
44767 (ILL_COPROC): Likewise.
44768 (ILL_BADSTK): Likewise.
44769 (FPE_INTDIV): Likewise.
44770 (FPE_INTOVF): Likewise.
44771 (FPE_FLTDIV): Likewise.
44772 (FPE_FLTOVF): Likewise.
44773 (FPE_FLTUND): Likewise.
44774 (FPE_FLTRES): Likewise.
44775 (FPE_FLTINV): Likewise.
44776 (FPE_FLTSUB): Likewise.
44777 (SEGV_MAPERR): Likewise.
44778 (SEGV_ACCERR): Likewise.
44779 (BUS_ADRALN): Likewise.
44780 (BUS_ADRERR): Likewise.
44781 (BUS_OBJERR): Likewise.
44782 (BUS_MCEERR_AR): Likewise.
44783 (BUS_MCEERR_AO): Likewise.
44784 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44785 (TRAP_TRACE): Likewise.
44786 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44787 __USE_XOPEN2K8].
44788 (CLD_KILLED): Likewise.
44789 (CLD_DUMPED): Likewise.
44790 (CLD_TRAPPED): Likewise.
44791 (CLD_STOPPED): Likewise.
44792 (CLD_CONTINUED): Likewise.
44793 (POLL_IN): Likewise.
44794 (POLL_OUT): Likewise.
44795 (POLL_MSG): Likewise.
44796 (POLL_ERR): Likewise.
44797 (POLL_PRI): Likewise.
44798 (POLL_HUP): Likewise.
44799 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
44800 (ILL_ILLOPN): Likewise.
44801 (ILL_ILLADR): Likewise.
44802 (ILL_ILLTRP): Likewise.
44803 (ILL_PRVOPC): Likewise.
44804 (ILL_PRVREG): Likewise.
44805 (ILL_COPROC): Likewise.
44806 (ILL_BADSTK): Likewise.
44807 (ILL_DBLFLT): Likewise.
44808 (ILL_HARDWALL): Likewise.
44809 (FPE_INTDIV): Likewise.
44810 (FPE_INTOVF): Likewise.
44811 (FPE_FLTDIV): Likewise.
44812 (FPE_FLTOVF): Likewise.
44813 (FPE_FLTUND): Likewise.
44814 (FPE_FLTRES): Likewise.
44815 (FPE_FLTINV): Likewise.
44816 (FPE_FLTSUB): Likewise.
44817 (SEGV_MAPERR): Likewise.
44818 (SEGV_ACCERR): Likewise.
44819 (BUS_ADRALN): Likewise.
44820 (BUS_ADRERR): Likewise.
44821 (BUS_OBJERR): Likewise.
44822 (BUS_MCEERR_AR): Likewise.
44823 (BUS_MCEERR_AO): Likewise.
44824 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44825 (TRAP_TRACE): Likewise.
44826 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44827 __USE_XOPEN2K8].
44828 (CLD_KILLED): Likewise.
44829 (CLD_DUMPED): Likewise.
44830 (CLD_TRAPPED): Likewise.
44831 (CLD_STOPPED): Likewise.
44832 (CLD_CONTINUED): Likewise.
44833 (POLL_IN): Likewise.
44834 (POLL_OUT): Likewise.
44835 (POLL_MSG): Likewise.
44836 (POLL_ERR): Likewise.
44837 (POLL_PRI): Likewise.
44838 (POLL_HUP): Likewise.
44839 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
44840 (ILL_ILLOPN): Likewise.
44841 (ILL_ILLADR): Likewise.
44842 (ILL_ILLTRP): Likewise.
44843 (ILL_PRVOPC): Likewise.
44844 (ILL_PRVREG): Likewise.
44845 (ILL_COPROC): Likewise.
44846 (ILL_BADSTK): Likewise.
44847 (FPE_INTDIV): Likewise.
44848 (FPE_INTOVF): Likewise.
44849 (FPE_FLTDIV): Likewise.
44850 (FPE_FLTOVF): Likewise.
44851 (FPE_FLTUND): Likewise.
44852 (FPE_FLTRES): Likewise.
44853 (FPE_FLTINV): Likewise.
44854 (FPE_FLTSUB): Likewise.
44855 (SEGV_MAPERR): Likewise.
44856 (SEGV_ACCERR): Likewise.
44857 (BUS_ADRALN): Likewise.
44858 (BUS_ADRERR): Likewise.
44859 (BUS_OBJERR): Likewise.
44860 (BUS_MCEERR_AR): Likewise.
44861 (BUS_MCEERR_AO): Likewise.
44862 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44863 (TRAP_TRACE): Likewise.
44864 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44865 __USE_XOPEN2K8].
44866 (CLD_KILLED): Likewise.
44867 (CLD_DUMPED): Likewise.
44868 (CLD_TRAPPED): Likewise.
44869 (CLD_STOPPED): Likewise.
44870 (CLD_CONTINUED): Likewise.
44871 (POLL_IN): Likewise.
44872 (POLL_OUT): Likewise.
44873 (POLL_MSG): Likewise.
44874 (POLL_ERR): Likewise.
44875 (POLL_PRI): Likewise.
44876 (POLL_HUP): Likewise.
44877 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
44878 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44879
44880 [BZ #16670]
44881 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44882 before #include of <time.h>.
44883 [!__USE_XOPEN2K] (__need_timespec): Likewise.
44884 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44885 (test-xfail-UNIX98/sched.h/conform): Likewise.
44886
44887 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
44888
44889 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44890 error absence of trapping exception support.
44891 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44892
44893 2014-03-07 Joseph Myers <joseph@codesourcery.com>
44894
44895 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44896 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44897 * timezone/Makefile (testdata): Move definition above include of
44898 Rules.
44899 (test-zones): New variable.
44900 (tests-special): Add zone files.
44901 (build-testdata): Use $(evaluate-test).
44902
44903 * elf/Makefile (tests-special): Rename tests to end with .out.
44904 ($(objpfx)noload-mem): Likewise.
44905 ($(objpfx)tst-leaks1-mem): Likewise.
44906 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44907 * iconv/Makefile (xtests-special): Change test-iconvconfig to
44908 $(objpfx)test-iconvconfig.out.
44909 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
44910 set -e inside subshell and redirect output to file.
44911 * iconvdata/Makefile (generated): Rename tests to end with .out.
44912 Correct type.
44913 (tests-special): Rename tests to end with .out.
44914 ($(objpfx)mtrace-tst-loading): Likewise.
44915 * intl/Makefile (generated): Likewise.
44916 (tests-special): Likewise.
44917 ($(objpfx)mtrace-tst-gettext): Likewise.
44918 * misc/Makefile (generated): Likewise.
44919 (tests-special): Likewise.
44920 ($(objpfx)tst-error1-mem): Likewise.
44921 * nptl/Makefile (tests-special): Likewise.
44922 ($(objpfx)tst-stack3-mem): Likewise.
44923 (generated): Likewise.
44924 * posix/Makefile (generated): Likewise.
44925 (tests-special): Likewise.
44926 (xtests-special): Likewise.
44927 ($(objpfx)tst-fnmatch-mem): Likewise.
44928 ($(objpfx)bug-regex2-mem): Likewise.
44929 ($(objpfx)bug-regex14-mem): Likewise.
44930 ($(objpfx)bug-regex21-mem): Likewise.
44931 ($(objpfx)bug-regex31-mem): Likewise.
44932 ($(objpfx)tst-vfork3-mem): Likewise.
44933 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44934 ($(objpfx)tst-pcre-mem): Likewise.
44935 ($(objpfx)tst-boost-mem): Likewise.
44936 ($(objpfx)bug-ga2-mem): Likewise.
44937 ($(objpfx)bug-glob2-mem): Likewise.
44938 * resolv/Makefile (generate): Likewise.
44939 (tests-special): Likewise.
44940 (xtests-special): Likewise.
44941 (generated): Likewise.
44942 ($(objpfx)mtrace-tst-leaks): Likewise.
44943 ($(objpfx)mtrace-tst-leaks2): Likewise.
44944
44945 * scripts/merge-test-results.sh: New file.
44946 * Makefile (tests-special-notdir): New variable.
44947 (tests): Run merge-test-results.sh.
44948 (xtests): Likewise.
44949 * Rules (tests-special-notdir): New variable.
44950 (xtests-special-notdir): Likewise.
44951 (tests): Run merge-test-results.sh
44952 (xtests): Likewise.
44953
44954 * Makeconfig (test-xfail-name): New variable.
44955 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44956 compute variable name for expected failures.
44957 * conform/Makefile (conformtest-headers-data): New variable.
44958 (conformtest-standards): Likewise.
44959 (conformtest-headers-ISO): Likewise.
44960 (conformtest-headers-ISO99): Likewise.
44961 (conformtest-headers-ISO11): Likewise.
44962 (conformtest-headers-POSIX): Likewise.
44963 (conformtest-headers-XPG3): Likewise.
44964 (conformtest-headers-XPG4): Likewise.
44965 (conformtest-headers-UNIX98): Likewise.
44966 (conformtest-headers-XOPEN2K): Likewise.
44967 (conformtest-headers-POSIX2008): Likewise.
44968 (conformtest-headers-XOPEN2K8): Likewise.
44969 (conformtest-header-list-base): Likewise.
44970 (conformtest-header-list-tests): Likewise.
44971 (conformtest-header-base): Likewise.
44972 (conformtest-header-tests): Likewise.
44973 (tests-special): Add $(conformtest-header-list-tests). If
44974 [$(fast-check) && !$(cross-compiling)], add
44975 $(conformtest-header-tests) instead of
44976 $(objpfx)run-conformtest.out.
44977 (generated): Add $(conformtest-header-list-base). If
44978 [$(fast-check) && !$(cross-compiling)], add
44979 $(conformtest-header-base). Remove previous setting.
44980 ($(conformtest-header-list-tests)): New target.
44981 (test-xfail-run-conformtest): Remove variable.
44982 ($(objpfx)run-conformtest.out): Remove target.
44983 (test-xfail-ISO11/complex.h/conform): New variable.
44984 (test-xfail-ISO11/stdalign.h/conform): Likewise.
44985 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44986 (test-xfail-XPG3/varargs.h/conform): Likewise.
44987 (test-xfail-XPG4/varargs.h/conform): Likewise.
44988 (test-xfail-UNIX98/varargs.h/conform): Likewise.
44989 (test-xfail-XPG4/ndbm.h/conform): Likewise.
44990 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44991 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44992 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44993 (test-xfail-XPG3/fcntl.h/conform): Likewise.
44994 (test-xfail-XPG3/ftw.h/conform): Likewise.
44995 (test-xfail-XPG3/grp.h/conform): Likewise.
44996 (test-xfail-XPG3/langinfo.h/conform): Likewise.
44997 (test-xfail-XPG3/limits.h/conform): Likewise.
44998 (test-xfail-XPG3/pwd.h/conform): Likewise.
44999 (test-xfail-XPG3/search.h/conform): Likewise.
45000 (test-xfail-XPG3/signal.h/conform): Likewise.
45001 (test-xfail-XPG3/stdio.h/conform): Likewise.
45002 (test-xfail-XPG3/stdlib.h/conform): Likewise.
45003 (test-xfail-XPG3/string.h/conform): Likewise.
45004 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
45005 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
45006 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
45007 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
45008 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
45009 (test-xfail-XPG3/sys/types.h/conform): Likewise.
45010 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
45011 (test-xfail-XPG3/termios.h/conform): Likewise.
45012 (test-xfail-XPG3/time.h/conform): Likewise.
45013 (test-xfail-XPG3/unistd.h/conform): Likewise.
45014 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
45015 (test-xfail-XPG4/fcntl.h/conform): Likewise.
45016 (test-xfail-XPG4/langinfo.h/conform): Likewise.
45017 (test-xfail-XPG4/netdb.h/conform): Likewise.
45018 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
45019 (test-xfail-XPG4/signal.h/conform): Likewise.
45020 (test-xfail-XPG4/stdio.h/conform): Likewise.
45021 (test-xfail-XPG4/stdlib.h/conform): Likewise.
45022 (test-xfail-XPG4/stropts.h/conform): Likewise.
45023 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
45024 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
45025 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
45026 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
45027 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
45028 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
45029 (test-xfail-XPG4/sys/time.h/conform): Likewise.
45030 (test-xfail-XPG4/sys/types.h/conform): Likewise.
45031 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
45032 (test-xfail-XPG4/termios.h/conform): Likewise.
45033 (test-xfail-XPG4/ucontext.h/conform): Likewise.
45034 (test-xfail-XPG4/unistd.h/conform): Likewise.
45035 (test-xfail-XPG4/utmpx.h/conform): Likewise.
45036 (test-xfail-POSIX/sched.h/conform): Likewise.
45037 (test-xfail-POSIX/signal.h/conform): Likewise.
45038 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
45039 (test-xfail-POSIX/tar.h/conform): Likewise.
45040 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
45041 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
45042 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
45043 (test-xfail-UNIX98/netdb.h/conform): Likewise.
45044 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
45045 (test-xfail-UNIX98/sched.h/conform): Likewise.
45046 (test-xfail-UNIX98/signal.h/conform): Likewise.
45047 (test-xfail-UNIX98/stdio.h/conform): Likewise.
45048 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
45049 (test-xfail-UNIX98/stropts.h/conform): Likewise.
45050 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
45051 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
45052 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
45053 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
45054 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
45055 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
45056 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
45057 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
45058 (test-xfail-UNIX98/unistd.h/conform): Likewise.
45059 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
45060 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
45061 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
45062 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
45063 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
45064 (test-xfail-XOPEN2K/math.h/conform): Likewise.
45065 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
45066 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
45067 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
45068 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
45069 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
45070 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
45071 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
45072 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
45073 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
45074 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
45075 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
45076 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
45077 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
45078 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
45079 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
45080 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
45081 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
45082 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
45083 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
45084 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
45085 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
45086 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
45087 (test-xfail-POSIX2008/signal.h/conform): Likewise.
45088 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
45089 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
45090 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
45091 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
45092 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
45093 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
45094 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
45095 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
45096 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
45097 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
45098 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
45099 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
45100 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
45101 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
45102 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
45103 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
45104 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
45105 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
45106 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
45107 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
45108 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
45109 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
45110 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
45111 (conformtest-cc-flags): Likewise.
45112 ($(conformtest-header-tests): New target.
45113 * conform/check-header-lists.sh: New file.
45114 * conform/run-conformtest.sh: Remove.
45115
45116 * conform/conformtest.pl: Allow ' and \ in values given for
45117 constants.
45118 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
45119 inclusion.
45120 [POSIX] (sys/types.h): Likewise.
45121 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
45122 inclusion.
45123 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
45124 inclusion.
45125 * conform/data/signal.h-data (SIGIO): Remove expectation.
45126 [XPG3] (SIGBUS): Do not expect.
45127 [POSIX || XPG3] (SIGPOLL): Likewise.
45128 [POSIX || XPG3] (SIGPROF): Likewise.
45129 [POSIX || XPG3] (SIGSYS): Likewise.
45130 [XPG3] (SIGTRAP): Likewise.
45131 [POSIX || XPG3] (SIGURG): Likewise.
45132 [POSIX || XPG3] (SIGVTALRM): Likewise.
45133 [POSIX || XPG3] (SIGXCPU): Likewise.
45134 [POSIX || XPG3] (SIGXFSZ): Likewise.
45135 [POSIX] (SA_SIGINFO): Expect.
45136 [XPG3] (siginfo_t): Do not expect type or contents.
45137 [POSIX] (si_pid): Do not expect element.
45138 [POSIX] (si_uid): Likewise.
45139 [POSIX] (si_addr): Likewise.
45140 [POSIX] (si_status): Likewise.
45141 [POSIX] (si_band): Likewise.
45142 [XPG4] (si_value): Likewise.
45143 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
45144 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
45145 [POSIX || XPG3] (ILL_ILLADR): Likewise.
45146 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
45147 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
45148 [POSIX || XPG3] (ILL_PRVREG): Likewise.
45149 [POSIX || XPG3] (ILL_COPROC): Likewise.
45150 [POSIX || XPG3] (ILL_BADSTK): Likewise.
45151 [POSIX || XPG3] (FPE_INTDIV): Likewise.
45152 [POSIX || XPG3] (FPE_INTOVF): Likewise.
45153 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
45154 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
45155 [POSIX || XPG3] (FPE_FLTUND): Likewise.
45156 [POSIX || XPG3] (FPE_FLTRES): Likewise.
45157 [POSIX || XPG3] (FPE_FLTINV): Likewise.
45158 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
45159 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
45160 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
45161 [POSIX || XPG3] (BUS_ADRALN): Likewise.
45162 [POSIX || XPG3] (BUS_ADRERR): Likewise.
45163 [POSIX || XPG3] (BUS_OBJERR): Likewise.
45164 [POSIX || XPG3] (CLD_EXITED): Likewise.
45165 [POSIX || XPG3] (CLD_KILLED): Likewise.
45166 [POSIX || XPG3] (CLD_DUMPED): Likewise.
45167 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
45168 [POSIX || XPG3] (CLD_STOPPED): Likewise.
45169 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
45170 [POSIX || XPG3] (POLL_IN): Likewise.
45171 [POSIX || XPG3] (POLL_OUT): Likewise.
45172 [POSIX || XPG3] (POLL_MSG): Likewise.
45173 [POSIX || XPG3] (POLL_ERR): Likewise.
45174 [POSIX || XPG3] (POLL_PRI): Likewise.
45175 [POSIX || XPG3] (POLL_HUP): Likewise.
45176 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
45177 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
45178 (SIG*): Do not allow.
45179 [XPG3] (si_*): Likewise.
45180 [XPG3] (SI_*): Likewise.
45181 [XPG3 || XPG4] (sigev_*): Likewise.
45182 [XPG3 || XPG4] (SIGEV_*): Likewise.
45183 [XPG3 || XPG4] (sival_*): Likewise.
45184 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
45185 [POSIX || XPG3] (BUS_*): Likewise.
45186 [POSIX || XPG3] (CLD_*): Likewise.
45187 [POSIX || XPG3] (FPE_*): Likewise.
45188 [POSIX || XPG3] (ILL_*): Likewise.
45189 [POSIX || XPG3] (POLL_*): Likewise.
45190 [POSIX || XPG3] (SEGV_*): Likewise.
45191 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
45192 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
45193 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
45194 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
45195 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
45196 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
45197 Specify type and value.
45198 (TVERSLEN): Likewise.
45199 (REGTYPE): Likewise.
45200 (AREGTYPE): Likewise.
45201 (LNKTYPE): Likewise.
45202 (SYMTYPE): Likewise.
45203 (CHRTYPE): Likewise.
45204 (BLKTYPE): Likewise.
45205 (DIRTYPE): Likewise.
45206 (FIFOTYPE): Likewise.
45207 (CONTTYPE): Likewise.
45208 (TSUID): Likewise.
45209 (TSGID): Likewise.
45210 (TSVTX): Likewise.
45211 (TUREAD): Likewise.
45212 (TUWRITE): Likewise.
45213 (TUEXEC): Likewise.
45214 (TGREAD): Likewise.
45215 (TGWRITE): Likewise.
45216 (TGEXEC): Likewise.
45217 (TOREAD): Likewise.
45218 (TOWRITE): Likewise.
45219 (TOEXEC): Likewise.
45220 [POSIX] (TSVTX): Expect constant.
45221
45222 2014-03-06 Joseph Myers <joseph@codesourcery.com>
45223
45224 * Makefile (tests): Change dependencies to ....
45225 (tests-special): ... additions to this variable.
45226 (tests): Depend on $(tests-special).
45227 * Makerules (check-abi-list): New variable.
45228 (check-abi): Depend on $(check-abi-list).
45229 [$(subdir) = elf] (tests-special): Add
45230 $(objpfx)check-abi-libc.out.
45231 [$(build-shared) = yes && subdir] (tests-special): Add
45232 $(check-abi-list).
45233 [$(build-shared) = yes && subdir] (tests): Do not depend on
45234 check-abi.
45235 * Rules (tests): Depend on $(tests-special).
45236 (xtests): Depend on $(xtests-special).
45237 * catgets/Makefile (tests): Change dependencies to ....
45238 (tests-special): ... additions to this variable.
45239 * conform/Makefile (tests): Change dependencies to ....
45240 (tests-special): ... additions to this variable.
45241 * elf/Makefile (tests): Change dependencies to ....
45242 (tests-special): ... additions to this variable.
45243 * grp/Makefile (tests): Change dependencies to ....
45244 (tests-special): ... additions to this variable.
45245 * iconv/Makefile (xtests): Change dependencies to ....
45246 (xtests-special): ... additions to this variable.
45247 * iconvdata/Makefile (tests): Change dependencies to ....
45248 (tests-special): ... additions to this variable.
45249 * intl/Makefile (tests): Change dependencies to ....
45250 (tests-special): ... additions to this variable. Also add
45251 $(objpfx)tst-gettext.out.
45252 * io/Makefile (tests): Change dependencies to ....
45253 (tests-special): ... additions to this variable.
45254 * libio/Makefile (tests): Change dependencies to ....
45255 (tests-special): ... additions to this variable.
45256 * malloc/Makefile (tests): Change dependencies to ....
45257 (tests-special): ... additions to this variable.
45258 * misc/Makefile (tests): Change dependencies to ....
45259 (tests-special): ... additions to this variable.
45260 * nptl/Makefile (tests): Change dependencies to ....
45261 (tests-special): ... additions to this variable.
45262 * nptl_db/Makefile (tests): Change dependencies to ....
45263 (tests-special): ... additions to this variable.
45264 * posix/Makefile (tests): Change dependencies to ....
45265 (tests-special): ... additions to this variable.
45266 (xtests): Change dependencies to ....
45267 (xtests-special): ... additions to this variable.
45268 * resolv/Makefile (tests): Change dependencies to ....
45269 (tests-special): ... additions to this variable.
45270 (xtests): Change dependencies to ....
45271 (xtests-special): ... additions to this variable.
45272 * stdio-common/Makefile (tests): Change dependencies to ....
45273 (tests-special): ... additions to this variable.
45274 (do-tst-unbputc): Remove target.
45275 (do-tst-printf): Likewise.
45276 * stdlib/Makefile (tests): Change dependencies to ....
45277 (tests-special): ... additions to this variable.
45278 * string/Makefile (tests): Change dependencies to ....
45279 (tests-special): ... additions to this variable.
45280 * sysdeps/x86/Makefile (tests): Change dependencies to ....
45281 (tests-special): ... additions to this variable.
45282
45283 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
45284 whole file.
45285 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
45286 whole file.
45287 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
45288 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
45289
45290 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
45291 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
45292 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
45293 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
45294 * conform/data/libgen.h-data [XPG3]: Likewise.
45295 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
45296 * conform/data/ndbm.h-data [XPG3]: Likewise.
45297 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45298 * conform/data/netdb.h-data [XPG3]: Likewise.
45299 * conform/data/netinet/in.h-data [XPG3]: Likewise.
45300 * conform/data/poll.h-data [XPG3]: Likewise.
45301 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45302 * conform/data/strings.h-data [XPG3]: Likewise.
45303 * conform/data/stropts.h-data [XPG3]: Likewise.
45304 * conform/data/sys/mman.h-data [XPG3]: Likewise.
45305 * conform/data/sys/resource.h-data [XPG3]: Likewise.
45306 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
45307 Likewise.
45308 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
45309 * conform/data/sys/time.h-data [XPG3]: Likewise.
45310 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
45311 * conform/data/sys/uio.h-data [XPG3]: Likewise.
45312 * conform/data/sys/un.h-data [XPG3]: Likewise.
45313 * conform/data/syslog.h-data [XPG3]: Likewise.
45314 * conform/data/ucontext.h-data [XPG3]: Likewise.
45315 * conform/data/utmpx.h-data [XPG3]: Likewise.
45316 * conform/data/varargs.h-data [UNIX98]: Enable file.
45317
45318 * manual/Makefile (INSTALL_INFO): Remove variable setting.
45319
45320 * math/libm-test.inc (struct test_f_f_data): Move expected results
45321 into structure for each rounding mode.
45322 (struct test_ff_f_data): Likewise.
45323 (struct test_ff_f_data_nexttoward): Likewise.
45324 (struct test_fi_f_data): Likewise.
45325 (struct test_fl_f_data): Likewise.
45326 (struct test_if_f_data): Likewise.
45327 (struct test_fff_f_data): Likewise.
45328 (struct test_c_f_data): Likewise.
45329 (struct test_f_f1_data): Likewise.
45330 (struct test_fF_f1_data): Likewise.
45331 (struct test_ffI_f1_data): Likewise.
45332 (struct test_c_c_data): Likewise.
45333 (struct test_cc_c_data): Likewise.
45334 (struct test_f_i_data): Likewise.
45335 (struct test_ff_i_data): Likewise.
45336 (struct test_f_l_data): Likewise.
45337 (struct test_f_L_data): Likewise.
45338 (struct test_fFF_11_data): Likewise.
45339 (RM_): New macro.
45340 (RM_FE_DOWNWARD): Likewise.
45341 (RM_FE_TONEAREST): Likewise.
45342 (RM_FE_TOWARDZERO): Likewise.
45343 (RM_FE_UPWARD): Likewise.
45344 (RUN_TEST_LOOP_f_f): Update references to expected results.
45345 (RUN_TEST_LOOP_2_f): Likewise.
45346 (RUN_TEST_LOOP_fff_f): Likewise.
45347 (RUN_TEST_LOOP_c_f): Likewise.
45348 (RUN_TEST_LOOP_f_f1): Likewise.
45349 (RUN_TEST_LOOP_fF_f1): Likewise.
45350 (RUN_TEST_LOOP_fI_f1): Likewise.
45351 (RUN_TEST_LOOP_ffI_f1): Likewise.
45352 (RUN_TEST_LOOP_c_c): Likewise.
45353 (RUN_TEST_LOOP_cc_c): Likewise.
45354 (RUN_TEST_LOOP_f_i): Likewise.
45355 (RUN_TEST_LOOP_f_i_tg): Likewise.
45356 (RUN_TEST_LOOP_ff_i_tg): Likewise.
45357 (RUN_TEST_LOOP_f_b): Likewise.
45358 (RUN_TEST_LOOP_f_b_tg): Likewise.
45359 (RUN_TEST_LOOP_f_l): Likewise.
45360 (RUN_TEST_LOOP_f_L): Likewise.
45361 (RUN_TEST_LOOP_fFF_11): Likewise.
45362 * math/gen-libm-test.pl (parse_args): Output four copies of
45363 expected results for each test.
45364
45365 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45366 (__ASSUME_UTIMES): Remove.
45367 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45368 (__ASSUME_UTIMES): Likewise.
45369
45370 * math/gen-auto-libm-tests.c: Update comment on output format.
45371 (output_for_one_input_case): Generate before-rounding and
45372 after-rounding information as conditions on output flags not
45373 floating-point format.
45374 * math/auto-libm-test-out: Regenerated.
45375 * math/gen-libm-test.pl (cond_value): New function.
45376 (or_cond_value): Use cond_value.
45377 (generate_testfile): Handle conditional exceptions.
45378
45379 2014-03-05 Joseph Myers <joseph@codesourcery.com>
45380
45381 * math/libm-test.inc (max_valid_error): New variable.
45382 (init_max_error): Take new argument specifying whether function
45383 results are exactly determined. Set max_valid_error and bound
45384 other variables for errors based on this argument.
45385 (set_max_error): Do not record results above max_valid_error.
45386 (check_float_internal): Only accept errors of up to 0.5ulps if
45387 also at most max_valid_error.
45388 (START): Take new argument EXACT and pass it to init_max_error.
45389 (acos_test): Update call to START.
45390 (acos_test_tonearest): Likewise.
45391 (acos_test_towardzero): Likewise.
45392 (acos_test_downward): Likewise.
45393 (acos_test_upward): Likewise.
45394 (acosh_test): Likewise.
45395 (asin_test): Likewise.
45396 (asin_test_tonearest): Likewise.
45397 (asin_test_towardzero): Likewise.
45398 (asin_test_downward): Likewise.
45399 (asin_test_upward): Likewise.
45400 (asinh_test): Likewise.
45401 (atan_test): Likewise.
45402 (atanh_test): Likewise.
45403 (atan2_test): Likewise.
45404 (cabs_test): Likewise.
45405 (cacos_test): Likewise.
45406 (cacosh_test): Likewise.
45407 (carg_test): Likewise.
45408 (casin_test): Likewise.
45409 (casinh_test): Likewise.
45410 (catan_test): Likewise.
45411 (catanh_test): Likewise.
45412 (cbrt_test): Likewise.
45413 (ccos_test): Likewise.
45414 (ccosh_test): Likewise.
45415 (ceil_test): Likewise.
45416 (cexp_test): Likewise.
45417 (cimag_test): Likewise.
45418 (clog_test): Likewise.
45419 (clog10_test): Likewise.
45420 (conj_test): Likewise.
45421 (copysign_test): Likewise.
45422 (cos_test): Likewise.
45423 (cos_test_tonearest): Likewise.
45424 (cos_test_towardzero): Likewise.
45425 (cos_test_downward): Likewise.
45426 (cos_test_upward): Likewise.
45427 (cosh_test): Likewise.
45428 (cosh_test_tonearest): Likewise.
45429 (cosh_test_towardzero): Likewise.
45430 (cosh_test_downward): Likewise.
45431 (cosh_test_upward): Likewise.
45432 (cpow_test): Likewise.
45433 (cproj_test): Likewise.
45434 (creal_test): Likewise.
45435 (csin_test): Likewise.
45436 (csinh_test): Likewise.
45437 (csqrt_test): Likewise.
45438 (ctan_test): Likewise.
45439 (ctan_test_tonearest): Likewise.
45440 (ctan_test_towardzero): Likewise.
45441 (ctan_test_downward): Likewise.
45442 (ctan_test_upward): Likewise.
45443 (ctanh_test): Likewise.
45444 (ctanh_test_tonearest): Likewise.
45445 (ctanh_test_towardzero): Likewise.
45446 (ctanh_test_downward): Likewise.
45447 (ctanh_test_upward): Likewise.
45448 (erf_test): Likewise.
45449 (erfc_test): Likewise.
45450 (exp_test): Likewise.
45451 (exp_test_tonearest): Likewise.
45452 (exp_test_towardzero): Likewise.
45453 (exp_test_downward): Likewise.
45454 (exp_test_upward): Likewise.
45455 (exp10_test): Likewise.
45456 (exp10_test_tonearest): Likewise.
45457 (exp10_test_towardzero): Likewise.
45458 (exp10_test_downward): Likewise.
45459 (exp10_test_upward): Likewise.
45460 (pow10_test): Likewise.
45461 (exp2_test): Likewise.
45462 (expm1_test): Likewise.
45463 (expm1_test_tonearest): Likewise.
45464 (expm1_test_towardzero): Likewise.
45465 (expm1_test_downward): Likewise.
45466 (expm1_test_upward): Likewise.
45467 (fabs_test): Likewise.
45468 (fdim_test): Likewise.
45469 (floor_test): Likewise.
45470 (fma_test): Likewise.
45471 (fma_test_towardzero): Likewise.
45472 (fma_test_downward): Likewise.
45473 (fma_test_upward): Likewise.
45474 (fmax_test): Likewise.
45475 (fmin_test): Likewise.
45476 (fmod_test): Likewise.
45477 (fpclassify_test): Likewise.
45478 (frexp_test): Likewise.
45479 (hypot_test): Likewise.
45480 (ilogb_test): Likewise.
45481 (isfinite_test): Likewise.
45482 (finite_test): Likewise.
45483 (isgreater_test): Likewise.
45484 (isgreaterequal_test): Likewise.
45485 (isinf_test): Likewise.
45486 (isless_test): Likewise.
45487 (islessequal_test): Likewise.
45488 (islessgreater_test): Likewise.
45489 (isnan_test): Likewise.
45490 (isnormal_test): Likewise.
45491 (issignaling_test): Likewise.
45492 (isunordered_test): Likewise.
45493 (j0_test): Likewise.
45494 (j1_test): Likewise.
45495 (jn_test): Likewise.
45496 (ldexp_test): Likewise.
45497 (lgamma_test): Likewise.
45498 (gamma_test): Likewise.
45499 (lrint_test): Likewise.
45500 (lrint_test_tonearest): Likewise.
45501 (lrint_test_towardzero): Likewise.
45502 (lrint_test_downward): Likewise.
45503 (lrint_test_upward): Likewise.
45504 (llrint_test): Likewise.
45505 (llrint_test_tonearest): Likewise.
45506 (llrint_test_towardzero): Likewise.
45507 (llrint_test_downward): Likewise.
45508 (llrint_test_upward): Likewise.
45509 (log_test): Likewise.
45510 (log10_test): Likewise.
45511 (log1p_test): Likewise.
45512 (log2_test): Likewise.
45513 (logb_test): Likewise.
45514 (logb_test_downward): Likewise.
45515 (lround_test): Likewise.
45516 (llround_test): Likewise.
45517 (modf_test): Likewise.
45518 (nearbyint_test): Likewise.
45519 (nextafter_test): Likewise.
45520 (nexttoward_test): Likewise.
45521 (pow_test): Likewise.
45522 (pow_test_tonearest): Likewise.
45523 (pow_test_towardzero): Likewise.
45524 (pow_test_downward): Likewise.
45525 (pow_test_upward): Likewise.
45526 (remainder_test): Likewise.
45527 (drem_test): Likewise.
45528 (remainder_test_tonearest): Likewise.
45529 (drem_test_tonearest): Likewise.
45530 (remainder_test_towardzero): Likewise.
45531 (drem_test_towardzero): Likewise.
45532 (remainder_test_downward): Likewise.
45533 (drem_test_downward): Likewise.
45534 (remainder_test_upward): Likewise.
45535 (drem_test_upward): Likewise.
45536 (remquo_test): Likewise.
45537 (rint_test): Likewise.
45538 (rint_test_tonearest): Likewise.
45539 (rint_test_towardzero): Likewise.
45540 (rint_test_downward): Likewise.
45541 (rint_test_upward): Likewise.
45542 (round_test): Likewise.
45543 (scalb_test): Likewise.
45544 (scalbn_test): Likewise.
45545 (scalbln_test): Likewise.
45546 (signbit_test): Likewise.
45547 (sin_test): Likewise.
45548 (sin_test_tonearest): Likewise.
45549 (sin_test_towardzero): Likewise.
45550 (sin_test_downward): Likewise.
45551 (sin_test_upward): Likewise.
45552 (sincos_test): Likewise.
45553 (sinh_test): Likewise.
45554 (sinh_test_tonearest): Likewise.
45555 (sinh_test_towardzero): Likewise.
45556 (sinh_test_downward): Likewise.
45557 (sinh_test_upward): Likewise.
45558 (sqrt_test): Likewise.
45559 (sqrt_test_tonearest): Likewise.
45560 (sqrt_test_towardzero): Likewise.
45561 (sqrt_test_downward): Likewise.
45562 (sqrt_test_upward): Likewise.
45563 (tan_test): Likewise.
45564 (tan_test_tonearest): Likewise.
45565 (tan_test_towardzero): Likewise.
45566 (tan_test_downward): Likewise.
45567 (tan_test_upward): Likewise.
45568 (tanh_test): Likewise.
45569 (tgamma_test): Likewise.
45570 (trunc_test): Likewise.
45571 (y0_test): Likewise.
45572 (y1_test): Likewise.
45573 (yn_test): Likewise.
45574 (significand_test): Likewise.
45575
45576 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
45577 individual tests in comment.
45578 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
45579 (prev_max_error): New variable.
45580 (prev_real_max_error): Likewise.
45581 (prev_imag_max_error): Likewise.
45582 (compare_ulp_data): Don't refer to test names in comment.
45583 (find_test_ulps): Remove function.
45584 (find_function_ulps): Likewise.
45585 (find_complex_function_ulps): Likewise.
45586 (init_max_error): Take function name as argument. Look up ulps
45587 for that function.
45588 (print_ulps): Remove function.
45589 (print_max_error): Use prev_max_error instead of calling
45590 find_function_ulps.
45591 (print_complex_max_error): Use prev_real_max_error and
45592 prev_imag_max_error instead of calling find_complex_function_ulps.
45593 (check_float_internal): Take max_ulp parameter instead of calling
45594 find_test_ulps. Don't call print_ulps.
45595 (check_float): Update call to check_float_internal.
45596 (check_complex): Update calls to check_float_internal.
45597 (START): Pass argument to init_max_error.
45598 * math/gen-libm-test.pl (%results): Don't include "kind"
45599 information.
45600 (parse_ulps): Don't handle ulps of individual tests.
45601 (print_ulps_file): Likewise.
45602 (output_ulps): Likewise.
45603 * math/README.libm-test: Update.
45604 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
45605 individual tests.
45606 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
45607 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
45608 * sysdeps/arm/libm-test-ulps: Likewise.
45609 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
45610 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
45611 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
45612 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
45613 * sysdeps/microblaze/libm-test-ulps: Likewise.
45614 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
45615 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45616 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45617 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
45618 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45619 * sysdeps/sh/libm-test-ulps: Likewise.
45620 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45621 * sysdeps/tile/libm-test-ulps: Likewise.
45622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45623
45624 2014-03-04 Joseph Myers <joseph@codesourcery.com>
45625
45626 * math/libm-test.inc (print_complex_max_error): Check separately
45627 whether real and imaginary errors are within allowed range and
45628 pass 0 to print_complex_function_ulps instead of value within
45629 allowed range.
45630
45631 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45632
45633 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
45634 formatting.
45635 (get_handles_fopen): Likewise.
45636 (do_write_test): Likewise.
45637
45638 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
45639
45640 * libio/fileops.c (do_ftell): Use cached offset when
45641 available.
45642 * libio/iofwide.c (do_ftell_wide): Likewise.
45643 * libio/iofdopen.c (_IO_new_fdopen): Don't use
45644 _IO_file_attach.
45645 * libio/wfileops.c (_IO_fwide): Don't cache offset.
45646
45647 [BZ #16532]
45648 * libio/libioP.h (get_file_offset): New function.
45649 * libio/fileops.c (get_file_offset): Likewise.
45650 (do_ftell): Likewise.
45651 (_IO_new_file_seekoff): Split out ftell logic.
45652 * libio/wfileops.c (do_ftell_wide): Likewise.
45653 (_IO_wfile_seekoff): Split out ftell logic.
45654 * libio/tst-ftell-active-handler.c: New test case.
45655 * libio/Makefile (tests): Add it.
45656
45657 2014-03-03 Roland McGrath <roland@hack.frob.com>
45658
45659 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
45660 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
45661
45662 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
45663
45664 [BZ #16639]
45665 * nscd/connections.c (nscd_init): Call do_exit.
45666 (start_threads): Call do_exit and notify_parent.
45667 (begin_drop_privileges): Call do_exit.
45668 (finish_drop_privileges): Likewise.
45669 * nscd/selinux.c (preserve_capabilities): Likewise.
45670 (install_real_capabilities): Likewise.
45671 (nscd_selinux_enabled): Likewise.
45672 (avc_create_thread): Likewise.
45673 (avc_alloc_lock): Likewise.
45674 (nscd_avc_init): Likewise.
45675 * nscd/nscd.c (parent_fd): New static variable.
45676 (main): Create a pipe between parent and child processes.
45677 Skip closing parent_fd.
45678 (monitor_child): New function.
45679 (do_exit): Likewise.
45680 (notify_parent): Likewise.
45681 * nscd/nscd.h (notify_parent): Likewise.
45682 (do_exit): Likewise.
45683
45684 2014-03-03 Carlos O'Donell <carlos@redhat.com>
45685
45686 * malloc/malloc.c (__libc_calloc): Revert last change.
45687
45688 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45689
45690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45691
45692 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45693
45694 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
45695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
45696 implementation.
45697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45698 (__libc_ifunc_impl_list): Likewise.
45699 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
45700 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
45701 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
45702 * string/strrchr.c: Define STRRCHR.
45703
45704 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
45705
45706 * benchtest/bench-strtok.c (simple_strtok): Delete.
45707 (strtok_string): Use as benchmark.
45708 * string/strtok (STRTOK): New macro.
45709
45710 2014-02-28 Carlos O'Donell <carlos@redhat.com>
45711
45712 * manual/threads.texi: Add header and standard comments to all
45713 functions.
45714
45715 * elf/dl-lookup.c (check_match): New function.
45716 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
45717 (do_lookup_x): Remove nested function check_match. Use non-nested
45718 function check_match.
45719
45720 2014-02-28 Roland McGrath <roland@hack.frob.com>
45721
45722 * csu/Makefile (generated, before-compile): Use += rather than =.
45723 * catgets/Makefile (generated, generated-dirs): Likewise.
45724 * debug/Makefile (generated): Likewise.
45725 * dlfcn/Makefile (generated): Likewise.
45726 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
45727 * iconvdata/Makefile (before-compile, generated): Likewise.
45728 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
45729 * libio/Makefile (generated): Likewise.
45730 * malloc/Makefile (generated): Likewise.
45731 * manual/Makefile (generated, generated-dirs): Likewise.
45732 * misc/Makefile (generated): Likewise.
45733 * posix/Makefile (generated): Likewise.
45734 * resolv/Makefile (generated): Likewise.
45735 * sunrpc/Makefile (generated, generated-dirs): Likewise.
45736 * timezone/Makefile (generated, generated-dirs): Likewise.
45737
45738 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
45739
45740 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45741
45742 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45743 power8 implementation.
45744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
45745 file: POWER8 llround ifunc implementation.
45746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
45747 (__lllround): Add POWER8 implementation.
45748 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
45749 POWER8 llround implementation.
45750
45751 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
45752 power8 implementation.
45753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
45754 file: POWER8 llrint ifunc implementation.
45755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
45756 Add POWER8 implementation.
45757 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
45758 POWER8 llrint implementation.
45759
45760 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
45761 power8 implementation.
45762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
45763 file: POWER8 finite ifunc implementation.
45764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
45765 Add POWER8 implementation.
45766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
45767 Likewise.
45768 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
45769 POWER8 finite implementation.
45770 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
45771
45772 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
45773 power8 implementation.
45774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
45775 file: POWER8 isinf ifunc implementation.
45776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
45777 POWER8 implementation.
45778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
45779 Likewise.
45780 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
45781 isinf implementation.
45782 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
45783
45784 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
45785 (INIT_ARCH): Add hwcap2 initialization.
45786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45787 power8 implementation.
45788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
45789 file: POWER8 isnan ifunc implementation.
45790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
45791 POWER8 implementation.
45792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
45793 Likewise.
45794 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
45795 isnan implementation.
45796 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
45797
45798 2014-02-27 Joey Ye <joey.ye@arm.com>
45799
45800 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45801 (_FP_NANFRAC_Q): Set to zero.
45802
45803 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
45804
45805 [BZ #16623]
45806 * math/auto-libm-test-in: New test inputs.
45807 * math/auto-libm-test-out: Regenerate.
45808 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
45809 and DA.
45810 (__cos): Likewise.
45811 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45812
45813 2014-02-27 Joseph Myers <joseph@codesourcery.com>
45814
45815 * scripts/evaluate-test.sh: Take new argument indicating whether
45816 failure is expected.
45817 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
45818 indicating whether failure is expected.
45819 * conform/Makefile (test-xfail-run-conformtest): New variable.
45820 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
45821 level.
45822 * posix/Makefile (test-xfail-annexc): New variable.
45823 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
45824
45825 2014-02-26 Joseph Myers <joseph@codesourcery.com>
45826
45827 * argp/Makefile: Include Makeconfig immediately after defining
45828 subdir.
45829 * assert/Makefile: Likewise.
45830 * benchtests/Makefile: Likewise.
45831 * catgets/Makefile: Likewise.
45832 * conform/Makefile: Likewise.
45833 * crypt/Makefile: Likewise.
45834 * csu/Makefile: Likewise.
45835 (all): Remove target.
45836 * ctype/Makefile: Include Makeconfig immediately after defining
45837 subdir.
45838 * debug/Makefile: Likewise.
45839 * dirent/Makefile: Likewise.
45840 * dlfcn/Makefile: Likewise.
45841 * gmon/Makefile: Likewise.
45842 * gnulib/Makefile: Likewise.
45843 * grp/Makefile: Likewise.
45844 * gshadow/Makefile: Likewise.
45845 * hesiod/Makefile: Likewise.
45846 * hurd/Makefile: Likewise.
45847 (all): Remove target.
45848 * iconvdata/Makefile: Include Makeconfig immediately after
45849 defining subdir.
45850 * inet/Makefile: Likewise.
45851 * intl/Makefile: Likewise.
45852 * io/Makefile: Likewise.
45853 * libio/Makefile: Likewise.
45854 (all): Remove target.
45855 * locale/Makefile: Include Makeconfig immediately after defining
45856 subdir.
45857 * login/Makefile: Likewise.
45858 * mach/Makefile: Likewise.
45859 (all): Remove target.
45860 * malloc/Makefile: Include Makeconfig immediately after defining
45861 subdir.
45862 (all): Remove target.
45863 * manual/Makefile: Include Makeconfig immediately after defining
45864 subdir.
45865 * math/Makefile: Likewise.
45866 * misc/Makefile: Likewise.
45867 * nis/Makefile: Likewise.
45868 * nss/Makefile: Likewise.
45869 * po/Makefile: Likewise.
45870 (all): Remove target.
45871 * posix/Makefile: Include Makeconfig immediately after defining
45872 subdir.
45873 * pwd/Makefile: Likewise.
45874 * resolv/Makefile: Likewise.
45875 * resource/Makefile: Likewise.
45876 * rt/Makefile: Likewise.
45877 * setjmp/Makefile: Likewise.
45878 * shadow/Makefile: Likewise.
45879 * signal/Makefile: Likewise.
45880 * socket/Makefile: Likewise.
45881 * soft-fp/Makefile: Likewise.
45882 * stdio-common/Makefile: Likewise.
45883 * stdlib/Makefile: Likewise.
45884 * streams/Makefile: Likewise.
45885 * string/Makefile: Likewise.
45886 * sunrpc/Makefile: Likewise.
45887 (all): Remove target.
45888 * sysvipc/Makefile: Include Makeconfig immediately after defining
45889 subdir.
45890 * termios/Makefile: Likewise.
45891 * time/Makefile: Likewise.
45892 * timezone/Makefile: Likewise.
45893 (all): Remove target.
45894 * wcsmbs/Makefile: Include Makeconfig immediately after defining
45895 subdir.
45896 * wctype/Makefile: Likewise.
45897
45898 2014-02-26 Steve Ellcey <sellcey@mips.com>
45899
45900 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45901 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45902 (libc_feholdexcept_setround_mips): Ditto.
45903 (libc_feholdsetround): New.
45904 (libc_feholdsetroundf): New.
45905 (libc_feholdsetroundl): New.
45906 (libc_feupdateenv_test_mips): New.
45907 (libc_feupdateenv_test): New.
45908 (libc_feupdateenv_testf): New.
45909 (libc_feupdateenv_testl): New.
45910 (libc_feresetround): New.
45911 (libc_feresetroundf): New.
45912 (libc_feresetroundl): New.
45913 (libc_fetestexcept_mips): New.
45914 (libc_fetestexcept): New.
45915 (libc_fetestexceptf): New.
45916 (libc_fetestexceptl): New.
45917 (HAVE_RM_CTX): New.
45918 (libc_feholdexcept_setround_mips_ctx): New.
45919 (libc_feholdexcept_setround_ctx): New.
45920 (libc_feholdexcept_setroundf_ctx): New.
45921 (libc_feholdexcept_setroundl_ctx): New.
45922 (libc_fesetenv_mips_ctx): New.
45923 (libc_fesetenv_ctx): New.
45924 (libc_fesetenv_ctxf): New.
45925 (libc_fesetenv_ctxl): New.
45926 (libc_feupdateenv_mips_ctx): New.
45927 (libc_feupdateenv_ctx): New.
45928 (libc_feupdateenvf_ctx): New.
45929 (libc_feupdateenvl_ctx): New.
45930 (libc_feholdsetround_mips_ctx): New.
45931 (libc_feholdsetround_ctx): New.
45932 (libc_feholdsetroundf_ctx): New.
45933 (libc_feholdsetroundl_ctx): New.
45934 (libc_feresetround_mips_ctx): New.
45935 (libc_feresetround_ctx): New.
45936 (libc_feresetroundf_ctx): New.
45937 (libc_feresetroundl_ctx): New.
45938
45939 2014-02-26 Carlos O'Donell <carlos@redhat.com>
45940
45941 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45942
45943 * manual/ipc.texi: New file.
45944 * manual/Makefile (chapters): Add ipc.
45945 * manual/job.texi: Add "Inter-Process Communication" to next.
45946 * manual/process.texi: Add "Inter-Process Communication" to prev.
45947
45948 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45949
45950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45951
45952 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
45953
45954 * malloc/malloc.c (__libc_calloc): Simplify implementation.
45955
45956 * manual/arith.texi: Fix spaces after sentences.
45957 * manual/charset.texi: Likewise.
45958 * manual/errno.texi: Likewise.
45959 * manual/install.texi: Likewise.
45960 * manual/llio.texi: Likewise.
45961 * manual/locale.texi: Likewise.
45962 * manual/maint.texi: Likewise.
45963 * manual/math.texi: Likewise.
45964 * manual/memory.texi: Likewise.
45965 * manual/message.texi: Likewise.
45966 * manual/probes.texi: Likewise.
45967 * manual/resource.texi: Likewise.
45968 * manual/signal.texi: Likewise.
45969 * manual/socket.texi: Likewise.
45970 * manual/stdio.texi: Likewise.
45971 * manual/string.texi: Likewise.
45972 * manual/time.texi: Likewise.
45973 * manual/users.texi: Likewise.
45974
45975 2014-02-25 Carlos O'Donell <carlos@redhat.com>
45976
45977 [BZ #16632]
45978 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45979 _DEFAULT_SOURCE is defined.
45980
45981 2014-02-25 Ulrich Drepper <drepper@gmail.com>
45982 Carlos O'Donell <carlos@redhat.com>
45983
45984 [BZ #16613]
45985 * elf/dl-tls.c (_dl_count_modids): New function.
45986 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45987 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45988 audit library and increment generation counter.
45989 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45990 * elf/tst-audit9.c: New file.
45991 * elf/tst-auditmod9a.c: New file.
45992 * elf/tst-auditmod9b.c: New file.
45993 * elf/Makefile: Add rules to build and run tst-audit9.
45994
45995 2014-02-25 Florian Weimer <fweimer@redhat.com>
45996
45997 [BZ #15347]
45998 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45999
46000 2014-02-25 Will Newton <will.newton@linaro.org>
46001
46002 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
46003 (__longjmp): Restore sp and lr before restoring callee
46004 saved registers. Add longjmp and longjmp_target
46005 SystemTap probe point.
46006 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
46007 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
46008 Define to zero to match jmpbuf layout.
46009 * sysdeps/arm/setjmp.S: Include stap-probe.h.
46010 (__sigsetjmp): Save sp and lr before saving callee
46011 saved registers. Add setjmp SystemTap probe point.
46012
46013 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
46014
46015 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46016
46017 2014-02-24 Andreas Schwab <schwab@suse.de>
46018
46019 [BZ #15804]
46020 * elf/pldd.c (wait_for_ptrace_stop): New function.
46021 (main): Call it after attaching.
46022
46023 2014-02-22 Roland McGrath <roland@hack.frob.com>
46024
46025 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
46026 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
46027 Versions files is now verboten.
46028 * hurd/Versions (libc: GLIBC_2.0):
46029 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
46030 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
46031 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
46032 * mach/Versions: Likewise.
46033
46034 * csu/Versions: Remove unused %include.
46035 * resolv/Versions: Likewise.
46036
46037 2014-02-21 Joseph Myers <joseph@codesourcery.com>
46038
46039 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
46040 ($(objpfx)check-local-headers.out): Likewise.
46041 ($(objpfx)begin-end-check.out): Likewise.
46042 * Makerules (check-abi-%.out): Likewise.
46043 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
46044 ($(objpfx)test2.cat): Likewise.
46045 ($(objpfx)de/libc.cat): Likewise.
46046 ($(objpfx)test-gencat.out): Likewise.
46047 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
46048 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
46049 ($(objpfx)noload-mem): Likewise.
46050 ($(objpfx)tst-pathopt.out): Likewise.
46051 ($(objpfx)tst-rtld-load-self.out): Likewise.
46052 ($(objpfx)tst-array1-cmp.out): Likewise.
46053 ($(objpfx)tst-array1-static-cmp.out): Likewise.
46054 ($(objpfx)tst-array2-cmp.out): Likewise.
46055 ($(objpfx)tst-array3-cmp.out): Likewise.
46056 ($(objpfx)tst-array4-cmp.out): Likewise.
46057 ($(objpfx)tst-array5-cmp.out): Likewise.
46058 ($(objpfx)tst-array5-static-cmp.out): Likewise.
46059 ($(objpfx)check-textrel.out): Likewise.
46060 ($(objpfx)check-execstack.out): Likewise.
46061 ($(objpfx)check-localplt.out): Likewise.
46062 ($(objpfx)order2-cmp.out): Likewise.
46063 ($(objpfx)tst-leaks1-mem): Likewise.
46064 ($(objpfx)tst-leaks1-static-mem): Likewise.
46065 ($(objpfx)tst-initorder-cmp.out): Likewise.
46066 ($(objpfx)tst-initorder2-cmp.out): Likewise.
46067 ($(objpfx)tst-unused-dep.out): Likewise.
46068 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
46069 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
46070 * iconv/Makefile (test-iconvconfig): Likewise.
46071 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
46072 ($(objpfx)iconv-test.out): Likewise.
46073 ($(objpfx)tst-tables.out): Likewise.
46074 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
46075 ($(objpfx)tst-gettext.out): Likewise.
46076 ($(objpfx)tst-translit.out): Likewise.
46077 ($(objpfx)tst-gettext2.out): Likewise.
46078 ($(objpfx)tst-gettext4.out): Likewise.
46079 ($(objpfx)tst-gettext6.out): Likewise.
46080 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
46081 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
46082 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
46083 ($(objpfx)tst-fopenloc-mem.out): Likewise.
46084 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
46085 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
46086 * posix/Makefile ($(objpfx)globtest.out): Likewise.
46087 ($(objpfx)wordexp-tst.out): Likewise.
46088 ($(objpfx)annexc.out): Likewise.
46089 ($(objpfx)tst-fnmatch-mem): Likewise.
46090 ($(objpfx)bug-regex2-mem): Likewise.
46091 ($(objpfx)bug-regex14-mem): Likewise.
46092 ($(objpfx)bug-regex21-mem): Likewise.
46093 ($(objpfx)bug-regex31-mem): Likewise.
46094 ($(objpfx)tst-vfork3-mem): Likewise.
46095 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46096 ($(objpfx)tst-pcre-mem): Likewise.
46097 ($(objpfx)tst-boost-mem): Likewise.
46098 ($(objpfx)tst-getconf.out): Likewise.
46099 ($(objpfx)bug-ga2-mem): Likewise.
46100 ($(objpfx)bug-glob2-mem): Likewise.
46101 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
46102 ($(objpfx)mtrace-tst-leaks2): Likewise.
46103 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
46104 ($(objpfx)tst-printf.out): Likewise.
46105 ($(objpfx)tst-setvbuf1.out): Likewise.
46106 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
46107 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
46108 ($(objpfx)tst-fmtmsg.out): Likewise.
46109 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
46110 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
46111
46112 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
46113 * bits/sigaction.h [__USE_MISC]: Likewise.
46114 * bits/waitstatus.h: Update #endif comments.
46115 * ctype/ctype.h: Likewise.
46116 * dirent/dirent.h: Likewise.
46117 [__USE_MISC]: Remove redundant conditionals.
46118 * grp/grp.h: Update #endif comments.
46119 [__USE_GNU]: Remove redundant conditionals.
46120 [__USE_MISC]: Likewise.
46121 * inet/netinet/in.h [__USE_GNU]: Likewise.
46122 * io/sys/stat.h [__USE_MISC]: Likewise.
46123 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
46124 * libio/bits/stdio.h: Update #endif comments.
46125 [__USE_MISC]: Remove redundant conditionals.
46126 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
46127 * libio/stdio.h: Update #endif comments.
46128 [__USE_MISC]: Remove redundant conditionals.
46129 * math/bits/math-finite.h [__USE_MISC]: Likewise.
46130 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
46131 * math/math.h: Update #else and #endif comments.
46132 [__USE_MISC]: Remove redundant conditionals.
46133 * misc/sys/uio.h: Update #endif comments.
46134 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
46135 * posix/glob.h [__USE_MISC]: Likewise.
46136 * posix/sys/types.h: Update #endif comments.
46137 [__USE_MISC]: Remove redundant conditionals.
46138 * posix/sys/wait.h: Update #endif comments.
46139 [__USE_MISC]: Remove redundant conditionals.
46140 * posix/unistd.h: Update #endif comments.
46141 [__USE_MISC]: Remove redundant conditionals.
46142 * pwd/pwd.h [__USE_GNU]: Likewise.
46143 [__USE_MISC]: Likewise.
46144 * resolv/netdb.h [__USE_GNU]: Likewise.
46145 * signal/signal.h: Update #endif comments.
46146 [__USE_MISC]: Remove redundant conditionals.
46147 * stdlib/stdlib.h: Update #else and #endif comments.
46148 [__USE_MISC]: Remove redundant conditionals.
46149 [__USE_GNU]: Likewise.
46150 * string/bits/string2.h [__USE_MISC]: Likewise.
46151 * string/string.h: Update #endif comments.
46152 [__USE_MISC]: Remove redundant conditionals.
46153 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
46154 Likewise.
46155 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
46156 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
46157 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
46158 Likewise.
46159 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
46160 Likewise.
46161 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
46162 comments.
46163 [__USE_MISC]: Remove redundant conditionals.
46164 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
46165 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
46166 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
46167 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
46168 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
46169 Likewise.
46170 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
46171 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
46172 Likewise.
46173 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
46174 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
46175 Likewise.
46176 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
46177 Likewise.
46178 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
46179 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
46180 Likewise.
46181 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
46182 Likewise.
46183 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
46184 * sysdeps/x86/bits/string.h: Update #endif comments.
46185 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
46186 conditionals.
46187 * time/sys/time.h: Update #endif comments.
46188 * time/time.h: Likewise.
46189 [__USE_MISC]: Remove redundant conditionals.
46190
46191 2014-02-21 Yury Gribov <y.gribov@samsung.com>
46192
46193 [BZ #16600]
46194 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
46195
46196 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
46197
46198 * Versions.def (librt): Add GLIBC_2.17.
46199
46200 2014-02-21 Adam Conrad <adconrad@0c3.net>
46201
46202 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
46203 synonym for _SYS_AUXV_H to allow direct inclusion.
46204 * sysdeps/sparc/bits/hwcap.h: Likewise.
46205 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
46206 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
46207 * sysdeps/sparc/sysdep.h: Likewise.
46208
46209 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46210
46211 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
46212
46213 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
46214
46215 * benchtests/bench-strrchr.c: Print length instead of position.
46216
46217 2014-02-20 Joseph Myers <joseph@codesourcery.com>
46218
46219 [BZ #16611]
46220 * sysdeps/unix/sysv/linux/kernel-features.h
46221 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
46222 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
46223 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
46224 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
46225 Likewise.
46226 [__i386__ || __powerpc__ || __sh__ || __sparc__]
46227 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46228 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
46229 (__ASSUME_SENDMMSG): Define instead of using previous
46230 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
46231 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46232 (__ASSUME_SENDMMSG_SYSCALL): Define.
46233 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46234 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
46235 Likewise.
46236 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46237 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46238 Likewise.
46239 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46240 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46241 Likewise.
46242 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
46243 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46244 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46245 [__ASSUME_SENDMMSG]: Change conditionals to
46246 [__ASSUME_SENDMMSG_SOCKETCALL].
46247 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46248 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
46249 Define.
46250 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46251 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
46252 Likewise.
46253 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
46254 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46255 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46256 [!__ASSUME_SENDMMSG]: Change conditional to
46257 [!__ASSUME_SENDMMSG_SOCKETCALL].
46258 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46259 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46260 Define.
46261
46262 [BZ #16610]
46263 * sysdeps/unix/sysv/linux/kernel-features.h
46264 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
46265 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
46266 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
46267 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
46268 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46269 [__i386__ || __sparc__]
46270 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46271 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
46272 (__ASSUME_RECVMMSG): Define instead of using previous
46273 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
46274 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46275 (__ASSUME_RECVMMSG_SYSCALL): Define.
46276 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46277 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46278 Likewise.
46279 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46280 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46281 Likewise.
46282 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46283 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46284 Likewise.
46285 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
46286 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46287 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46288 [__ASSUME_RECVMMSG]: Change condition to
46289 [__ASSUME_RECVMMSG_SOCKETCALL].
46290 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46291 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46292 Define.
46293 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46294 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46295 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46296 Likewise.
46297 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
46298 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46299 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46300 [!__ASSUME_RECVMMSG]: Change condition to
46301 [!__ASSUME_RECVMMSG_SOCKETCALL].
46302 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46303 (__ASSUME_RECVMMSG_SYSCALL): Define.
46304
46305 [BZ #16609]
46306 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
46307 __powerpc__ || __s390__ || __sh__ || __sparc__]
46308 (__ASSUME_SOCKETCALL): Define.
46309 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
46310 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
46311 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
46312 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
46313 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46314 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46315 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
46316 (__ASSUME_ACCEPT4): Define instead of using previous
46317 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
46318 __powerpc__ || __sparc__ || __s390__)] condition.
46319 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46320 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46321 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
46322 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46323 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46324 [!__ASSUME_ACCEPT4]: Change condition to
46325 [!__ASSUME_ACCEPT4_SOCKETCALL].
46326 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46327 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
46328 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
46329 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46330 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
46331 __ASSUME_ACCEPT4_SYSCALL.
46332 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
46333 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
46334 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46335 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
46336 __ASSUME_ACCEPT4_SYSCALL.
46337 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
46338 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46339 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46340 [__ASSUME_ACCEPT4]: Change condition to
46341 [__ASSUME_ACCEPT4_SOCKETCALL].
46342 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46343 (__ASSUME_SOCKETCALL): Define.
46344 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
46345 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46346 (__ASSUME_SOCKETCALL): Define.
46347 (__ASSUME_ACCEPT4): Remove.
46348 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
46349 Define.
46350 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46351 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
46352 Likewise.
46353 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46354 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46355
46356 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
46357 macro.
46358 (HWCAP_ARM_LPAE): Likewise.
46359 (HWCAP_ARM_EVTSTRM): Likewise.
46360 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
46361 Add vpfd32, lpae and evtstrm.
46362 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
46363 Increase to 22.
46364
46365 2014-02-19 Joseph Myers <joseph@codesourcery.com>
46366
46367 * math/auto-libm-test-in: Add tests of clog10.
46368 * math/auto-libm-test-out: Regenerated.
46369 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
46370 * sysdeps/i386/fpu/libm-test-ulps: Update.
46371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46372
46373 2014-02-18 Andreas Schwab <schwab@suse.de>
46374
46375 [BZ #16574]
46376 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
46377 Store non-zero if the second buffer was newly allocated.
46378 (send_dg): Likewise.
46379 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
46380 to send_vc and send_dg.
46381 (res_nsend): Pass NULL for ansp2_malloced.
46382 * resolv/res_query.c (__libc_res_nquery): Add parameter
46383 answerp2_malloced and pass it down to __libc_res_nsend.
46384 (res_nquery): Pass additional NULL to __libc_res_nquery.
46385 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
46386 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
46387 second answer buffer if answerp2_malloced was set.
46388 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
46389 (__libc_res_nquerydomain): Add parameter
46390 answerp2_malloced and pass it down to __libc_res_nquery.
46391 (res_nquerydomain): Pass additional NULL to
46392 __libc_res_nquerydomain.
46393 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
46394 additional NULL to __libc_res_nsend and __libc_res_nquery.
46395 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
46396 additional NULL to __libc_res_nsearch.
46397 (_nss_dns_gethostbyname4_r): Revert last change. Use new
46398 parameter of __libc_res_nsearch to check for separately allocated
46399 second buffer.
46400 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
46401 __libc_res_nquery.
46402 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
46403 additional NULL to __libc_res_nquery.
46404 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
46405 __libc_res_nsearch.
46406 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
46407 * include/resolv.h: Update prototypes of __libc_res_nquery,
46408 __libc_res_nsearch, __libc_res_nsend.
46409
46410 2014-02-18 Joseph Myers <joseph@codesourcery.com>
46411
46412 * math/auto-libm-test-in: Add tests of fma.
46413 * math/auto-libm-test-out: Regenerated.
46414 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
46415 (fma_towardzero_test_data): Likewise.
46416 (fma_downward_test_data): Likewise.
46417 (fma_upward_test_data): Likewise.
46418 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
46419 mpc_mode.
46420 (rounding_modes): Add values for new field.
46421 (func_calc_method): Add value mpfr_fff_f.
46422 (func_calc_desc): Add mpfr_fff_f union field.
46423 (test_function): Add field exact_args.
46424 (FUNC): Add macro argument EXACT_ARGS.
46425 (FUNC_mpfr_f_f): Update call to FUNC.
46426 (FUNC_mpfr_f_f): Likewise.
46427 (FUNC_mpfr_ff_f): Likewise.
46428 (FUNC_mpfr_if_f): Likewise.
46429 (FUNC_mpc_c_f): Likewise.
46430 (FUNC_mpc_c_c): Likewise.
46431 (test_functions): Add fma. Update calls to FUNC.
46432 (handle_input_arg): Add argument exact_args.
46433 (add_test): Update call to handle_input_arg.
46434 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
46435 (output_for_one_input_case): Update call to calc_generic_results.
46436 Recalculate exact zero results in each rounding mode.
46437
46438 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
46439 non-negative before setting low bit.
46440 * math/auto-libm-test-in: Mark one asin test possibly having
46441 spurious underflow.
46442 * math/auto-libm-test-out: Regenerated.
46443 * sysdeps/i386/fpu/libm-test-ulps: Update.
46444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46445
46446 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
46447
46448 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
46449 * sysdeps/unix/sysv/linux/microblaze: Move directory from
46450 ports/sysdeps/unix/sysv/linux/microblaze.
46451 * README: Add missing listing for microblaze*-*-linux-gnu.
46452
46453 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
46454
46455 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
46456 duplicate code
46457
46458 2014-02-16 Mike Frysinger <vapier@gentoo.org>
46459
46460 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
46461 * sysdeps/unix/sysv/linux/ia64: Move directory from
46462 ports/sysdeps/unix/sysv/linux/ia64.
46463 * README: Update listing for ia64-*-linux-gnu.
46464
46465 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
46466 Joseph Myers <joseph@codesourcery.com>
46467
46468 * Makeconfig (test-name): New variable.
46469 (evaluate-test): Likewise.
46470 * Makerules (do-test-clean): Remove .test-result files.
46471 (common-mostlyclean): Likewise.
46472 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
46473 * scripts/evaluate-test.sh: New file.
46474
46475 2014-02-14 Joseph Myers <joseph@codesourcery.com>
46476
46477 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
46478 separate $(objpfx)tst-fopenloc-cmp.out and
46479 $(objpfx)tst-fopenloc-mem.out targets.
46480 (tests): Update dependencies.
46481 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
46482 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
46483 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
46484 (tst-rxspencer-no-utf8-ARGS): New variable.
46485 (tst-rxspencer-no-utf8-ENV): Likewise.
46486 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
46487 instead of $(objpfx)tst-rxspencer-mem.
46488 ($(objpfx)tst-rxspencer-mem): Change target to
46489 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
46490 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
46491 * posix/tst-rxspencer-no-utf8.c: New file.
46492
46493 * elf/Makefile ($(objpfx)order.out): Remove rule.
46494 [$(run-built-tests) = yes] (tests): Depend on
46495 $(objpfx)order-cmp.out.
46496 ($(objpfx)order-cmp.out): New rule.
46497 [$(run-built-tests) = yes] (tests): Depend on
46498 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
46499 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
46500 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
46501 $(objpfx)tst-array5-static-cmp.out.
46502 ($(objpfx)tst-array1.out): Remove rule.
46503 ($(objpfx)tst-array1-cmp.out): New rule.
46504 ($(objpfx)tst-array1-static.out): Remove rule.
46505 ($(objpfx)tst-array1-static-cmp.out): New rule.
46506 ($(objpfx)tst-array2.out): Remove rule.
46507 ($(objpfx)tst-array2-cmp.out): New rule.
46508 ($(objpfx)tst-array3.out): Remove rule.
46509 ($(objpfx)tst-array3-cmp.out): New rule.
46510 ($(objpfx)tst-array4.out): Remove rule.
46511 ($(objpfx)tst-array4-cmp.out): New rule.
46512 ($(objpfx)tst-array5.out): Remove rule.
46513 ($(objpfx)tst-array5-cmp.out): New rule.
46514 ($(objpfx)tst-array5-static.out): Remove rule.
46515 ($(objpfx)tst-array5-static-cmp.out): New rule.
46516 [$(run-built-tests) = yes] (tests): Depend on
46517 $(objpfx)order2-cmp.out.
46518 ($(objpfx)order2.out): Remove rule.
46519 ($(objpfx)order2-cmp.out): New rule.
46520 ($(objpfx)tst-initorder.out): Remove rule.
46521 [$(run-built-tests) = yes] (tests): Depend on
46522 $(objpfx)tst-initorder-cmp.out.
46523 ($(objpfx)tst-initorder-cmp.out): New rule.
46524 ($(objpfx)tst-initorder2.out): Remove rule.
46525 [$(run-built-tests) = yes] (tests): Depend on
46526 $(objpfx)tst-initorder2-cmp.out.
46527 ($(objpfx)tst-initorder2-cmp.out): New rule.
46528 [$(run-built-tests) = yes] (tests): Depend on
46529 $(objpfx)tst-unused-dep-cmp.out.
46530 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
46531 ($(objpfx)tst-unused-dep-cmp.out): New rule.
46532 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
46533 on $(objpfx)tst-setvbuf1-cmp.out.
46534 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
46535 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
46536 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
46537 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
46538 ($(objpfx)tst-svc.out): Remove rule.
46539 ($(objpfx)tst-svc-cmp.out): New rule.
46540
46541 2014-02-13 Joseph Myers <joseph@codesourcery.com>
46542
46543 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
46544 * ctype/ctype.h [__USE_MISC]: Likewise.
46545 * dirent/dirent.h [__USE_MISC]: Likewise.
46546 * grp/grp.h [__USE_MISC]: Likewise.
46547 * io/fcntl.h [__USE_MISC]: Likewise.
46548 * io/sys/stat.h [__USE_MISC]: Likewise.
46549 * libio/stdio.h [__USE_MISC]: Likewise.
46550 * posix/unistd.h [__USE_MISC]: Likewise.
46551 * pwd/pwd.h [__USE_MISC]: Likewise.
46552 * stdlib.h [__USE_MISC]: Likewise.
46553 * string/bits/string2.h [__USE_MISC]: Likewise.
46554 * string/string.h [__USE_MISC]: Likewise.
46555 * time/time.h [__USE_MISC]: Likewise.
46556
46557 2014-02-13 Andreas Schwab <schwab@suse.de>
46558
46559 [BZ #16574]
46560 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
46561 second answer buffer if it was separately allocated.
46562
46563 2014-02-12 Joseph Myers <joseph@codesourcery.com>
46564
46565 * sysdeps/mips/math-tests.h: Include <features.h>.
46566 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46567 (ROUNDING_TESTS_long_double): Do not define.
46568 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46569 (EXCEPTION_TESTS_long_double): Likewise.
46570 * sysdeps/mips/mips64/libm-test-ulps: Update.
46571
46572 * include/features.h (__USE_BSD): Remove macro definitions.
46573 (__USE_SVID): Likewise.
46574 (_BSD_SOURCE): Likewise.
46575 (_SVID_SOURCE): Likewise.
46576 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
46577 from definition of _DEFAULT_SOURCE.
46578 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
46579 [_DEFAULT_SOURCE].
46580 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
46581 * bits/mman.h [__USE_BSD]: Likewise.
46582 * bits/termios.h [__USE_BSD]: Likewise.
46583 * bits/waitstatus.h [__USE_BSD]: Likewise.
46584 * ctype/ctype.h [__USE_SVID]: Likewise.
46585 * dirent/dirent.h [__USE_BSD]: Likewise.
46586 * grp/grp.h [__USE_SVID]: Likewise.
46587 [__USE_BSD]: Likewise.
46588 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
46589 * io/fcntl.h [__USE_BSD]: Likewise.
46590 * io/ftw.h [__USE_BSD]: Likewise.
46591 * io/sys/stat.h [__USE_BSD]: Likewise.
46592 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
46593 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
46594 * libio/stdio.h [__USE_SVID]: Likewise.
46595 [__USE_BSD]: Likewise.
46596 * math/math.h [__USE_SVID]: Likewise.
46597 [__USE_BSD]: Likewise.
46598 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
46599 * misc/bits/syslog.h [__USE_BSD]: Likewise.
46600 * misc/search.h [__USE_SVID]: Likewise.
46601 * misc/sys/mman.h [__USE_BSD]: Likewise.
46602 * misc/sys/syslog.h [__USE_BSD]: Likewise.
46603 * misc/sys/uio.h [__USE_BSD]: Likewise.
46604 * posix/bits/unistd.h [__USE_BSD]: Likewise.
46605 * posix/glob.h [__USE_BSD]: Likewise.
46606 * posix/regex.h [__USE_BSD]: Likewise.
46607 * posix/sys/types.h [__USE_BSD]: Likewise.
46608 [__USE_SVID]: Likewise.
46609 * posix/sys/utsname.h [__USE_SVID]: Likewise.
46610 * posix/sys/wait.h [__USE_BSD]: Likewise.
46611 [__USE_SVID]: Likewise.
46612 * posix/unistd.h [__USE_BSD]: Likewise.
46613 [__USE_SVID]: Likewise.
46614 * pwd/pwd.h [__USE_SVID]: Likewise.
46615 * resolv/netdb.h [__USE_BSD]: Likewise.
46616 * setjmp/setjmp.h [__USE_BSD]: Likewise.
46617 * signal/signal.h [__USE_BSD]: Likewise.
46618 [__USE_SVID]: Likewise.
46619 * socket/sys/socket.h [__USE_BSD]: Likewise.
46620 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
46621 * stdlib/stdlib.h [__USE_BSD]: Likewise.
46622 [__USE_SVID]: Likewise.
46623 * string/bits/string2.h [__USE_BSD]: Likewise.
46624 [__USE_SVID]: Likewise.
46625 * string/bits/string3.h [__USE_BSD]: Likewise.
46626 * string/endian.h [__USE_BSD]: Likewise.
46627 * string/string.h [__USE_SVID]: Likewise.
46628 [__USE_BSD]: Likewise.
46629 * string/strings.h [__USE_BSD]: Likewise.
46630 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
46631 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
46632 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
46633 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
46634 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
46635 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
46636 Likewise.
46637 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
46638 Likewise.
46639 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
46640 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
46641 Likewise.
46642 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
46643 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
46644 Likewise.
46645 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
46646 Likewise.
46647 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
46648 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
46649 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
46650 Likewise.
46651 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
46652 Likewise.
46653 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
46654 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
46655 * termios/termios.h [__USE_BSD]: Likewise.
46656 * time/sys/time.h [__USE_BSD]: Likewise.
46657 * time/time.h [__USE_BSD]: Likewise.
46658 [__USE_SVID]: Likewise.
46659
46660 * Makefile (subdir_targets): Remove subdir_lint.out.
46661
46662 * stdio-common/Makefile (do-tst-unbputc): Remove target.
46663 (do-tst-printf): Likewise.
46664 (tests): Depend directly on $(objpfx)tst-unbputc.out and
46665 $(objpfx)tst-printf.out.
46666
46667 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
46668
46669 * Makerules (check-abi-%): Change target to
46670 $(objpfx)check-abi-%.out.
46671 (check-abi target): Update dependencies.
46672 (check-abi-pattern variable): Redirect output of diff to $@.
46673 (check-abi variable): Likewise.
46674 * elf/Makefile (check-abi): Update dependencies.
46675
46676 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
46677 unused.
46678 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
46679 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
46680 subnormal range.
46681 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
46682 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
46683 value has largest subnormal exponent.
46684 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
46685 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
46686 * sysdeps/aarch64/soft-fp/sfp-machine.h
46687 (_FP_TININESS_AFTER_ROUNDING): New macro.
46688 * sysdeps/alpha/soft-fp/sfp-machine.h
46689 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46690 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46691 Likewise.
46692 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
46693 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46694 * sysdeps/mips/soft-fp/sfp-machine.h
46695 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46696 * sysdeps/powerpc/soft-fp/sfp-machine.h
46697 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46698 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46699 Likewise.
46700 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46701 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46702 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46703 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46704 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46705 Likewise.
46706
46707 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
46708
46709 [BZ #16545]
46710 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
46711 model 1.
46712
46713 2014-02-12 Richard Henderson <rth@redhat.com>
46714
46715 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
46716 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
46717 * sysdeps/unix/sysv/linux/alpha: Move directory from
46718 ports/sysdeps/unix/sysv/linux/alpha.
46719 * README: Update listing for alpha-*-linux-gnu.
46720
46721 2014-02-11 Joseph Myers <joseph@codesourcery.com>
46722
46723 * include/features.h: Update comment documenting feature test
46724 macros.
46725 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
46726 _DEFAULT_SOURCE.
46727 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
46728 (_SVID_SOURCE): Likewise.
46729 (_DEFAULT_SOURCE): Update description of default features.
46730 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
46731 with _GNU_SOURCE.
46732 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
46733 (S_ISVTX): Likewise.
46734 * manual/math.texi (Mathematical Constants): Likewise.
46735 * manual/signal.texi (Interrupted Primitives): Likewise.
46736 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
46737 * math/test-matherr.c (_SVID_SOURCE): Do not define.
46738 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
46739 Don't refer to _SVID_SOURCE in warning text.
46740
46741 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46742
46743 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
46744 already defined.
46745 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
46746 * sysdeps/mips/dl-lookup.c: Remove.
46747 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
46748
46749 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
46750
46751 [BZ #16447]
46752 * math/auto-libm-test-in: Add testcase for expl.
46753 * math/auto-libm-test-out: Regenerate.
46754 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
46755 calculation of unsafe.
46756 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
46757
46758 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
46759
46760 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
46761 * sysdeps/unix/sysv/linux/aarch64: Move directory from
46762 ports/sysdeps/unix/sysv/linux/aarch64.
46763 * README: Update listing for aarch64*-*-linux-gnu.
46764
46765 2014-02-11 Will Newton <will.newton@linaro.org>
46766
46767 * manual/probes.texi (Mathematical Function Probes): Use
46768 "triggered" instead of "hit".
46769
46770 * manual/probes.texi (Internal Probes): Add documentation
46771 of setjmp, longjmp and longjmp_target probes.
46772
46773 * include/stap-probe.h: Add comment about probe argument
46774 format.
46775
46776 * malloc/mtrace.c (attribute_hidden): Remove unused macro
46777 definition. (tr_where, tr_freehook, tr_mallochook,
46778 tr_reallochook, tr_memalignhook): Use ANSI protoype.
46779
46780 2014-02-11 David S. Miller <davem@davemloft.net>
46781
46782 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
46783 processing int_tests.
46784
46785 2014-02-10 Joseph Myers <joseph@codesourcery.com>
46786
46787 * sysdeps/mips: Move directory from ports/sysdeps/mips.
46788 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
46789 * sysdeps/unix/sysv/linux/mips: Move directory from
46790 ports/sysdeps/unix/sysv/linux/mips.
46791 * README: Update listing for mips-*-linux-gnu and
46792 mips64-*-linux-gnu.
46793
46794 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
46795
46796 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
46797 * sysdeps/unix/sysv/linux/m68k: Move directory from
46798 ports/sysdeps/unix/sysv/linux/m68k.
46799 * README: Update listing for m68k-*-linux-gnu.
46800
46801 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
46802
46803 * sysdeps/tile: Move directory from ports/sysdeps/tile.
46804 * sysdeps/unix/sysv/linux/generic: Move directory from
46805 ports/sysdeps/unix/sysv/linux/generic.
46806 * sysdeps/unix/sysv/linux/tile: Move directory from
46807 ports/sysdeps/unix/sysv/linux/tile.
46808 * README: Update listing for tile*-*-linux-gnu.
46809
46810 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
46811
46812 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
46813 __builtin_expect.
46814 * benchtests/bench-memmem.c (simple_memmem): Likewise.
46815 * catgets/open_catalog.c (__open_catalog): Likewise.
46816 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
46817 * debug/confstr_chk.c: Likewise.
46818 * debug/fread_chk.c (__fread_chk): Likewise.
46819 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
46820 * debug/getgroups_chk.c: Likewise.
46821 * debug/mbsnrtowcs_chk.c: Likewise.
46822 * debug/mbsrtowcs_chk.c: Likewise.
46823 * debug/mbstowcs_chk.c: Likewise.
46824 * debug/memcpy_chk.c: Likewise.
46825 * debug/memmove_chk.c: Likewise.
46826 * debug/mempcpy_chk.c: Likewise.
46827 * debug/memset_chk.c: Likewise.
46828 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46829 * debug/strcat_chk.c (__strcat_chk): Likewise.
46830 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
46831 * debug/strncat_chk.c (__strncat_chk): Likewise.
46832 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
46833 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
46834 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
46835 * debug/wcpncpy_chk.c: Likewise.
46836 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46837 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
46838 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
46839 * debug/wcsncpy_chk.c: Likewise.
46840 * debug/wcsnrtombs_chk.c: Likewise.
46841 * debug/wcsrtombs_chk.c: Likewise.
46842 * debug/wcstombs_chk.c: Likewise.
46843 * debug/wmemcpy_chk.c: Likewise.
46844 * debug/wmemmove_chk.c: Likewise.
46845 * debug/wmempcpy_chk.c: Likewise.
46846 * debug/wmemset_chk.c: Likewise.
46847 * dirent/scandirat.c (SCANDIRAT): Likewise.
46848 * dlfcn/dladdr1.c (dladdr1): Likewise.
46849 * dlfcn/dladdr.c (dladdr): Likewise.
46850 * dlfcn/dlclose.c (dlclose_doit): Likewise.
46851 * dlfcn/dlerror.c (__dlerror): Likewise.
46852 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
46853 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
46854 * dlfcn/dlopen.c (dlopen_doit): Likewise.
46855 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
46856 * dlfcn/dlsym.c (dlsym_doit): Likewise.
46857 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
46858 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
46859 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
46860 Likewise.
46861 * elf/dl-conflict.c: Likewise.
46862 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
46863 * elf/dl-dst.h: Likewise.
46864 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
46865 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
46866 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
46867 * elf/dl-init.c (call_init, _dl_init): Likewise.
46868 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
46869 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
46870 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
46871 Likewise.
46872 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
46873 Likewise.
46874 * elf/dl-minimal.c (__libc_memalign): Likewise.
46875 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
46876 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46877 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
46878 * elf/dl-sym.c (do_sym): Likewise.
46879 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
46880 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46881 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46882 * elf/dl-writev.h (_dl_writev): Likewise.
46883 * elf/ldconfig.c (search_dir): Likewise.
46884 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46885 (dl_main): Likewise.
46886 * elf/setup-vdso.h (setup_vdso): Likewise.
46887 * grp/compat-initgroups.c (compat_call): Likewise.
46888 * grp/fgetgrent.c (fgetgrent): Likewise.
46889 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46890 * grp/putgrent.c (putgrent): Likewise.
46891 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46892 Likewise.
46893 * hurd/hurdinit.c: Likewise.
46894 * iconvdata/8bit-gap.c (struct): Likewise.
46895 * iconvdata/ansi_x3.110.c : Likewise.
46896 * iconvdata/big5.c : Likewise.
46897 * iconvdata/big5hkscs.c : Likewise.
46898 * iconvdata/cp1255.c: Likewise.
46899 * iconvdata/cp1258.c : Likewise.
46900 * iconvdata/cp932.c : Likewise.
46901 * iconvdata/euc-cn.c: Likewise.
46902 * iconvdata/euc-jisx0213.c : Likewise.
46903 * iconvdata/euc-jp.c: Likewise.
46904 * iconvdata/euc-jp-ms.c : Likewise.
46905 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46906 * iconvdata/gb18030.c : Likewise.
46907 * iconvdata/gbbig5.c (const): Likewise.
46908 * iconvdata/gbgbk.c: Likewise.
46909 * iconvdata/gbk.c : Likewise.
46910 * iconvdata/ibm1364.c : Likewise.
46911 * iconvdata/ibm930.c : Likewise.
46912 * iconvdata/ibm932.c: Likewise.
46913 * iconvdata/ibm933.c : Likewise.
46914 * iconvdata/ibm935.c : Likewise.
46915 * iconvdata/ibm937.c : Likewise.
46916 * iconvdata/ibm939.c : Likewise.
46917 * iconvdata/ibm943.c: Likewise.
46918 * iconvdata/iso_11548-1.c: Likewise.
46919 * iconvdata/iso-2022-cn.c : Likewise.
46920 * iconvdata/iso-2022-cn-ext.c : Likewise.
46921 * iconvdata/iso-2022-jp-3.c: Likewise.
46922 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46923 * iconvdata/iso-2022-kr.c : Likewise.
46924 * iconvdata/iso646.c (gconv_end): Likewise.
46925 * iconvdata/iso_6937-2.c : Likewise.
46926 * iconvdata/iso_6937.c : Likewise.
46927 * iconvdata/iso8859-1.c: Likewise.
46928 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46929 * iconvdata/shift_jisx0213.c : Likewise.
46930 * iconvdata/sjis.c : Likewise.
46931 * iconvdata/t.61.c : Likewise.
46932 * iconvdata/tcvn5712-1.c : Likewise.
46933 * iconvdata/tscii.c: Likewise.
46934 * iconvdata/uhc.c : Likewise.
46935 * iconvdata/unicode.c (gconv_end): Likewise.
46936 * iconvdata/utf-16.c (gconv_end): Likewise.
46937 * iconvdata/utf-32.c (gconv_end): Likewise.
46938 * iconvdata/utf-7.c (base64): Likewise.
46939 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46940 * iconv/gconv_close.c (__gconv_close): Likewise.
46941 * iconv/gconv_open.c (__gconv_open): Likewise.
46942 * iconv/gconv_simple.c (internal_ucs4_loop_single)
46943 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46944 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46945 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46946 (ucs4le_internal_loop_single): Likewise.
46947 * iconv/iconv.c (iconv): Likewise.
46948 * iconv/iconv_close.c: Likewise.
46949 * iconv/loop.c (SINGLE): Likewise.
46950 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46951 * include/atomic.h: Likewise.
46952 * inet/inet6_option.c (option_alloc): Likewise.
46953 * intl/bindtextdom.c (set_binding_values): Likewise.
46954 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46955 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46956 * intl/localealias.c (read_alias_file): Likewise.
46957 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46958 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46959 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46960 * libio/fmemopen.c (fmemopen): Likewise.
46961 * libio/iofgets.c (_IO_fgets): Likewise.
46962 * libio/iofgets_u.c (fgets_unlocked): Likewise.
46963 * libio/iofgetws.c (fgetws): Likewise.
46964 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46965 * libio/iogetdelim.c (_IO_getdelim): Likewise.
46966 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46967 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46968 * locale/findlocale.c (_nl_find_locale): Likewise.
46969 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46970 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46971 Likewise.
46972 * locale/setlocale.c (setlocale): Likewise.
46973 * login/programs/pt_chown.c (main): Likewise.
46974 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46975 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46976 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46977 (mmap, mmap64, mremap, munmap): Likewise.
46978 * math/e_exp2l.c: Likewise.
46979 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46980 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46981 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46982 * math/s_catan.c (__catan): Likewise.
46983 * math/s_catanf.c (__catanf): Likewise.
46984 * math/s_catanh.c (__catanh): Likewise.
46985 * math/s_catanhf.c (__catanhf): Likewise.
46986 * math/s_catanhl.c (__catanhl): Likewise.
46987 * math/s_catanl.c (__catanl): Likewise.
46988 * math/s_ccosh.c (__ccosh): Likewise.
46989 * math/s_ccoshf.c (__ccoshf): Likewise.
46990 * math/s_ccoshl.c (__ccoshl): Likewise.
46991 * math/s_cexp.c (__cexp): Likewise.
46992 * math/s_cexpf.c (__cexpf): Likewise.
46993 * math/s_cexpl.c (__cexpl): Likewise.
46994 * math/s_clog10.c (__clog10): Likewise.
46995 * math/s_clog10f.c (__clog10f): Likewise.
46996 * math/s_clog10l.c (__clog10l): Likewise.
46997 * math/s_clog.c (__clog): Likewise.
46998 * math/s_clogf.c (__clogf): Likewise.
46999 * math/s_clogl.c (__clogl): Likewise.
47000 * math/s_csin.c (__csin): Likewise.
47001 * math/s_csinf.c (__csinf): Likewise.
47002 * math/s_csinh.c (__csinh): Likewise.
47003 * math/s_csinhf.c (__csinhf): Likewise.
47004 * math/s_csinhl.c (__csinhl): Likewise.
47005 * math/s_csinl.c (__csinl): Likewise.
47006 * math/s_csqrt.c (__csqrt): Likewise.
47007 * math/s_csqrtf.c (__csqrtf): Likewise.
47008 * math/s_csqrtl.c (__csqrtl): Likewise.
47009 * math/s_ctan.c (__ctan): Likewise.
47010 * math/s_ctanf.c (__ctanf): Likewise.
47011 * math/s_ctanh.c (__ctanh): Likewise.
47012 * math/s_ctanhf.c (__ctanhf): Likewise.
47013 * math/s_ctanhl.c (__ctanhl): Likewise.
47014 * math/s_ctanl.c (__ctanl): Likewise.
47015 * math/w_pow.c: Likewise.
47016 * math/w_powf.c: Likewise.
47017 * math/w_powl.c: Likewise.
47018 * math/w_scalb.c (sysv_scalb): Likewise.
47019 * math/w_scalbf.c (sysv_scalbf): Likewise.
47020 * math/w_scalbl.c (sysv_scalbl): Likewise.
47021 * misc/error.c (error_tail): Likewise.
47022 * misc/pselect.c (__pselect): Likewise.
47023 * nis/nis_callback.c (__nis_create_callback): Likewise.
47024 * nis/nis_call.c (__nisfind_server): Likewise.
47025 * nis/nis_creategroup.c (nis_creategroup): Likewise.
47026 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
47027 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
47028 * nis/nis_getservlist.c (nis_getservlist): Likewise.
47029 * nis/nis_lookup.c (nis_lookup): Likewise.
47030 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
47031 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
47032 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
47033 * nis/nis_xdr.c (xdr_endpoint): Likewise.
47034 * nis/nss_compat/compat-grp.c (getgrent_next_file)
47035 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
47036 * nis/nss_compat/compat-initgroups.c (add_group)
47037 (internal_getgrent_r): Likewise.
47038 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
47039 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
47040 * nis/nss_compat/compat-spwd.c (getspent_next_file)
47041 (internal_getspnam_r): Likewise.
47042 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
47043 (_nss_nis_getaliasbyname_r): Likewise.
47044 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
47045 (_nss_nis_getntohost_r): Likewise.
47046 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
47047 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
47048 (_nss_nis_getgrgid_r): Likewise.
47049 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
47050 (internal_nis_gethostent_r, internal_gethostbyname2_r)
47051 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
47052 (_nss_nis_gethostbyname4_r): Likewise.
47053 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
47054 (initgroups_netid): Likewise.
47055 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
47056 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
47057 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
47058 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
47059 (_nss_nis_getprotobynumber_r): Likewise.
47060 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
47061 (_nss_nis_getsecretkey): Likewise.
47062 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
47063 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
47064 (_nss_nis_getpwuid_r): Likewise.
47065 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
47066 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
47067 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
47068 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
47069 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
47070 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
47071 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
47072 Likewise.
47073 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
47074 (_nss_nisplus_getntohost_r): Likewise.
47075 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
47076 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
47077 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
47078 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
47079 Likewise.
47080 * nis/nss_nisplus/nisplus-initgroups.c
47081 (_nss_nisplus_initgroups_dyn): Likewise.
47082 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
47083 (_nss_nisplus_getnetbyaddr_r): Likewise.
47084 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
47085 (_nss_nisplus_getprotobynumber_r): Likewise.
47086 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
47087 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
47088 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
47089 Likewise.
47090 * nis/nss_nisplus/nisplus-service.c
47091 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
47092 (_nss_nisplus_getservbyport_r): Likewise.
47093 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
47094 (_nss_nisplus_getspnam_r): Likewise.
47095 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
47096 Likewise.
47097 * nscd/aicache.c (addhstaiX): Likewise.
47098 * nscd/cache.c (cache_search, prune_cache): Likewise.
47099 * nscd/connections.c (register_traced_file, send_ro_fd)
47100 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
47101 (main_loop_epoll): Likewise.
47102 * nscd/grpcache.c (addgrbyX): Likewise.
47103 * nscd/hstcache.c (addhstbyX): Likewise.
47104 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47105 * nscd/mem.c (gc, mempool_alloc): Likewise.
47106 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
47107 (addinnetgrX): Likewise.
47108 * nscd/nscd-client.h (__nscd_acquire_maplock)
47109 (__nscd_drop_map_ref): Likewise.
47110 * nscd/nscd_getai.c (__nscd_getai): Likewise.
47111 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
47112 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
47113 Likewise.
47114 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
47115 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47116 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
47117 (__nscd_get_map_ref): Likewise.
47118 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
47119 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
47120 Likewise.
47121 * nscd/pwdcache.c (addpwbyX): Likewise.
47122 * nscd/selinux.c (preserve_capabilities): Likewise.
47123 * nscd/servicescache.c (addservbyX): Likewise.
47124 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
47125 * posix/fnmatch.c (fnmatch): Likewise.
47126 * posix/getopt.c (_getopt_internal_r): Likewise.
47127 * posix/glob.c (glob, glob_in_dir): Likewise.
47128 * posix/wordexp.c (exec_comm_child): Likewise.
47129 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
47130 (getanswer_r, gaih_getanswer_slice): Likewise.
47131 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
47132 * resolv/res_init.c: Likewise.
47133 * resolv/res_mkquery.c (res_nmkquery): Likewise.
47134 * resolv/res_query.c (__libc_res_nquery): Likewise.
47135 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
47136 Likewise.
47137 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
47138 * stdio-common/perror.c (perror): Likewise.
47139 * stdio-common/printf_fp.c (___printf_fp): Likewise.
47140 * stdio-common/tmpnam.c (tmpnam): Likewise.
47141 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47142 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
47143 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
47144 Likewise.
47145 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
47146 * stdlib/putenv.c (putenv): Likewise.
47147 * stdlib/setenv.c (__add_to_environ): Likewise.
47148 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47149 * stdlib/strtol_l.c (INTERNAL): Likewise.
47150 * string/memmem.c (memmem): Likewise.
47151 * string/strerror.c (strerror): Likewise.
47152 * string/strnlen.c (__strnlen): Likewise.
47153 * string/test-memmem.c (simple_memmem): Likewise.
47154 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
47155 * sunrpc/pm_getport.c (__get_socket): Likewise.
47156 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
47157 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
47158 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
47159 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
47160 Likewise.
47161 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
47162 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
47163 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
47164 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
47165 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
47166 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
47167 Likewise.
47168 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
47169 Likewise.
47170 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
47171 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
47172 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47173 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
47174 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
47175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
47176 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47177 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
47178 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
47179 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
47180 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47181 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
47182 Likewise.
47183 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
47184 Likewise.
47185 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
47186 Likewise.
47187 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
47188 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47189 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
47190 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
47191 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
47192 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
47193 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47194 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
47195 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
47196 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
47197 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
47198 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47199 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
47200 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
47201 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47202 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
47203 Likewise.
47204 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
47205 Likewise.
47206 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
47207 Likewise.
47208 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
47209 Likewise.
47210 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47211 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47212 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
47213 Likewise.
47214 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
47215 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
47216 * sysdeps/posix/opendir.c (__opendirat): Likewise.
47217 * sysdeps/posix/sleep.c: Likewise.
47218 * sysdeps/posix/tempname.c: Likewise.
47219 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
47220 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47221 Likewise.
47222 * sysdeps/powerpc/powerpc32/dl-machine.h
47223 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
47224 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47225 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47226 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
47227 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
47228 Likewise.
47229 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
47230 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
47231 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47232 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
47233 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47234 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
47235 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
47236 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
47237 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47238 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
47239 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
47240 (elf_machine_lazy_rel): Likewise.
47241 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47242 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
47243 (elf_machine_lazy_rel): Likewise.
47244 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
47245 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
47246 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
47247 * sysdeps/unix/grantpt.c (grantpt): Likewise.
47248 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
47249 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
47250 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
47251 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47252 Likewise.
47253 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
47254 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
47255 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
47256 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
47257 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47258 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47259 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
47260 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
47261 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
47262 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47263 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
47264 Likewise.
47265 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
47266 (__posix_fallocate64_l64): Likewise.
47267 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
47268 (posix_fallocate): Likewise.
47269 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
47270 Likewise.
47271 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47272 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
47273 (getifaddrs_internal): Likewise.
47274 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
47275 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
47276 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
47277 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
47278 * sysdeps/unix/sysv/linux/posix_fallocate64.c
47279 (__posix_fallocate64_l64): Likewise.
47280 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
47281 Likewise.
47282 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
47283 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
47284 (__get_clockfreq): Likewise.
47285 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
47286 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
47287 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
47288 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47289 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47290 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
47291 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
47292 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
47293 Likewise.
47294 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
47295 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
47296 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
47297 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
47298 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47299 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
47300 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
47301 Likewise.
47302 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47303 (posix_fallocate): Likewise.
47304 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47305 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
47306 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
47307 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
47308 (elf_machine_rela, elf_machine_rela_relative)
47309 (elf_machine_lazy_rel): Likewise.
47310 * time/asctime.c (asctime_internal): Likewise.
47311 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
47312 * time/tzset.c (__tzset_parse_tz): Likewise.
47313 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
47314 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
47315 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
47316 * wcsmbs/wcsmbsload.h: Likewise.
47317
47318 [BZ #15894]
47319 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
47320
47321 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
47322 (arena_get2): Remove THREAD_STATS conditionals.
47323 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
47324 (__malloc_stats, int): Likewise.
47325
47326 2014-02-08 Mike Frysinger <vapier@gentoo.org>
47327
47328 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
47329 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
47330
47331 * manual/setjmp.texi: Fix typos/grammar errors.
47332
47333 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
47334 Only return early when n is <= 0. Delete unused return statement.
47335
47336 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
47337 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
47338 * debug/tst-longjmp_chk3.c: New file.
47339
47340 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
47341 (test_main): Replace code with set_fortify_handler call.
47342 * debug/test-strcpy_chk.c: Likewise.
47343 * debug/tst-chk1.c: Likewise.
47344 * debug/tst-longjmp_chk.c: Likewise.
47345 * test-skeleton.c: Include fcntl.h & paths.h
47346 (set_fortify_handler): Define.
47347
47348 * debug/tst-longjmp_chk.c: Add header comment and include
47349 ../test-skeleton.c.
47350 (do_test): Mark static.
47351 (TEST_FUNCTION): Define.
47352
47353 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
47354 (IP_PMTUDISC_INTERFACE): Likewise.
47355 (IP_MULTICAST_IF): Likewise.
47356 (IP_MULTICAST_TTL): Likewise.
47357 (IP_MULTICAST_LOOP): Likewise.
47358 (IP_ADD_MEMBERSHIP): Likewise.
47359 (IP_DROP_MEMBERSHIP): Likewise.
47360 (IP_UNBLOCK_SOURCE): Likewise.
47361 (IP_BLOCK_SOURCE): Likewise.
47362 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
47363 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
47364 (IP_MSFILTER): Likewise.
47365 (MCAST_JOIN_GROUP): Likewise.
47366 (MCAST_BLOCK_SOURCE): Likewise.
47367 (MCAST_UNBLOCK_SOURCE): Likewise.
47368 (MCAST_LEAVE_GROUP): Likewise.
47369 (MCAST_JOIN_SOURCE_GROUP): Likewise.
47370 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
47371 (MCAST_MSFILTER): Likewise.
47372 (IP_MULTICAST_ALL): Likewise.
47373 (IP_UNICAST_IF): Likewise.
47374
47375 * timezone/Makefile: Delete $(have-ksh) check.
47376 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
47377 * timezone/tzselect.ksh: Add +x mode bits.
47378
47379 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
47380 (ANON_INODE_FS_MAGIC): Likewise.
47381 (BDEVFS_MAGIC): Likewise.
47382 (BINFMTFS_MAGIC): Likewise.
47383 (BTRFS_TEST_MAGIC): Likewise.
47384 (CRAMFS_MAGIC_WEND): Likewise.
47385 (DEBUGFS_MAGIC): Likewise.
47386 (ECRYPTFS_SUPER_MAGIC): Likewise.
47387 (EXT3_SUPER_MAGIC): Likewise.
47388 (EXT4_SUPER_MAGIC): Likewise.
47389 (FUTEXFS_SUPER_MAGIC): Likewise.
47390 (HOSTFS_SUPER_MAGIC): Likewise.
47391 (HUGETLBFS_MAGIC): Likewise.
47392 (MINIX3_SUPER_MAGIC): Likewise.
47393 (MTD_INODE_FS_MAGIC): Likewise.
47394 (NILFS_SUPER_MAGIC): Likewise.
47395 (OPENPROM_SUPER_MAGIC): Likewise.
47396 (PIPEFS_MAGIC): Likewise.
47397 (PSTOREFS_MAGIC): Likewise.
47398 (QNX6_SUPER_MAGIC): Likewise.
47399 (RAMFS_MAGIC): Likewise.
47400 (REISERFS_SUPER_MAGIC_STRING): Likewise.
47401 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
47402 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
47403 (SECURITYFS_MAGIC): Likewise.
47404 (SELINUX_MAGIC): Likewise.
47405 (SMACK_MAGIC): Likewise.
47406 (SOCKFS_MAGIC): Likewise.
47407 (SQUASHFS_MAGIC): Likewise.
47408 (STACK_END_MAGIC): Likewise.
47409 (TMPFS_MAGIC): Likewise.
47410 (USBDEVICE_SUPER_MAGIC): Likewise.
47411 (V9FS_MAGIC): Likewise.
47412 (XENFS_SUPER_MAGIC): Likewise.
47413 (CRAMFS_MAGIC): Fix typo in comment.
47414 (EXT2_SUPER_MAGIC): Update comment.
47415 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
47416
47417 2014-02-08 Joseph Myers <joseph@codesourcery.com>
47418
47419 * sysdeps/arm: Move directory from ports/sysdeps/arm.
47420 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
47421 * sysdeps/unix/sysv/linux/arm: Move directory from
47422 ports/sysdeps/unix/sysv/linux/arm.
47423 * README: Update listing for arm-*-linux-gnueabi.
47424
47425 * README: Remove mention of am33.
47426
47427 2014-02-07 Roland McGrath <roland@hack.frob.com>
47428
47429 * bits/sigset.h (__sigemptyset): Use a statement expression rather
47430 than the comma operator, to avoid "rhs of comma has no effect"
47431 compiler warnings.
47432 (__sigfillset, __sigandset, __sigorset): Likewise.
47433 * include/signal.h (__sigemptyset): Likewise.
47434 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
47435
47436 2014-02-07 Allan McRae <allan@archlinux.org>
47437
47438 * version.h (RELEASE): Set to "development".
47439 (VERSION): Set to "2.19.90"
47440 * NEWS: Add 2.20 section.
47441
47442 2014-02-06 Carlos O'Donell <carlos@redhat.com>
47443
47444 [BZ #16529]
47445 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
47446
47447 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
47448
47449 * manual/contrib.texi: Update entry for Carlos O'Donell,
47450 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
47451
47452 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
47453
47454 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
47455
47456 * sysdeps/unix/sysv/linux/kernel-features.h
47457 [__LINUX_KERNEL_VERSION >= 0x020621]
47458 (__ASSUME_PROC_PID_TASK_COMM): Define.
47459
47460 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47461
47462 [BZ #16398]
47463 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
47464 conversion when destination buffer does not have enough space.
47465 * libio/tst-ftell-partial-wide.c: New test case.
47466 * libio/Makefile (tests): Add tst-ftell-partial-wide.
47467
47468 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
47469 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
47470 Leonard and Allan McRae.
47471
47472 2014-02-04 David S. Miller <davem@davemloft.net>
47473
47474 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
47475 32-bit.
47476
47477 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47478
47479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47480 New file
47481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47482 New file
47483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47484 New file.
47485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47486 New file.
47487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47488 New file.
47489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47490 New file.
47491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47492 New file.
47493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47494 New file.
47495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47496 New file.
47497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47498 New file.
47499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47500 New file.
47501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47502 New file.
47503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47504 New file.
47505
47506 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47507
47508 * nptl/shlib-versions: Change powerpc*le start to 2.17.
47509 * shlib-versions: Likewise.
47510
47511 2014-02-04 Roland McGrath <roland@hack.frob.com>
47512 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47513
47514 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
47515 (abilist-pattern): New variable, set to %-le.abilist.
47516
47517 * Makerules (abilist-pattern): New variable.
47518 (vpath): Use $(abilist-pattern) in place of %.abilist.
47519 (check-abi-% pattern rule): Likewise.
47520 (check-abi, update-abi): Likewise.
47521
47522 2014-02-04 Eric Wong <normalperson@yhbt.net>
47523
47524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47525
47526 2014-02-03 Carlos O'Donell <carlos@redhat.com>
47527
47528 * manual/startup.texi: Add next, previous, and top entries for
47529 the `Program Arguments' and `Environment Variables' nodes.
47530
47531 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
47532
47533 * manual/macros.texi: Add comments before MTASC-safety macros.
47534
47535 * manual/users.texi: Document MTASC-safety properties.
47536
47537 * manual/threads.texi (pthread_key_create, pthread_key_delete)
47538 (pthread_getspecific, pthread_setspecific): Format with
47539 @deftypefun, and add @safety note.
47540 * manual/signal.texi: Move comments that analyze the above
47541 functions to their home place.
47542
47543 2014-02-03 Allan McRae <allan@archlinux.org>
47544
47545 * po/sl.po: Update Slovenian translation from translation project.
47546
47547 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
47548
47549 * manual/time.texi (timegm): Add missing blank after @c.
47550 Reported by Joseph Myers <joseph@codesourcery.com>.
47551
47552 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
47553
47554 * manual/check-safety.sh: New.
47555 * manual/Makefile ($(objpfx)stamp-summary): Run it.
47556
47557 * manual/terminal.texi: Document MTASC-safety properties.
47558
47559 * manual/filesys.texi: Document MTASC-safety properties.
47560
47561 * manual/errno.texi: Document MTASC-safety properties.
47562
47563 * manual/intro.texi: Document safety identifiers and
47564 conditionals.
47565
47566 * manual/string.texi (wcstok): Fix prototype.
47567 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
47568
47569 * manual/time.texi: Document MTASC-safety properties.
47570
47571 * manual/string.texi: Document MTASC-safety properties.
47572
47573 * manual/threads.texi: Document MTASC-safety properties.
47574
47575 * manual/stdio.texi: Document MTASC-safety properties.
47576
47577 * manual/syslog.texi: Document MTASC-safety properties.
47578
47579 * manual/sysinfo.texi: Document MTASC-safety properties.
47580
47581 * manual/startup.texi: Document MTASC-safety properties.
47582
47583 * manual/socket.texi: Document MTASC-safety properties.
47584
47585 * manual/signal.texi: Document MTASC-safety properties.
47586
47587 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
47588
47589 * manual/setjmp.texi: Document MTASC-safety properties.
47590
47591 * manual/search.texi: Document MTASC-safety properties.
47592
47593 * manual/resource.texi: Document MTASC-safety properties.
47594
47595 * manual/process.texi: Document MTASC-safety properties.
47596
47597 * manual/platform.texi: Document MTASC-safety properties.
47598
47599 * manual/pipe.texi: Document MTASC-safety properties.
47600
47601 * manual/pattern.texi: Document MTASC-safety properties.
47602
47603 * manual/message.texi: Document MTASC-safety properties.
47604
47605 [BZ #12751]
47606 * manual/memory.texi: Document MTASC-safety properties.
47607
47608 * manual/math.texi: Document MTASC-safety properties.
47609
47610 * manual/locale.texi: Document MTASC-safety properties.
47611
47612 * manual/llio.texi: Document MTASC-safety properties.
47613
47614 * manual/libdl.texi: New.
47615
47616 * manual/lang.texi: Document MTASC-safety properties.
47617
47618 * manual/job.texi: Document MTASC-safety properties.
47619
47620 * manual/getopt.texi: Document MTASC-safety properties.
47621
47622 * manual/ctype.texi: Document MTASC-safety properties.
47623
47624 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
47625
47626 [BZ #16046]
47627 * csu/libc-tls.c (static_map): Remove variable.
47628 (__libc_setup_tls): Use main executable's link map for TLS data.
47629 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
47630 casing for LM_ID_BASE and GL(dl_nns).
47631 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
47632 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
47633 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
47634 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
47635 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
47636 member.
47637 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
47638 l_phnum members.
47639
47640 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
47641
47642 * manual/debug.texi: Document MTASC-safety properties.
47643
47644 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
47645
47646 [BZ #16510]
47647 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
47648 of __x86_64__ when disabling x87 inline functions.
47649
47650 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
47651
47652 * manual/charset.texi: Document MTASC-safety properties.
47653
47654 * manual/crypt.texi: Document MTASC-safety properties.
47655
47656 * manual/conf.texi: Document MTASC-safety properties.
47657
47658 * manual/arith.texi: Document MTASC-safety properties.
47659
47660 * manual/argp.texi: Document MTASC-safety properties.
47661
47662 * manual/macros.texi: Introduce macros to document multi
47663 thread, asynchronous signal and asynchronous cancellation
47664 safety properties.
47665 * manual/intro.texi: Introduce the properties themselves.
47666
47667 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47668
47669 * sysdeps/sh/sh4/Makefile: New file.
47670
47671 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
47672
47673 * math/gen-libm-test.pl ($srcdir): New variable.
47674 ($auto_input): Use it.
47675
47676 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
47677
47678 [BZ #16506]
47679 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
47680 access beyond array bounds when parsing netgroups file.
47681
47682 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
47683 the old buffer before realloc.
47684
47685 2014-01-27 Allan McRae <allan@archlinux.org>
47686
47687 * po/fr.po: Update French translation from translation project.
47688
47689 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47690
47691 * sysdeps/sh/libm-test-ulps: Regenerate.
47692
47693 2014-01-24 David S. Miller <davem@davemloft.net>
47694
47695 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
47696
47697 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47698
47699 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
47700 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
47701
47702 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
47703
47704 [BZ #16474]
47705 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
47706 string pointers after reallocation.
47707
47708 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47709
47710 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
47711 __SH4A__ instead of __SH_FPU_ANY__.
47712
47713 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47714
47715 * sysdeps/sh/fpu_control.h: New file.
47716 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
47717 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
47718 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
47719 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
47720 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
47721 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
47722 * sysdeps/sh/sys/ucontext.h: Remove.
47723 * sysdeps/sh/sys: Remove directory.
47724
47725 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47726
47727 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
47728 s390/sys/ucontext.h.
47729 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
47730 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
47731
47732 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
47733
47734 [BZ #15605]
47735 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
47736
47737 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47738
47739 [BZ#16431]
47740 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47741 Adjust the vDSO correctly for internal calls.
47742 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
47743
47744 2014-01-20 Allan McRae <allan@archlinux.org>
47745
47746 * po/ca.po: Update Catalan translation from translation project.
47747
47748 2014-01-16 Mike Frysinger <vapier@gentoo.org>
47749
47750 * sysdeps/s390/sotruss-lib.c: New file.
47751
47752 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47753
47754 [BZ#16430]
47755 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
47756 (__GI___gettimeofday): Alias for a different internal symbol to avoid
47757 local calls issues by not having a PLT stub required for IFUNC calls.
47758 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
47759
47760 2014-01-16 Joseph Myers <joseph@codesourcery.com>
47761
47762 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
47763 * math/test-fpucw-static.c: Likewise.
47764
47765 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
47766
47767 [BZ #16453]
47768 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
47769
47770 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47771
47772 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
47773 implementation for powerpc.
47774
47775 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
47776
47777 [BZ #14782]
47778 * sysdeps/posix/system.c (__libc_system): Do not enable
47779 asynchronous cancellation.
47780
47781 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47782
47783 [BZ #16427]
47784 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
47785 handling only for numbers special also in the IEEE case.
47786
47787 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47788
47789 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47790
47791 2014-01-11 Allan McRae <allan@archlinux.org>
47792
47793 * po/bg.po: Update Bulgarian translation from translation project.
47794
47795 * po/de.po: Update German translation from translation project.
47796
47797 2014-01-10 Roland McGrath <roland@hack.frob.com>
47798
47799 * sysdeps/generic/gcc-compat.h: New file.
47800
47801 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47802
47803 * benchtests/asin-inputs: Correct slow inputs.
47804 * benchtests/acos-inputs: Likewise.
47805
47806 2014-01-10 Allan McRae <allan@archlinux.org>
47807
47808 * po:sv.po: Update Swedish translation from translation project.
47809
47810 * po/vi.po: Update Vietnamese translation from translation project.
47811
47812 * po/eo.po: Update Esperanto translation from translation project.
47813
47814 * po/cs.po: Update Czech translation from translation project.
47815
47816 * po/nl.po: Update Dutch translation from translation project.
47817
47818 * po/pl.po: Update Polish translation from translation project.
47819
47820 * po/ru.po: Update Russian translation from translation project.
47821
47822 * po/uk.po: Update Ukrainian translation from translation project.
47823
47824 2014-01-08 Brooks Moses <bmoses@google.com>
47825
47826 * elf/dl-load.c: Fix comment typo.
47827
47828 2014-01-08 Carlos O'Donell <carlos@redhat.com>
47829
47830 * po/header.pot: Rename to...
47831 * po/pot.header: ... this.
47832 * po/Makefile: Use pot.header.
47833
47834 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
47835 Maxim Kuvyrkov <maxim@kugelworks.com>
47836
47837 [BZ #16394]
47838 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
47839 SRC and DEST against LEN.
47840
47841 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47842
47843 [BZ #16414]
47844 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
47845 implementation.
47846 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
47847
47848 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47849
47850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47851
47852 2014-01-08 Joseph Myers <joseph@codesourcery.com>
47853
47854 [BZ #16408]
47855 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
47856 for large positive arguments.
47857
47858 2014-01-07 Joseph Myers <joseph@codesourcery.com>
47859
47860 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47861
47862 * math/auto-libm-test-in: Mark various tests with
47863 xfail-rounding:ldbl-128ibm.
47864 * math/auto-libm-test-out: Regenerated.
47865
47866 [BZ #16407]
47867 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47868 Increase overflow threshold.
47869
47870 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
47871
47872 [BZ #14286]
47873 * stdio-common/vfprintf.c: Check for integer overflow.
47874
47875 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47876
47877 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
47878 the first argument and return value of __tls_get_addr_internal.
47879
47880 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47881
47882 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47883 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47884
47885 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47886
47887 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47888 * sysdeps/s390/rtld-global-offsets.sym: New file.
47889 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47890 GLIBC_2.19 symbol.
47891 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47892 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47893 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47894 ... this.
47895 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47896 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47897 ... this.
47898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47899 Regenerate.
47900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47901 Regenerate.
47902 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47903 halfs of GPRs for high_gprs contexts.
47904 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47905 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
47906 field.
47907 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47908 uc_flags field.
47909 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47910 64 bit versions:
47911 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47912 for high GPRs (uc_high_gprs) and for future extensions
47913 (__reserved).
47914 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47915 for future extensions (__reserved).
47916 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47917 64 bit versions:
47918 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47919 SC_HIGHGPRS offset definition.
47920 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47921 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47922
47923 * Versions.def: Add GLIBC_2.19 for libpthread.
47924 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47925 siglongjmp for libpthread with GLIBC_2.19 symver.
47926 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47927 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47928 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47929 * sysdeps/s390/__longjmp.c: New file.
47930 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47931 * sysdeps/s390/longjmp.c: New file.
47932 * sysdeps/s390/setjmp.S: New file.
47933 * sysdeps/s390/sigjmp.S: New file.
47934 * sysdeps/s390/v1-longjmp.c: New file.
47935 * sysdeps/s390/v1-setjmp.h: New file.
47936 * sysdeps/s390/v1-sigjmp.c: New file.
47937 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47938 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47939 GLIBC_2.19 version.
47940 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47941 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47942 versioned symbols for ____longjmp_chk.
47943 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47944 Likewise.
47945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47946 Regenerate.
47947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47948 Regenerate.
47949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47950 Regenerate.
47951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47952 Regenerate.
47953 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47954 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47955 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47956 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47957 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47958 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47959 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47960 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47961 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47962 * sysdeps/s390/rtld-__longjmp.c: New file.
47963 * sysdeps/s390/rtld-setjmp.S: New file.
47964
47965 2014-01-06 Joseph Myers <joseph@codesourcery.com>
47966
47967 [BZ #16400]
47968 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47969 Return -__logl (x) for small positive arguments without evaluating
47970 a polynomial.
47971
47972 2014-01-06 Mike Frysinger <vapier@gentoo.org>
47973
47974 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47975 Rename to ...
47976 (__ptrace_peeksiginfo_args): ... this.
47977 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47978 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47979 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47980
47981 2014-01-06 Allan McRae <allan@archlinux.org>
47982
47983 * inet/netinet/in.h: Fix typo in comment.
47984
47985 2014-01-05 Andreas Jaeger <aj@suse.de>
47986
47987 * sysdeps/i386/fpu/libm-test-ulps: Update.
47988
47989 2014-01-05 Allan McRae <allan@archlinux.org>
47990
47991 * po/libc.pot: Regenerated.
47992
47993 * malloc/memusagestat.c: Fix gettext call formatting.
47994
47995 2014-01-04 Sami Kerola <kerolasa@iki.fi>
47996
47997 * nscd/nscd.c: Improve usage() output.
47998
47999 2014-01-04 Mike Frysinger <vapier@gentoo.org>
48000
48001 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
48002 * sysdeps/unix/sysv/linux/configure: Regenerated.
48003 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
48004 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
48005
48006 2014-01-03 Joseph Myers <joseph@codesourcery.com>
48007
48008 [BZ #16390]
48009 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
48010 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
48011
48012 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48013
48014 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
48015 extra tokens at end of #undef directive.
48016 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
48017 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
48018 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
48019
48020 2014-01-03 Joseph Myers <joseph@codesourcery.com>
48021
48022 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48023
48024 * math/auto-libm-test-in: Mark various tests with
48025 xfail-rounding:ldbl-128ibm.
48026 * math/auto-libm-test-out: Regenerated.
48027
48028 2014-01-02 Joseph Myers <joseph@codesourcery.com>
48029
48030 [BZ #16386]
48031 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
48032 numbers with subnormal high part when calculating exponent.
48033
48034 [BZ #16385]
48035 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
48036 fabs.
48037
48038 [BZ #16384]
48039 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
48040 M_LN2l.
48041 (__ieee754_acoshl): Use __log1pl not __log1p.
48042
48043 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
48044
48045 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
48046 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
48047 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
48048 (grow_heap, heap_trim, _int_new_arena, get_free_list)
48049 (reused_arena, arena_get2): Convert to GNU style.
48050 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
48051 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
48052 (memalign_check, __malloc_set_state): Likewise.
48053 * malloc/mallocbug.c (main): Likewise.
48054 * malloc/malloc.c (__malloc_assert, malloc_init_state)
48055 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
48056 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
48057 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
48058 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
48059 (__posix_memalign, malloc_info): Likewise.
48060 * malloc/malloc.h: Likewise.
48061 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
48062 (mallochook, memalignhook, reallochook, mabort): Likewise.
48063 * malloc/mcheck.h: Likewise.
48064 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
48065 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
48066 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
48067 * malloc/morecore.c (__default_morecore): Likewise.
48068 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
48069 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
48070 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
48071 (print_and_abort): Likewise.
48072 * malloc/obstack.h: Likewise.
48073 * malloc/set-freeres.c (__libc_freeres): Likewise.
48074 * malloc/tst-mallocstate.c (main): Likewise.
48075 * malloc/tst-mtrace.c (main): Likewise.
48076 * malloc/tst-realloc.c (do_test): Likewise.
48077
48078 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48079
48080 [BZ #16366]
48081 * nscd/netgroupcache.c (do_notfound): New function.
48082 (addgetnetgrentX): Use it.
48083
48084 [BZ # 16365]
48085 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
48086 NSS_STATUS_NOTFOUND.
48087
48088 2014-01-01 Joseph Myers <joseph@codesourcery.com>
48089
48090 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48092
48093 2014-01-01 Allan McRae <allan@archlinux.org>
48094
48095 * scripts/update-copyrights: Update configure input file suffix.
48096
48097 * NEWS: Update copyright year.
48098 * catgets/gencat.c: Likewise.
48099 * csu/version.c: Likewise.
48100 * debug/catchsegv.sh: Likewise.
48101 * debug/pcprofiledump.c: Likewise.
48102 * debug/xtrace.sh: Likewise.
48103 * elf/ldconfig.c: Likewise.
48104 * elf/ldd.bash.in: Likewise.
48105 * elf/pldd.c: Likewise.
48106 * elf/sotruss.ksh: Likewise.
48107 * elf/sprof.c: Likewise.
48108 * iconv/iconv_prog.c: Likewise.
48109 * iconv/iconvconfig.c: Likewise.
48110 * locale/programs/locale.c: Likewise.
48111 * locale/programs/localedef.c: Likewise.
48112 * login/programs/pt_chown.c: Likewise.
48113 * malloc/memusage.sh: Likewise.
48114 * malloc/memusagestat.c: Likewise.
48115 * malloc/mtrace.pl: Likewise.
48116 * manual/libc.texinfo: Likewise.
48117 * nscd/nscd.c: Likewise.
48118 * nss/getent.c: Likewise.
48119 * nss/makedb.c: Likewise.
48120 * posix/getconf.c: Likewise.
48121 * scripts/test-installation.pl: Likewise.
48122
48123 * All files with FSF copyright notices: Update copyright dates
48124 using scripts/update-copyrights.
48125 * intl/plural.c: Regenerated.
48126 * locale/programs/charmap-kw.h: Likewise.
48127 * locale/programs/locfile-kw.h: Likewise.
48128
48129 2013-12-31 Mike Frysinger <vapier@gentoo.org>
48130
48131 * sysdeps/unix/sysv/linux/configure: Regenerated.
48132 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
48133 the linux/fanotify.h header.
48134 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
48135 HAVE_LINUX_FANOTIFY_H is defined.
48136
48137 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
48138
48139 * benchtests/cos-inputs: New inputs.
48140 * benchtests/sin-inputs: Likewise.
48141
48142 * benchtests/atan-inputs: New inputs. Fix name of multiple
48143 precision fallback inputs.
48144
48145 * benchtests/atanh-inputs: New inputs.
48146 * benchtests/tanh-inputs: Likewise.
48147
48148 * benchtests/acosh-inputs: New inputs.
48149 * benchtests/asinh-inputs: Likewise.
48150
48151 * benchtests/cosh-inputs: New inputs.
48152 * benchtests/sinh-inputs: Likewise.
48153
48154 * benchtests/acos-inputs: Add more inputs.
48155 * benchtests/asin-inputs: Likewise.
48156
48157 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
48158
48159 [BZ #16375]
48160 * manual/arith.texi: Fix spelling.
48161 * manual/charset.texi: Likewise.
48162 * manual/errno.texi: Likewise.
48163 * manual/filesys.texi: Likewise.
48164 * manual/lang.texi: Likewise.
48165 * manual/llio.texi: Likewise.
48166 * manual/locale.texi: Likewise.
48167 * manual/message.texi: Likewise.
48168 * manual/resource.texi: Likewise.
48169 * manual/search.texi: Likewise.
48170 * manual/setjmp.texi: Likewise.
48171 * manual/stdio.texi: Likewise.
48172 * manual/string.texi: Likewise.
48173 * manual/sysinfo.texi: Likewise.
48174 * manual/time.texi: Likewise.
48175
48176 2013-12-27 Carlos O'Donell <carlos@redhat.com>
48177
48178 * po/sl.po: New file.
48179
48180 2013-12-27 Mike Frysinger <vapier@gentoo.org>
48181
48182 * .gitignore: Add core/.gdbinit/.gdb_history.
48183
48184 2013-12-27 Allan McRae <allan@archlinux.org>
48185
48186 [BZ #16369]
48187 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
48188 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
48189
48190 2013-12-24 Brooks Moses <bmoses@google.com>
48191
48192 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
48193 all compilers that claim C++98 compliance, not just GCC.
48194 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
48195 Likewise.
48196
48197 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
48198
48199 * NEWS: Restore accidentally deleted bug-fix entries.
48200
48201 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
48202 Ondřej Bílka <neleai@seznam.cz>
48203
48204 [BZ #15073]
48205 * malloc/malloc.c (_int_free): Perform sanity check only if we
48206 have_lock.
48207
48208 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
48209
48210 [BZ #12986]
48211 * manual/stdio.texi (String Input Conversions): Clarify that character
48212 classes are not supported.
48213
48214 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48215
48216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48217
48218 2013-12-22 Joseph Myers <joseph@codesourcery.com>
48219
48220 [BZ #16337]
48221 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
48222 Calculate results for small negative arguments directly rather
48223 than using reflection formula with special underflow handling.
48224
48225 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
48226 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
48227 sysdeps/unix/bsd/bsd4.4/syscalls.list.
48228 (fchflags): Likewise.
48229 (revoke): Likewise.
48230 (setlogin): Likewise.
48231 (sigaltstack): Likewise.
48232 (wait4): Likewise.
48233 (sigblock): Remove.
48234 (sigsetmask): Likewise.
48235 (wait3): Likewise.
48236 (waitpid): Likewise.
48237 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
48238 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
48239 file.
48240 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
48241 * sysdeps/unix/bsd/Makefile: ... here.
48242 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
48243 * sysdeps/unix/bsd/Versions: ... here.
48244 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
48245 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
48246 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
48247 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
48248 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
48249 * sysdeps/unix/bsd/sigblock.c: ... here.
48250 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
48251 * sysdeps/unix/bsd/sigsetmask.c: ... here.
48252 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
48253 * sysdeps/unix/bsd/sigvec.c: ... here.
48254 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
48255 * sysdeps/unix/bsd/tcdrain.c: ... here.
48256 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
48257 * sysdeps/unix/bsd/tcgetattr.c: ... here.
48258 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
48259 * sysdeps/unix/bsd/tcsetattr.c: ... here.
48260 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
48261 * sysdeps/unix/bsd/wait.c: ... here.
48262 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
48263 * sysdeps/unix/bsd/wait3.c: ... here.
48264 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
48265 * sysdeps/unix/bsd/waitpid.c: ... here.
48266
48267 2013-12-21 Joseph Myers <joseph@codesourcery.com>
48268
48269 [BZ #16356]
48270 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
48271 round-to-nearest for [!USE_AS_EXPM1L].
48272 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
48273 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
48274 more tests of exp and exp10. Expect some exp10 tests to miss
48275 exceptions or fail in directed rounding modes.
48276 * math/auto-libm-test-out: Regenerated.
48277 * math/libm-test.inc (exp10_tonearest_test_data): New array.
48278 (exp10_test_tonearest): New function.
48279 (exp10_towardzero_test_data): New array.
48280 (exp10_test_towardzero): New function.
48281 (exp10_downward_test_data): New array.
48282 (exp10_test_downward): New function.
48283 (exp10_upward_test_data): New array.
48284 (exp10_test_upward): New function.
48285 (main): Call the new functions.
48286 * sysdeps/i386/fpu/libm-test-ulps: Update.
48287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48288
48289 2013-12-20 Joseph Myers <joseph@codesourcery.com>
48290
48291 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
48292 asinh, atan, atan2, atanh, cbrt, cos and cosh.
48293 * math/auto-libm-test-out: Regenerated.
48294 * math/libm-test.inc (acosh_test_data): Add more tests.
48295 (atanh_test_data): Likewise.
48296 (ceil_test_data): Likewise.
48297 (copysign_test_data): Likewise.
48298 * sysdeps/i386/fpu/libm-test-ulps: Update.
48299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48300
48301 * timezone/checktab.awk: Update from tzcode 2013i.
48302 * timezone/private.h: Likewise.
48303 * timezone/scheck.c: Likewise.
48304 * timezone/tzfile.h: Likewise.
48305 * timezone/tzselect.ksh: Likewise.
48306 * timezone/zdump.c: Likewise.
48307 * timezone/zic.c: Likewise.
48308
48309 * math/auto-libm-test-in: Add tests of cpow.
48310 * math/auto-libm-test-out: Regenerated.
48311 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
48312 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48313 mpc_cc_c.
48314 (func_calc_desc): Add mpc_cc_c union field.
48315 (test_functions): Add cpow.
48316 (special_fill_2pi): New function.
48317 (special_real_inputs): Add 2pi.
48318 (calc_generic_results): Handle mpc_cc_c.
48319 * sysdeps/i386/fpu/libm-test-ulps: Update.
48320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48321
48322 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
48323 csqrt, ctan and ctanh.
48324 * math/auto-libm-test-out: Regenerated.
48325 * math/libm-test.inc (TEST_COND_x86_64): New macro.
48326 (TEST_COND_x86): Likewise.
48327 (ccos_test_data): Use AUTO_TESTS_c_c.
48328 (ccosh_test_data): Likewise.
48329 (cexp_test_data): Likewise.
48330 (clog_test_data): Likewise.
48331 (csqrt_test_data): Likewise.
48332 (ctan_test_data): Likewise.
48333 (ctan_tonearest_test_data): Likewise.
48334 (ctan_towardzero_test_data): Likewise.
48335 (ctan_downward_test_data): Likewise.
48336 (ctan_upward_test_data): Likewise.
48337 (ctanh_test_data): Likewise.
48338 (ctanh_tonearest_test_data): Likewise.
48339 (ctanh_towardzero_test_data): Likewise.
48340 (ctanh_downward_test_data): Likewise.
48341 (ctanh_upward_test_data): Likewise.
48342 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48343 mpc_c_c.
48344 (func_calc_desc): Add mpc_c_c union field.
48345 (FUNC_mpc_c_c): New macro.
48346 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
48347 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
48348 ctanh.
48349 (special_fill_min_subnorm_p120): New function.
48350 (special_real_inputs): Add min_subnorm_p120.
48351 (calc_generic_results): Handle mpc_c_c.
48352 * sysdeps/i386/fpu/libm-test-ulps: Update.
48353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48354
48355 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
48356
48357 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
48358 (do_sin_slow): New functions.
48359 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
48360 (cslow2, csloww1, csloww2): Use the new functions.
48361
48362 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
48363 Use M to change sign of result instead of X. Assume X is
48364 positive.
48365 (csloww1): Likewise.
48366 (__sin): Adjust.
48367 (__cos): Adjust.
48368
48369 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
48370 arguments A and DA.
48371 (__sin): Adjust.
48372 (__cos): Likewise.
48373
48374 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
48375 (__cos): Likewise.
48376 (sloww1): Don't adjust sign of DX.
48377 (csloww1): Likewise.
48378 (sloww2): Use X directly and don't adjust sign of DX.
48379 (csloww2): Likewise.
48380
48381 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48382
48383 * math/auto-libm-test-in: Add tests of cabs and carg.
48384 * math/auto-libm-test-out: Regenerated.
48385 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
48386 (carg_test_data): Likewise.
48387 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48388 mpc_c_f.
48389 (func_calc_desc): Add mpc_c_f union field.
48390 (test_functions): Add cabs and carg.
48391 (calc_generic_results): Handle mpc_c_f.
48392
48393 * sysdeps/powerpc/powerpc32/libgcc-compat.S
48394 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
48395 as a macro and a compat symbol.
48396 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
48397 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
48398 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
48399 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
48400 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
48401 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
48402 not use .hidden.
48403 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
48404 Likewise.
48405 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
48406 Likewise.
48407 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
48408 Likewise.
48409 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
48410 Likewise.
48411 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
48412 Likewise.
48413 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
48414 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
48415 from GLIBC_2.3.2.
48416
48417 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48418
48419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48420
48421 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48422
48423 * manual/texinfo.tex: Update to version 2013-11-26.10 with
48424 trailing whitespace removed.
48425 * scripts/config.guess: Update to version 2013-11-29.
48426 * scripts/config.sub: Update to version 2013-10-01.
48427
48428 * math/auto-libm-test-in: Add tests of sincos.
48429 * math/auto-libm-test-out: Regenerated.
48430 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
48431 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48432 mpfr_f_11.
48433 (func_calc_desc): Add mpfr_f_11 union field.
48434 (test_functions): Add sincos.
48435 (calc_generic_results): Handle mpfr_f_11.
48436 * sysdeps/i386/fpu/libm-test-ulps: Update.
48437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48438
48439 2013-12-19 Andreas Schwab <schwab@suse.de>
48440
48441 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
48442 CALL_MCOUNT.
48443 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48444 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
48445 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
48446
48447 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48448
48449 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
48450 * sysdeps/i386/fpu/libm-test-ulps: Update.
48451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48452
48453 [BZ #16293]
48454 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
48455 round-to-nearest mode when using frndint.
48456 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
48457 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48458 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48459 Likewise.
48460 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
48461 sinh test to fail.
48462 * math/auto-libm-test-out: Regenerated.
48463 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
48464 (TEST_COND_x86): Likewise.
48465 (expm1_tonearest_test_data): New array.
48466 (expm1_test_tonearest): New function.
48467 (expm1_towardzero_test_data): New array.
48468 (expm1_test_towardzero): New function.
48469 (expm1_downward_test_data): New array.
48470 (expm1_test_downward): New function.
48471 (expm1_upward_test_data): New array.
48472 (expm1_test_upward): New function.
48473 (main): Run the new test functions.
48474 * sysdeps/i386/fpu/libm-test-ulps: Update.
48475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48476
48477 * include/features.h: Update comment documenting feature test
48478 macros. Mention _DEFAULT_SOURCE in comment.
48479 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
48480 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
48481 _BSD_SOURCE and _SVID_SOURCE.
48482 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
48483 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
48484 !_SVID_SOURCE]: Likewise.
48485 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48486 (__USE_POSIX_IMPLICITLY): Define.
48487 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48488 (_POSIX_SOURCE): Undefine and redefine.
48489 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48490 (_POSIX_C_SOURCE): Likewise.
48491 * manual/creature.texi (_DEFAULT_SOURCE): Document.
48492 (Feature Test Macros): Update documentation of default features.
48493
48494 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48495
48496 * benchtests/Makefile: Add bench-strtok.
48497 * benchtests/bench-strtok.c: New file: strtok benchtest.
48498
48499 2013-12-19 Allan McRae <allan@archlinux.org>
48500
48501 * manual/install.texi: Suppress menu for plain text output.
48502 * INSTALL: Regenerated.
48503
48504 2013-12-18 Brooks Moses <bmoses@google.com>
48505
48506 [BZ #15846]
48507 * misc/getauxval.c: Include errno.h.
48508 (__getauxval): Set errno to ENOENT if the requested type is not
48509 found.
48510 * misc/sys/auxv.h (getauxval): Document that it may set errno;
48511 don't declare with __attribute_const__.
48512 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
48513 * manual/startup.texi: Document that getauxval sets errno.
48514
48515 2013-12-18 Joseph Myers <joseph@codesourcery.com>
48516
48517 * math/auto-libm-test-in: Add tests of jn and yn.
48518 * math/auto-libm-test-out: Regenerated.
48519 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
48520 (yn_test_data): Likewise.
48521 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48522 mpfr_if_f.
48523 (func_calc_desc): Add mpfr_if_f union field.
48524 (FUNC_mpfr_if_f): New macro.
48525 (test_functions): Add jn and yn.
48526 (calc_generic_results): Assert type of second input for
48527 mpfr_ff_f. Handle mpfr_if_f.
48528 (output_for_one_input_case): Disable all checking for arguments
48529 fitting floating-point types in case of an integer argument.
48530 * sysdeps/i386/fpu/libm-test-ulps: Update.
48531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48532
48533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48534 Don't expect fegetround reference in libm.so.
48535
48536 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
48537
48538 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
48539 $(config-cflags-nofma).
48540
48541 2013-12-18 Joseph Myers <joseph@codesourcery.com>
48542
48543 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
48544 * math/auto-libm-test-out: Regenerated.
48545
48546 [BZ #16338]
48547 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
48548 to determine exponent and adjust argument to have exponent of -1.
48549 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
48550 log2.
48551 * math/auto-libm-test-out: Regenerated.
48552 * sysdeps/i386/fpu/libm-test-ulps: Update.
48553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48554
48555 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
48556
48557 * manual/probes.texi: Remove cases when per-thread arenas are
48558 disabled.
48559
48560 2013-12-18 Andreas Schwab <schwab@suse.de>
48561
48562 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
48563 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
48564 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
48565 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
48566 * sysdeps/i386/i686/multiarch/Makefile: Update.
48567 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
48568
48569 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48570
48571 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
48572 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
48573
48574 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
48575
48576 [BZ #15968]
48577 Support TZ transition times < 00:00:00.
48578 This is needed for version-3 tz-format files; it supports time
48579 stamps past 2037 for America/Godthab (the only entry in the tz
48580 database for which this change is relevant).
48581 * manual/time.texi (TZ Variable): Document transition times
48582 from -167:59:59 through -00:00:01.
48583 * time/tzset.c (tz_rule): Time of day is now signed.
48584 (__tzset_parse_tz): Parse negative time of day.
48585
48586 Document TZ transition times >= 25:00:00.
48587 * manual/time.texi (TZ Variable): Document transition times from
48588 25:00:00 through 167:59:59. These are already supported, and this
48589 support will help with version-3 tz-format files.
48590
48591 * manual/time.texi (TZ Variable): Modernize North America example
48592 to reflect current (i.e., 2007-and-later) daylight saving rules.
48593
48594 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
48595
48596 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48597
48598 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
48599 * sysdeps/unix/bsd/bits/stat.h: Likewise.
48600 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
48601 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48602 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
48603 * sysdeps/unix/bsd/bsdstat.h: Likewise.
48604 * sysdeps/unix/bsd/clock.c: Likewise.
48605 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
48606 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
48607 * sysdeps/unix/bsd/init-posix.c: Likewise.
48608 * sysdeps/unix/bsd/poll.c: Likewise.
48609 * sysdeps/unix/bsd/ptsname.c: Likewise.
48610 * sysdeps/unix/bsd/seekdir.c: Likewise.
48611 * sysdeps/unix/bsd/setegid.c: Likewise.
48612 * sysdeps/unix/bsd/seteuid.c: Likewise.
48613 * sysdeps/unix/bsd/setgid.c: Likewise.
48614 * sysdeps/unix/bsd/setrgid.c: Likewise.
48615 * sysdeps/unix/bsd/setruid.c: Likewise.
48616 * sysdeps/unix/bsd/setsid.c: Likewise.
48617 * sysdeps/unix/bsd/setuid.c: Likewise.
48618 * sysdeps/unix/bsd/sigaction.c: Likewise.
48619 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
48620 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
48621 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
48622 * sysdeps/unix/bsd/telldir.c: Likewise.
48623 * sysdeps/unix/bsd/times.c: Likewise.
48624 * sysdeps/unix/bsd/usleep.c: Likewise.
48625
48626 * misc/Makefile (install-lib): Remove libbsd-compat.a.
48627 ($(objpfx)libbsd-compat.a): Remove rule.
48628
48629 * include/features.h (__FAVOR_BSD): Do not define.
48630 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
48631 features conflicting with POSIX.
48632 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
48633 (_BSD_SOURCE): Remove description of not being a subset of other
48634 feature test macros.
48635 * manual/job.texi (getpgrp): Do not document BSD version.
48636 (getpgid): Do not document by reference to BSD getpgrp.
48637 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
48638 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
48639 * signal/signal.h [__FAVOR_BSD]: Likewise.
48640 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
48641 instead of making contents conditional on [__FAVOR_BSD].
48642 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
48643
48644 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48645
48646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48647
48648 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48649
48650 [BZ #16314]
48651 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
48652 values below 2**-450, not 2**-500.
48653 * math/auto-libm-test-in: Don't allow spurious underflow from
48654 hypot.
48655 * math/auto-libm-test-out: Regenerated.
48656
48657 [BZ #16316]
48658 [BZ #16330]
48659 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
48660 values of ha and hb and sort them after adjusting subnormal
48661 arguments.
48662 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
48663 Likewise.
48664 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
48665 values of ea and eb and sort them after adjusting subnormal
48666 arguments.
48667 * math/auto-libm-test-in: Do not expect some hypot tests of
48668 subnormals to fail. Add more hypot tests.
48669 * math/auto-libm-test-out: Regenerated.
48670
48671 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48672
48673 [BZ #13304]
48674 * sysdeps/sh/s_fma.c: New file.
48675 * sysdeps/sh/s_fmaf.c: New file.
48676 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
48677 version.
48678 * sysdeps/sh/Implies: Add sh/soft-fp.
48679
48680 2013-12-16 Roland McGrath <roland@hack.frob.com>
48681
48682 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
48683 level of indirection to members `objname', `errstring', `malloced'.
48684 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
48685 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
48686 it as the __longjmp argument (just pass 1 instead).
48687 (_dl_catch_error): Initialize C with argument pointers and address of
48688 volatile local ERRCODE rather than copying values out of C at return.
48689
48690 2013-12-16 Joseph Myers <joseph@codesourcery.com>
48691
48692 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
48693 * math/auto-libm-test-out: Regenerated.
48694 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
48695 (hypot_test_data): Likewise.
48696 (pow_test_data): Likewise.
48697 (pow_tonearest_test_data): Likewise.
48698 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48699 mpfr_ff_f.
48700 (func_calc_desc): Add mpfr_ff_f union field.
48701 (FUNC_mpfr_ff_f): New macro.
48702 (test_functions): Add atan2, hypot and pow.
48703 (special_fill_min): New function.
48704 (special_fill_minus_min): Likewise.
48705 (special_fill_min_subnorm): Likewise.
48706 (special_fill_minus_min_subnorm): Likewise.
48707 (special_real_inputs): Add min, -min, min_subnorm and
48708 -min_subnorm.
48709 (calc_generic_results): Handle mpfr_ff_f.
48710 * sysdeps/i386/fpu/libm-test-ulps: Update.
48711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48712
48713 2013-12-16 Will Newton <will.newton@linaro.org>
48714
48715 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
48716 (Aligned Memory Blocks): Add documentation for aligned_alloc
48717 and suggest it as an alternative to posix_memalign.
48718 (Hooks for Malloc): Document __memalign_hook is also called
48719 for aligned_alloc. (Summary of Malloc): Add summary for
48720 aligned alloc. Document __memalign_hook is also called
48721 for aligned_alloc.
48722
48723 2013-12-16 Will Newton <will.newton@linaro.org>
48724
48725 * manual/memory.texi (Malloc Examples): Clarify default
48726 alignment documentation. Suggest posix_memalign rather
48727 than memalign or valloc.
48728 (Aligned Memory Blocks): Remove suggestion to use memalign
48729 or valloc. Remove obsolete comment about BSD.
48730 Document memalign errno values and mark the function obsolete.
48731 Document posix_memalign returned error codes. Mark valloc
48732 as obsolete. (Hooks for Malloc): __memalign_hook is also
48733 called for posix_memalign and valloc.
48734 (Summary of Malloc): Add posix_memalign to function summary.
48735 __memalign_hook is also called for posix_memalign and valloc.
48736
48737 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
48738
48739 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
48740 TAYLOR_SIN.
48741 (__sin): Adjust.
48742 (__cos): Likewise.
48743 (sloww): Use mynumber union. Expand ternary operator into
48744 if-else statements.
48745 (cslow): use mynumber union.
48746
48747 2013-12-16 Allan McRae <allan@archlinux.org>
48748
48749 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
48750 * configure: Regenerated.
48751
48752 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
48753
48754 [BZ #14120]
48755 * configure.ac: Added --enable-maintainer-mode. Check for
48756 autoconf when enabled.
48757 * configure: Regenerated.
48758
48759 * nscd/nscd.service: New file.
48760 * nscd/nscd.tmpfiles: New file.
48761
48762 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
48763
48764 [BZ #12100]
48765 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
48766 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
48767 * sysdeps/x86_64/multiarch/strstr.c: ... here.
48768 (strstr): Add __strstr_sse2_unaligned ifunc.
48769 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
48770 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
48771 (strcasestr): Remove __strcasestr_sse42 ifunc.
48772 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
48773 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48775
48776 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48777
48778 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
48779 * sysdeps/sh/bits/fenv.h: ... here.
48780 * sysdeps/sh/sh4/fpu/bits: Remove directory.
48781
48782 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48783
48784 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
48785
48786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
48787 hypotf multiarch implementations.
48788 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
48789 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
48790 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
48791 multiarch hypot for PPC64.
48792 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
48793 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
48794 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
48795 multiarch hypotf for PPC64.
48796
48797 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
48798 modff multiarch implementations.
48799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
48800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
48801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
48802 multiarch modf for PPC64.
48803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
48804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
48805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
48806 multiarch modff for PPC64.
48807
48808 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
48809 and logl multiarch implementations.
48810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
48811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
48812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
48813 multiarch logb for PPC64.
48814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
48815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
48816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
48817 multiarch logb for PPC64.
48818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
48819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
48820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
48821 multiarch logb for PPC64.
48822
48823 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
48824 isinff multiarch implementation.
48825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
48826 file.
48827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
48828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
48829 multiarch isinf for PPC64.
48830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
48831 file.
48832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
48833 multiarch isinff for PPC64.
48834
48835 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
48836 finitef multiarch implementation.
48837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
48838 file.
48839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
48840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
48841 multiarch finite for PPC64.
48842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
48843 file.
48844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
48845 multiarch finitef for PPC64.
48846
48847 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
48848 lrint multiarch implementation.
48849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
48850 file.
48851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
48852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
48853 multiarch llrint for PPC64.
48854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
48855 multiarch lrint for PPC64.
48856
48857 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
48858 copysignf multiarch implementation.
48859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
48860 file.
48861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
48862 file.
48863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
48864 multiarch copysign for PPC64.
48865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
48866 multiarch copysignf for PPC64.
48867
48868 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
48869 multiarch implementation.
48870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
48871 file.
48872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
48873 file.
48874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
48875 file.
48876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
48877 file.
48878 multiarch llround for PPC64.
48879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
48880 multiarch trunc for PPC64.
48881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48882 multiarch truncf for PPC64.
48883
48884 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48885 multiarch implementation.
48886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48887 file.
48888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48889 file.
48890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48891 file.
48892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48893 file.
48894 multiarch llround for PPC64.
48895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48896 multiarch round for PPC64.
48897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48898 multiarch roundf for PPC64.
48899
48900 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48901 multiarch implementation.
48902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48903 file.
48904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48905 file.
48906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48907 file.
48908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48909 file.
48910 multiarch llround for PPC64.
48911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48912 multiarch floor for PPC64.
48913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48914 multiarch floorf for PPC64.
48915
48916 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48917 multiarch implementation.
48918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48919 file.
48920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48921 file.
48922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48923 file.
48924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48925 file.
48926 multiarch llround for PPC64.
48927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48928 multiarch ceil for PPC64.
48929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48930 multiarch ceilf for PPC64.
48931
48932 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48933 multiarch implementation.
48934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48935 file.
48936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48937 file.
48938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48939 file.
48940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48941 multiarch llround for PPC64.
48942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48943 multiarch lround for PPC64.
48944
48945 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48946 multiarch implementation.
48947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48950 file.
48951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48954 multiarch isnan for PPC64.
48955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48956 multiarch isnanf for PPC64.
48957
48958 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48959 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48960 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48961 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48962 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48964
48965 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48966 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48967 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48968 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48969
48970 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48971 multiarch implementations.
48972 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48973 (__libc_ifunc_impl_list): Likewise.
48974 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48975 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48976 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48977 multiarch stpcpy for PPC64.
48978
48979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48980 multiarch implementations.
48981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48982 (__libc_ifunc_impl_list): Likewise.
48983 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48984 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48985 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48986 multiarch strcpy for PPC64.
48987
48988 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48989 redefine function name.
48990 (_wordcopy_fwd_dest_aligned): Likewise.
48991 (_wordcopy_bwd_aligned): Likewise.
48992 (_wordcopy_bwd_dest_aligned): Likewise.
48993 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48994 multiarch implementations.
48995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48996 (__libc_ifunc_impl_list): Likewise.
48997 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48998 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48999 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
49000 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
49001 multiarch wcscpy for PPC64.
49002
49003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
49004 multiarch implementations.
49005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49006 (__libc_ifunc_impl_list): Likewise.
49007 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
49008 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
49009 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
49010 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
49011 multiarch wcscpy for PPC64.
49012
49013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
49014 multiarch implementations.
49015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49016 (__libc_ifunc_impl_list): Likewise.
49017 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
49018 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
49019 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
49020 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
49021 multiarch wcsrchr for PPC64.
49022
49023 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
49024 multiarch implementations.
49025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49026 (__libc_ifunc_impl_list): Likewise.
49027 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
49028 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
49029 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
49030 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
49031 multiarch wcschr for PPC64.
49032
49033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
49034 multiarch implementations.
49035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49036 (__libc_ifunc_impl_list): Likewise.
49037 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
49038 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
49039 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
49040 multiarch strchrnul for PPC64.
49041
49042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
49043 implementations.
49044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49045 (__libc_ifunc_impl_list): Likewise.
49046 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
49047 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
49048 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
49049 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
49050 strchr for PPC64.
49051
49052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
49053 implementations.
49054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49055 (__libc_ifunc_impl_list): Likewise.
49056 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
49057 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
49058 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
49059 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
49060 strncmp for PPC64.
49061
49062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
49063 multiarch implementations.
49064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49065 (__libc_ifunc_impl_list): Likewise.
49066 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
49067 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
49068 strncasecmp for PPC64.
49069 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
49070 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
49071 multiarch strncasecmp_l for PPC64.
49072
49073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
49074 multiarch implementations.
49075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49076 (__libc_ifunc_impl_list): Likewise.
49077 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
49078 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
49079 multiarch strcasecmp for PPC64.
49080 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
49081 file.
49082 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
49083 multiarch strcasecmp_l for PPC64.
49084
49085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
49086 implementations.
49087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49088 (__libc_ifunc_impl_list): Likewise.
49089 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
49090 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
49091 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
49092 strnlen for PPC64.
49093
49094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
49095 implementations.
49096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49097 (__libc_ifunc_impl_list): Likewise.
49098 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
49099 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
49100 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
49101 strlen for PPC64.
49102
49103 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
49104 implementations.
49105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49106 (__libc_ifunc_impl_list): Likewise.
49107 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
49108 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
49109 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
49110 rawmemrchr for PPC64.
49111
49112 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
49113 implementation.
49114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49115 (__libc_ifunc_impl_list): Likewise.
49116 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
49117 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
49118 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
49119 memrchr for PPC64.
49120
49121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
49122 implementation.
49123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49124 (__libc_ifunc_impl_list): Likewise.
49125 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
49126 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
49127 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
49128 memchr for PPC64.
49129
49130 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
49131 implementation.
49132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49133 (__libc_ifunc_impl_list): Likewise.
49134 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
49135 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
49136 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
49137 mempcpy for PPC64.
49138
49139 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
49140 avoid cretion of __bzero symbol.
49141 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
49142 Likewise.
49143 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
49144 Likewise.
49145 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
49146 Likewise.
49147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
49148 multiarch implementations.
49149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49150 (__libc_ifunc_impl_list): Likewise.
49151 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
49152 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
49153 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
49154 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
49155 bzero for PPC32.
49156 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
49157 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
49158 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
49159 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
49160 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
49161 memset for PPC64.
49162 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
49163
49164 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
49165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
49166 implementations.
49167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49168 (__libc_ifunc_impl_list): Likewise.
49169 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
49170 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
49171 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
49172 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
49173 memcmp for PPC64.
49174
49175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
49176 multiarch for POWER/PPC64.
49177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
49178 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
49179 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
49180 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
49181 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
49182 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
49183 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
49184 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
49185 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
49186 memcpy for PPC64.
49187
49188 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
49189 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
49190 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
49191 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
49192 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
49193 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
49194 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
49195 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
49196 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
49197 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
49198 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
49199 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
49200 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
49201 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
49202 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
49203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
49204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
49205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
49206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
49207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
49208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
49209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
49210
49211 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49212
49213 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
49214
49215 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
49216
49217 * benchtests/Makefile (bench): Add exp2 and log2.
49218 (LDLIBS-bench-exp2): Add -lm.
49219 (LDLIBS-bench-log2): Likewise.
49220 * benchtests/exp2-inputs: New inputs file.
49221 * benchtests/log2-inputs: New inputs file.
49222 * benchtests/log-inputs: Add new inputs.
49223 * benchtests/tan-inputs: Likewise.
49224
49225 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
49226
49227 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
49228 definition...
49229 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
49230 (csloww2): ... from here.
49231
49232 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
49233 instead of structures.
49234 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
49235 (POLYNOMIAL): Likewise.
49236 (TAYLOR_SLOW): Likewise.
49237 (__sin): Likewise.
49238 (__cos): Likewise.
49239 (slow1): Likewise.
49240 (slow2): Likewise.
49241 (sloww): Likewise.
49242 (sloww1); Likewise.
49243 (sloww2): Likewise.
49244 (bsloww1): Likewise.
49245 (bsloww2): Likewise.
49246 (cslow2): Likewise.
49247 (csloww): Likewise.
49248 (csloww1): Likewise.
49249 (csloww2): Likewise.
49250
49251 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
49252
49253 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
49254 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
49255 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
49256 * malloc/hooks.c (realloc_check): Likewise.
49257
49258 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
49259 * malloc/arena.c: Remove PER_THREAD conditional.
49260 [!PER_THREAD]: Remove code.
49261 (ptmalloc_unlock_all2): Likewise.
49262 (ptmalloc_init): Likewise.
49263 (_int_new_arena): Likewise.
49264 (arena_get2): Likewise.
49265 * malloc/hooks.c (__malloc_get_state): Likewise.
49266 (__malloc_set_state): Likewise.
49267 * malloc/malloc.c: Likewise.
49268 (struct malloc_state): Likewise.
49269 (struct malloc_par): Likewise.
49270 (__libc_realloc): Likewise.
49271 (__libc_mallopt): Likewise.
49272
49273 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49274
49275 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
49276
49277 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
49278
49279 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
49280 macro to a function. Check for zero perturb_byte.
49281 (_int_malloc, _int_free): Remove zero perturb_byte checks.
49282
49283 * malloc/malloc.c: (force_reg): Remove.
49284 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
49285 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
49286 force_reg by atomic_forced_read.
49287 * malloc/arena.c (ptmalloc_init): Likewise.
49288 * malloc/hooks.c (top_check): Likewise.
49289
49290 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49291
49292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49293
49294 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
49295
49296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49297
49298 2013-12-08 Joseph Myers <joseph@codesourcery.com>
49299
49300 * math/auto-libm-test-in: Add tests of lgamma.
49301 * math/auto-libm-test-out: Regenerated.
49302 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
49303 (M_LOG_2_SQRT_PIl): Likewise.
49304 (lgamma_test_data): Use AUTO_TESTS_f_f1.
49305 * math/gen-auto-libm-tests.c (func_calc_method): Add value
49306 mpfr_f_f1.
49307 (func_calc_desc): Add mpfr_f_f1 union field.
49308 (ARGS1): New macro.
49309 (ARGS2): Likewise.
49310 (ARGS3): Likewise.
49311 (ARGS4): Likewise.
49312 (RET1): Likewise.
49313 (RET2): Likewise.
49314 (CALC): Likewise.
49315 (FUNC): Likewise.
49316 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
49317 (test_functions): Add lgamma.
49318 (calc_generic_results): Handle mpfr_f_f1.
49319 * sysdeps/i386/fpu/libm-test-ulps: Update.
49320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49321
49322 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49323
49324 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
49325 __mpn_add_n for PowerPC64/POWER7.
49326 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
49327 __mpn_sub_n for PowerPC64/POWER7.
49328
49329 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
49330 __mpn_addmul_1 for PowerPC64.
49331 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
49332 __mpn_submul_1 for PowerPC64.
49333 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
49334 for PowerPC64.
49335 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
49336 for PowerPC64.
49337
49338 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
49339
49340 [BZ #15089]
49341 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
49342
49343 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49344
49345 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
49346
49347 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
49348 add multiarch folders.
49349 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
49350 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
49351 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
49352 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
49353 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
49354 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
49355 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
49356 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
49357 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
49358 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
49359 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
49360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
49361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
49362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
49363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
49364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
49365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
49366
49367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49368 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
49369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
49370 New file.
49371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
49372 New file.
49373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
49374 multiarch __ieee754_hypot for PowerPC32.
49375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
49376 New file.
49377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
49378 New file.
49379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
49380 multiarch __ieee754_hypotf for PowerPC32.
49381
49382 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
49383 long_double_symbol only if __logbl is defined.
49384 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
49385 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
49386 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
49387 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
49388 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
49389 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
49390 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
49391 path for implementation.
49392 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
49393 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
49394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
49395 logb, and logbl multiarch implementations for PowerPC32.
49396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
49397 file.
49398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
49399 file.
49400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
49401 multiarch logb for PowerPC32.
49402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
49403 file.
49404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
49405 file.
49406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
49407 multiarch logbf for PowerPC32.
49408 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
49409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
49410 file.
49411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
49412 multiarch logbl implementation for PowerPC32.
49413
49414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
49415 and modff multiarch implementations.
49416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
49417 New file.
49418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
49419 New file.
49420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
49421 multiarch modf for PowerPC32.
49422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
49423 New file.
49424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
49425 New file.
49426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
49427 multiarch modff for PowerPC32.
49428
49429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
49430 and lrintf multiarch implementations.
49431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
49432 New file.
49433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
49434 New file.
49435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
49436 multiarch lrint for PowerPC32.
49437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
49438 file: multiarch lrintf for PowerPC32.
49439
49440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
49441 and lroundf multiarch implementations.
49442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
49443 New file.
49444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
49445 New file.
49446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
49447 New file.
49448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
49449 multiarch lround for PowerPC32.
49450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
49451 file: multiarch lroundf for PowerPC32.
49452
49453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49454 copysign and copysignf multiarch implementations.
49455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
49456 New file.
49457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
49458 New file.
49459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
49460 file: multiarch copysign for PowerPC32.
49461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
49462 file: multiarch copysignf for PowerPC32.
49463
49464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
49465 and truncf multiarch implementations.
49466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
49467 New file.
49468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
49469 file.
49470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
49471 multiarch trunc for PowerPC32.
49472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
49473 New file.
49474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
49475 New file.
49476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
49477 multiarch truncf for PowerPC32.
49478
49479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
49480 and roundf multiarch implementations.
49481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
49482 New file.
49483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
49484 file.
49485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
49486 multiarch round for PowerPC32.
49487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
49488 New file.
49489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
49490 New file.
49491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
49492 multiarch roundf for PowerPC32.
49493
49494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
49495 and floorf multiarch implementations.
49496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
49497 New file.
49498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
49499 file.
49500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
49501 multiarch floor for PowerPC32.
49502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
49503 New file.
49504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
49505 New file.
49506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
49507 multiarch floorf for PowerPC32.
49508
49509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
49510 and ceilf multiarch implementations.
49511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
49512 New file.
49513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
49514 file.
49515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
49516 multiarch ceil for PowerPC32.
49517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
49518 New file.
49519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
49520 file.
49521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
49522 multiarch ceilf for PowerPC32.
49523
49524 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
49525 is defined.
49526 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
49527 FINITEF is defined.
49528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
49529 and finitef multiarch implementations.
49530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
49531 New file.
49532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
49533 file.
49534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
49535 multiarch finite for PowerPC32.
49536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
49537 New file.
49538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
49539 file: multiarch finitef for PowerPC32.
49540
49541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
49542 and isinff multiarch implementations.
49543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
49544 file.
49545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
49546 file.
49547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
49548 multiarch isinf for PowerPC32.
49549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
49550 New file.
49551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
49552 multiarch isinff for PowerPC32.
49553
49554 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
49555 alias when __isnan is defined.
49556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
49557 and isnanf multiarch implementations.
49558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
49559 file.
49560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
49561 file.
49562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
49563 file.
49564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
49565 file.
49566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
49567 multiarch isnan for PowerPC32.
49568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
49569 New file.
49570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
49571 New file.
49572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
49573 multiarch isnanf for PowerPC32.
49574
49575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
49576 and sqrtf multiarch implementations.
49577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
49578 file.
49579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
49580 file.
49581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
49582 multiarch sqrt for PowerPC32.
49583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
49584 file.
49585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
49586 file.
49587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
49588 multiarch sqrtf for PowerPC32.
49589
49590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
49591 and llroundf multiarch implementations.
49592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
49593 New file.
49594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
49595 New file.
49596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
49597 New file.
49598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
49599 file: multiarch llround for PowerPC32.
49600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
49601 file: multiarch llroundf for PowerPC32.
49602
49603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
49604 multiarch PowerPC32 fpu implementations.
49605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
49606 New file.
49607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
49608 New file.
49609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
49610 multiarch llrint for PowerPC32.
49611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
49612 New file.
49613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
49614 New file.
49615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
49616 file.
49617
49618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
49619
49620 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
49621 file.
49622 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
49623 file.
49624 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
49625 file.
49626 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
49627 multiarch wordcopy for PPC32.
49628 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49629 wordcopy objects.
49630 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49631 (__libc_ifunc_impl_list): Likewise.
49632 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
49633 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
49634 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
49635 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
49636 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
49637 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
49638
49639 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
49640 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
49641 file.
49642 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
49643 file.
49644 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
49645 file.
49646 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
49647 multiarch wcscpy for PPC32.
49648 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49649 multiarch objects.
49650 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49651 (__libc_ifunc_impl_list): Likewise.
49652 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49653 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49654 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
49655 sysdeps/powerpc/power6/wcscpy.c.
49656
49657 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
49658 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
49659 file.
49660 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
49661 file.
49662 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
49663 file.
49664 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
49665 multiarch wcsrchr for PPC32.
49666 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49667 multiarch objects.
49668 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49669 (__libc_ifunc_impl_list): Likewise.
49670 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49671 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49672 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
49673 sysdeps/powerpc/power6/wcsrchr.c.
49674
49675 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
49676 file.
49677 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
49678 file.
49679 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
49680 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
49681 multiarch wcschr for PPc32.
49682 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49683 multiarch objects.
49684 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49685 (__libc_ifunc_impl_list): Likewise.
49686 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
49687 * sysdeps/powerpc/power6/wcschr.c: ... to here.
49688 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
49689 sysdeps/powerpc/power6/wcschr.c.
49690
49691 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
49692 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
49693 file.
49694 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
49695 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
49696 file: multiarch strchr for PPC32.
49697 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
49698 multiarch objects.
49699 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49700 (__libc_ifunc_impl_list): Likewise.
49701
49702 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
49703 name.
49704 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
49705 file.
49706 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
49707 file.
49708 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
49709 multiarch strchrnul for PPC32.
49710 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
49711 multiarch objects.
49712 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49713 (__libc_ifunc_impl_list): Likewise.
49714
49715 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
49716 file.
49717 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
49718 multiarch strncasecmp for PPC32.
49719 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
49720 file.
49721 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
49722 multiarch strncasecmp_l for PPC32.
49723 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
49724 strncasecmp multiarch objects.
49725 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49726 (__libc_ifunc_impl_list): Likewise.
49727
49728 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
49729 file.
49730 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
49731 multiarch strncasecmp for PPC32.
49732 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
49733 New file.
49734 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
49735 multiarch strcasecmp_l for PPC32.
49736 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
49737 multiarch objects.
49738 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49739 (__libc_ifunc_impl_list): Likewise.
49740
49741 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
49742 file.
49743 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
49744 file.
49745 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
49746 multiarch strncmp for PPC32.
49747 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
49748 multiarch objects.
49749 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49750 (__libc_ifunc_impl_list): Likewise.
49751
49752 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
49753 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
49754 file.
49755 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
49756 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
49757 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
49758 multiarch objects.
49759 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49760 (__libc_ifunc_impl_list): Likewise.
49761
49762 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
49763 file.
49764 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
49765 file.
49766 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
49767 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
49768 multiarch objects.
49769 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49770 (__libc_ifunc_impl_list): Likewise.
49771
49772 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
49773 file.
49774 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
49775 file.
49776 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
49777 multiarch rawmemchr for PPC32.
49778 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
49779 multiarch objects.
49780 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49781 (__libc_ifunc_impl_list): Likewise.
49782
49783 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
49784 file.
49785 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
49786 file.
49787 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
49788 file: memrchr multiarch for PPC32.
49789 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
49790 multiarch objects.
49791 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49792 (__libc_ifunc_impl_list): Likewise.
49793
49794 * string/memchr.c (__memchr): Using macro to redefine symbol name.
49795 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
49796 file.
49797 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
49798 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
49799 multiarch memchr for PPC32.
49800 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
49801 multiarch objects.
49802 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49803 (__libc_ifunc_impl_list): Likewise.
49804
49805 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
49806 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
49807 file.
49808 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
49809 file.
49810 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
49811 file: multiarch mempcpy for PPC32.
49812 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
49813 multiarch objects.
49814 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49815 (__libc_ifunc_impl_list): Likewise.
49816
49817 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
49818 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
49819 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
49820 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
49821 multiarch bzero for PPC32.
49822 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
49823 file.
49824 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
49825 file.
49826 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
49827 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
49828 file: multiarch memset for PPC32.
49829 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
49830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
49831 memset multiarch objects.
49832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49833 (__libc_ifunc_impl_list): Likewise.
49834
49835 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
49836 file.
49837 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
49838 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
49839 memcmp for PPC32.
49840 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
49841 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
49842 multiarch objects.
49843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49844 (__libc_ifunc_impl_list): Likewise.
49845
49846 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
49847 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
49848 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
49849 file.
49850 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
49851 file.
49852 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
49853 file.
49854 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
49855 multiarch memcpy for PPC32.
49856 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
49857 multiarch objects.
49858 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49859 (__libc_ifunc_impl_list): Likewise.
49860
49861 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
49862 support multiarch for POWER/PPC32.
49863 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
49864 Likewise.
49865 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
49866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
49867 Implies file to make multiarch folder appers before the fpu and
49868 default folder for power4 configuration.
49869
49870 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49871
49872 * scripts/bench.pl: Append volatile keyword to type.
49873
49874 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49875
49876 * sysdeps/sh/sotruss-lib.c: New file.
49877 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
49878
49879 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49880
49881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49882
49883 2013-12-05 Joseph Myers <joseph@codesourcery.com>
49884
49885 [BZ #6810]
49886 * math/w_tgamma.c: Include <errno.h>.
49887 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
49888 * math/w_tgammaf.c: Include <errno.h>.
49889 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
49890 * math/w_tgammal.c: Include <errno.h>.
49891 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
49892 * math/auto-libm-test-in: Do not allow missing errno on tgamma
49893 underflow. Add more tgamma tests.
49894 * math/auto-libm-test-out: Regenerated.
49895 * sysdeps/i386/fpu/libm-test-ulps: Update.
49896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49897
49898 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49899 sin, sinh, tan, tanh, tgamma, y0 and y1.
49900 * math/auto-libm-test-out: Regenerated.
49901 * math/libm-test.inc (TEST_COND_x86_64): New macro.
49902 (TEST_COND_x86): Likewise.
49903 (M_E2l): Remove macro.
49904 (M_E3l): Likewise.
49905 (M_2_SQRT_PIl): Likewise.
49906 (M_SQRT_PIl): Likewise.
49907 (M_1_DIV_El): Likewise.
49908 (log_test_data): Use AUTO_TESTS_f_f.
49909 (log10_test_data): Likewise.
49910 (log1p_test_data): Likewise.
49911 (log2_test_data): Likewise.
49912 (sin_test_data): Likewise.
49913 (sin_tonearest_test_data): Likewise.
49914 (sin_towardzero_test_data): Likewise.
49915 (sin_downward_test_data): Likewise.
49916 (sin_upward_test_data): Likewise.
49917 (sinh_test_data): Likewise.
49918 (sinh_tonearest_test_data): Likewise.
49919 (sinh_towardzero_test_data): Likewise.
49920 (sinh_downward_test_data): Likewise.
49921 (sinh_upward_test_data): Likewise.
49922 (tan_test_data): Likewise.
49923 (tan_tonearest_test_data): Likewise.
49924 (tan_towardzero_test_data): Likewise.
49925 (tan_downward_test_data): Likewise.
49926 (tan_upward_test_data): Likewise.
49927 (tanh_test_data): Likewise.
49928 (tgamma_test_data): Likewise.
49929 (y0_test_data): Likewise.
49930 (y1_test_data): Likewise.
49931 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49932 (special_real_inputs): Add pi/4.
49933 * sysdeps/i386/fpu/libm-test-ulps: Update.
49934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49935
49936 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49937
49938 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49939 "longjmp_target" static probes.
49940 (__longjmp): Rename to __longjmp_symbol.
49941 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49942 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49943 on which longjmp to generate.
49944 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49945 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49946 probe.
49947 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49948 (__sigjmp_save): Rename to __sigjmp_save_symbol.
49949 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49950 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49951 and __sigjmp_save_symbol based on which sigsetjmp to generated.
49952 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49954 __longjmp_symbol based on which __longjmp to generate.
49955 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49956 probe.
49957 (setjmp): Rename to setjmp_symbol.
49958 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49959 (_setjmp): Rename to _setjmp_symbol.
49960 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49961 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49962 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49963 which setjmp to generate.
49964 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49965 "longjmp_target" static probes.
49966
49967 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
49968
49969 * benchtests/README: Add note about output arguments.
49970 * benchtests/bench-sincos.c: Remove file.
49971 * benchtests/sincos-inputs: New file.
49972 * scripts/bench.pl: Identify output arguments and define
49973 static variables for them.
49974
49975 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49976
49977 [BZ #15941]
49978 * Makefile (INSTALL): Add install-plain.texi as the primary
49979 dependency.
49980 * manual/install-plain.texi: New file.
49981 * manual/install.texi: Include node directive only for
49982 non-plaintext output.
49983
49984 2013-12-04 Joseph Myers <joseph@codesourcery.com>
49985
49986 * stdlib/longlong.h: Update from GCC.
49987
49988 [BZ #6807]
49989 [BZ #15901]
49990 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49991 * math/w_j0f.c (y0f): Likewise.
49992 * math/w_j0l.c (__y0l): Likewise.
49993 * math/w_j1.c (y1): Likewise.
49994 * math/w_j1f.c (y1f): Likewise.
49995 * math/w_j1l.c (__y1l): Likewise.
49996 * math/w_jn.c (yn): Likewise.
49997 * math/w_jnf.c (ynf): Likewise.
49998 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49999 Bessel function pole errors in _POSIX_ mode. Use NAN as return
50000 value for Bessel function domain errors outside _SVID_ mode.
50001 Adjust sign of return value for yn (negative integer, 0).
50002 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
50003 by zero in return for negative x and set sign appropriately for
50004 negative n.
50005 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
50006 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
50007 * math/libm-test.inc (y0_test_data): Add more tests and adjust
50008 expectations in error cases.
50009 (y1_test_data): Likewise.
50010 (yn_test_data): Likewise.
50011 * sysdeps/i386/fpu/libm-test-ulps: Update.
50012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50013
50014 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50015
50016 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
50017 "64" to "64-v1". Add "64-v2".
50018 (abi-64-options): Rename to ...
50019 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
50020 (abi-64-condition): Rename to ...
50021 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
50022 (abi-64-ld-soname): Rename to ...
50023 (abi-64-v1-ld-soname): ... this.
50024 (abi-64-v2-options): Define.
50025 (abi-64-v2-condition): Likewise.
50026 (abi-64-v2-ld-soname): Likewise.
50027 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
50028 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
50029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
50030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
50031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
50032
50033 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50034 Alan Modra <amodra@gmail.com>
50035
50036 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
50037 New versions for use with the ELFv2 ABI.
50038 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
50039 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
50040 declaration.
50041 (struct La_ppc64v2_retval): Likewise.
50042 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
50043 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
50044 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
50045 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
50046 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
50047 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50048 Do not save or restore CR.
50049 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
50050 (_dl_profile_resolve): Do no save or restore CR. Support extended
50051 return values for ELFv2 ABI. Fix location of FPR return registers.
50052 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
50053 updated values for _CALL_ELF == 2.
50054 (La_regs, La_retval, int_retval): Likewise.
50055
50056 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50057
50058 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
50059 (FRAME_MIN_SIZE_PARM): Likewise.
50060 (FRAME_BACKCHAIN): Likewise.
50061 (FRAME_CR_SAVE): Likewise.
50062 (FRAME_LR_SAVE): Likewise.
50063 (FRAME_TOC_SAVE): Likewise.
50064 (FRAME_PARM_SAVE): Likewise.
50065 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
50066 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
50067 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
50068 (call_mcount_parm_offset): New macro.
50069 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
50070 (PROF): Use symbolic stack frame offsets.
50071 (TAIL_CALL_SYSCALL_ERROR): Likewise.
50072 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
50073 Redefine in terms of FRAME_MIN_SIZE.
50074 (_dl_runtime_resolve): Use symbolic stack frame offsets.
50075 (_dl_profile_resolve): Likewise. Update comment.
50076 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
50077 symbols stack frame offsets.
50078 (__sigsetjmp): Likewise.
50079 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
50080 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
50081 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
50082 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
50083
50084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
50085 (FRAME_BACKCHAIN): Remove.
50086 (FRAME_CR_SAVE): Likewise.
50087 (FRAME_LR_SAVE): Likewise.
50088 (FRAME_COMPILER_DW): Likewise.
50089 (FRAME_LINKER_DW): Likewise.
50090 (FRAME_TOC_SAVE): Likewise.
50091 (FRAME_PARM_SAVE): Likewise.
50092 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
50093 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
50094 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
50095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
50096 (CHECK_SP): Use symbolic stack frame offsets.
50097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
50098 zone" instead of caller's parameter save area for temp storage.
50099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50100 Likewise. Also, use symbolic stack frame offsets.
50101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
50102 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
50103 our own stack frame instead of the caller's.
50104 (__socket): Use symbolic stack frame offsets.
50105
50106 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50107 Alan Modra <amodra@gmail.com>
50108
50109 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
50110 Define.
50111 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
50112 (PPC64_LOCAL_ENTRY_OFFSET): Define.
50113 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
50114 New function.
50115 (elf_machine_fixup_plt): Call it.
50116 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
50117 reloc arguments.
50118 (elf_machine_rela): Update call to elf_machine_plt_conflict.
50119 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50120 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
50121 r2 before calling target.
50122
50123 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50124 Alan Modra <amodra@gmail.com>
50125
50126 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
50127 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
50128 versions of macros to support ELFv2 ABI.
50129 (LOCALENTRY): New macro.
50130 (ENTRY, EALIGN): Use it.
50131 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
50132 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
50133 fall through into ENTRY entry point.
50134 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
50135 Only define if _CALL_ELF != 2.
50136
50137 (elf_machine_matches_host): Verify ABI version matches.
50138 (RTLD_START): Use LOCALENTRY.
50139 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
50140 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
50141 (PLT_ENTRY_WORDS): New macro.
50142 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
50143 (elf_machine_runtime_setup): Support ELFv2 ABI.
50144 (elf_machine_fixup_plt): Likewise.
50145 (elf_machine_plt_conflict): Likewise.
50146 (resolve_ifunc): Likewise.
50147 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50148 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50149 Likewise.
50150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
50151 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
50152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50153 (makecontext): Support ELFv2 ABI.
50154 * elf/elf.h (EF_PPC64_ABI): Define.
50155
50156 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50157
50158 * sysdeps/powerpc/powerpc64/sysdep.h
50159 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
50160 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
50161 (ENTRY) [ASSEMBLER]: ... but instead here ...
50162 (EALIGN) [ASSEMBLER]: ... and here.
50163 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
50164 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
50165 (ENTRY_2) [!ASSEMBLER]: Use it.
50166 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
50167 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
50168 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50169 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
50170 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
50171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
50172 Use PPC64_LOAD_FUNCPTR.
50173
50174 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
50175
50176 2013-12-04 Alan Modra <amodra@gmail.com>
50177
50178 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
50179 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
50180 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
50181 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
50182
50183 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
50184 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
50185 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
50186 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
50187 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
50188 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
50189
50190 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50191
50192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50193 (__makecontext): Fix incorrect CFI when backtracing out of
50194 context created via makecontext.
50195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
50196 (__setcontext): Fix incorrect CFI during switch to new context.
50197 (__novec_setcontext): Likewise.
50198
50199 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
50200
50201 [BZ #4772]
50202 * time/strptime_l.c (__strptime_internal): Allow modifiers
50203 in strptime.
50204 * time/tst-strptime.c (day_tests): Add testcase.
50205
50206 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
50207
50208 * scripts/bench.pl: Skip over blank lines.
50209
50210 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
50211
50212 [BZ #926]
50213 * manual/time.texi (Calendar Time): Clarify what timezone functions
50214 use.
50215
50216 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50217
50218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50219
50220 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
50221
50222 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
50223 implementation.
50224 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
50225 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
50226 * debug/memset_chk.c (__memset_chk): Likewise.
50227 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
50228 * debug/strncpy_chk.c: Likewise.
50229
50230 2013-12-03 Joseph Myers <joseph@codesourcery.com>
50231
50232 [BZ #15268]
50233 [BZ #15425]
50234 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
50235 (__ieee754_exp): For possibly underflowing results, check size of
50236 result and force underflow exception if required.
50237 * math/auto-libm-test-in: Add more tests of exp.
50238 * math/auto-libm-test-out: Regenerated.
50239 * sysdeps/i386/fpu/libm-test-ulps: Update.
50240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50241
50242 [BZ #16283]
50243 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
50244 * math/w_exp2f.c (__exp2f): Likewise.
50245 * math/w_exp2l.c (__exp2l): Likewise.
50246 * math/auto-libm-test-in: Do not allow missing errno on exp2
50247 underflow.
50248 * math/auto-libm-test-out: Regenerated.
50249
50250 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
50251
50252 [BZ #16274]
50253 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
50254 handle filename validation.
50255 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
50256 (do_open): Delete.
50257
50258 2013-12-03 Joseph Myers <joseph@codesourcery.com>
50259
50260 [BZ #6786]
50261 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
50262 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
50263 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
50264 <float.h>.
50265 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
50266 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
50267 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50268 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
50269 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50270 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
50271 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50272 * math/auto-libm-test-in: Don't allow missing errno from erfc.
50273 Add more erfc tests.
50274 * math/auto-libm-test-out: Regenerated.
50275 * sysdeps/i386/fpu/libm-test-ulps: Update.
50276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50277
50278 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
50279 exp2, expm1, j0 and j1.
50280 * math/auto-libm-test-out: Regenerated.
50281 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
50282 (erfc_test_data): Likewise.
50283 (exp_test_data): Likewise.
50284 (exp_tonearest_test_data): Likewise.
50285 (exp_towardzero_test_data): Likewise.
50286 (exp_downward_test_data): Likewise.
50287 (exp_upward_test_data): Likewise.
50288 (exp10_test_data): Likewise.
50289 (exp2_test_data): Likewise.
50290 (expm1_test_data): Likewise.
50291 (j0_test_data): Likewise.
50292 (j1_test_data): Likewise.
50293 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
50294 (input_flag_type): Add flag_xfail_rounding.
50295 (input_flags): Add xfail-rounding.
50296 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
50297 (output_for_one_input_case): Handle flag_xfail_rounding.
50298 * sysdeps/i386/fpu/libm-test-ulps: Update.
50299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50300
50301 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
50302
50303 [BZ #16289]
50304 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
50305 division by 0.
50306
50307 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
50308
50309 [BZ #16195]
50310 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
50311 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
50312 (STAP_PROBE0): New macro.
50313 (STAP_PROBE1): Likewise.
50314 (STAP_PROBE2): Likewise.
50315 (STAP_PROBE3): Likewise.
50316 (STAP_PROBE4): Likewise.
50317
50318 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
50319
50320 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
50321
50322 2013-12-02 Steve Ellcey <sellcey@mips.com>
50323
50324 * benchtests/Makefile (bench): Add sqrt.
50325 (LDLIBS-bench-sqrt): New.
50326 * benchtests/sqrt-input: New.
50327
50328 2013-12-02 Pavel Simerda <psimerda@redhat.com>
50329
50330 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
50331 (GAIH_EAI): Likewise.
50332 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
50333 (gaih_inet): Likewise.
50334 (getaddrinfo): Don't use GAIH_EAI.
50335
50336 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
50337 (struct gaih): Remove definition.
50338
50339 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
50340
50341 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
50342 Use HERRNOP directly.
50343
50344 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50345
50346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50347
50348 2013-11-30 Joseph Myers <joseph@codesourcery.com>
50349
50350 * math/gen-auto-libm-tests.c (test_functions): Add more
50351 single-argument functions.
50352 (special_fill_pi_2): New function.
50353 (special_fill_minus_pi_2): Likewise.
50354 (special_fill_pi_6): Likewise.
50355 (special_fill_minus_pi_6): Likewise.
50356 (special_fill_pi_3): Likewise.
50357 (special_fill_2pi_3): Likewise.
50358 (special_fill_e): Likewise.
50359 (special_fill_1_e): Likewise.
50360 (special_fill_e_minus_1): Likewise.
50361 (special_real_inputs): Add more special inputs.
50362 (output_for_one_input_case): Do not require ERANGE on underflow to
50363 zero if round-to-nearest result does not underflow to zero, unless
50364 exact results required.
50365 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
50366 atan, atanh, cbrt, cos and cosh.
50367 * math/auto-libm-test-out: Regenerated.
50368 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
50369 (acos_tonearest_test_data): Likewise.
50370 (acos_towardzero_test_data): Likewise.
50371 (acos_downward_test_data): Likewise.
50372 (acos_upward_test_data): Likewise.
50373 (acosh_test_data): Likewise.
50374 (asin_test_data): Likewise.
50375 (asin_tonearest_test_data): Likewise.
50376 (asin_towardzero_test_data): Likewise.
50377 (asin_upward_test_data): Likewise.
50378 (asinh_test_data): Likewise.
50379 (atan_test_data): Likewise.
50380 (atanh_test_data): Likewise.
50381 (cbrt_test_data): Likewise.
50382 (cos_test_data): Likewise.
50383 (cos_tonearest_test_data): Likewise.
50384 (cos_towardzero_test_data): Likewise.
50385 (cos_downward_test_data): Likewise.
50386 (cos_upward_test_data): Likewise.
50387 (cosh_test_data): Likewise.
50388 (cosh_tonearest_test_data): Likewise.
50389 (cosh_towardzero_test_data): Likewise.
50390 (cosh_downward_test_data): Likewise.
50391 (cosh_upward_test_data): Likewise.
50392 * sysdeps/i386/fpu/libm-test-ulps: Update.
50393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50394
50395 2013-11-29 Joseph Myers <joseph@codesourcery.com>
50396
50397 [BZ #6787]
50398 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
50399 * math/w_exp10f.c (__exp10f): Likewise.
50400 * math/w_exp10l.c (__exp10l): Likewise.
50401 * math/libm-test.inc (exp10_test_data): Add more tests and expect
50402 errno settings in existing tests.
50403
50404 [BZ #14032]
50405 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
50406 precision control set to double precision.
50407 * sysdeps/i386/fpu/w_sqrt.c: New file.
50408 * math/auto-libm-test-in: Add more tests.
50409 * math/auto-libm-test-out: Update.
50410
50411 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
50412 (sqrt_test_tonearest): New function.
50413 (sqrt_towardzero_test_data): New variable.
50414 (sqrt_test_towardzero): New function.
50415 (sqrt_downward_test_data): New variable.
50416 (sqrt_test_downward): New function.
50417 (sqrt_upward_test_data): New variable.
50418 (sqrt_test_upward): New function.
50419 (main): Call the new functions.
50420
50421 * math/gen-auto-libm-tests.c: New file.
50422 * math/auto-libm-test-in: Likewise.
50423 * math/auto-libm-test-out: New generated file.
50424 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
50425 variables.
50426 (%beautify): Add generated representations of zero.
50427 (top level): Set $auto_input and call parse_auto_input.
50428 (beautify): Remove trailing "f" from hex float constants.
50429 (parse_args): Handle XFAIL_TEST.
50430 (convert_condition): New function.
50431 (or_value): Likewise.
50432 (or_cond_value): Likewise.
50433 (generate_testfile): Handle AUTO_TESTS_* lines.
50434 (parse_auto_input): New function.
50435 * math/libm-test.inc (XFAIL_TEST): New macro.
50436 (ERRNO_UNCHANGED): Update value.
50437 (ERRNO_EDOM): Likewise.
50438 (ERRNO_ERANGE): Likewise.
50439 (IGNORE_RESULT): Likewise.
50440 (TEST_COND_flt_32): New macro.
50441 (TEST_COND_dbl_64): Likewise.
50442 (TEST_COND_ldbl_96_intel): Likewise.
50443 (TEST_COND_ldbl_96_m68k): Likewise.
50444 (TEST_COND_ldbl_128): Likewise.
50445 (TEST_COND_ldbl_128ibm): Likewise.
50446 (TEST_COND_long32): Likewise.
50447 (TEST_COND_long64): Likewise.
50448 (TEST_COND_before_rounding): Likewise.
50449 (TEST_COND_after_rounding): Likewise.
50450 (enable_test): Handle XFAIL_TEST flag.
50451 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
50452 with finite results.
50453 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
50454 auto-libm-test-out.
50455
50456 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
50457 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50458
50459 [BZ #16214]
50460 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
50461 __tls_get_addr_internal instead of __tls_get_offset in order to
50462 avoid GOT pointer dependency. Make rtld export
50463 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
50464 __tls_get_addr since we are a __tls_get_offset platform.
50465 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
50466 GOT pointer being set up before.
50467 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
50468
50469 2013-11-28 Joseph Myers <joseph@codesourcery.com>
50470
50471 * manual/math.texi (Errors in Math Functions): Document accuracy
50472 goals.
50473
50474 [BZ #15004]
50475 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
50476 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
50477 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50478 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50479 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50480 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50481 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50482 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50483 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50484 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50485 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50486 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50487 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50488 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50489 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50490 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50491
50492 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
50493 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
50494 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
50495 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
50496 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
50497 Likewise.
50498 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
50499 Likewise.
50500 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
50501 Likewise.
50502 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
50503 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
50504 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
50505 atomic-feupdateenv and flt-rounds.
50506 * sysdeps/powerpc/nofpu/Versions (libc): Add
50507 __atomic_feholdexcept, __atomic_feclearexcept,
50508 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
50509 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
50510 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
50511 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
50512 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
50513 here.
50514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
50515 Update.
50516
50517 * manual/arith.texi (FP Exceptions): Document that exceptions may
50518 not be raised when matherr is used.
50519 (Math Error Reporting): Document overflow in directed rounding
50520 modes. Document that errno may not be set when finite values are
50521 returned on overflow. Document intent to set errno on underflow
50522 only for underflow to zero.
50523
50524 [BZ #16271]
50525 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
50526 round-to-nearest then adjust result for other rounding modes.
50527 * include/fenv.h (fegetround): Use libm_hidden_proto.
50528 * math/fegetround.c (fegetround): Use libm_hidden_def.
50529 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
50530 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
50531 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50532 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
50533 Likewise.
50534 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
50535 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50536 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
50537 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
50538
50539 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50540
50541 [BZ #16077]
50542 * nss/Versions (libnss_files): Add
50543 _nss_files_gethostbyname3_r.
50544 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
50545 New function.
50546 (HOST_DB_LOOKUP): Remove macro.
50547 (_nss_files_gethostbyname_r): Implement function without the
50548 HOST_DB_LOOKUP macro.
50549 (_nss_files_gethostbyname2_r): Likewise.
50550
50551 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
50552
50553 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
50554
50555 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
50556
50557 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
50558 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
50559 warning.
50560
50561 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50562
50563 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
50564 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
50565 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50566 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
50567 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
50568 __fe_nomask_env_priv and attribute_hidden.
50569 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
50570 (libc_feupdateenv_test_ppc): Likewise.
50571 (libc_feresetround_ppc): Likewise.
50572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50573 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
50574 compat_symbol macro.
50575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50576 (__fe_nomask_env): Likewise.
50577 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
50578
50579 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50580
50581 * string/Makefile: Remove ifunc tests.
50582 * string/test-string.h: Define TEST_IFUNC.
50583 * string/test-bcopy-ifunc.c: Remove.
50584 * string/test-bzero-ifunc.c: Likewise.
50585 * string/test-memccpy-ifunc.c: Likewise.
50586 * string/test-memchr-ifunc.c: Likewise.
50587 * string/test-memcmp-ifunc.c: Likewise.
50588 * string/test-memcpy-ifunc.c: Likewise.
50589 * string/test-memmem-ifunc.c: Likewise.
50590 * string/test-memmove-ifunc.c: Likewise.
50591 * string/test-mempcpy-ifunc.c: Likewise.
50592 * string/test-memrchr-ifunc.c: Likewise.
50593 * string/test-memset-ifunc.c: Likewise.
50594 * string/test-rawmemchr-ifunc.c: Likewise.
50595 * string/test-stpcpy-ifunc.c: Likewise.
50596 * string/test-stpncpy-ifunc.c: Likewise.
50597 * string/test-strcasecmp-ifunc.c: Likewise.
50598 * string/test-strcasestr-ifunc.c: Likewise.
50599 * string/test-strcat-ifunc.c: Likewise.
50600 * string/test-strchr-ifunc.c: Likewise.
50601 * string/test-strchrnul-ifunc.c: Likewise.
50602 * string/test-strcmp-ifunc.c: Likewise.
50603 * string/test-strcpy-ifunc.c: Likewise.
50604 * string/test-strcspn-ifunc.c: Likewise.
50605 * string/test-strlen-ifunc.c: Likewise.
50606 * string/test-strncasecmp-ifunc.c: Likewise.
50607 * string/test-strncat-ifunc.c: Likewise.
50608 * string/test-strncmp-ifunc.c: Likewise.
50609 * string/test-strncpy-ifunc.c: Likewise.
50610 * string/test-strnlen-ifunc.c: Likewise.
50611 * string/test-strpbrk-ifunc.c: Likewise.
50612 * string/test-strrchr-ifunc.c: Likewise.
50613 * string/test-strspn-ifunc.c: Likewise.
50614 * string/test-strstr-ifunc.c: Likewise.
50615
50616 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50617
50618 * benchtests/Makefile: Remove ifunc tests.
50619 * benchtests/bench-string.h: Define TEST_IFUNC.
50620 * benchtests/bench-bcopy-ifunc.c: Remove.
50621 * benchtests/bench-bzero-ifunc.c: Likewise.
50622 * benchtests/bench-memccpy-ifunc.c: Likewise.
50623 * benchtests/bench-memchr-ifunc.c: Likewise.
50624 * benchtests/bench-memcmp-ifunc.c: Likewise.
50625 * benchtests/bench-memcpy-ifunc.c: Likewise.
50626 * benchtests/bench-memmem-ifunc.c: Likewise.
50627 * benchtests/bench-memmove-ifunc.c: Likewise.
50628 * benchtests/bench-mempcpy-ifunc.c: Likewise.
50629 * benchtests/bench-memrchr-ifunc.c: Likewise.
50630 * benchtests/bench-memset-ifunc.c: Likewise.
50631 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
50632 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
50633 * benchtests/bench-stpcpy-ifunc.c: Likewise.
50634 * benchtests/bench-stpncpy-ifunc.c: Likewise.
50635 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
50636 * benchtests/bench-strcasestr-ifunc.c: Likewise.
50637 * benchtests/bench-strcat-ifunc.c: Likewise.
50638 * benchtests/bench-strchr-ifunc.c: Likewise.
50639 * benchtests/bench-strchrnul-ifunc.c: Likewise.
50640 * benchtests/bench-strcmp-ifunc.c: Likewise.
50641 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
50642 * benchtests/bench-strcpy-ifunc.c: Likewise.
50643 * benchtests/bench-strcspn-ifunc.c: Likewise.
50644 * benchtests/bench-strlen-ifunc.c: Likewise.
50645 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
50646 * benchtests/bench-strncat-ifunc.c: Likewise.
50647 * benchtests/bench-strncmp-ifunc.c: Likewise.
50648 * benchtests/bench-strncpy-ifunc.c: Likewise.
50649 * benchtests/bench-strnlen-ifunc.c: Likewise.
50650 * benchtests/bench-strpbrk-ifunc.c: Likewise.
50651 * benchtests/bench-strrchr-ifunc.c: Likewise.
50652 * benchtests/bench-strsep-ifunc.c: Likewise.
50653 * benchtests/bench-strspn-ifunc.c: Likewise.
50654 * benchtests/bench-strstr-ifunc.c: Likewise.
50655
50656 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50657
50658 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
50659
50660 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50661
50662 * resolv/netdb.h: Use __glibc_reserved instead __unused.
50663 * rt/aio.h: Likewise.
50664 * sysdeps/gnu/bits/utmp.h: Likewise.
50665 * sysdeps/gnu/bits/utmpx.h: Likewise.
50666 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50667 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
50668 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
50669 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
50670 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
50671 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
50672 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
50673 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
50674 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
50675 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
50676 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
50677 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
50678 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
50679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
50680 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50681 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
50682 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
50683 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
50684 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
50685 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
50686 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
50687 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
50688 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
50689 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50690 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
50691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50692 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
50693 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
50694 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
50695 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
50696 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
50697 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
50698 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
50699 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
50700 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
50701 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
50702 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
50703 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
50704 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
50705 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
50706 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
50707 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50708
50709 2013-11-25 Carlos O'Donell <carlos@redhat.com>
50710
50711 [BZ #16245]
50712 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
50713 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
50714
50715 2013-11-25 Joseph Myers <joseph@codesourcery.com>
50716
50717 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
50718 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
50719 Likewise.
50720
50721 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50722
50723 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
50724 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
50725 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
50726 (__fesetround): Remove define.
50727 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
50728 rounding and exceptions handling.
50729 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
50730 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
50731 (__fe_nomask_env): Likewise.
50732 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
50733 __fegetround instead of fegetround.
50734 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50735 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
50736
50737 2013-11-21 Roland McGrath <roland@hack.frob.com>
50738
50739 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
50740 it's there.
50741
50742 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
50743
50744 2013-11-21 Meador Inge <meadori@codesourcery.com>
50745
50746 [BZ #11157]
50747 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
50748 (encrypt_r): Likewise.
50749 * malloc/obstack.h (obstack_free): Likewise.
50750 * posix/unistd.h (encrypt): Likewise.
50751
50752 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
50753
50754 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
50755 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
50756 DL_CALL_DT_FINI() that call the functions directly.
50757 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
50758 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
50759 * elf/dl-fini.c: Likewise.
50760
50761 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
50762
50763 * malloc/hooks.c (memalign_check): Add alignment rounding.
50764 * malloc/malloc.c (_mid_memalign): New function.
50765 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
50766 Implement by calling _mid_memalign.
50767 * manual/probes.texi (Memory Allocation Probes): Remove
50768 memory_valloc_retry and memory_pvalloc_retry.
50769
50770 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
50771
50772 * locale/programs/locarchive.c (open_archive): Add const
50773 qualifier to ARCHIVEFNAME and copy default fname to
50774 DEFAULT_FNAME.
50775
50776 [BZ #15601]
50777 * libio/tst-widetext.input: Rename Oriya to Odia.
50778 * locale/iso-639.def: Likewise.
50779
50780 * manual/probes.texi (Mathematical Function Probes): Add
50781 documentation for sin, cos, asin and acos probes.
50782 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
50783 (__sin32): Add slowasin probe.
50784 (__cos32): Add slowacos probe.
50785 (__mpsin): Add slowsin probe.
50786 (__mpcos): Add slowcos probe.
50787
50788 2013-11-19 Joseph Myers <joseph@codesourcery.com>
50789
50790 [BZ #15483]
50791 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
50792 thread-local __sim_exceptions_thread and global
50793 __sim_exceptions_global.
50794 (__sim_disabled_exceptions): Change to thread-local
50795 __sim_disabled_exceptions_thread and global
50796 __sim_disabled_exceptions_global.
50797 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50798 and global __sim_round_mode_global.
50799 (__simulate_exceptions): Use thread-local floating-point state and
50800 set global state from it as needed.
50801 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
50802 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
50803 __sim_round_mode_thread.
50804 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
50805 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
50806 and global __sim_exceptions_global.
50807 (__sim_disabled_exceptions): Change to thread-local
50808 __sim_disabled_exceptions_thread and global
50809 __sim_disabled_exceptions_global.
50810 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50811 and global __sim_round_mode_global.
50812 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
50813 (SIM_SET_GLOBAL): Likewise.
50814 * sysdeps/powerpc/soft-fp/sfp-machine.h
50815 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
50816 __sim_round_mode_thread.
50817 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
50818 __sim_disabled_exceptions_thread.
50819 (__sim_exceptions): Change to __sim_exceptions_thread.
50820 (__sim_disabled_exceptions): Change to
50821 __sim_disabled_exceptions_thread.
50822 (__sim_round_mode): Change to __sim_round_mode_thread.
50823 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
50824 thread-local floating-point state and set global state from it as
50825 needed.
50826 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
50827 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
50828 (__sim_disabled_exceptions): Remove extern declaration.
50829 (feenableexcept): Use thread-local floating-point state and set
50830 global state from it as needed.
50831 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
50832 extern declaration.
50833 (__sim_disabled_exceptions): Likewise.
50834 (__sim_round_mode): Likewise.
50835 (__fegetenv): Use thread-local floating-point state.
50836 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
50837 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50838 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
50839 floating-point state and set global state from it as needed.
50840 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
50841 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
50842 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
50843 Likewise.
50844 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
50845 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
50846 Likewise.
50847 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
50848 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
50849 Use __sim_round_mode_thread.
50850 * math/test-fenv-tls.c: New file.
50851 * math/Makefile (tests): Add test-fenv-tls.
50852 ($(objpfx)test-fenv-tls): Depend on
50853 $(common-objpfx)nptl/libpthread.so.
50854
50855 2013-11-19 Andreas Schwab <schwab@suse.de>
50856
50857 * locale/programs/locale.c (show_info): Decode wordarray elements.
50858 * locale/categories.def (LC_MONETARY): Add element for
50859 _NL_MONETARY_CRNCYSTR.
50860 * locale/C-monetary.c (conversion_rate): New variable.
50861 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
50862 element.
50863
50864 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
50865
50866 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
50867 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
50868
50869 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50870
50871 * elf/Makefile (tst-auxv): New test.
50872 * elf/tst-auxv.c: New
50873 * elf/rtld.c (dl_main): Adjust AT_EXECFN
50874
50875 2013-11-18 Joseph Myers <joseph@codesourcery.com>
50876
50877 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
50878 (hidden_proto): Caller changed.
50879 (hidden_tls_proto): New macro.
50880 (libc_hidden_tls_proto): Likewise.
50881 (rtld_hidden_tls_proto): Likewise.
50882 (libm_hidden_tls_proto): Likewise.
50883 (libresolv_hidden_tls_proto): Likewise.
50884 (librt_hidden_tls_proto): Likewise.
50885 (libdl_hidden_tls_proto): Likewise.
50886 (libnss_files_hidden_tls_proto): Likewise.
50887 (libnsl_hidden_tls_proto): Likewise.
50888 (libnss_nisplus_hidden_tls_proto): Likewise.
50889 (libutil_hidden_tls_proto): Likewise.
50890
50891 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
50892
50893 [BZ #10253]
50894 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50895 (decompose_rpath): Defer expansion to fillin_rpath.
50896 (_dl_init_paths): Pass linkmap to fillin_rpath.
50897
50898 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50899
50900 * benchtests/Makefile: Add strsep.
50901 * benchtests/bench-strsep.c: New file: strsep benchtest.
50902 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50903
50904 2013-11-18 Andreas Schwab <schwab@suse.de>
50905
50906 * locale/programs/locale.c (show_info) [case byte]: Check for
50907 '\377' instead of '\177'.
50908 * locale/C-monetary.c (not_available): Always use "\377".
50909 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50910 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
50911 detect unavailable sign_posn locale elements.
50912 * locale/localeconv.c (__localeconv): For grouping and
50913 mon_grouping handle "\177" and "\377" like no grouping.
50914 (INT_ELEM): New macro. Use it to set all numeric members.
50915 * locale/programs/ld-monetary.c (monetary_read)
50916 <tok_mon_grouping>: Normalize single -1 to the empty string.
50917 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50918 Likewise.
50919
50920 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50921
50922 [BZ #16055]
50923 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50924 when we match (nil).
50925 * stdio-common/tst-sscanf.c (struct test): Add testcase.
50926
50927 2013-11-16 Joseph Myers <joseph@codesourcery.com>
50928
50929 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50930 (NO_TEST_INLINE): Update value.
50931 (ERRNO_UNCHANGED): Likewise.
50932 (ERRNO_EDOM): Likewise.
50933 (ERRNO_ERANGE): Likewise.
50934 (IGNORE_RESULT): Likewise.
50935 (check_float_internal): Check signs of NaN results if
50936 TEST_NAN_SIGN used.
50937 (check_complex): Pass TEST_NAN_SIGN flag through to second
50938 check_float_internal call.
50939 (copysign_test_data): Add tests with quiet NaNs as second
50940 argument. Use TEST_NAN_SIGN.
50941 (fabs_test_data): Add test of negative quiet NaN argument. Use
50942 TEST_NAN_SIGN.
50943 (signbit_test_data): Add tests of quiet NaN argument.
50944 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50945
50946 * math/gen-libm-test.pl (show_exceptions): Take extra argument
50947 $ignore_result.
50948 (parse_args): Handle function results specified as IGNORE.
50949 * math/libm-test.inc (IGNORE_RESULT): New macro.
50950 (check_float_internal): Do not check numerical result if flag
50951 IGNORE_RESULT set.
50952 (check_complex): Pass through IGNORE_RESULT to second
50953 check_float_internal call.
50954 (check_int): Do not check numerical result if flag IGNORE_RESULT
50955 set.
50956 (check_long): Likewise.
50957 (check_bool): Likewise.
50958 (check_longlong): Likewise.
50959 (lrint_test_data): Add tests of infinite and NaN arguments.
50960 (lrint_tonearest_test_data): Likewise.
50961 (lrint_towardzero_test_data): Likewise.
50962 (lrint_downward_test_data): Likewise.
50963 (lrint_upward_test_data): Likewise.
50964 (llrint_test_data): Likewise.
50965 (llrint_tonearest_test_data): Likewise.
50966 (llrint_towardzero_test_data): Likewise.
50967 (llrint_downward_test_data): Likewise.
50968 (llrint_upward_test_data): Likewise.
50969 (lround_test_data): Likewise.
50970 (llround_test_data): Likewise.
50971
50972 * math/libm-test.inc (NO_TEST_INLINE): New macro.
50973 (ERRNO_UNCHANGED): Update value.
50974 (ERRNO_EDOM): Likewise.
50975 (ERRNO_ERANGE): Likewise.
50976 (NO_TEST_INLINE_FLOAT): New macro.
50977 (NO_TEST_INLINE_DOUBLE): Likewise.
50978 (enable_test): New function.
50979 (RUN_TEST_f_f): Check enable_test before running test.
50980 (RUN_TEST_2_f): Likewise.
50981 (RUN_TEST_fff_f): Likewise.
50982 (RUN_TEST_c_f): Likewise.
50983 (RUN_TEST_f_f1): Likewise.
50984 (RUN_TEST_fF_f1): Likewise.
50985 (RUN_TEST_fI_f1): Likewise.
50986 (RUN_TEST_ffI_f1): Likewise.
50987 (RUN_TEST_c_c): Likewise.
50988 (RUN_TEST_cc_c): Likewise.
50989 (RUN_TEST_f_i): Likewise.
50990 (RUN_TEST_f_i_tg): Likewise.
50991 (RUN_TEST_ff_i_tg): Likewise.
50992 (RUN_TEST_f_b): Likewise.
50993 (RUN_TEST_f_b_tg): Likewise.
50994 (RUN_TEST_f_l): Likewise.
50995 (RUN_TEST_f_L): Likewise.
50996 (RUN_TEST_fFF_11): Likewise.
50997 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50998 conditionals.
50999 (cosh_test_data): Likewise.
51000 (exp_test_data): Likewise.
51001 (expm1_test_data): Likewise.
51002 (hypot_test_data): Likewise.
51003 (pow_test_data): Likewise.
51004 (sinh_test_data): Likewise.
51005 (tanh_test_data): Likewise.
51006 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
51007 flags argument.
51008
51009 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
51010 tests with quiet NaN input and output.
51011 (acosh_test_data): Likewise.
51012 (asin_test_data): Likewise.
51013 (asinh_test_data): Likewise.
51014 (atan_test_data): Likewise.
51015 (atanh_test_data): Likewise.
51016 (atan2_test_data): Likewise.
51017 (cbrt_test_data): Likewise.
51018 (cos_test_data): Likewise.
51019 (cosh_test_data): Likewise.
51020 (erf_test_data): Likewise.
51021 (erfc_test_data): Likewise.
51022 (exp_test_data): Likewise.
51023 (exp10_test_data): Likewise.
51024 (exp2_test_data): Likewise.
51025 (expm1_test_data): Likewise.
51026 (hypot_test_data): Likewise.
51027 (j0_test_data): Likewise.
51028 (j1_test_data): Likewise.
51029 (jn_test_data): Likewise.
51030 (lgamma_test_data): Likewise.
51031 (log_test_data): Likewise.
51032 (log10_test_data): Likewise.
51033 (log1p_test_data): Likewise.
51034 (log2_test_data): Likewise.
51035 (pow_test_data): Likewise.
51036 (scalb_test_data): Likewise.
51037 (sin_test_data): Likewise.
51038 (sincos_test_data): Likewise.
51039 (sinh_test_data): Likewise.
51040 (tan_test_data): Likewise.
51041 (tanh_test_data): Likewise.
51042 (tgamma_test_data): Likewise.
51043 (y0_test_data): Likewise.
51044 (y1_test_data): Likewise.
51045 (yn_test_data): Likewise.
51046
51047 [BZ #16167]
51048 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
51049 argument being NaN and avoid computations with second argument in
51050 that case.
51051 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51052 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
51053 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51054
51055 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
51056
51057 * locale/iso-639.def: Add Chitwani Tharu (the).
51058
51059 2013-11-14 Andreas Schwab <schwab@suse.de>
51060
51061 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
51062 word instead of empty string.
51063
51064 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51065
51066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51067 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
51068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51069 (__fe_nomask_env): Likewise.
51070
51071 2013-11-13 Steve Ellcey <sellcey@mips.com>
51072
51073 * benchtests/bench-timing.h: Include time.h.
51074
51075 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
51076
51077 [BZ #15997]
51078 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
51079 to 3.4.0 for x32.
51080 * sysdeps/unix/sysv/linux/configure: Regenerated.
51081
51082 2013-11-13 Joseph Myers <joseph@codesourcery.com>
51083
51084 [BZ #16151]
51085 * stdlib/strtod_l.c (round_and_return): Do not consider
51086 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
51087 exponent one less than half the least subnormal exponent.
51088 * stdlib/test-strtod-round-data: Add more tests.
51089 * stdlib/tst-strtod-round.c (tests): Regenerated.
51090
51091 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51092
51093 [BZ #14143]
51094 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
51095 (__fe_mask_env): Likewise.
51096 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
51097 libm_hidden_proto and add function prototype.
51098 (__fe_mask_env): Add function prototype.
51099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51100 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
51101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
51102 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
51103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51104 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
51105
51106 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51107
51108 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
51109 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
51110
51111 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51112
51113 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
51114 of htab_find_slot().
51115
51116 2013-11-11 David S. Miller <davem@davemloft.net>
51117
51118 [BZ #16150]
51119 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
51120 symbol in the non-vis3 case in static builds.
51121 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
51122 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
51123 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
51124 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
51125
51126 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
51127
51128 [BZ #387]
51129 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
51130 it is empty.
51131
51132 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51133
51134 * benchtests/Makefile: Add bench-strtod.
51135 * benchtests/bench-strtod.c: New file: strtod benchtest
51136
51137 2013-11-11 Andreas Schwab <schwab@suse.de>
51138
51139 [BZ #16153]
51140 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
51141 terminating NUL in key length.
51142
51143 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51144
51145 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51146 Add artificial ODP entry for vDSO symbol for PPC64.
51147 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
51148 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
51149
51150 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
51151
51152 [BZ #15374]
51153 * nss/getent.c (services_keys): Recognize services starting with digit.
51154
51155 2013-11-06 David S. Miller <davem@davemloft.net>
51156
51157 [BZ #15985]
51158 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
51159 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
51160
51161 2013-11-06 Will Newton <will.newton@linaro.org>
51162
51163 * manual/memory.texi (Malloc Examples): Remove register
51164 keyword from examples.
51165
51166 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
51167
51168 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
51169
51170 2013-11-04 Joseph Myers <joseph@codesourcery.com>
51171
51172 [BZ #6981]
51173 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
51174 depending on [__GCC_IEC_559 > 0].
51175 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
51176 depending on [__GCC_IEC_559_COMPLEX > 0].
51177
51178 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
51179
51180 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
51181 to iso-639.def.
51182
51183 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
51184
51185 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
51186
51187 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
51188
51189 [BZ #16112]
51190 * malloc/malloc (malloc_info): Do not handle first bin as
51191 special case.
51192
51193 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
51194
51195 * locale/iso-639.def: Add Central Nahuatl (nhn).
51196
51197 2013-11-01 Bruno Haible <bruno@clisp.org>
51198
51199 [BZ #7003]
51200 * manual/math.texi (BSD Random): Specify range upper bound as
51201 in POSIX.
51202
51203 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
51204
51205 * locale/iso-639.def: Add Meadow Mari (mhr).
51206
51207 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
51208
51209 [BZ #14752], [BZ #15763]
51210 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
51211 Validate name.
51212 * rt/tst_shm.c: Add test for escaping directory.
51213
51214 2013-10-31 Andreas Schwab <schwab@suse.de>
51215
51216 [BZ #15917]
51217 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
51218 followed by 'x' as part of digit sequence.
51219 * stdio-common/tst-sscanf.c (double_tests2): New tests.
51220
51221 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
51222
51223 [BZ #16037]
51224 * configure.ac: allow GNU Make 4.0 and greater.
51225 * configure: Regenerated.
51226
51227 2013-10-30 Will Newton <will.newton@linaro.org>
51228
51229 [BZ #16038]
51230 * malloc/hooks.c (memalign_check): Limit alignment to the
51231 maximum representable power of two.
51232 * malloc/malloc.c (__libc_memalign): Likewise.
51233 * malloc/tst-memalign.c (do_test): Add test for very
51234 large alignment values.
51235 * malloc/tst-posix_memalign.c (do_test): Likewise.
51236
51237 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
51238
51239 [BZ #11087]
51240 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
51241 (munmap_chunk): Likewise.
51242 (mremap_chunk): Likewise.
51243
51244 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
51245
51246 [BZ #15799]
51247 * stdlib/div.c (div): Remove obsolete code.
51248 * stdlib/ldiv.c (ldiv): Likewise.
51249 * stdlib/lldiv.c (lldiv): Likewise.
51250
51251 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51252
51253 [BZ #16071]
51254 * nss/nss_files/files-XXX.c (get_contents_ret): New
51255 enumerator.
51256 (get_contents): New function.
51257 (internal_getent): Use it. Expand size of LINEBUFLEN.
51258
51259 2013-10-30 Mike Frysinger <vapier@gentoo.org>
51260
51261 * configure.in: Moved to ...
51262 * configure.ac: ... here. Change reference to configure.in
51263 to configure.ac.
51264 * sysdeps/arm/preconfigure.ac: ... here.
51265 configure.in to configure.ac.
51266 * sysdeps/gnu/configure.in: Moved to ...
51267 * sysdeps/gnu/configure.ac: ... here.
51268 * sysdeps/i386/configure.in: Moved to ...
51269 * sysdeps/i386/configure.ac: ... here.
51270 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
51271 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
51272 * sysdeps/mach/configure.in: Moved to ...
51273 * sysdeps/mach/configure.ac: ... here.
51274 * sysdeps/mach/hurd/configure.in: Moved to ...
51275 * sysdeps/mach/hurd/configure.ac: ... here.
51276 * sysdeps/powerpc/configure.in: Moved to ...
51277 * sysdeps/powerpc/configure.ac: ... here.
51278 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
51279 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
51280 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
51281 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
51282 * sysdeps/s390/s390-32/configure.in: Moved to ...
51283 * sysdeps/s390/s390-32/configure.ac: ... here.
51284 * sysdeps/s390/s390-64/configure.in: Moved to ...
51285 * sysdeps/s390/s390-64/configure.ac: ... here.
51286 * sysdeps/sh/configure.in: Moved to ...
51287 * sysdeps/sh/configure.ac: ... here.
51288 * sysdeps/sparc/configure.in: Moved to ...
51289 * sysdeps/sparc/configure.ac: ... here.
51290 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
51291 * sysdeps/unix/sysv/linux/configure.ac: ... here.
51292 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
51293 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
51294 * sysdeps/x86_64/configure.in: Moved to ...
51295 * sysdeps/x86_64/configure.ac: ... here.
51296 * sysdeps/x86_64/preconfigure.in: Moved to ...
51297 * sysdeps/x86_64/preconfigure.ac: ... here.
51298 * aclocal.m4: Change reference to configure.in to configure.ac.
51299 * config.h.in: Likewise.
51300 * manual/install.texi: Likewise.
51301 * manual/maint.texi: Likewise.
51302 * Makefile: Likewise.
51303 * malloc/Makefile: Likewise.
51304 * nscd/Makefile: Likewise.
51305 * Makeconfig: Change reference to configure.in and
51306 preconfigure.in to configure.ac and preconfigure.ac
51307 respectively.
51308 * INSTALL: Regenerated.
51309 * configure: Likewise.
51310 * sysdeps/gnu/configure: Likewise.
51311 * sysdeps/i386/configure: Likewise.
51312 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
51313 * sysdeps/mach/configure: Likewise.
51314 * sysdeps/mach/hurd/configure: Likewise.
51315 * sysdeps/powerpc/configure: Likewise.
51316 * sysdeps/powerpc/powerpc32/configure: Likewise.
51317 * sysdeps/powerpc/powerpc64/configure: Likewise.
51318 * sysdeps/s390/s390-32/configure: Likewise.
51319 * sysdeps/s390/s390-64/configure: Likewise.
51320 * sysdeps/sh/configure: Likewise.
51321 * sysdeps/sparc/configure: Likewise.
51322 * sysdeps/unix/sysv/linux/configure: Likewise.
51323 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
51324 * sysdeps/x86_64/configure: Likewise.
51325 * sysdeps/x86_64/preconfigure: Likewise.
51326
51327 2013-10-29 Andreas Schwab <schwab@suse.de>
51328
51329 * stdio-common/Makefile (tst-swscanf-ENV): Define.
51330
51331 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51332
51333 * benchtests/pow-inputs: Add new inputs.
51334
51335 * benchtests/exp-inputs: Add new inputs.
51336
51337 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
51338 conditional check for return value.
51339 (__cos32): Likewise.
51340
51341 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51342
51343 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
51344 to provide a boost for large inputs with word alignment.
51345 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
51346 implementation based on optimized PPC64 strcpy.
51347 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
51348 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
51349 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
51350 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
51351
51352 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51353
51354 [BZ #2801]
51355 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
51356
51357 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51358
51359 [BZ #14876]
51360 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
51361 * time/tst-strptime.c (day_tests): Add testcase.
51362
51363 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51364
51365 [BZ #14029]
51366 * manual/pattern.texi: Acknowledge that fnmatch can fail.
51367
51368 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
51369
51370 [BZ #16074]
51371 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
51372 MAP_FAILED on error.
51373
51374 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
51375
51376 [BZ #16072]
51377 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
51378 heap for large requests.
51379
51380 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
51381
51382 [BZ #9954]
51383 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
51384 result if the result has no associated interface.
51385 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
51386 interface for all 127.X.Y.Z addresses.
51387
51388 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
51389
51390 * locale/iso-639.def: Add Ligurian (lij)
51391
51392 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
51393
51394 [BZ #15825]
51395 * sunrpc/rpc_main.c: Document rpcgen -5.
51396
51397 2013-10-19 Michael Stahl <mstahl@redhat.com>
51398
51399 * elf/rtld.c (do_preload): Print the reason why preloading failed.
51400
51401 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
51402
51403 [BZ #10278]
51404 * posix/glob.c: Match only directories when trailing slash is present.
51405 * posix/tst-gnuglob.c (my_opendir): Do not open files.
51406 (main): Add testcase.
51407
51408 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
51409
51410 [BZ #15670]
51411 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
51412
51413 2013-10-18 Carlos O'Donell <carlos@redhat.com>
51414
51415 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
51416 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
51417 AUTH_DES and cindex for FIPS 140-2.
51418 (DES Encryption): Add cindex FIPS 46-3.
51419
51420 * locale/locarchive.h (struct locarhandle): Add fname.
51421 * locale/programs/localedef.c (main): Pass ARGV[remaining]
51422 if an optional argument was specified to --list-archive,
51423 otherwise NULL.
51424 * locale/programs/locarchive.c (show_archive_content): Take new
51425 argument fname and pass it via ah.fname to open_archive.
51426 * locale/programs/localedef.h: Update decl.
51427 (open_archive): If AH->fname is non-null, open that file
51428 rather than the default file name, and don't ignore ENOENT.
51429 (create_archive): Set AH.fname to NULL.
51430 (delete_locales_from_archive): Likewise.
51431 (add_locales_to_archive): Likewise.
51432 * locale/programs/locfile.c (write_all_categories): Likewise.
51433
51434 2013-10-18 Joseph Myers <joseph@codesourcery.com>
51435 Aldy Hernandez <aldyh@redhat.com>
51436
51437 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
51438 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
51439 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
51440 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
51441 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
51442 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
51443 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
51444 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
51445 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
51446 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
51447 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
51448 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
51449 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
51450 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
51451 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
51452 Likewise.
51453 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
51454 Likewise.
51455 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
51456 Likewise.
51457 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
51458 Likewise.
51459 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
51460 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
51461 Likewise.
51462 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
51463 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
51464 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
51465 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
51466 Likewise.
51467 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
51468 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
51469 * sysdeps/powerpc/preconfigure: Likewise.
51470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
51471 Likewise.
51472 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
51473 Replace contents of file by #include of <fenv_libc.h>.
51474 * sysdeps/powerpc/soft-fp/sfp-machine.h
51475 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
51476 and <sys/prctl.h>.
51477 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
51478 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
51479 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
51480 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
51481 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
51482 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
51483 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
51484 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
51485 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
51486 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
51487 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
51488 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
51489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51490 Allow copysignl PLT reference to be missing.
51491
51492 2013-10-18 Richard Sandiford <richard@codesourcery.com>
51493 Joseph Myers <joseph@codesourcery.com
51494
51495 [BZ #15948]
51496 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
51497 single character.
51498 (add_to_tablewc): Assert sequence of wide characters is nonempty.
51499
51500 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
51501
51502 * elf/tst-tls-dlinfo.c: Don't include tls.h.
51503 * elf/tst-tls1.c: Likewise.
51504 * elf/tst-tls10.h: Likewise.
51505 * elf/tst-tls14.c: Likewise.
51506 * elf/tst-tls2.c: Likewise.
51507 * elf/tst-tls3.c: Likewise.
51508 * elf/tst-tls4.c: Likewise.
51509 * elf/tst-tls5.c: Likewise.
51510 * elf/tst-tls6.c: Likewise.
51511 * elf/tst-tls7.c: Likewise.
51512 * elf/tst-tls8.c: Likewise.
51513 * elf/tst-tls9.c: Likewise.
51514 * elf/tst-tlsmod1.c: Likewise.
51515 * elf/tst-tlsmod13.c: Likewise.
51516 * elf/tst-tlsmod13a.c: Likewise.
51517 * elf/tst-tlsmod14a.c: Likewise.
51518 * elf/tst-tlsmod16a.c: Likewise.
51519 * elf/tst-tlsmod16b.c: Likewise.
51520 * elf/tst-tlsmod2.c: Likewise.
51521 * elf/tst-tlsmod3.c: Likewise.
51522 * elf/tst-tlsmod4.c: Likewise.
51523 * elf/tst-tlsmod5.c: Likewise.
51524 * elf/tst-tlsmod6.c: Likewise.
51525
51526 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
51527
51528 [BZ #12486]
51529 * malloc/malloc.c: remove checks for statistics.
51530
51531 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
51532
51533 [BZ #15277]
51534 * inet/inet_net.c (inet_network): Detect additional invalid strings.
51535 * inet/tst-network.c: Add testcase.
51536
51537 2013-10-17 Andreas Schwab <schwab@suse.de>
51538
51539 [BZ #15218]
51540 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
51541 to determine canonical name.
51542
51543 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
51544
51545 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
51546 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
51547 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51548 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51549 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51550 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51551 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51552 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51553 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51554 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51555 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51556 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51557 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51558 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51559 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51560 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51561 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51562 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51563 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51564 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51565 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51566 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51567 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51568 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
51569 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
51570 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51571 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51572 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
51573 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51574 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
51575 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51576 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51577 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51578 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51579 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51580 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51581 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51582 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51583 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51584 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51585 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51586 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51587 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51588 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51589 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51590 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51591 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51592 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51593 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51594 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51595 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51596 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51597 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51598 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51599 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51600 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51601 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51602 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51603
51604 2013-10-17 Joseph Myers <joseph@codesourcery.com>
51605
51606 [BZ #16041]
51607 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
51608 make result into a quiet NaN.
51609
51610 2013-10-16 Joseph Myers <joseph@codesourcery.com>
51611
51612 * soft-fp/adddf3.c: Fix horizontal whitespace.
51613 * soft-fp/addsf3.c: Likewise.
51614 * soft-fp/addtf3.c: Likewise.
51615 * soft-fp/divdf3.c: Likewise.
51616 * soft-fp/divsf3.c: Likewise.
51617 * soft-fp/divtf3.c: Likewise.
51618 * soft-fp/double.h: Likewise.
51619 * soft-fp/eqdf2.c: Likewise.
51620 * soft-fp/eqsf2.c: Likewise.
51621 * soft-fp/eqtf2.c: Likewise.
51622 * soft-fp/extenddftf2.c: Likewise.
51623 * soft-fp/extended.h: Likewise.
51624 * soft-fp/extendsfdf2.c: Likewise.
51625 * soft-fp/extendsftf2.c: Likewise.
51626 * soft-fp/extendxftf2.c: Likewise.
51627 * soft-fp/fixdfdi.c: Likewise.
51628 * soft-fp/fixdfsi.c: Likewise.
51629 * soft-fp/fixdfti.c: Likewise.
51630 * soft-fp/fixsfdi.c: Likewise.
51631 * soft-fp/fixsfsi.c: Likewise.
51632 * soft-fp/fixsfti.c: Likewise.
51633 * soft-fp/fixtfdi.c: Likewise.
51634 * soft-fp/fixtfsi.c: Likewise.
51635 * soft-fp/fixtfti.c: Likewise.
51636 * soft-fp/fixunsdfdi.c: Likewise.
51637 * soft-fp/fixunsdfsi.c: Likewise.
51638 * soft-fp/fixunsdfti.c: Likewise.
51639 * soft-fp/fixunssfdi.c: Likewise.
51640 * soft-fp/fixunssfsi.c: Likewise.
51641 * soft-fp/fixunssfti.c: Likewise.
51642 * soft-fp/fixunstfdi.c: Likewise.
51643 * soft-fp/fixunstfsi.c: Likewise.
51644 * soft-fp/fixunstfti.c: Likewise.
51645 * soft-fp/floatdidf.c: Likewise.
51646 * soft-fp/floatdisf.c: Likewise.
51647 * soft-fp/floatditf.c: Likewise.
51648 * soft-fp/floatsidf.c: Likewise.
51649 * soft-fp/floatsisf.c: Likewise.
51650 * soft-fp/floatsitf.c: Likewise.
51651 * soft-fp/floattidf.c: Likewise.
51652 * soft-fp/floattisf.c: Likewise.
51653 * soft-fp/floattitf.c: Likewise.
51654 * soft-fp/floatundidf.c: Likewise.
51655 * soft-fp/floatundisf.c: Likewise.
51656 * soft-fp/floatunditf.c: Likewise.
51657 * soft-fp/floatunsidf.c: Likewise.
51658 * soft-fp/floatunsisf.c: Likewise.
51659 * soft-fp/floatunsitf.c: Likewise.
51660 * soft-fp/floatuntidf.c: Likewise.
51661 * soft-fp/floatuntisf.c: Likewise.
51662 * soft-fp/floatuntitf.c: Likewise.
51663 * soft-fp/fmadf4.c: Likewise.
51664 * soft-fp/fmasf4.c: Likewise.
51665 * soft-fp/fmatf4.c: Likewise.
51666 * soft-fp/gedf2.c: Likewise.
51667 * soft-fp/gesf2.c: Likewise.
51668 * soft-fp/getf2.c: Likewise.
51669 * soft-fp/ledf2.c: Likewise.
51670 * soft-fp/lesf2.c: Likewise.
51671 * soft-fp/letf2.c: Likewise.
51672 * soft-fp/muldf3.c: Likewise.
51673 * soft-fp/mulsf3.c: Likewise.
51674 * soft-fp/multf3.c: Likewise.
51675 * soft-fp/negdf2.c: Likewise.
51676 * soft-fp/negsf2.c: Likewise.
51677 * soft-fp/negtf2.c: Likewise.
51678 * soft-fp/op-1.h: Likewise.
51679 * soft-fp/op-2.h: Likewise.
51680 * soft-fp/op-4.h: Likewise.
51681 * soft-fp/op-8.h: Likewise.
51682 * soft-fp/op-common.h: Likewise.
51683 * soft-fp/quad.h: Likewise.
51684 * soft-fp/single.h: Likewise.
51685 * soft-fp/soft-fp.h: Likewise.
51686 * soft-fp/sqrtdf2.c: Likewise.
51687 * soft-fp/sqrtsf2.c: Likewise.
51688 * soft-fp/sqrttf2.c: Likewise.
51689 * soft-fp/subdf3.c: Likewise.
51690 * soft-fp/subsf3.c: Likewise.
51691 * soft-fp/subtf3.c: Likewise.
51692 * soft-fp/truncdfsf2.c: Likewise.
51693 * soft-fp/trunctfdf2.c: Likewise.
51694 * soft-fp/trunctfsf2.c: Likewise.
51695 * soft-fp/trunctfxf2.c: Likewise.
51696 * soft-fp/unorddf2.c: Likewise.
51697 * soft-fp/unordsf2.c: Likewise.
51698 * soft-fp/unordtf2.c: Likewise.
51699
51700 2013-10-15 Joseph Myers <joseph@codesourcery.com>
51701
51702 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
51703 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
51704
51705 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
51706
51707 * elf/dl-libc.c: Clear initfini list after freeing.
51708
51709 2013-10-14 Joseph Myers <joseph@codesourcery.com>
51710
51711 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
51712 * soft-fp/addsf3.c: Likewise.
51713 * soft-fp/addtf3.c: Likewise.
51714 * soft-fp/divdf3.c: Likewise.
51715 * soft-fp/divsf3.c: Likewise.
51716 * soft-fp/divtf3.c: Likewise.
51717 * soft-fp/double.h: Likewise.
51718 * soft-fp/eqdf2.c: Likewise.
51719 * soft-fp/eqsf2.c: Likewise.
51720 * soft-fp/eqtf2.c: Likewise.
51721 * soft-fp/extenddftf2.c: Likewise.
51722 * soft-fp/extended.h: Likewise.
51723 * soft-fp/extendsfdf2.c: Likewise.
51724 * soft-fp/extendsftf2.c: Likewise.
51725 * soft-fp/extendxftf2.c: Likewise.
51726 * soft-fp/fixdfdi.c: Likewise.
51727 * soft-fp/fixdfsi.c: Likewise.
51728 * soft-fp/fixdfti.c: Likewise.
51729 * soft-fp/fixsfdi.c: Likewise.
51730 * soft-fp/fixsfsi.c: Likewise.
51731 * soft-fp/fixsfti.c: Likewise.
51732 * soft-fp/fixtfdi.c: Likewise.
51733 * soft-fp/fixtfsi.c: Likewise.
51734 * soft-fp/fixtfti.c: Likewise.
51735 * soft-fp/fixunsdfdi.c: Likewise.
51736 * soft-fp/fixunsdfsi.c: Likewise.
51737 * soft-fp/fixunsdfti.c: Likewise.
51738 * soft-fp/fixunssfdi.c: Likewise.
51739 * soft-fp/fixunssfsi.c: Likewise.
51740 * soft-fp/fixunssfti.c: Likewise.
51741 * soft-fp/fixunstfdi.c: Likewise.
51742 * soft-fp/fixunstfsi.c: Likewise.
51743 * soft-fp/fixunstfti.c: Likewise.
51744 * soft-fp/floatdidf.c: Likewise.
51745 * soft-fp/floatdisf.c: Likewise.
51746 * soft-fp/floatditf.c: Likewise.
51747 * soft-fp/floatsidf.c: Likewise.
51748 * soft-fp/floatsisf.c: Likewise.
51749 * soft-fp/floatsitf.c: Likewise.
51750 * soft-fp/floattidf.c: Likewise.
51751 * soft-fp/floattisf.c: Likewise.
51752 * soft-fp/floattitf.c: Likewise.
51753 * soft-fp/floatundidf.c: Likewise.
51754 * soft-fp/floatundisf.c: Likewise.
51755 * soft-fp/floatunsidf.c: Likewise.
51756 * soft-fp/floatunsisf.c: Likewise.
51757 * soft-fp/floatuntidf.c: Likewise.
51758 * soft-fp/floatuntisf.c: Likewise.
51759 * soft-fp/floatuntitf.c: Likewise.
51760 * soft-fp/fmadf4.c: Likewise.
51761 * soft-fp/fmasf4.c: Likewise.
51762 * soft-fp/fmatf4.c: Likewise.
51763 * soft-fp/gedf2.c: Likewise.
51764 * soft-fp/gesf2.c: Likewise.
51765 * soft-fp/getf2.c: Likewise.
51766 * soft-fp/ledf2.c: Likewise.
51767 * soft-fp/lesf2.c: Likewise.
51768 * soft-fp/letf2.c: Likewise.
51769 * soft-fp/muldf3.c: Likewise.
51770 * soft-fp/mulsf3.c: Likewise.
51771 * soft-fp/multf3.c: Likewise.
51772 * soft-fp/negdf2.c: Likewise.
51773 * soft-fp/negsf2.c: Likewise.
51774 * soft-fp/negtf2.c: Likewise.
51775 * soft-fp/op-1.h: Likewise.
51776 * soft-fp/op-2.h: Likewise.
51777 * soft-fp/op-4.h: Likewise.
51778 * soft-fp/op-8.h: Likewise.
51779 * soft-fp/op-common.h: Likewise.
51780 * soft-fp/quad.h: Likewise.
51781 * soft-fp/single.h: Likewise.
51782 * soft-fp/soft-fp.h: Likewise.
51783 * soft-fp/sqrtdf2.c: Likewise.
51784 * soft-fp/sqrtsf2.c: Likewise.
51785 * soft-fp/sqrttf2.c: Likewise.
51786 * soft-fp/subdf3.c: Likewise.
51787 * soft-fp/subsf3.c: Likewise.
51788 * soft-fp/subtf3.c: Likewise.
51789 * soft-fp/truncdfsf2.c: Likewise.
51790 * soft-fp/trunctfdf2.c: Likewise.
51791 * soft-fp/trunctfsf2.c: Likewise.
51792 * soft-fp/trunctfxf2.c: Likewise.
51793 * soft-fp/unorddf2.c: Likewise.
51794 * soft-fp/unordsf2.c: Likewise.
51795 * soft-fp/unordtf2.c: Likewise.
51796
51797 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
51798
51799 [BZ #15672]
51800 * misc/error.c (error_tail): Fix possible buffer overflow.
51801
51802 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
51803
51804 [BZ #13028]
51805 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
51806 address.
51807
51808 2013-10-14 P. J. McDermott <pj@pehjota.net>
51809
51810 [BZ #832]
51811 * elf/ldd.bash.in (try_trace): New function. Delete previous code
51812 testing pipefail option.
51813
51814 2013-10-12 Joseph Myers <joseph@codesourcery.com>
51815
51816 * soft-fp/double.h: Indent preprocessor directives inside #if.
51817 * soft-fp/extended.h: Likewise.
51818 * soft-fp/op-2.h: Likewise.
51819 * soft-fp/op-4.h: Likewise.
51820 * soft-fp/op-common.h: Likewise.
51821 * soft-fp/quad.h: Likewise.
51822 * soft-fp/single.h: Likewise.
51823 * soft-fp/soft-fp.h: Likewise.
51824
51825 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
51826
51827 * iconv/iconv_prog.c: Fix typos.
51828 * stdio-common/psiginfo-data.h: Likewise.
51829
51830 2013-10-12 Reuben Thomas <rrt@sc3d.org>
51831
51832 [BZ #15764]
51833 * locale/setlocale.c: Fix typo.
51834
51835 2013-10-12 Joseph Myers <joseph@codesourcery.com>
51836
51837 [BZ #16036]
51838 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
51839 signaling NaN arguments.
51840 * soft-fp/unordsf2.c (__unordsf2): Likewise.
51841 * soft-fp/unordtf2.c (__unordtf2): Likewise.
51842
51843 [BZ #14910]
51844 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
51845 unordered operands.
51846 * soft-fp/gesf2.c (__gesf2): Likewise.
51847 * soft-fp/getf2.c (__getf2): Likewise.
51848 * soft-fp/ledf2.c (__ledf2): Likewise.
51849 * soft-fp/lesf2.c (__lesf2): Likewise.
51850 * soft-fp/letf2.c (__letf2): Likewise.
51851
51852 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
51853 * soft-fp/eqsf2.c (__eqsf2): Likewise.
51854 * soft-fp/eqtf2.c (__eqtf2): Likewise.
51855 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
51856 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
51857 * soft-fp/fixdfti.c (__fixdfti): Likewise.
51858 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
51859 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
51860 * soft-fp/fixsfti.c (__fixsfti): Likewise.
51861 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
51862 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
51863 * soft-fp/fixtfti.c (__fixtfti): Likewise.
51864 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
51865 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
51866 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
51867 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
51868 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
51869 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
51870 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
51871 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
51872 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
51873 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
51874 * soft-fp/floatdisf.c (__floatdisf): Likewise.
51875 * soft-fp/floatsisf.c (__floatsisf): Likewise.
51876 * soft-fp/floattidf.c (__floattidf): Likewise.
51877 * soft-fp/floattisf.c (__floattisf): Likewise.
51878 * soft-fp/floattitf.c (__floattitf): Likewise.
51879 * soft-fp/floatundidf.c (__floatundidf): Likewise.
51880 * soft-fp/floatundisf.c (__floatundisf): Likewise.
51881 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51882 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51883 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51884 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51885 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51886 * soft-fp/gesf2.c (__gesf2): Likewise.
51887 * soft-fp/getf2.c (__getf2): Likewise.
51888 * soft-fp/ledf2.c (__ledf2): Likewise.
51889 * soft-fp/lesf2.c (__lesf2): Likewise.
51890 * soft-fp/letf2.c (__letf2): Likewise.
51891
51892 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51893 Undefine and redefine.
51894 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51895 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51896 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51897 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51898 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51899 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51900 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51901 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51902 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51903 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51904 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51905 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51906 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51907 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51908 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51909
51910 [BZ #16032]
51911 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51912 without decrementing exponent if mantissa >= that for the
51913 denominator, not >.
51914 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51915 denominator, not >. Decrement exponent in < case instead of
51916 incrementing in >= case.
51917 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51918 without decrementing exponent if mantissa >= that for the
51919 denominator, not >.
51920
51921 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51922 computing saturated result for unsigned overflow.
51923
51924 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51925 Jeff Law <law@redhat.com>
51926
51927 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51928 (atan2Mp): Add systemtap probe marker.
51929 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51930 (__ieee754_log): Add systemtap probe marker.
51931 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51932 (atanMp): Add systemtap probe marker.
51933 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51934 (tanMp): Add systemtap probe marker.
51935 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51936 (__slowexp): Add systemtap probe marker.
51937 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51938 (__slowpow): Add systemtap probe marker.
51939 * manual/probes.texi: Document probes.
51940
51941 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
51942
51943 [BZ #15362]
51944 * libio/fileops.c (_IO_new_file_write): Return count of bytes
51945 written.
51946 (_IO_new_file_xsputn): Don't return EOF if nothing has been
51947 written.
51948 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51949 written to buffer but not flushed.
51950 * libio/iofwrite_u.c: Likewise.
51951 * libio/iopadn.c: Return bytes returned even if EOF was
51952 encountered.
51953 * libio/iowpadn.c: Likewise.
51954 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51955 if _IO_padn does not write the whole buffer.
51956 [!COMPILE_WPRINTF] (PAD): Likewise.
51957
51958 2013-10-10 David S. Miller <davem@davemloft.net>
51959
51960 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51961 directory block.
51962
51963 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51964
51965 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
51966 instead of FSF address.
51967 * soft-fp/fixdfti.c: Likewise.
51968 * soft-fp/fixsfti.c: Likewise.
51969 * soft-fp/fixtfti.c: Likewise.
51970 * soft-fp/fixunsdfti.c: Likewise.
51971 * soft-fp/fixunssfti.c: Likewise.
51972 * soft-fp/fixunstfti.c: Likewise.
51973 * soft-fp/floattidf.c: Likewise.
51974 * soft-fp/floattisf.c: Likewise.
51975 * soft-fp/floattitf.c: Likewise.
51976 * soft-fp/floatuntidf.c: Likewise.
51977 * soft-fp/floatuntisf.c: Likewise.
51978 * soft-fp/floatuntitf.c: Likewise.
51979 * soft-fp/trunctfxf2.c: Likewise.
51980
51981 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
51982 * soft-fp/fixdfti.c: Likewise.
51983 * soft-fp/fixsfti.c: Likewise.
51984 * soft-fp/fixtfti.c: Likewise.
51985 * soft-fp/fixunsdfti.c: Likewise.
51986 * soft-fp/fixunssfti.c: Likewise.
51987 * soft-fp/fixunstfti.c: Likewise.
51988 * soft-fp/floattidf.c: Likewise.
51989 * soft-fp/floattisf.c: Likewise.
51990 * soft-fp/floattitf.c: Likewise.
51991 * soft-fp/floatuntidf.c: Likewise.
51992 * soft-fp/floatuntisf.c: Likewise.
51993 * soft-fp/floatuntitf.c: Likewise.
51994 * soft-fp/trunctfxf2.c: Likewise.
51995
51996 2013-10-10 David S. Miller <davem@davemloft.net>
51997
51998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51999
52000 2013-10-10 Joseph Myers <joseph@codsourcery.com>
52001
52002 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
52003 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
52004 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
52005 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
52006 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
52007 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
52008 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
52009
52010 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
52011 for NaNs before doing comparisons on argument.
52012 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
52013 Likewise.
52014
52015 2013-10-10 Will Newton <will.newton@linaro.org>
52016
52017 * malloc/hooks.c (memalign_check): Ensure the value of bytes
52018 passed to _int_memalign does not overflow.
52019
52020 2013-10-10 Torvald Riegel <triegel@redhat.com>
52021
52022 * scripts/bench.pl: Add include-sources directive.
52023 * benchtests/README: Update documentation.
52024
52025 2013-10-10 Joseph Myers <joseph@codesourcery.com>
52026
52027 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
52028 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
52029 instead of FP_INIT_ROUNDMODE.
52030 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
52031 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
52032
52033 [BZ #16034]
52034 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
52035 copy class of input value.
52036 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
52037 not handle exceptions.
52038 * soft-fp/negsf2.c (__negsf2): Likewise.
52039 * soft-fp/negtf2.c (__negtf2): Likewise.
52040 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
52041
52042 2013-10-09 Joseph Myers <joseph@codesourcery.com>
52043
52044 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
52045 semicolon. From Linux kernel.
52046
52047 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
52048
52049 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
52050
52051 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
52052
52053 [BZ #156]
52054 * manual/socket.texi: Added statement about buffer
52055 for gethostbyname2_r.
52056
52057 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
52058
52059 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
52060 Use .p2align directive instead, throughout.
52061 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52062 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
52063 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
52064 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52065 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52066 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
52067 * sysdeps/x86_64/strchr.S: Likewise.
52068 * sysdeps/x86_64/strrchr.S: Likewise.
52069
52070 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
52071
52072 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
52073
52074 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
52075
52076 * sysdeps/generic/math_private.h (__mpsin1): Remove
52077 declaration.
52078 (__mpcos1): Likewise.
52079 (__mpsin): New argument __range_reduce.
52080 (__mpcos): Likewise.
52081 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52082 (slow): Use __mpsin and __mpcos.
52083 (slow1): Likewise.
52084 (slow2): Likewise.
52085 (sloww): Likewise.
52086 (sloww1): Likewise.
52087 (sloww2): Likewise.
52088 (bsloww): Likewise.
52089 (bsloww1): Likewise.
52090 (bsloww2): Likewise.
52091 (cslow2): Likewise.
52092 (csloww): Likewise.
52093 (csloww1): Likewise.
52094 (csloww2): Likewise.
52095 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
52096 range_reduce. Merge in __mpsin1.
52097 (__mpcos): Likewise.
52098 (__mpsin1): Remove.
52099 (__mpcos1): Likewise.
52100
52101 2013-10-07 Joseph Myers <joseph@codesourcery.com>
52102
52103 * locale/loadlocale.c (_nl_intern_locale_data): Use
52104 LOCFILE_ALIGNED_P.
52105 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
52106 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
52107 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
52108 obstack data is appropriately aligned.
52109 (obstack_int32_grow_fast): Likewise.
52110 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
52111 * locale/programs/locfile.c (add_locale_uint32): Likewise.
52112 (add_locale_uint32_array): Likewise.
52113
52114 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
52115
52116 * benchtests/Makefile: Remove ARGLIST and RET variables.
52117 ($(objpfx)bench-%.c): Pass only function name to the script.
52118 * benchtests/README: Update documentation.
52119 * benchtests/acos-inputs: Add new directives.
52120 * benchtests/acosh-inputs: Likewise.
52121 * benchtests/asin-inputs: Likewise.
52122 * benchtests/asinh-inputs: Likewise.
52123 * benchtests/atan-inputs: Likewise.
52124 * benchtests/atanh-inputs: Likewise.
52125 * benchtests/cos-inputs: Likewise.
52126 * benchtests/cosh-inputs: Likewise.
52127 * benchtests/exp-inputs: Likewise.
52128 * benchtests/log-inputs: Likewise.
52129 * benchtests/pow-inputs: Likewise.
52130 * benchtests/rint-inputs: Likewise.
52131 * benchtests/sin-inputs: Likewise.
52132 * benchtests/sinh-inputs: Likewise.
52133 * benchtests/tan-inputs: Likewise.
52134 * benchtests/tanh-inputs: Likewise.
52135 * scripts/bench.pl: Add support for new directives.
52136
52137 2013-10-07 Alan Modra <amodra@gmail.com>
52138
52139 * README: Fix careless merge.
52140
52141 2013-10-05 Alan Modra <amodra@gmail.com>
52142
52143 * NEWS: Mention powerpc64le support and bugs fixed.
52144 * README: Both big-endian and little-endian powerpc64 supported.
52145
52146 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
52147
52148 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
52149 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
52150 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
52151 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
52152
52153 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
52154
52155 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
52156 match prototype.
52157
52158 2013-10-04 Joseph Myers <joseph@codesourcery.com>
52159
52160 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
52161 Move -mhard-float appending from
52162 ports/sysdeps/powerpc/powerpc32/Makefile.
52163 [$(with-fp) = yes] (ASFLAGS): Likewise.
52164 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
52165 * sysdeps/powerpc/nofpu: Move directory from
52166 ports/sysdeps/powerpc/nofpu.
52167 * sysdeps/powerpc/soft-fp: Move directory from
52168 ports/sysdeps/powerpc/soft-fp.
52169 * sysdeps/powerpc/powerpc32/405: Move directory from
52170 ports/sysdeps/powerpc/powerpc32/405.
52171 * sysdeps/powerpc/powerpc32/440: Move directory from
52172 ports/sysdeps/powerpc/powerpc32/440.
52173 * sysdeps/powerpc/powerpc32/464: Move directory from
52174 ports/sysdeps/powerpc/powerpc32/464.
52175 * sysdeps/powerpc/powerpc32/476: Move directory from
52176 ports/sysdeps/powerpc/powerpc32/476.
52177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
52178 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
52179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
52180 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
52181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
52182 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
52183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
52184 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
52185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
52186 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
52187 * README: Update for powerpc-*-linux-gnu software floating point
52188 support in libc.
52189
52190 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
52191 case to powerpc/powerpc32*.
52192 * sysdeps/unix/sysv/linux/configure: Regenerated.
52193
52194 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
52195 (_FPU_MASK_OM): Define as 0x04.
52196 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
52197 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
52198 0x00c10080.
52199 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
52200 0x0000003c.
52201 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
52202
52203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
52204 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52205 getcontext_e500.
52206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
52207 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52208 setcontext_e500.
52209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
52210 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
52211 and setcontext_e500.
52212
52213 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
52214
52215 * locale/iso-3166.def: Update iso-1366.def and related occurrences
52216
52217 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
52218
52219 * manual/threads.texi (Default Thread Attributes): Fix typo.
52220
52221 2013-10-04 Will Newton <will.newton@linaro.org>
52222
52223 * malloc/Makefile: Add tst-memalign.
52224 * malloc/tst-memalign.c: New file.
52225
52226 * malloc/tst-posix_memalign.c: Add comments.
52227 (do_test): Add comments and call free on all potentially
52228 allocated pointers. Add space after cast.
52229
52230 * malloc/tst-pvalloc.c: Add comments.
52231 (do_test): Add comments and call free on all potentially
52232 allocated pointers. Remove duplicate check for NULL pointer.
52233 Add space after cast.
52234
52235 * malloc/tst-valloc.c: Add comments.
52236 (do_test): Add comments and call free on all potentially
52237 allocated pointers. Remove duplicate check for NULL pointer.
52238 Add space after cast.
52239
52240 2013-10-04 Alan Modra <amodra@gmail.com>
52241
52242 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52243 Use stdint types in rather than __attribute__((mode())).
52244 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52245
52246 2013-10-04 Alan Modra <amodra@gmail.com>
52247
52248 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52249 Correct handling of unaligned relocs for little-endian.
52250 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52251
52252 2013-10-04 Alan Modra <amodra@gmail.com>
52253
52254 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
52255 * configure: Regenerate.
52256 * nptl/shlib-versions: Powerpc*le starts at 2.18.
52257 * shlib-versions: Likewise.
52258
52259 2013-10-04 Alan Modra <amodra@gmail.com>
52260
52261 * string/tester.c (test_memrchr): Increment reported test cycle.
52262
52263 2013-10-04 Alan Modra <amodra@gmail.com>
52264
52265 * string/test-memcpy.c (do_one_test): When reporting errors, print
52266 string address and don't overrun end of string.
52267
52268 2013-10-04 Alan Modra <amodra@gmail.com>
52269
52270 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
52271 insrdi. Make better use of reg selection to speed exit slightly.
52272 Schedule entry path a little better. Remove useless "are we done"
52273 checks on entry to main loop. Handle wrapping around zero address.
52274 Correct main loop count. Handle single left-over word from main
52275 loop inline rather than by using loop_small. Remove extra word
52276 case in loop_small caused by wrong loop count. Add little-endian
52277 support.
52278 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52279 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
52280 cache hint.
52281 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52282 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
52283 support. Avoid rlwimi.
52284 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
52285
52286 2013-10-04 Alan Modra <amodra@gmail.com>
52287
52288 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
52289 insrdi. Formatting.
52290 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
52291 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52292 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
52293 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52294 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52295 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
52296
52297 2013-10-04 Alan Modra <amodra@gmail.com>
52298
52299 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
52300 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52301 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
52302 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
52303 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52304 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52305 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52306 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52307 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
52308 use of regs. Use power7 mtocrf. Tidy function tails.
52309
52310 2013-10-04 Alan Modra <amodra@gmail.com>
52311
52312 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
52313 Formatting. Consistently use rXXX register defines or rN defines.
52314 Use early exit labels that avoid restoring unused non-volatile regs.
52315 Make cr field use more consistent with rWORDn compares. Rename
52316 regs used as shift registers for unaligned loop, using rN defines
52317 for short lifetime/multiple use regs.
52318 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52319 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
52320 addi 1,1,64 to pop stack frame. Simplify return value code.
52321 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52322
52323 2013-10-04 Alan Modra <amodra@gmail.com>
52324
52325 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
52326 support. Correct typos, formatting. Optimize tail. Use insrdi
52327 rather than rlwimi.
52328 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
52329 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
52330 little-endian support. Correct typos.
52331 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
52332 rather than rlwimi.
52333 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
52334 in loop and entry code to keep "and." results.
52335 (strchr): Add little-endian support. Comment. Move cntlzd
52336 earlier in tail.
52337 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
52338
52339 2013-10-04 Alan Modra <amodra@gmail.com>
52340
52341 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
52342 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
52343 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
52344 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
52345
52346 2013-10-04 Alan Modra <amodra@gmail.com>
52347
52348 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
52349 (rTMP): Define as r11.
52350 (strcmp): Add little-endian support. Optimise tail.
52351 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
52352 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52353 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52354 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52355 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52356 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52357 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52358
52359 2013-10-04 Alan Modra <amodra@gmail.com>
52360
52361 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
52362 little-endian support. Remove unnecessary "are we done" tests.
52363 Handle "s" wrapping around zero and extremely large "size".
52364 Correct main loop count. Handle single left-over word from main
52365 loop inline rather than by using small_loop. Correct comments.
52366 Delete "zero" tail, use "end_max" instead.
52367 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
52368
52369 2013-10-04 Alan Modra <amodra@gmail.com>
52370
52371 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
52372 support. Don't branch over align.
52373 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
52374 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
52375 support. Rearrange tmp reg use to suit. Comment.
52376 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
52377
52378 2013-10-04 Alan Modra <amodra@gmail.com>
52379
52380 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
52381
52382 2013-10-04 Alan Modra <amodra@gmail.com>
52383
52384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
52385 conditional form of branch and link when obtaining pc.
52386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
52387
52388 2013-10-04 Alan Modra <amodra@gmail.com>
52389
52390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
52391 HIWORD/LOWORD.
52392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
52393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
52394
52395 2013-10-04 Alan Modra <amodra@gmail.com>
52396
52397 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
52398 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
52399 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
52400 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
52401 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52402 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52403 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
52404 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52405 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
52406 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
52407
52408 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52409 Alistair Popple <alistair@ozlabs.au.ibm.com>
52410 Alan Modra <amodra@gmail.com>
52411
52412 [BZ #15723]
52413 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
52414 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
52415 _dl_hwcap access for little-endian.
52416 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
52417 destroy vmx regs when saving unaligned.
52418 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
52419 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
52420 destroy vmx regs when saving unaligned.
52421
52422 2013-10-04 Alan Modra <amodra@gmail.com>
52423
52424 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
52425 Don't use a union to pack hi/low value.
52426
52427 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52428
52429 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
52430 for little-endian.
52431 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52432 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
52433 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52434 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52435 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52436
52437 2013-10-04 Alan Modra <amodra@gmail.com>
52438
52439 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
52440 constants to usual value for .cst8 section, and remove redundant
52441 high address load.
52442 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
52443 constant for 0x1p52. Load little-endian words of double from
52444 correct stack offsets.
52445
52446 2013-10-04 Alan Modra <amodra@gmail.com>
52447
52448 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
52449 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
52450 words of double from correct stack offsets.
52451 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
52452 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
52453 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52454 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52455 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52456 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52457 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52458 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
52459 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
52460 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52461 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52462 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52463 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52464 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52465 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52466 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
52467 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
52468
52469 2013-10-04 Alan Modra <amodra@gmail.com>
52470
52471 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
52472 64-bit int/double union.
52473 (_FPU_SETCW): Likewise.
52474 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
52475 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
52476
52477 2013-10-04 Alan Modra <amodra@gmail.com>
52478
52479 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
52480 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
52481
52482 2013-10-04 Alan Modra <amodra@gmail.com>
52483
52484 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
52485 use vector int constants.
52486 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
52487
52488 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52489
52490 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
52491 array with long long.
52492 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
52493 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
52494 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
52495 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
52496 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
52497 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
52498 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
52499 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
52500 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
52501 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
52502 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
52503 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
52504 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
52505
52506 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52507
52508 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
52509 (__signbit): Likewise. Correct for little-endian.
52510 (__signbitl): Call __signbit.
52511 (lrint): Correct for little-endian.
52512 (lrintf): Call lrint.
52513
52514 2013-10-04 Alan Modra <amodra@gmail.com>
52515
52516 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
52517 union 32-bit int array member with 64-bit int array.
52518 (t515, tm256): Double rather than long double.
52519 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
52520
52521 2013-10-04 Alan Modra <amodra@gmail.com>
52522
52523 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
52524 Delete.
52525 (IEEE854_LONG_DOUBLE_BIAS): Delete.
52526 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
52527 version of math_ldbl.h.
52528
52529 2013-10-04 Alan Modra <amodra@gmail.com>
52530
52531 [BZ #15734], [BZ #15735]
52532 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
52533 all uses of ieee875 long double macros and unions. Simplify test
52534 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
52535 ldbl_extract_mantissa value for ix,iy exponents. Properly
52536 normalize after ldbl_extract_mantissa, and don't add hidden bit
52537 already handled. Don't treat low word of ieee854 mantissa like
52538 low word of IBM long double and mask off bit when testing for
52539 zero.
52540 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
52541 all uses of ieee875 long double macros and unions. Simplify tests
52542 for 0.0L and inf. Correct double adjustment of k. Delete dead code
52543 adjusting ha,hb. Simplify code setting kld. Delete two600 and
52544 two1022, instead use their values. Recognise that tests for large
52545 "a" and small "b" are mutually exclusive. Rename vars. Comment.
52546 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
52547 Rewrite all uses of ieee875 long double macros and unions. Simplify
52548 test for 0.0L and nan. Correct negation.
52549 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
52550 ieee875 long double macros and unions. Correct output for large
52551 magnitude x. Correct absolute value calculation.
52552 (__erfcl): Likewise.
52553 * math/libm-test.inc: Add tests for errors discovered in IBM long
52554 double versions of fmodl, remainderl, erfl and erfcl.
52555
52556 2013-10-04 Alan Modra <amodra@gmail.com>
52557
52558 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
52559 all uses of ieee854 long double macros and unions. Simplify tests
52560 for long doubles that are fully specified by the high double.
52561 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
52562 Likewise.
52563 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
52564 Remove dead code too.
52565 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
52566 (__ieee754_ynl): Likewise.
52567 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
52568 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
52569 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
52570 Remove dead code too.
52571 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
52572 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
52573 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
52574 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
52575 Simplify.
52576 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
52577 Simplify.
52578 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
52579 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
52580 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
52581 Comment on variable precision.
52582 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
52583 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52584 Likewise.
52585 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
52586 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52587 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52588 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
52589 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
52590
52591 2013-10-04 Alan Modra <amodra@gmail.com>
52592
52593 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
52594 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
52595 all uses of ieee854 long double macros and unions.
52596 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
52597 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52598 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
52599 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
52600 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
52601 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52602 Likewise.
52603 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
52604 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52605 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
52606 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52607 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
52608 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
52609 Simplify sign and nan test too.
52610 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
52611 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
52612 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
52613 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
52614 Likewise.
52615 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52616 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
52617 Likewise.
52618 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52619 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
52620 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
52621 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
52622 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
52623 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
52624
52625 2013-10-04 Alan Modra <amodra@gmail.com>
52626
52627 * stdio-common/printf_size.c (__printf_size): Don't use
52628 union ieee854_long_double in fpnum union.
52629 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
52630 signbit macro to retrieve sign from long double.
52631 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
52632 retrieve sign from long double.
52633 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
52634 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
52635 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
52636 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52637 * math/test-misc.c (main): Don't use union ieee854_long_double.
52638
52639 2013-10-04 Alan Modra <amodra@gmail.com>
52640
52641 [BZ #15680]
52642 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
52643 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
52644 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
52645 calculation. Remove unnecessary test for denormal exponent.
52646 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
52647 Correct handling of denormals. Avoid undefined shift behaviour.
52648 Correct normalisation of low mantissa when low double is denormal.
52649 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
52650 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
52651 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
52652 Correct normalisation of low mantissa. Test for overflow of high
52653 mantissa and normalise.
52654 (ldbl_nearbyint): Use more readable constant for two52.
52655 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
52656 (__mpn_construct_long_double): Fix test for overflow of high
52657 mantissa and correct normalisation. Avoid undefined shift.
52658
52659 2013-10-04 Alan Modra <amodra@gmail.com>
52660
52661 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52662 (union ibm_extended_long_double): Define as an array of ieee754_double.
52663 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
52664 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
52665 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
52666 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52667 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52668 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
52669 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52670 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52671 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52672 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
52673 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52674
52675 2013-10-03 Joseph Myers <joseph@codesourcery.com>
52676
52677 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
52678 page size instead of calling getpagesize.
52679
52680 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
52681 (LOCFILE_ALIGN_MASK): Likewise.
52682 (LOCFILE_ALIGN_UP): Likewise.
52683 (LOCFILE_ALIGNED_P): Likewise.
52684 * locale/programs/ld-collate.c (collate_output): Use the new
52685 macros instead of __alignof__ (int32_t).
52686 * locale/weight.h (findidx): Likewise.
52687
52688 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
52689
52690 [BZ #431]
52691 * manual/string.texi: Fix strncat and wcsncat.
52692
52693 2013-10-03 Brooks Moses <bmoses@google.com>
52694
52695 [BZ #15915]
52696 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
52697 * Makerules: ...here, and adjust associated comments.
52698
52699 2013-10-02 Will Newton <will.newton@linaro.org>
52700
52701 * malloc/Makefile: Add tst-pvalloc.
52702 * malloc/tst-pvalloc.c: New file.
52703
52704 2013-10-02 Will Newton <will.newton@linaro.org>
52705
52706 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
52707 improve test coverage.
52708
52709 2013-10-02 Will Newton <will.newton@linaro.org>
52710
52711 * malloc/Makefile: Add tst-posix_memalign.
52712 * malloc/tst-posix_memalign.c: New file.
52713
52714 2013-10-01 Eric Blake <eblake@redhat.com>
52715
52716 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
52717 Use __THROWNL rather than __THROW on static functions.
52718
52719 2013-09-30 Petr Machata <pmachata@redhat.com>
52720
52721 * elf/elf.h (R_AARCH64_ABS16): New macro.
52722 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
52723 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
52724 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
52725 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
52726 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
52727 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
52728 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
52729 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
52730 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
52731 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
52732 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
52733 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
52734 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
52735 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
52736 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
52737 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
52738 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
52739 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
52740 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
52741 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
52742 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
52743 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
52744 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
52745 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
52746 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
52747 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
52748 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
52749 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
52750 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
52751 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
52752 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
52753 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
52754 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
52755 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
52756 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
52757 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
52758 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
52759 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
52760 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
52761 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
52762 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
52763 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
52764 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
52765 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
52766 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
52767 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
52768 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
52769 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
52770 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
52771 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
52772 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
52773 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
52774 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
52775 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
52776 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
52777 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
52778 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
52779 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
52780 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
52781 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
52782 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
52783 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
52784 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
52785 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
52786 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
52787 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
52788 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
52789 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
52790 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
52791 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
52792 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
52793 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
52794 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
52795 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
52796 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
52797 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
52798 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
52799 (R_AARCH64_TLSDESC_LDR): Likewise.
52800 (R_AARCH64_TLSDESC_ADD): Likewise.
52801 (R_AARCH64_TLSDESC_CALL): Likewise.
52802
52803 2013-09-30 Andreas Schwab <schwab@suse.de>
52804
52805 [BZ #15048]
52806 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
52807 the nss database lookup.
52808 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52809 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52810
52811 2013-09-28 Mike Frysinger <vapier@gentoo.org>
52812
52813 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
52814
52815 2013-09-28 P. J. McDermott <pj@pehjota.net>
52816
52817 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
52818 ${Bash-specific parameter/pattern/string} parameter expansion.
52819 * sysdeps/unix/make-syscalls.sh: Likewise.
52820
52821 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52822
52823 * sysdeps/sh/stackguard-macros.h: New file.
52824
52825 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
52826
52827 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52828 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
52829 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
52830 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
52831 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52832 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
52833
52834 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52835
52836 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
52837 Fix thread ID register.
52838
52839 2013-09-25 Joseph Myers <joseph@codesourcery.com>
52840
52841 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
52842 [POSIX || UNIX98]: Require rather than permitting all symbols from
52843 <time.h>.
52844 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
52845 element of struct sched_param.
52846 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
52847 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
52848 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
52849 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
52850 constant.
52851
52852 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
52853
52854 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
52855 argument calculation.
52856
52857 2013-09-24 Joseph Myers <joseph@codesourcery.com>
52858
52859 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
52860 Expect macro.
52861 [POSIX] (pthread_attr_t): Do not require type.
52862 [POSIX] (pthread_cond_t): Likewise.
52863 [POSIX] (pthread_condattr_t): Likewise.
52864 [POSIX] (pthread_key_t): Likewise.
52865 [POSIX] (pthread_mutex_t): Likewise.
52866 [POSIX] (pthread_mutexattr_t): Likewise.
52867 [POSIX] (pthread_once_t): Likewise.
52868 [POSIX] (pthread_t): Likewise.
52869 [POSIX-based standards] (pthread_atfork): Expect function.
52870
52871 2013-09-24 Joseph Myers <joseph@codesourcery.com>
52872 Richard Sandiford <richard@codesourcery.com>
52873
52874 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
52875 (swap_endianness_p): New extern variable.
52876 (set_big_endian): New inline function.
52877 (maybe_swap_uint32): Likewise.
52878 (maybe_swap_uint32_array): Likewise.
52879 (maybe_swap_uint32_obstack): Likewise.
52880 * locale/programs/locfile.c: Include <stdbool.h>.
52881 (swap_endianness_p): New variable.
52882 (add_locale_uint32): Call maybe_swap_uint32.
52883 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52884 (write_locale_data): Call maybe_swap_uint32_array.
52885 * locale/programs/ld-collate.c (obstack_int32_grow): Call
52886 maybe_swap_uint32.
52887 (obstack_int32_grow_fast): Likewise.
52888 (output_weightwc): Call maybe_swap_uint32_obstack.
52889 (collate_output): Likewise.
52890 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52891 (OPT_LITTLE_ENDIAN): Likewise.
52892 (options): Add --little-endian and --big-endian options.
52893 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52894 * locale/programs/locarchive.c: Include "locfile.h".
52895 (GET): New macro.
52896 (SET): Likewise.
52897 (INC): Likewise.
52898 (create_archive): Use the new macros to access fields of
52899 structures directly mapped from or written to locale archives.
52900 (oldlocrecentcmp): Likewise.
52901 (enlarge_archive): Likewise.
52902 (insert_name): Likewise.
52903 (add_alias): Likewise.
52904 (add_locale): Likewise.
52905 (delete_locales_from_archive): Likewise.
52906 (show_archive_content): Likewise.
52907 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
52908 locale data.
52909
52910 2013-09-24 Roland McGrath <roland@hack.frob.com>
52911
52912 * manual/freemanuals.texi: Updated from (newly) canonical copy at
52913 http://www.gnu.org/doc/freemanuals.texi.
52914 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52915
52916 2013-09-24 Will Newton <will.newton@linaro.org>
52917
52918 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52919 macro.
52920
52921 2013-09-23 Joseph Myers <joseph@codesourcery.com>
52922
52923 * locale/hashval.h (compute_hashval): Interpret bytes of key as
52924 unsigned char.
52925
52926 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
52927
52928 * manual/threads.texi (POSIX Threads): Fix a typo.
52929
52930 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
52931
52932 [BZ #14547]
52933 * string/tst-strcoll-overflow.c: New test case.
52934 * string/Makefile (xtests): Add tst-strcoll-overflow.
52935 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52936 cache if string sizes may cause integer overflow.
52937
52938 [BZ #14547]
52939 * string/strcoll_l.c (coll_seq): New members rule, idx,
52940 save_idx and back_us.
52941 (get_next_seq_nocache): New function.
52942 (do_compare_nocache): New function.
52943 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52944 when malloc fails.
52945
52946 2013-09-23 Carlos O'Donell <carlos@redhat.com>
52947
52948 [BZ #15754]
52949 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52950 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52951 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52952
52953 [BZ #15754]
52954 * elf/Makefile (tests): Add tst-ptrguard1.
52955 (tests-static): Add tst-ptrguard1-static.
52956 (tst-ptrguard1-ARGS): Define.
52957 (tst-ptrguard1-static-ARGS): Define.
52958 * elf/tst-ptrguard1.c: New file.
52959 * elf/tst-ptrguard1-static.c: New file.
52960 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52961 * sysdeps/i386/stackguard-macros.h: Likewise.
52962 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52963 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52964 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52965 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52966 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52967 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52968
52969 2013-09-23 Hector Marco <hecmargi@upv.es>
52970 Ismael Ripoll <iripoll@disca.upv.es>
52971 Carlos O'Donell <carlos@redhat.com>
52972
52973 [BZ #15754]
52974 * sysdeps/generic/stackguard-macros.h: Define
52975 __pointer_chk_guard_local and POINTER_CHK_GUARD.
52976 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52977 Define __pointer_chk_guard_local.
52978 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52979 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52980
52981 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
52982
52983 [BZ #15859]
52984 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52985
52986 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
52987
52988 * include/string.h (__ffs): Declare as hidden.
52989 * string/ffs.c (__ffs): Define as hidden.
52990 * sysdeps/i386/ffs.c (__ffs): Likewise.
52991 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52992 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52993 * sysdeps/s390/ffs.c (__ffs): Likewise.
52994 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52995
52996 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
52997
52998 * NEWS: Mention malloc probes.
52999
53000 * malloc/arena.c (new_heap): New memory_heap_new probe.
53001 (grow_heap): New memory_heap_more probe.
53002 (shrink_heap): New memory_heap_less probe.
53003 (heap_trim): New memory_heap_free probe.
53004 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
53005 (systrim): New memory_sbrk_less probe.
53006 * manual/probes.texi: Document them.
53007
53008 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
53009 * manual/probes.texi: Document it.
53010
53011 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
53012 (__libc_realloc): Add memory_realloc_retry probe.
53013 (__libc_memalign): Add memory_memalign_retry probe.
53014 (__libc_valloc): Add memory_valloc_retry probe.
53015 (__libc_pvalloc): Add memory_pvalloc_retry probe.
53016 (__libc_calloc): Add memory_calloc_retry probe.
53017 * manual/probes.texi: Document them.
53018
53019 * malloc/arena.c (get_free_list): Add probe
53020 memory_arena_reuse_free_list.
53021 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
53022 and memory_arena_reuse.
53023 (arena_get2) [!PER_THREAD]: Likewise.
53024 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
53025 memory_arena_reuse_realloc.
53026 * manual/probes.texi: Document them.
53027
53028 * malloc/malloc.c (__libc_free): Add
53029 memory_mallopt_free_dyn_thresholds probe.
53030 (__libc_mallopt): Add multiple memory_mallopt probes.
53031 * manual/probes.texi: Document them.
53032
53033 * malloc/malloc.c: Include stap-probe.h.
53034 (__libc_mallopt): Add memory_mallopt probe.
53035 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
53036 * manual/probes.texi: New.
53037 * manual/Makefile (chapters): Add probes.
53038 * manual/threads.texi: Set next node.
53039
53040 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
53041
53042 [BZ #15963, #13985]
53043 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
53044 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
53045 Add `Chinese' to `nan' entry name.
53046
53047 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
53048
53049 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
53050 (POLYNOMIAL): Likewise.
53051 (TAYLOR_SINCOS): Likewise.
53052 (TAYLOR_SLOW): Likewise.
53053 (__sin): Use TAYLOR_SINCOS.
53054 (__cos): Likewise.
53055 (slow): Use TAYLOR_SLOW.
53056 (sloww): Likewise.
53057 (bsloww): Likewise.
53058 (csloww): Likewise.
53059
53060 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53061
53062 * stdlib/strtod_l.c: Fix buffer overrun.
53063
53064 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
53065
53066 * benchtests/Makefile (bench): Add sincos.
53067 * benchtests/bench-sincos.c: New file.
53068
53069 * math/libm-test.inc (cos_test_data): New test inputs.
53070 (sin_test_data): Likewise.
53071
53072 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
53073 macro.
53074 (__sin): Use it.
53075 (__cos): Likewise.
53076 (slow1): Likewise.
53077 (slow2): Likewise.
53078 (sloww1): Likewise.
53079 (sloww2): Likewise.
53080 (bsloww1): Likewise.
53081 (bsloww2): Likewise.
53082 (cslow2): Likewise.
53083 (csloww1): Likewise.
53084 (csloww2): Likewise.
53085
53086 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
53087 function.
53088 (__sin): Use it.
53089 (__cos): Likewise.
53090
53091 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
53092 gotos.
53093 (__cos): Likewise.
53094
53095 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
53096
53097 * config.h.in (HAVE_MIPS_NAN2008): New macro.
53098 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
53099 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
53100 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
53101 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
53102 * elf/cache.c (print_entry): Handle the new cache flags.
53103
53104 2013-09-18 Joseph Myers <joseph@codesourcery.com>
53105 Aldy Hernandez <aldyh@redhat.com>
53106
53107 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
53108 Change condition to [_SOFT_FLOAT].
53109 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
53110 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
53111 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
53112 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
53113 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
53114 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
53115 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
53116 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
53117 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
53118 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
53119 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
53120 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
53121 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
53122 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
53123 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
53124 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
53125 declaration.
53126
53127 2013-09-18 Joseph Myers <joseph@codesourcery.com>
53128
53129 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
53130 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53131 (__longjmp): Use LOAD_GP to load saved GPRs.
53132 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
53133 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53134 (__sigsetjmp): Use SAVE_GP to save GPRs.
53135
53136 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
53137 Do not append -msoft-float.
53138 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
53139
53140 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
53141
53142 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
53143
53144 2013-09-17 Joseph Myers <joseph@codesourcery.com>
53145
53146 [BZ #15966]
53147 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
53148 (_FPU_GETCW): Use initial "__" on variable and field names but not
53149 on macro parameter name.
53150 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
53151 parentheses around reference to macro parameter.
53152
53153 2013-09-13 Richard Sandiford <richard@codesourcery.com>
53154
53155 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
53156 prototype.
53157 (ctype_startup): Use uint32_t in cast and sizeof for
53158 ctype->charnames.
53159
53160 2013-09-11 Jia Liu <proljc@gmail.com>
53161
53162 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
53163 __daddr_t_defined.
53164 [__FreeBSD__]: Likewise.
53165
53166 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
53167
53168 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
53169 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
53170 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
53171 (strchr): Remove __strchr_sse42 ifunc selection.
53172 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
53173 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
53174
53175 2013-09-11 Will Newton <will.newton@linaro.org>
53176
53177 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
53178 parameter to RES. Remove hardcoded 1000 value.
53179 * benchtests/bench-skeleton.c (main): Pass RES parameter
53180 to TIMING_INIT and multiply result by 1000.
53181
53182 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53183
53184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53185
53186 2013-09-11 Andreas Schwab <schwab@suse.de>
53187
53188 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
53189 if not defined.
53190 (O_TMPFILE) [__USE_GNU]: Define.
53191 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
53192 Define.
53193
53194 2013-09-11 Will Newton <will.newton@linaro.org>
53195
53196 [BZ #15857]
53197 * malloc/malloc.c (__libc_memalign): Check the value of bytes
53198 does not overflow.
53199
53200 2013-09-11 Will Newton <will.newton@linaro.org>
53201
53202 [BZ #15856]
53203 * malloc/malloc.c (__libc_valloc): Check the value of bytes
53204 does not overflow.
53205
53206 2013-09-11 Will Newton <will.newton@linaro.org>
53207
53208 [BZ #15855]
53209 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
53210 does not overflow.
53211
53212 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
53213
53214 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
53215 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53216 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53217 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53218 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53219
53220 2013-09-10 Allan McRae <allan@archlinux.org>
53221
53222 [BZ #15748]
53223 * manual/arith.texi (Parsing of Floats): Clarify
53224 cross-reference.
53225
53226 [BZ #15849]
53227 * manual/install.texi (Running make install): Mention
53228 --enable-pt-chown.
53229 * INSTALL: Regenerated.
53230
53231 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
53232
53233 * csu/init-first.c (_init): Remove the !SHARED condition around
53234 FPU control word initialization.
53235 * elf/dl-support.c (_dl_fpu_control): New variable.
53236 (_dl_aux_init) <AT_FPUCW>: Initialize it.
53237 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
53238 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
53239 * math/test-fpucw-static.c: New file.
53240 * math/test-fpucw-ieee.c: New file.
53241 * math/test-fpucw-ieee-static.c: New file.
53242 * math/Makefile (tests): Add `test-fpucw-ieee' and
53243 `$(tests-static)'.
53244 (tests-static): New variable.
53245 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
53246 dependency to...
53247 [($(build-shared),yes)]
53248 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
53249 ... this.
53250 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
53251 New dependency.
53252
53253 2013-09-09 Allan McRae <allan@archlinux.org>
53254
53255 [BZ #15939]
53256 * manual/string.texi (Collation Functions): Fix typo in
53257 strcoll example.
53258 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
53259
53260 [BZ #15893]
53261 * stdlib/isomac.c (get_null_defines): Fix memory leak.
53262
53263 [BZ #15892]
53264 * libio/memstream.c (open_memstream): Fix memory leak.
53265 * libio/wmemstream.c (open_wmemstream): Likewise.
53266
53267 [BZ #15895]
53268 * nscd/netgroupcache.c: Fix nesting of ifdefs.
53269
53270 2013-09-09 Will Newton <will.newton@linaro.org>
53271
53272 * malloc/Makefile: Add tst-realloc to tests.
53273 * malloc/tst-realloc.c: New file.
53274
53275 2013-09-09 Allan McRae <allan@archlinux.org>
53276
53277 [BZ #15844]
53278 * COPYING: Update from GNU website to fix FSF address.
53279 * COPYING.LIB: Likewise.
53280
53281 2013-09-06 David S. Miller <davem@davemloft.net>
53282
53283 * po/zh_TW.po: Update Chinese (traditional) translation from
53284 translation project.
53285
53286 2013-09-06 Richard Sandiford <richard@codesourcery.com>
53287 Joseph Myers <joseph@codesourcery.com>
53288
53289 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
53290 "localeinfo.h".
53291 (obstack_chunk_alloc): New macro.
53292 (obstack_chunk_free): Likewise.
53293 (record_offset): New function.
53294 (init_locale_data): Likewise.
53295 (align_locale_data): Likewise.
53296 (add_locale_empty): Likewise.
53297 (add_locale_raw_data): Likewise.
53298 (add_locale_raw_obstack): Likewise.
53299 (add_locale_string): Likewise.
53300 (add_locale_wstring): Likewise.
53301 (add_locale_uint32): Likewise.
53302 (add_locale_uint32_array): Likewise.
53303 (add_locale_char): Likewise.
53304 (start_locale_structure): Likewise.
53305 (end_locale_structure): Likewise.
53306 (start_locale_prelude): Likewise.
53307 (end_locale_prelude): Likewise.
53308 (write_locale_data): Take locale_file structure rather than an
53309 iovec.
53310 * locale/programs/locfile.h: Include "obstack.h".
53311 (struct locale_file): Change to store locale file contents instead
53312 of header.
53313 (init_locale_data): New prototype.
53314 (align_locale_data): Likewise.
53315 (add_locale_empty): Likewise.
53316 (add_locale_raw_data): Likewise.
53317 (add_locale_raw_obstack): Likewise.
53318 (add_locale_string): Likewise.
53319 (add_locale_wstring): Likewise.
53320 (add_locale_uint32): Likewise.
53321 (add_locale_uint32_array): Likewise.
53322 (add_locale_char): Likewise.
53323 (start_locale_structure): Likewise.
53324 (end_locale_structure): Likewise.
53325 (start_locale_prelude): Likewise.
53326 (end_locale_prelude): Likewise.
53327 (write_locale_data): Update prototype.
53328 * locale/programs/3level.h (struct TABLE): Remove result field.
53329 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
53330 Use new locale_file interface.
53331 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
53332 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
53333 * locale/programs/ld-address.c (address_output): Use new
53334 locale_file interface.
53335 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
53336 NO_ADD_LOCALE.
53337 (collate_finish): Don't call collseq_table_finalize.
53338 (collate_output): Use new locale_file interface.
53339 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
53340 in file.
53341 (NO_FINALIZE): Change to NO_ADD_LOCALE.
53342 (TABLE): Move defines earlier in file.
53343 (ELEMENT): Likewise.
53344 (DEFAULT): Likewise.
53345 (wctrans_table_add): Move macro and inline function earlier in
53346 file.
53347 (struct wctype_table): Move type earlier in file.
53348 (add_locale_wctype_table): New static prototype.
53349 (struct locale_ctype_t): Use logical types instead of struct iovec
53350 pointers for members.
53351 (ctype_output): Use new locale_file interface.
53352 (wctype_table_finalize): Change to add_locale_wctype_table. Use
53353 new locale_file interface.
53354 (allocate_arrays): Update for use of new locale_file interface.
53355 * locale/programs/ld-identification.c (identification_output): Use
53356 new locale_file interface.
53357 * locale/programs/ld-measurement.c (measurement_output): Likewise.
53358 * locale/programs/ld-messages.c (messages_output): Likewise.
53359 * locale/programs/ld-monetary.c (monetary_output): Likewise.
53360 * locale/programs/ld-name.c (name_output): Likewise.
53361 * locale/programs/ld-numeric.c (numeric_output): Likewise.
53362 * locale/programs/ld-paper.c (paper_output): Likewise.
53363 * locale/programs/ld-telephone.c (telephone_output): Likewise.
53364 * locale/programs/ld-time.c (time_output): Likewise.
53365
53366 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53367
53368 * benchtests/Makefile: Add memrchr benchmark.
53369 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
53370 benchmark as memrchr.
53371 * benchtests/bench-memrchr-ifunc.c: New file.
53372 * benchtests/bench-memrchr.c: New file.
53373
53374 2013-09-06 Will Newton <will.newton@linaro.org>
53375
53376 * benchtests/Makefile (string-bench): Add memcpy.
53377
53378 2013-09-05 Carlos O'Donell <carlos@redhat.com>
53379 Cong Wang <amwang@redhat.com>
53380
53381 [BZ #15850]
53382 * sysdeps/unix/sysv/linux/bits/in.h
53383 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
53384 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
53385 before __USE_KERNEL_IPV6_DEFS uses.
53386 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
53387 IPPROTO_BEETPH.
53388 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
53389 sockaddr_in6, or ipv6_mreq.
53390
53391 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53392
53393 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
53394 memory access for final bytes in some large inputs.
53395 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
53396
53397 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53398
53399 * string/test-memrchr.c: New file.
53400 * string/test-memrchr-ifunc.c: New file.
53401 * string/Makefile: Add new memrchr testcase.
53402
53403 2013-09-05 Mike Frysinger <vapier@gentoo.org>
53404
53405 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
53406 fanotify_init returns EPERM.
53407
53408 2013-09-04 Joseph Myers <joseph@codesourcery.com>
53409
53410 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
53411 errors.
53412 (top level): Treat second token from macro or constant entries for
53413 allowed headers as allowed.
53414 * include/complex.h: Condition internal declarations on
53415 [!_ISOMAC].
53416 * include/fenv.h: Condition include of <stdbool.h> and internal
53417 declarations on [!_ISOMAC].
53418
53419 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
53420
53421 [BZ #15923]
53422 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
53423
53424 2013-09-04 Joseph Myers <joseph@codesourcery.com>
53425
53426 * configure.in (--enable-versioning): Remove configure option.
53427 (libc_cv_asm_symver_directive): Remove configure test.
53428 (libc_cv_ld_version_script_option): Likewise.
53429 (VERSIONING): Remove variable and AC_SUBST.
53430 (DO_VERSIONING): Remove AC_DEFINE.
53431 * configure: Regenerated.
53432 * config.h.in (DO_VERSIONING): Remove macro.
53433 * Makerules [$(versioning) = yes]: Change conditionals to
53434 [$(build-shared) = yes].
53435 * config.make.in (versioning): Remove variable.
53436 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
53437 [$(build-shared) = yes].
53438 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
53439 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
53440 * elf/Makefile [$(versioning) = yes]: Change conditionals to
53441 [$(build-shared) = yes].
53442 * extra-lib.mk [$(versioning) = yes]: Likewise.
53443 * hurd/Makefile [$(versioning) = yes]: Likewise.
53444 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
53445 [SHARED].
53446 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
53447 [SHARED].
53448 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53449 [SHARED && !NO_HIDDEN].
53450 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
53451 [SHARED].
53452 [SHARED && DO_VERSIONING]: Likewise..
53453 * libio/Makefile [$(versioning) = yes]: Change conditionals to
53454 [$(build-shared) = yes].
53455 * manual/install.texi (--disable-versioning): Remove
53456 documentation.
53457 * INSTALL: Regenerated.
53458 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
53459 to [SHARED].
53460 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
53461 [$(build-shared) = yes].
53462 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
53463 * sysdeps/i386/i686/multiarch/strstr-c.c
53464 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53465 [SHARED && !NO_HIDDEN].
53466 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
53467 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
53468 * sysdeps/powerpc/powerpc32/dl-machine.c
53469 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
53470 * sysdeps/powerpc/powerpc32/sysdep.h
53471 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
53472 to [SHARED && PIC && !NO_HIDDEN].
53473 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
53474 conditional to [SHARED].
53475
53476 2013-09-04 Will Newton <will.newton@linaro.org>
53477
53478 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
53479 * benchtests/bench-string.h: Include bench-timing.h instead
53480 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
53481 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
53482 call to HP_TIMING_DIFF_INIT.
53483 * benchtests/bench-memccpy.c: Use bench-timing.h macros
53484 instead of hp-timing.h macros.
53485 * benchtests/bench-memchr.c: Likewise.
53486 * benchtests/bench-memcmp.c: Likewise.
53487 * benchtests/bench-memcpy.c: Likewise.
53488 * benchtests/bench-memmem.c: Likewise.
53489 * benchtests/bench-memmove.c: Likewise.
53490 * benchtests/bench-memset.c: Likewise.
53491 * benchtests/bench-rawmemchr.c: Likewise.
53492 * benchtests/bench-strcasecmp.c: Likewise.
53493 * benchtests/bench-strcasestr.c: Likewise.
53494 * benchtests/bench-strcat.c: Likewise.
53495 * benchtests/bench-strchr.c: Likewise.
53496 * benchtests/bench-strcmp.c: Likewise.
53497 * benchtests/bench-strcpy.c: Likewise.
53498 * benchtests/bench-strcpy_chk.c: Likewise.
53499 * benchtests/bench-strlen.c: Likewise.
53500 * benchtests/bench-strncasecmp.c: Likewise.
53501 * benchtests/bench-strncat.c: Likewise.
53502 * benchtests/bench-strncmp.c: Likewise.
53503 * benchtests/bench-strncpy.c: Likewise.
53504 * benchtests/bench-strnlen.c: Likewise.
53505 * benchtests/bench-strpbrk.c: Likewise.
53506 * benchtests/bench-strrchr.c: Likewise.
53507 * benchtests/bench-strspn.c: Likewise.
53508 * benchtests/bench-strstr.c: Likewise.
53509
53510 2013-09-04 Will Newton <will.newton@linaro.org>
53511
53512 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
53513
53514 2013-09-03 Joseph Myers <joseph@codesourcery.com>
53515
53516 [BZ #15427]
53517 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
53518 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
53519 * math/libm-test.inc (lgamma_test_data): Add more tests.
53520 * sysdeps/i386/fpu/libm-test-ulps: Update.
53521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53522
53523 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
53524
53525 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
53526 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53527 Add ifunc.
53528 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53529 Add strcmp-sse2-unaligned
53530 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
53531
53532 2013-09-02 Mike Frysinger <vapier@gentoo.org>
53533
53534 * Versions.def (libc): Add GLIBC_2.19.
53535
53536 2013-09-02 Mike Frysinger <vapier@gentoo.org>
53537
53538 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
53539 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
53540
53541 2013-09-02 Joseph Myers <joseph@codesourcery.com>
53542
53543 [BZ #14155]
53544 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
53545 intermediate calculations in recurrence.
53546 (__ieee754_ynf): Likewise.
53547 * math/libm-test.inc (jn_test_data): Do not allow spurious
53548 underflow exception. Add more tests.
53549 (yn_test_data): Add more tests.
53550 * sysdeps/i386/fpu/libm-test-ulps: Update.
53551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53552
53553 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
53554
53555 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
53556
53557 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53558
53559 * csu/init-first.c: Fix then/than typos.
53560 * locale/programs/ld-collate.c: Likewise.
53561 * locale/programs/linereader.h: Likewise.
53562 * manual/charset.texi: Likewise.
53563 * manual/filesys.texi: Likewise.
53564 * manual/stdio.texi: Likewise.
53565 * manual/string.texi: Likewise.
53566 * stdlib/fmtmsg.c: Likewise.
53567 * sysdeps/i386/stpncpy.S: Likewise.
53568 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53569 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53570 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53571 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53572
53573 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53574
53575 * elf/dl-open.c: Fix typos.
53576 * iconvdata/gbbig5.c: Likewise.
53577 * iconvdata/iso-2022-jp.c: Likewise.
53578 * iconv/gconv_int.h: Likewise.
53579 * iconv/loop.c: Likewise.
53580 * nis/rpcsvc/nis.h: Likewise.
53581 * resolv/ns_name.c: Likewise.
53582 * stdio-common/vfscanf.c: Likewise.
53583 * streams/stropts.h: Likewise.
53584 * sunrpc/rpc_thread.c: Likewise.
53585 * sysdeps/i386/strpbrk.S: Likewise.
53586 * sysdeps/ieee754/k_standard.c: Likewise.
53587 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53588 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53589 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
53590 * sysdeps/mach/hurd/profil.c: Likewise.
53591 * sysdeps/s390/dl-procinfo.h: Likewise.
53592 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
53593 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
53594 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
53595 * sysdeps/x86_64/dl-trampoline.S: Likewise.
53596 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53597
53598 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53599
53600 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
53601 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
53602
53603 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
53604
53605 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
53606 aix specific files.
53607 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
53608 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
53609 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
53610 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
53611 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
53612 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
53613 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
53614 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
53615
53616 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
53617 Roland McGrath <roland@hack.frob.com>
53618
53619 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
53620 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
53621
53622 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
53623
53624 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
53625 __executable_start symbol instead of _start.
53626
53627 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
53628
53629 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
53630 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
53631 Move macros to...
53632 * sysdeps/gnu/ldsodefs.h: ... this new file.
53633
53634 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
53635 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
53636 instead of ELFOSABI_LINUX.
53637
53638 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
53639 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
53640 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
53641 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
53642 Likewise.
53643 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
53644 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
53645 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
53646 Likewise.
53647 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
53648 (ibm_extended_long_double): Add ieee_nan member.
53649 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
53650 (do_test): New function.
53651
53652 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
53653 TEST_TRUNC.
53654 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
53655 functions, renamed from truncdfsf_test, trunctfsf_test,
53656 trunctfdf_test.
53657 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
53658 functions.
53659 (do_test): Run all these.
53660
53661 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
53662
53663 * argp/argp-help.c: Fix typos.
53664 * argp/argp-parse.c: Likewise.
53665 * debug/backtracesyms.c: Likewise.
53666 * elf/elf.h: Likewise.
53667 * malloc/malloc.c: Likewise.
53668 * nis/nis_print.c: Likewise.
53669 * resolv/res_comp.c: Likewise.
53670 * stdlib/stdlib.h: Likewise.
53671 * sunrpc/clnt_tcp.c: Likewise.
53672 * sunrpc/clnt_udp.c: Likewise.
53673 * sunrpc/clnt_unix.c: Likewise.
53674 * sysdeps/unix/bsd/ptsname.c: Likewise.
53675 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
53676 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
53677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
53678 Likewise.
53679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
53680 Likewise.
53681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
53682 Likewise.
53683 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53684
53685 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53686
53687 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
53688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53689
53690 2013-08-27 Mike Frysinger <vapier@gentoo.org>
53691
53692 [BZ #15897]
53693 * dlfcn/Makefile (tests): Add bug-dl-leaf.
53694 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
53695 ($(objpfx)bug-dl-leaf): New rule.
53696 ($(objpfx)bug-dl-leaf.so): Likewise.
53697 ($(objpfx)bug-dl-leaf.out): Likewise.
53698 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
53699 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
53700 * dlfcn/bug-dl-leaf.c: New test.
53701 * dlfcn/bug-dl-leaf-lib.c: Likewise.
53702 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
53703 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
53704 (dlclose): Likewise.
53705 (dlmopen): Likewise.
53706
53707 2013-08-27 Roland McGrath <roland@hack.frob.com>
53708
53709 * include/netdb.h [!_ISOMAC]:
53710 Don't include <tls.h>.
53711 (h_errno, __libc_h_errno): Move declaration and macros out of
53712 [_LIBC_REENTRANT].
53713
53714 * include/resolv.h [_RESOLV_H_]:
53715 Don't include <tls.h>.
53716 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
53717 * resolv/res_libc.c: Don't include <tls.h>.
53718 (_res): Use __attribute__ ((nocommon)) in place of
53719 __attribute__ ((section (".bss"))).
53720
53721 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
53722 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
53723
53724 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
53725
53726 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
53727 only under [SIOCGIFCONF && SIOCGIFNETMASK].
53728
53729 * resolv/res_mkquery.c: Include <sys/time.h>.
53730
53731 * inet/ifreq.c: Moved to ...
53732 * sysdeps/unix/ifreq.c: ... here.
53733 * inet/ifreq.c: New file, true stub version.
53734
53735 * socket/sa_len.c: New file.
53736 * socket/Makefile (aux): Add it.
53737 * sysdeps/unix/sysv/linux/Makefile
53738 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
53739 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
53740 and #include <socket/sa_len.c>.
53741 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
53742 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
53743
53744 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
53745 * bits/socket.h: ... here.
53746
53747 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
53748 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
53749 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
53750
53751 2013-08-27 Andreas Schwab <schwab@suse.de>
53752
53753 [BZ #15736]
53754 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
53755 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
53756 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
53757 * string/test-strcasecmp.c (test_main): Run tests in several
53758 locales.
53759 * string/test-strncasecmp.c (test_main): Likewise.
53760
53761 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
53762 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
53763 to __strcasecmp_nonascii and __strncasecmp_nonascii.
53764 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
53765 (__strncasecmp_ssse3) [PIC]: Likewise.
53766
53767 2013-08-26 Roland McGrath <roland@hack.frob.com>
53768
53769 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
53770
53771 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
53772 instead of explicitly declaring xdecrypt.
53773 * nis/nss_nis/nis-publickey.c: Likewise.
53774
53775 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53776
53777 [BZ #15890]
53778 * nscd/aicache.c: Include res_hconf.h.
53779 (addhstaiX): Initialize res_hconf.
53780
53781 2013-08-26 Andreas Schwab <schwab@suse.de>
53782
53783 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
53784 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
53785
53786 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53787
53788 * nscd/aicache.c (addhstaiX): Fix indentation.
53789
53790 2013-08-25 Mike Frysinger <vapier@gentoo.org>
53791
53792 * configure.ac: Quote $build_pt_chown test.
53793 * configure: Regenerated.
53794
53795 2013-08-23 Joseph Myers <joseph@codesourcery.com>
53796
53797 [BZ #15532]
53798 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
53799 * math/s_cexpf.c (__cexpf): Likewise.
53800 * math/s_cexpl.c (__cexpl): Likewise.
53801 * math/libm-test.inc (cexp_test_data): Correct expected return
53802 value for NaN + i0. Add another test.
53803
53804 2013-08-22 David S. Miller <davem@davemloft.net>
53805
53806 * po/ca.po: Update Catalan translation from translation project.
53807 * po/uk.po: Add Ukrainian translations from translation project.
53808
53809 2013-08-21 Joseph Myers <joseph@codesourcery.com>
53810
53811 [BZ #15797]
53812 * math/s_fdim.c (__fdim): Check for infinite arguments if result
53813 is infinite, not alongside NaN test.
53814 * math/s_fdimf.c (__fdimf): Likewise.
53815 * math/s_fdiml.c (__fdiml): Likewise.
53816 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
53817 errno is unchanged.
53818
53819 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
53820
53821 * argp/argp-help.c: Fix typos.
53822 * crypt/speeds.c: Likewise.
53823 * csu/check_fds.c: Likewise.
53824 * elf/dl-load.c: Likewise.
53825 * elf/dl-open.c: Likewise.
53826 * elf/reldep3.c: Likewise.
53827 * elf/reldep.c: Likewise.
53828 * elf/sprof.c: Likewise.
53829 * iconv/iconv_charmap.c: Likewise.
53830 * iconv/skeleton.c: Likewise.
53831 * iconv/strtab.c: Likewise.
53832 * io/lockf64.c: Likewise.
53833 * libio/libioP.h: Likewise.
53834 * resolv/gai_notify.c: Likewise.
53835 * resolv/ns_name.c: Likewise.
53836 * resolv/ns_samedomain.c: Likewise.
53837 * resolv/res_send.c: Likewise.
53838 * stdlib/random.c: Likewise.
53839 * sunrpc/rpc/xdr.h: Likewise.
53840 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
53841 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53842 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53843 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53844 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53845 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53846 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53847 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53848 * sysdeps/mach/hurd/check_fds.c: Likewise.
53849 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53850 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53851 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53852 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53853 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53854 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53855 * sysdeps/pthread/aio_notify.c: Likewise.
53856 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
53857 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
53858 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
53859 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53860 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53861
53862 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53863
53864 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
53865 version if bit_Slow_SSE4_2 is set.
53866 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53867 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53868
53869 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53870
53871 [BZ #15867]
53872 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
53873 trampoline stack frame information.
53874 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
53875 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
53876 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
53877 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
53878 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
53879 * sysdeps/unix/sysv/linux/powerpc/init-first.c
53880 (_libc_vdso_platform_setup): Initialize the signal trampolines.
53881 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53882 sa_flags value.
53883 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53884 interrupting a syscall and set with option SA_SIGINFO.
53885
53886 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53887
53888 [BZ #15531]
53889 * math/s_cproj.c (__cproj): Only return an infinity if one part of
53890 argument is infinite.
53891 * math/s_cprojf.c (__cprojf): Likewise.
53892 * math/s_cprojl.c (__cprojl): Likewise.
53893 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53894 * math/libm-test.inc (cproj_test_data): Add more tests.
53895
53896 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53897
53898 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53899 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53900 size. Use __ffs to determine corresponding shift.
53901
53902 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53903 Roland McGrath <roland@hack.frob.com>
53904
53905 * Makefile (INSTALL): Remove trailing blank lines from output of
53906 makeinfo.
53907
53908 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53909
53910 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53911 Align 32 bit compat elf_greg to 8 bytes.
53912
53913 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
53914
53915 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53916
53917 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
53918
53919 * string/strcoll_l.c (coll_seq): New structure.
53920 (get_next_seq_cached): New function.
53921 (get_next_seq): New function.
53922 (do_compare): New function.
53923 (STRCOLL): Use GNU style definition. Simplify implementation
53924 by using get_next_seq, get_next_seq_cached and do_compare.
53925
53926 2013-08-16 Florian Weimer <fweimer@redhat.com>
53927
53928 [BZ #14699]
53929 CVE-2013-4237
53930 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53931 member.
53932 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53933 member.
53934 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53935 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53936 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
53937 conditional.
53938 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53939 GETDENTS_64BIT_ALIGNED.
53940 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53941 * manual/filesys.texi (Reading/Closing Directory): Document
53942 ENAMETOOLONG return value of readdir_r. Recommend readdir more
53943 strongly.
53944 * manual/conf.texi (Limits for Files): Add portability note to
53945 NAME_MAX, PATH_MAX.
53946 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53947
53948 2013-08-13 Andreas Schwab <schwab@suse.de>
53949
53950 [BZ #15749]
53951 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53952 of fabs.
53953 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53954 LDBL_MAX_EXP >= 16384]: Add tests for it.
53955
53956 2013-08-12 David S. Miller <davem@davemloft.net>
53957
53958 * version.h (RELEASE): Set to "development".
53959 (VERSION): Set to "2.18.90".
53960 * NEWS: Add 2.19 section.
53961
53962 2013-08-03 David S. Miller <davem@davemloft.net>
53963
53964 * po/ko.po: Update Korean translation from translation project.
53965
53966 2013-08-01 David S. Miller <davem@davemloft.net>
53967
53968 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
53969 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53970 Bilka.
53971
53972 2013-07-30 David S. Miller <davem@davemloft.net>
53973
53974 * po/fr.po: Update French translation from translation project.
53975
53976 2013-07-28 David S. Miller <davem@davemloft.net>
53977
53978 * po/cs.po: Update Czech translation from translation project.
53979
53980 * po/sv.po: Update Swedish translation from translation project.
53981
53982 2013-07-27 David S. Miller <davem@davemloft.net>
53983
53984 * po/eo.po: Update Esperanto translation from translation project.
53985
53986 * po/vi.po: Update Vietnamese translation from translation project.
53987
53988 * po/de.po: Update German translation from translation project.
53989
53990 2013-07-26 David S. Miller <davem@davemloft.net>
53991
53992 * po/bg.po: Update Bulgarian translation from translation project.
53993
53994 * po/nl.po: Update Dutch translation from translation project.
53995 * po/pl.po: Update Polish translation from translation project.
53996 * po/ru.po: Update Russian translation from translation project.
53997
53998 2013-07-24 David S. Miller <davem@davemloft.net>
53999
54000 * po/libc.pot: Update.
54001
54002 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54003
54004 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
54005 variable page size.
54006 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
54007 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
54008 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
54009
54010 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54011
54012 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
54013
54014 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
54015 Andreas Schwab <schwab@suse.de>
54016 Roland McGrath <roland@hack.frob.com>
54017 Joseph Myers <joseph@codesourcery.com>
54018 Carlos O'Donell <carlos@redhat.com>
54019
54020 [BZ #15755]
54021 * config.h.in: Define HAVE_PT_CHOWN.
54022 * config.make.in (build-pt-chown): New variable.
54023 * configure.in (--enable-pt_chown): New configure option.
54024 * configure: Regenerate.
54025 * login/Makefile: Include Makeconfig. Build pt_chown only if
54026 build-pt-chown is enabled.
54027 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
54028 pt_chown to fix pty ownership.
54029 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
54030 CLOSE_ALL_FDS.
54031 * manual/install.texi (Configuring and compiling): Mention
54032 --enable-pt_chown. Add @findex for grantpt.
54033 * INSTALL: Regenerate.
54034
54035 2013-07-20 David S. Miller <davem@davemloft.net>
54036
54037 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
54038 difference between 32-bit and 64-bit.
54039
54040 2013-07-15 Carlos O'Donell <carlos@redhat.com>
54041
54042 [BZ #15711]
54043 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
54044 Avoid system header dependency with -ffreestanding.
54045 ($(objpfx)bits/syscall%d): Likewise.
54046
54047 2013-07-13 David S. Miller <davem@davemloft.net>
54048
54049 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
54050 underflows from atanl/atan2l due to bug 15319.
54051 (casinh_test_data): Likewise.
54052
54053 2013-07-07 David S. Miller <davem@davemloft.net>
54054
54055 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
54056
54057 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
54058
54059 * sysdeps/i386/fpu/libm-test-ulps: Update.
54060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54061
54062 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
54063
54064 * configure.in (--enable-lock-elision): Fix message text.
54065 * INSTALL: Regenerate.
54066 * configure: Regenerate.
54067
54068 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54069
54070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54071
54072 2013-07-03 Andreas Jaeger <aj@suse.de>
54073
54074 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
54075 define.
54076 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
54077 (ptrace_peeksiginfo_args): Add.
54078 (__ptrace_peeksiginfo_flags): Add.
54079 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54080 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54081 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54082
54083 2013-07-03 Allan McRae <allan@archlinux.org>
54084
54085 * sysdeps/i386/fpu/libm-test-ulps: Update.
54086
54087 2013-07-02 David S. Miller <davem@davemloft.net>
54088
54089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54090
54091 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
54092
54093 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54094
54095 2013-07-02 Joseph Myers <joseph@codesourcery.com>
54096
54097 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
54098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54099
54100 2013-07-02 Andi Kleen <ak@linux.intel.com>
54101
54102 * config.h.in (ENABLE_LOCK_ELISION): Add.
54103 * configure.in (--enable-lock-elision): Add option.
54104 * manual/install.texi: Document --enable lock elision.
54105 * configure: Regenerate
54106 * INSTALL: Regenerate.
54107
54108 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
54109
54110 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
54111 SSE4.2 strcasecmp for libc.a.
54112 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
54113
54114 2013-07-02 Joseph Myers <joseph@codesourcery.com>
54115
54116 [BZ #13304]
54117 * soft-fp/op-common.h (_FP_FMA): New macro.
54118 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
54119 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
54120 (_FP_MUL_MEAT_1_imm): ... here.
54121 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
54122 (_FP_MUL_MEAT_1_wide): ... here.
54123 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
54124 (_FP_MUL_MEAT_1_hard): ... here.
54125 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
54126 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
54127 (_FP_MUL_MEAT_2_wide): ... here.
54128 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
54129 (_FP_MUL_MEAT_2_wide_3mul): ... here.
54130 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
54131 (_FP_MUL_MEAT_2_gmp): ... here.
54132 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
54133 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
54134 (_FP_MUL_MEAT_4_wide): ... here.
54135 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
54136 (_FP_MUL_MEAT_4_gmp): ... here.
54137 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
54138 (_FP_WFRACBITS_DW_S): Likewise.
54139 (_FP_WFRACXBITS_DW_S): Likewise.
54140 (_FP_HIGHBIT_DW_S): Likewise.
54141 (FP_FMA_S): Likewise.
54142 (_FP_FRAC_HIGH_DW_S): Likewise.
54143 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
54144 (_FP_WFRACBITS_DW_D): Likewise.
54145 (_FP_WFRACXBITS_DW_D): Likewise.
54146 (_FP_HIGHBIT_DW_D): Likewise.
54147 (FP_FMA_D): Likewise.
54148 (_FP_FRAC_HIGH_DW_D): Likewise.
54149 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
54150 (_FP_WFRACBITS_DW_E): Likewise.
54151 (_FP_WFRACXBITS_DW_E): Likewise.
54152 (_FP_HIGHBIT_DW_E): Likewise.
54153 (FP_FMA_E): Likewise.
54154 (_FP_FRAC_HIGH_DW_E): Likewise.
54155 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
54156 (_FP_WFRACBITS_DW_Q): Likewise.
54157 (_FP_WFRACXBITS_DW_Q): Likewise.
54158 (_FP_HIGHBIT_DW_Q): Likewise.
54159 (FP_FMA_Q): Likewise.
54160 (_FP_FRAC_HIGH_DW_Q): Likewise.
54161 * soft-fp/fmasf4.c: New file.
54162 * soft-fp/fmadf4.c: Likewise.
54163 * soft-fp/fmatf4.c: Likewise.
54164
54165 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54166
54167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54168 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
54169 Silvermont.
54170 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
54171 macro.
54172 (index_Slow_SSE4_2): Likewise.
54173 (index_Prefer_PMINUB_for_stringop): Likewise.
54174 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
54175 bit_Slow_SSE4_2 is set.
54176 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54177 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54178
54179 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54180
54181 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
54182 rtld_global._dl_hwcap2.
54183 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
54184 POWER8.
54185 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
54186 POWER8 feature descriptions defined in _dl_hwcap2.
54187 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
54188 string handling for POWER8 feature bits.
54189 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
54190 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
54191 _dl_powerpc_cap_flags.
54192 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
54193 * sysdeps/powerpc/rtld-global-offsets.sym
54194 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
54195 _dl_hwcap2 in the rtld_global_ro structure.
54196
54197 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54198
54199 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
54200 hardware capabilities in support of AT_HWCAP2.
54201 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
54202 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
54203 GLRO(dl_hwcap2).
54204 (_dl_show_auxv): Add support for calling _dl_procinfo to display
54205 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
54206 explicitly the unknown a_type display mechanism is used.
54207 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
54208 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
54209 struct member.
54210 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
54211 to macro prototype for AT_HWCAP2 support.
54212 * sysdeps/i386/dl-procinfo.h: Likewise.
54213 * sysdeps/s390/dl-procinfo.h: Likewise.
54214 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
54215 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
54216 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
54217 return -1 for unknown a_type display fallback.
54218 * sysdeps/sparc/dl-procinfo.h: Likewise.
54219 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
54220 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
54221
54222 2013-06-28 Joseph Myers <joseph@codesourcery.com>
54223
54224 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
54225 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
54226
54227 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
54228
54229 [BZ #12492]
54230 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
54231 mprotect making __stack_prot writable.
54232
54233 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
54234 Joseph Myers <joseph@codesourcery.com>
54235
54236 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
54237 as being properly aligned.
54238
54239 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
54240
54241 * dlfcn/modstatic5.c: New file.
54242 * dlfcn/tststatic5.c: New file.
54243 * dlfcn/Makefile (tests): Add tststatic5.
54244 (tests-static): Likewise.
54245 (modules-names): Add modstatic5.
54246 (tststatic5-ENV): New variable.
54247 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
54248
54249 [BZ #15022]
54250 * elf/dl-support.c (_dl_main_map): New variable.
54251 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
54252 (_dl_nns, _dl_load_adds): Set to 1.
54253 (_dl_initial_searchlist): Refer to _dl_main_map.
54254 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
54255 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
54256 call to _dl_get_origin.
54257 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
54258 around call_map.
54259 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
54260 * dlfcn/modstatic3.c: New file.
54261 * dlfcn/tststatic3.c: New file.
54262 * dlfcn/tststatic4.c: New file.
54263 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
54264 (tests-static): Likewise.
54265 (modules-names): Add modstatic3.
54266 (tststatic3-ENV, tststatic4-ENV): New variables.
54267 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
54268 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
54269
54270 2013-06-26 Joseph Myers <joseph@codesourcery.com>
54271
54272 * configure.in (CC): Require GCC version 4.4 or later.
54273 * configure: Regenerated.
54274 * manual/install.texi (Tools for Compilation): Update GCC version
54275 requirement.
54276 * INSTALL: Regenerated.
54277
54278 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54279
54280 [BZ #15674]
54281 * string/test-memcmp.c (check2): New.
54282 (main): Call check2.
54283
54284 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
54285
54286 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
54287
54288 [BZ #15022]
54289 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
54290 over to...
54291 (dl_open_worker) [!SHARED]: ... here.
54292
54293 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54294
54295 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
54296
54297 2013-06-25 Richard Henderson <rth@redhat.com>
54298
54299 * locale/programs/locarchive.c: Include <libc-internal.h>
54300
54301 2013-06-25 Joseph Myers <joseph@codesourcery.com>
54302
54303 * manual/texinfo.tex: Update to version 2013-06-21.17, with
54304 trailing whitespace removed.
54305
54306 2013-06-24 Mike Frysinger <vapier@gentoo.org>
54307
54308 [BZ #10283]
54309 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
54310 * locale/programs/locarchive.c: Include libc-mmap.h.
54311 (prepare_address_space): Take two new outputs (the mmap base and len).
54312 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
54313 values.
54314 (create_archive): Declare new mmap base and len values for
54315 prepare_address_space, and store the result in ah.
54316 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
54317 (enlarge_archive): If ah->mmap_base is not NULL, use that and
54318 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54319 Declare new mmap base and len values for
54320 prepare_address_space, and store the result in new_ah.
54321 (open_archive): Declare new mmap base and len values for
54322 prepare_address_space, and store the result in ah.
54323 (close_archive): If ah->mmap_base is not NULL, use that and
54324 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54325 * sysdeps/generic/libc-mmap.h: New file.
54326
54327 2013-06-24 Mike Frysinger <vapier@gentoo.org>
54328
54329 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
54330 (ALIGN_UP): Likewise.
54331 (PTR_ALIGN_DOWN): Likewise.
54332 (PTR_ALIGN_UP): Likewise.
54333
54334 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54335
54336 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
54337 entry mapped to PPC_PLATFORM_POWER8.
54338 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
54339 POWER8.
54340 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
54341 (_dl_string_platform): Add case for exporting platform position for
54342 POWER8.
54343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
54344 search path to sysdeps/powerpc/powerpc32/power8 directory.
54345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
54346 search path to sysdeps/powerpc/powerpc64/power8 directory.
54347 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
54348 power7 directories.
54349 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
54350 power7 directories.
54351
54352 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
54353
54354 * INSTALL: Regenerate.
54355
54356 * nscd/connections.c (nscd_init): Fix comment.
54357
54358 2013-06-22 Joseph Myers <joseph@codesourcery.com>
54359
54360 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
54361
54362 [BZ #15667]
54363 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
54364 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
54365
54366 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
54367
54368 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
54369 DL_DST_REQ_STATIC.
54370 (DL_DST_REQ_STATIC): Remove macro.
54371
54372 2013-06-21 Joseph Myers <joseph@codesourcery.com>
54373
54374 [BZ #7006]
54375 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
54376 with a shift of 0 bits.
54377
54378 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
54379
54380 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
54381 $(tststatic-ENV).
54382
54383 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54384
54385 [BZ #15655]
54386 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
54387
54388 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54389
54390 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
54391 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
54392 accepts -fno-tree-loop-distribute-patterns.
54393 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
54394 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
54395 recursive call.
54396 * string/memset.c (memset): Likewise.
54397 * string/test-memmove.c (simple_memmove): Disable loop transformation
54398 to library calls.
54399 * string/test-memset.c (simple_memset): Likewise.
54400 * benchtests/bench-memmove.c (simple_memmove): Likewise.
54401 * benchtests/bench-memset.c (simple_memset): Likewise.
54402 * configure: Regenerated.
54403
54404 2013-06-20 Joseph Myers <joseph@codesourcery.com>
54405
54406 * math/test-misc.c (main): Ignore fesetround failure when failures
54407 of subsequent rounding tests would be ignored.
54408
54409 [BZ #15654]
54410 * math/fedisblxcpt.c (fedisableexcept): Return 0.
54411 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
54412 * math/fegetenv.c (__fegetenv): Return 0.
54413 * math/fegetexcept.c (fegetexcept): Return 0.
54414 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
54415 FE_TONEAREST.
54416 * math/feholdexcpt.c (feholdexcept): Return 0.
54417 * math/fesetenv.c (__fesetenv): Return 0.
54418 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
54419 argument FE_TONEAREST.
54420 * math/feupdateenv.c (__feupdateenv): Return 0.
54421 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
54422
54423 2013-06-18 Roland McGrath <roland@hack.frob.com>
54424
54425 * elf/rtld-Rules (rtld-compile-command.S): New variable.
54426 (rtld-compile-command.s, rtld-compile-command.c): New variables.
54427 ($(objpfx)rtld-%.os rules): Use them.
54428
54429 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54430
54431 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
54432 fields.
54433
54434 2013-06-17 Roland McGrath <roland@hack.frob.com>
54435
54436 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
54437 length of target pattern, then descending length of dependency pattern.
54438 * configure.in (AWK): Require gawk 3.1.2 or newer.
54439 * manual/install.texi (Tools for Compilation): Say that we do.
54440 * configure: Regenerated.
54441
54442 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
54443 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
54444 * scripts/sysd-rules.awk: ... this new script.
54445 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
54446 than a glob-style pattern.
54447
54448 2013-06-17 Joseph Myers <joseph@codesourcery.com>
54449
54450 * math/test-misc.c (main): Do not treat incorrectly rounded
54451 conversions as failure unless ROUNDING_TESTS passes.
54452
54453 2013-06-15 Joseph Myers <joseph@codesourcery.com>
54454
54455 [BZ #15631]
54456 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
54457 restore exception state around main square root computation, then
54458 check for inexactness explicitly.
54459
54460 * math/libm-test.inc (fma_test_data): Add another test.
54461
54462 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
54463
54464 * manual/threads.texi (Non-POSIX Extensions): New document
54465 node. Document pthread_getattr_default_np and
54466 pthread_setattr_default_np.
54467
54468 * Versions.def (libpthread): Add GLIBC_2.18.
54469 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
54470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54471 Likewise.
54472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54473 Likewise.
54474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54475 Likewise.
54476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54477 Likewise.
54478 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
54479 Likewise.
54480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54481 Likewise.
54482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54483 Likewise.
54484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
54485 Likewise.
54486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54487 Likewise.
54488
54489 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54490
54491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54492 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
54493
54494 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
54495 H.J. Lu <hjl.tools@gmail.com>
54496
54497 [BZ #15627]
54498 * sysdeps/x86_64/rtld-memset.c: Remove file.
54499 * sysdeps/x86_64/rtld-memset.S: New file.
54500
54501 2013-06-14 Joseph Myers <joseph@codesourcery.com>
54502
54503 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
54504 (test_in_one_mode): Take arguments for whether the rounding mode
54505 is supported for each floating-point type.
54506 (do_test): Pass new arguments to test_in_one_mode using
54507 ROUNDING_TESTS.
54508
54509 2013-06-13 Roland McGrath <roland@hack.frob.com>
54510
54511 * posix/tst-waitid.c (do_test): Distinguish different instances of
54512 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
54513 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
54514 before entering the kernel for waitpid.
54515
54516 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
54517
54518 * NEWS: Fix note on clock function precision. Text by Roland
54519 McGrath.
54520
54521 2013-06-13 Roland McGrath <roland@hack.frob.com>
54522
54523 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
54524 it into place only when and if the sanity check passes.
54525
54526 2013-06-13 Joseph Myers <joseph@codesourcery.com>
54527
54528 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
54529 output for whether conversion result is exact. Take argument
54530 indicating whether type is IBM long double.
54531 (round_for_all): Change need_exact field to ibm_ld.
54532 * stdlib/tst-strtod-round.c (struct exactness): New type.
54533 (struct test): Change bool ld_ok field to struct exactness exact.
54534 (TEST): Update all definitions for change to field.
54535 (tests): Regenerate array contents.
54536 (test_in_one_mode): Take pointer to new field instead of old ld_ok
54537 field value. Check for IBM long double here.
54538 (do_test): Update calls to test_in_one_mode.
54539
54540 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
54541
54542 [BZ #12515]
54543 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
54544 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
54545
54546 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54547
54548 [BZ #15605]
54549 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
54550 generated by the compiler on loop optimizations.
54551 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
54552 general definitions.
54553
54554 2013-06-12 Joseph Myers <joseph@codesourcery.com>
54555
54556 * math/bug-nextafter.c: Include <math-tests.h>.
54557 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54558 the relevant type.
54559 * math/bug-nexttoward.c: Include <math-tests.h>.
54560 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54561 the relevant type.
54562 * math/test-misc.c: Include <math-tests.h>.
54563 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54564 the relevant type.
54565
54566 2013-06-12 Andreas Jaeger <aj@suse.de>
54567
54568 * po/ia.po: Update Interlingua translation from translation
54569 project.
54570
54571 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54572
54573 * include/fenv.h: Include stdbool.h.
54574 (struct rm_ctx): New structure.
54575 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
54576 Define macro.
54577 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
54578 (SET_RESTORE_ROUNDF): Likewise.
54579 (SET_RESTORE_ROUNDL): Likewise.
54580 (SET_RESTORE_ROUND_NOEX): Likewise.
54581 (SET_RESTORE_ROUND_NOEXF): Likewise.
54582 (SET_RESTORE_ROUND_NOEXL): Likewise.
54583 (SET_RESTORE_ROUND_53BIT): Likewise.
54584 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
54585 (libc_feresetround_noexf_ctx): Likewise.
54586 (libc_feresetround_noexl_ctx): Likewise.
54587 (libc_feholdsetround_53bit_ctx): Likewise.
54588 (libc_feresetround_53bit_ctx): Likewise.
54589 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
54590 (libc_feholdexcept_setround_sse_ctx): New function.
54591 (libc_fesetenv_sse_ctx): Likewise.
54592 (libc_feupdateenv_sse_ctx): Likewise.
54593 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
54594 (libc_feholdexcept_setround_387_ctx): Likewise.
54595 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
54596 (libc_feholdsetround_387_prec_ctx): Likewise.
54597 (libc_feholdsetround_387_ctx): Likewise.
54598 (libc_feholdsetround_387_53bit_ctx): Likewise.
54599 (libc_feholdsetround_sse_ctx): Likewise.
54600 (libc_feresetround_sse_ctx): Likewise.
54601 (libc_feresetround_387_ctx): Likewise.
54602 (libc_feupdateenv_387_ctx): Likewise.
54603 (libc_feholdexcept_setroundf_ctx): Define macro.
54604 (libc_fesetenvf_ctx): Likewise.
54605 (libc_feupdateenvf_ctx): Likewise.
54606 (libc_feholdsetroundf_ctx): Likewise.
54607 (libc_feresetroundf_ctx): Likewise.
54608 (libc_feholdexcept_setround_ctx): Likewise.
54609 (libc_fesetenv_ctx): Likewise.
54610 (libc_feupdateenv_ctx): Likewise.
54611 (libc_feholdsetround_ctx): Likewise.
54612 (libc_feresetround_ctx): Likewise.
54613 (libc_feholdexcept_setroundl_ctx): Likewise.
54614 (libc_feupdateenvl_ctx): Likewise.
54615 (libc_feholdsetroundl_ctx): Likewise.
54616 (libc_feresetroundl_ctx): Likewise.
54617 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
54618 (libc_feresetround_53bit_ctx): Likewise.
54619
54620 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54621
54622 * locale/iso-639.def: Convert to UTF-8.
54623
54624 2013-06-11 Joseph Myers <joseph@codesourcery.com>
54625
54626 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
54627 (EXCEPTION_TESTS_double): Likewise.
54628 (EXCEPTION_TESTS_long_double): Likewise.
54629 (EXCEPTION_TESTS): Likewise.
54630 * math/libm-test.inc (test_exceptions): Only test exceptions if
54631 EXCEPTION_TESTS (FLOAT).
54632
54633 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54634
54635 * benchtests/Makefile (string-bench): Add strcpy_chk and
54636 stpcpy_chk.
54637 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
54638 * benchtests/bench-stpcpy_chk.c: New file.
54639 * benchtests/bench-strcpy_chk-ifunc.c: New file.
54640 * benchtests/bench-strcpy_chk.c: New file.
54641 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
54642 code.
54643 (do_test): Likewise.
54644
54645 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54646
54647 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
54648 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
54649 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
54650 with tabs where appropriate.
54651 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
54652 dl-procinfo.h.
54653 [PPC_PLATFORM_PPC440]: Likewise.
54654 [PPC_PLATFORM_PPC464]: Likewise.
54655 [PPC_PLATFORM_PPC476]: Likewise.
54656 (_dl_string_platform): Add support for detecting ppc405, ppc440,
54657 ppc464, and ppc476 platform strings merging from ports/
54658 dl-procinfo.h.
54659
54660 2013-06-11 Andreas Schwab <schwab@suse.de>
54661
54662 [BZ #14991]
54663 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
54664 (from_ucs4_idx): Regenerate.
54665 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
54666 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
54667 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
54668 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
54669 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
54670 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
54671 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
54672 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
54673 from FROM_LOOP and TO_LOOP specific macros.
54674 (BODY): Handle combining characters.
54675 * iconvdata/BIG5HKSCS.irreversible: Update.
54676 * iconvdata/BIG5HKSCS.precomposed: New file.
54677 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
54678 characters.
54679 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
54680
54681 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54682
54683 * include/sys/time.h: Fix indentation and add copyright header.
54684
54685 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
54686 (do_test): Likewise.
54687 * string/test-memchr.c (do_one_test): Likewise.
54688 (do_test): Likewise.
54689 * string/test-memcmp.c (do_one_test): Likewise.
54690 (do_test): Likewise.
54691 * string/test-memcpy.c (do_one_test): Likewise.
54692 (do_test): Likewise.
54693 * string/test-memmem.c (do_one_test): Likewise.
54694 (do_test): Likewise.
54695 (do_random_tests): Likewise.
54696 * string/test-memmove.c (do_one_test): Likewise.
54697 (do_test): Likewise.
54698 * string/test-memset.c (do_one_test): Likewise.
54699 (do_test): Likewise.
54700 * string/test-rawmemchr.c (do_one_test): Likewise.
54701 (do_test): Likewise.
54702 * string/test-strcasecmp.c (do_one_test): Likewise.
54703 (do_test): Likewise.
54704 * string/test-strcasestr.c (do_one_test): Likewise.
54705 (do_test): Likewise.
54706 * string/test-strcat.c (do_one_test): Likewise.
54707 (do_test): Likewise.
54708 * string/test-strchr.c (do_one_test): Likewise.
54709 (do_test): Likewise.
54710 * string/test-strcmp.c (do_one_test): Likewise.
54711 (do_test): Likewise.
54712 * string/test-strcpy.c (do_one_test): Likewise.
54713 (do_test): Likewise.
54714 * string/test-string.h: Likewise.
54715 (test_init): Likewise.
54716 * string/test-strlen.c (do_one_test): Likewise.
54717 (do_test): Likewise.
54718 * string/test-strncasecmp.c (do_one_test): Likewise.
54719 (do_test): Likewise.
54720 * string/test-strncat.c (do_one_test): Likewise.
54721 (do_test): Likewise.
54722 * string/test-strncmp.c (do_one_test): Likewise.
54723 (do_test_limit): Likewise.
54724 (do_test): Likewise.
54725 * string/test-strncpy.c (do_one_test): Likewise.
54726 (do_test): Likewise.
54727 * string/test-strnlen.c (do_one_test): Likewise.
54728 (do_test): Likewise.
54729 * string/test-strpbrk.c (do_one_test): Likewise.
54730 (do_test): Likewise.
54731 * string/test-strrchr.c (do_one_test): Likewise.
54732 (do_test): Likewise.
54733 * string/test-strspn.c (do_one_test): Likewise.
54734 (do_test): Likewise.
54735 * string/test-strstr.c (do_one_test): Likewise.
54736 (do_test): Likewise.
54737
54738 * benchtests/Makefile (string-bench): Add string benchmarks.
54739 * benchtests/bench-bcopy-ifunc.c: New file.
54740 * benchtests/bench-bcopy.c: New file.
54741 * benchtests/bench-bzero-ifunc.c: New file.
54742 * benchtests/bench-bzero.c: New file.
54743 * benchtests/bench-memccpy-ifunc.c: New file.
54744 * benchtests/bench-memccpy.c: New file.
54745 * benchtests/bench-memchr-ifunc.c: New file.
54746 * benchtests/bench-memchr.c: New file.
54747 * benchtests/bench-memcmp-ifunc.c: New file.
54748 * benchtests/bench-memcmp.c: New file.
54749 * benchtests/bench-memmem-ifunc.c: New file.
54750 * benchtests/bench-memmem.c: New file.
54751 * benchtests/bench-memmove-ifunc.c: New file.
54752 * benchtests/bench-memmove.c: New file.
54753 * benchtests/bench-mempcpy-ifunc.c: New file.
54754 * benchtests/bench-mempcpy.c: New file.
54755 * benchtests/bench-memset-ifunc.c: New file.
54756 * benchtests/bench-memset.c: New file.
54757 * benchtests/bench-rawmemchr-ifunc.c: New file.
54758 * benchtests/bench-rawmemchr.c: New file.
54759 * benchtests/bench-stpcpy-ifunc.c: New file.
54760 * benchtests/bench-stpcpy.c: New file.
54761 * benchtests/bench-stpncpy-ifunc.c: New file.
54762 * benchtests/bench-stpncpy.c: New file.
54763 * benchtests/bench-strcasecmp-ifunc.c: New file.
54764 * benchtests/bench-strcasecmp.c: New file.
54765 * benchtests/bench-strcasestr-ifunc.c: New file.
54766 * benchtests/bench-strcasestr.c: New file.
54767 * benchtests/bench-strcat-ifunc.c: New file.
54768 * benchtests/bench-strcat.c: New file.
54769 * benchtests/bench-strchr-ifunc.c: New file.
54770 * benchtests/bench-strchr.c: New file.
54771 * benchtests/bench-strchrnul-ifunc.c: New file.
54772 * benchtests/bench-strchrnul.c: New file.
54773 * benchtests/bench-strcmp-ifunc.c: New file.
54774 * benchtests/bench-strcmp.c: New file.
54775 * benchtests/bench-strcpy-ifunc.c: New file.
54776 * benchtests/bench-strcpy.c: New file.
54777 * benchtests/bench-strcspn-ifunc.c: New file.
54778 * benchtests/bench-strcspn.c: New file.
54779 * benchtests/bench-strlen-ifunc.c: New file.
54780 * benchtests/bench-strlen.c: New file.
54781 * benchtests/bench-strncasecmp-ifunc.c: New file.
54782 * benchtests/bench-strncasecmp.c: New file.
54783 * benchtests/bench-strncat-ifunc.c: New file.
54784 * benchtests/bench-strncat.c: New file.
54785 * benchtests/bench-strncmp-ifunc.c: New file.
54786 * benchtests/bench-strncmp.c: New file.
54787 * benchtests/bench-strncpy-ifunc.c: New file.
54788 * benchtests/bench-strncpy.c: New file.
54789 * benchtests/bench-strnlen-ifunc.c: New file.
54790 * benchtests/bench-strnlen.c: New file.
54791 * benchtests/bench-strpbrk-ifunc.c: New file.
54792 * benchtests/bench-strpbrk.c: New file.
54793 * benchtests/bench-strrchr-ifunc.c: New file.
54794 * benchtests/bench-strrchr.c: New file.
54795 * benchtests/bench-strspn-ifunc.c: New file.
54796 * benchtests/bench-strspn.c: New file.
54797 * benchtests/bench-strstr-ifunc.c: New file.
54798 * benchtests/bench-strstr.c: New file.
54799
54800 * benchtests/Makefile: Disable parallel execution of targets.
54801 (string-bench): Add memcpy.
54802 (benchset): New variable to store a list of benchmark sets.
54803 (bench-func): Renamed from bench.
54804 (bench-set): New target.
54805 (bench): Depend on bench-func and bench-set.
54806 * benchtests/README: Add section on benchmark sets.
54807 * benchtests/bench-memcpy-ifunc.c: New file.
54808 * benchtests/bench-memcpy.c: New file.
54809 * benchtests/bench-string.h: New file.
54810
54811 2013-06-11 Andreas Schwab <schwab@suse.de>
54812
54813 [BZ #15577]
54814 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
54815 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
54816 values in the triple.
54817 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
54818 terminator in the group key.
54819
54820 2013-06-11 Andreas Jaeger <aj@suse.de>
54821
54822 * po/zh_TW.po: Update Chinese (traditional) translation from
54823 translation project.
54824
54825 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54826
54827 * include/time.h (__clock_gettime): Add libc_hidden_proto.
54828 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
54829 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
54830 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54831 (clock_getcpuclockid): Likewise.
54832 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
54833 Add weak_alias and libc_hidden_def.
54834 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
54835 * rt/clock_gettime.c (clock_gettime): Rename to
54836 __clock_gettime. Add weak_alias and libc_hidden_def.
54837 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
54838 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
54839 __clock_nanosleep. Add weak_alias and libc_hidden_def.
54840 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
54841 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
54842 Likewise.
54843 * rt/clock_settime.c (clock_settime): Rename to
54844 __clock_settime. Add weak_alias and libc_hidden_def.
54845 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
54846
54847 2013-06-10 Joseph Myers <joseph@codesourcery.com>
54848
54849 * mach/err_boot.sub: Remove trailing whitespace.
54850 * mach/err_ipc.sub: Likewise.
54851 * mach/err_mach.sub: Likewise.
54852
54853 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
54854 (ROUNDING_TESTS_double): Likewise.
54855 (ROUNDING_TESTS_long_double): Likewise.
54856 (ROUNDING_TESTS): Likewise.
54857 * math/libm-test.inc: Include <math-tests.h>.
54858 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
54859 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54860 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54861 (IF_ROUND_INIT_FE_UPWARD): Likewise.
54862
54863 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54864
54865 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
54866 of assigning.
54867
54868 2013-06-08 Joseph Myers <joseph@codesourcery.com>
54869
54870 * sysdeps/gnu/errlist.awk: Do not generate space at end of
54871 otherwise empty TRANS lines.
54872 * sysdeps/gnu/errlist.c: Regenerated.
54873
54874 * catgets/gencat.c (error_print): Use (void) in function
54875 definition.
54876 * crypt/crypt_util.c (__init_des): Likewise.
54877 * crypt/speeds.c (Stop): Likewise.
54878 (main): Likewise.
54879 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
54880 * inet/ruserpass.c (token): Likewise.
54881 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54882 * intl/localealias.c (extend_alias_table): Likewise.
54883 * intl/plural-exp.c (init_germanic_plural): Likewise.
54884 * libio/fcloseall.c (__fcloseall): Likewise.
54885 * libio/genops.c (_IO_flush_all): Likewise.
54886 (_IO_flush_all_linebuffered): Likewise.
54887 (_IO_cleanup): Likewise.
54888 (_IO_iter_begin): Likewise.
54889 (_IO_iter_end): Likewise.
54890 (_IO_list_lock): Likewise.
54891 (_IO_list_unlock): Likewise.
54892 (_IO_list_resetlock): Likewise.
54893 * libio/getchar.c (getchar): Likewise.
54894 * libio/getchar_u.c (getchar_unlocked): Likewise.
54895 * libio/getwchar.c (getwchar): Likewise.
54896 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54897 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54898 * login/getpt.c (__getpt): Likewise.
54899 * login/tst-utmp.c (main): Likewise.
54900 * malloc/hooks.c (__malloc_check_init): Likewise.
54901 * malloc/malloc.c (__malloc_stats): Likewise.
54902 * malloc/mtrace.c (tr_break): Likewise.
54903 (mtrace): Likewise.
54904 (muntrace): Likewise.
54905 * misc/fstab.c (endfsent): Likewise.
54906 * misc/getclktck.c (__getclktck): Likewise.
54907 * misc/getdtsz.c (__getdtablesize): Likewise.
54908 * misc/gethostid.c (gethostid): Likewise.
54909 * misc/getpagesize.c (__getpagesize): Likewise.
54910 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54911 (__get_nprocs): Likewise.
54912 (__get_phys_pages): Likewise.
54913 (__get_avphys_pages): Likewise.
54914 * misc/getttyent.c (getttyent): Likewise.
54915 (setttyent): Likewise.
54916 (endttyent): Likewise.
54917 * misc/getusershell.c (getusershell): Likewise.
54918 (endusershell): Likewise.
54919 (setusershell): Likewise.
54920 (initshells): Likewise.
54921 * misc/hsearch.c (__hdestroy): Likewise.
54922 * misc/sync.c (sync): Likewise.
54923 * misc/syslog.c (closelog_internal): Likewise.
54924 (closelog): Likewise.
54925 * misc/ttyslot.c (ttyslot): Likewise.
54926 * misc/vhangup.c (vhangup): Likewise.
54927 * posix/fork.c (__fork): Likewise.
54928 * posix/getegid.c (__getegid): Likewise.
54929 * posix/geteuid.c (__geteuid): Likewise.
54930 * posix/getgid.c (__getgid): Likewise.
54931 * posix/getpid.c (__getpid): Likewise.
54932 * posix/getppid.c (__getppid): Likewise.
54933 * posix/getuid.c (__getuid): Likewise.
54934 * posix/pause.c (pause): Likewise.
54935 * posix/setpgrp.c (setpgrp): Likewise.
54936 * posix/setsid.c (__setsid): Likewise.
54937 * posix/test-vfork.c (noop): Likewise.
54938 * resolv/gethnamaddr.c (_endhtent): Likewise.
54939 (_gethtent): Likewise.
54940 (ht_endhostent): Likewise.
54941 (gethostent): Likewise.
54942 (dns_service): Likewise.
54943 * stdlib/drand48.c (drand48): Likewise.
54944 * stdlib/lrand48.c (lrand48): Likewise.
54945 * stdlib/mrand48.c (mrand48): Likewise.
54946 * stdlib/rand.c (rand): Likewise.
54947 * stdlib/random.c (__random): Likewise.
54948 * stdlib/setenv.c (clearenv): Likewise.
54949 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54950 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54951 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54952 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54953 (__get_nprocs): Likewise.
54954 (__get_phys_pages): Likewise.
54955 (__get_avphys_pages): Likewise.
54956 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54957 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54958 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54959 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54960 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54961 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54962 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54963 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54964 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54965 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54966 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54967 * sysdeps/mach/hurd/sync.c (sync): Likewise.
54968 * sysdeps/posix/clock.c (clock): Likewise.
54969 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54970 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54971 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54972 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54973 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54974 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54975 (__get_nprocs_conf): Likewise.
54976 (__get_phys_pages): Likewise.
54977 (__get_avphys_pages): Likewise.
54978 * time/clock.c (clock): Likewise.
54979 * time/tzset.c (__tzname_max): Likewise.
54980
54981 2013-06-07 Joseph Myers <joseph@codesourcery.com>
54982
54983 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54984 (__bswap_32): Do not use "register".
54985 * crypt/crypt.c (_ufc_doit_r): Likewise.
54986 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54987 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54988 * gmon/gmon.c (__monstartup): Likewise.
54989 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54990 * hurd/hurdmalloc.c (more_memory): Likewise.
54991 (malloc): Likewise.
54992 (free): Likewise.
54993 (realloc): Likewise.
54994 (malloc_fork_prepare): Likewise.
54995 (malloc_fork_parent): Likewise.
54996 (malloc_fork_child): Likewise.
54997 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54998 (_svcauth_des): Likewise.
54999 * inet/inet_lnaof.c (inet_lnaof): Likewise.
55000 * inet/inet_net.c (inet_network): Likewise.
55001 * inet/inet_netof.c (inet_netof): Likewise.
55002 * inet/rcmd.c (__validuser2_sa): Likewise.
55003 * io/fts.c (fts_open): Likewise.
55004 (fts_load): Likewise.
55005 (fts_close): Likewise.
55006 (fts_read): Likewise.
55007 (fts_children): Likewise.
55008 (fts_build): Likewise.
55009 (fts_stat): Likewise.
55010 (fts_sort): Likewise.
55011 (fts_alloc): Likewise.
55012 (fts_lfree): Likewise.
55013 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
55014 (_IO_file_xsgetn): Likewise.
55015 (_IO_file_xsgetn_mmap): Likewise.
55016 * libio/iofopncook.c (_IO_cookie_read): Likewise.
55017 (_IO_cookie_write): Likewise.
55018 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
55019 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
55020 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
55021 * malloc/obstack.c (_obstack_begin): Likewise.
55022 (_obstack_begin_1): Likewise.
55023 (_obstack_newchunk): Likewise.
55024 (_obstack_allocated_p): Likewise.
55025 (obstack_free): Likewise.
55026 (_obstack_memory_used): Likewise.
55027 * misc/getttyent.c (getttynam): Likewise.
55028 (getttyent): Likewise.
55029 (skip): Likewise.
55030 (value): Likewise.
55031 * misc/getusershell.c (initshells): Likewise.
55032 * misc/syslog.c (__vsyslog_chk): Likewise.
55033 * misc/ttyslot.c (ttyslot): Likewise.
55034 * nis/nis_hash.c (__nis_hash): Likewise.
55035 * posix/fnmatch_loop.c (FCT): Likewise.
55036 * posix/getconf.c (print_all): Likewise.
55037 (main): Likewise.
55038 * posix/getopt.c (exchange): Likewise.
55039 * posix/glob.c (globfree): Likewise.
55040 (prefix_array): Likewise.
55041 (__glob_pattern_type): Likewise.
55042 * resolv/arpa/nameser.h (NS_GET16): Likewise.
55043 (NS_GET32): Likewise.
55044 (NS_PUT16): Likewise.
55045 (NS_PUT32): Likewise.
55046 * resolv/gethnamaddr.c (getanswer): Likewise.
55047 (gethostbyname2): Likewise.
55048 (gethostbyaddr): Likewise.
55049 (_gethtent): Likewise.
55050 (_gethtbyname2): Likewise.
55051 (_gethtbyaddr): Likewise.
55052 * resolv/ns_print.c (dst_s_get_int16): Likewise.
55053 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
55054 * resolv/res_init.c (__res_vinit): Likewise.
55055 (net_mask): Likewise.
55056 * resolv/res_mkquery.c (outchar): Likewise.
55057 (PRINT): Likewise.
55058 * stdio-common/printf_fp.c (outchar): Likewise.
55059 (PRINT): Likewise.
55060 * stdio-common/printf_fphex.c (outchar): Likewise.
55061 (PRINT): Likewise.
55062 * stdio-common/printf_size.c (outchar): Likewise.
55063 (PRINT): Likewise.
55064 * stdio-common/test_rdwr.c (main): Likewise.
55065 * stdio-common/tfformat.c (matches): Likewise.
55066 * stdio-common/vfprintf.c (outchar): Likewise.
55067 (printf_unknown): Likewise.
55068 (buffered_vfprintf): Likewise.
55069 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
55070 * stdio-common/xbug.c (AppendToBuffer): Likewise.
55071 (ReadFile): Likewise.
55072 * stdlib/qsort.c (SWAP): Likewise.
55073 (_quicksort): Likewise.
55074 * stdlib/setenv.c (__add_to_environ): Likewise.
55075 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
55076 * stdlib/strtol_l.c (__strtol_l): Likewise.
55077 * stdlib/tst-strtod.c (main): Likewise.
55078 * stdlib/tst-strtol.c (main): Likewise.
55079 * stdlib/tst-strtoll.c (main): Likewise.
55080 * string/bits/string2.h (__strcmp_cc): Likewise.
55081 (__strcmp_cg): Likewise.
55082 (__strcspn_c1): Likewise.
55083 (__strcspn_c2): Likewise.
55084 (__strcspn_c3): Likewise.
55085 (__strspn_c1): Likewise.
55086 (__strspn_c2): Likewise.
55087 (__strspn_c3): Likewise.
55088 (__strsep_1c): Likewise.
55089 (__strsep_2c): Likewise.
55090 (__strsep_3c): Likewise.
55091 * string/memccpy.c (__memccpy): Likewise.
55092 * string/stpcpy.c (__stpcpy): Likewise.
55093 * string/strcmp.c (strcmp): Likewise.
55094 * string/strrchr.c (strrchr): Likewise.
55095 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
55096 Likewise.
55097 * sysdeps/mach/hurd/getcwd.c
55098 (_hurd_canonicalize_directory_name_internal): Likewise.
55099 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
55100 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
55101 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
55102 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
55103 Likewise, in both definitions.
55104 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
55105 definitions.
55106 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
55107 64] (__bswap_64): Likewise.
55108 * time/test_time.c (main): Likewise.
55109 * time/tzfile.c (__tzfile_read): Likewise.
55110 (__tzfile_compute): Likewise.
55111 * time/tzset.c (__tzset_parse_tz): Likewise.
55112 (tzset_internal): Likewise.
55113 (compute_change): Likewise.
55114 * wcsmbs/wcscat.c (__wcscat): Likewise.
55115 * wcsmbs/wcschr.c (wcschr): Likewise.
55116 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
55117 * wcsmbs/wcscspn.c (wcscspn): Likewise.
55118 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
55119 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
55120 * wcsmbs/wcsspn.c (wcsspn): Likewise.
55121 * wcsmbs/wcsstr.c (wcsstr): Likewise.
55122 * wcsmbs/wmemchr.c (wmemchr): Likewise.
55123 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55124 * wcsmbs/wmemset.c (wmemset): Likewise.
55125
55126 2013-06-06 Joseph Myers <joseph@codesourcery.com>
55127
55128 * scripts/config.guess: Update to version 2013-05-16.
55129 * scripts/config.sub: Update to version 2013-04-24.
55130 * scripts/install-sh: Update to version 2011-11-20.07.
55131 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
55132 * scripts/move-if-change: Update to version 2012-01-06 07:23.
55133
55134 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
55135
55136 * debug/fgetws_u_chk.c: Fix leading whitespaces.
55137 * elf/sln.c: Likewise.
55138 * hurd/hurd/ioctl.h: Likewise.
55139 * hurd/hurdmalloc.c: Likewise.
55140 * hurd/xattr.c: Likewise.
55141 * include/shlib-compat.h: Likewise.
55142 * inet/ruserpass.c: Likewise.
55143 * libio/iofgets_u.c: Likewise.
55144 * libio/iofgetws_u.c: Likewise.
55145 * locale/programs/ld-identification.c: Likewise.
55146 * locale/programs/ld-time.c: Likewise.
55147 * mach/msg-destroy.c: Likewise.
55148 * nss/nss_files/files-netgrp.c: Likewise.
55149 * resolv/res_data.c: Likewise.
55150 * soft-fp/op-1.h: Likewise.
55151 * soft-fp/op-2.h: Likewise.
55152 * soft-fp/op-4.h: Likewise.
55153 * soft-fp/op-common.h: Likewise.
55154 * stdio-common/printf_fphex.c: Likewise.
55155 * stdlib/strtod_l.c: Likewise.
55156 * sunrpc/rpc/clnt.h: Likewise.
55157 * sysdeps/generic/framestate.c: Likewise.
55158 * sysdeps/i386/bsd-_setjmp.S: Likewise.
55159 * sysdeps/i386/bsd-setjmp.S: Likewise.
55160 * sysdeps/i386/__longjmp.S: Likewise.
55161 * sysdeps/i386/setjmp.S: Likewise.
55162 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55163 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55164 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55165 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55166 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55167 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55168 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55169 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55170 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55171 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55172 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55173 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55174 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55175 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55176 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55177 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55178 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55179 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
55180 * sysdeps/ieee754/support.c: Likewise.
55181 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55182 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
55183 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
55184 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
55185 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
55186 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
55187 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
55188 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
55189 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
55190 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
55191 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
55192 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
55193 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
55194 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
55195 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
55196 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
55197 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
55199
55200 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
55201
55202 * posix/transbug.c: Remove executable mode.
55203
55204 2013-06-05 Joseph Myers <joseph@codesourcery.com>
55205
55206 * crypt/speeds.c: Remove trailing whitespace.
55207 * dlfcn/default.c: Likewise.
55208 * elf/ifuncdep2.c: Likewise.
55209 * elf/ifuncmain1.c: Likewise.
55210 * elf/ifuncmain1vis.c: Likewise.
55211 * elf/testobj.h: Likewise.
55212 * elf/tst-stackguard1.c: Likewise.
55213 * gmon/sys/gmon.h: Likewise.
55214 * hurd/hurdmsg.c: Likewise.
55215 * hurd/new-fd.c: Likewise.
55216 * hurd/ports-get.c: Likewise.
55217 * iconvdata/ibm1008_420.c: Likewise.
55218 * inet/tst-getni1.c: Likewise.
55219 * inet/tst-getni2.c: Likewise.
55220 * libio/ioungetc.c: Likewise.
55221 * libio/wfiledoalloc.c: Likewise.
55222 * manual/libm-err-tab.pl: Likewise.
55223 * math/w_dremf.c: Likewise.
55224 * misc/ftruncate.c: Likewise.
55225 * posix/bug-glob2.c: Likewise.
55226 * posix/tst-pcre.c: Likewise.
55227 * posix/wait4.c: Likewise.
55228 * resolv/README: Likewise.
55229 * resolv/res_debug.h: Likewise.
55230 * resolv/tst-inet_ntop.c: Likewise.
55231 * setjmp/bug269-setjmp.c: Likewise.
55232 * soft-fp/extended.h: Likewise.
55233 * soft-fp/op-1.h: Likewise.
55234 * soft-fp/op-2.h: Likewise.
55235 * soft-fp/op-4.h: Likewise.
55236 * soft-fp/op-8.h: Likewise.
55237 * soft-fp/testit.c: Likewise.
55238 * stdio-common/bug16.c: Likewise.
55239 * stdlib/random.c: Likewise.
55240 * sunrpc/rpcsvc/rquota.x: Likewise.
55241 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
55242 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55243 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55244 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55245 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55246 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55247 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55248 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55249 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55250 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55251 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55252 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55253 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55254 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55255 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55256 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55257 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55258 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55259 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55260 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55261 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55262 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55263 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
55264 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55265 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55266 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55267 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55268 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55269 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55270 * sysdeps/ieee754/s_lib_version.c: Likewise.
55271 * sysdeps/mach/hurd/check_fds.c: Likewise.
55272 * sysdeps/mach/hurd/getsockname.c: Likewise.
55273 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
55274 * sysdeps/mach/hurd/recvfrom.c: Likewise.
55275 * sysdeps/powerpc/bits/link.h: Likewise.
55276 * sysdeps/powerpc/dl-procinfo.c: Likewise.
55277 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
55278 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
55279 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
55280 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55281 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55282 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
55283 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55284 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
55285 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55286 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
55287 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55288 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
55289 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55290 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55291 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55292 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55293 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55294 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55295 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55296 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55297 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
55298 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55299 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55300 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
55301 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55302 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55303 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55304 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55305 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55306 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55307 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55308 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55309 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55310 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
55311 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55312 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
55313 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55314 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
55315 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
55316 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
55317 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
55318 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
55319 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
55320 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55321 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
55322 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
55323 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55324 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
55325 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
55326 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55327 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55328 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55329 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55330 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
55331 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
55332 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
55333 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55334 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
55335 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
55336 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
55337 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
55338 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
55339 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55340 * sysdeps/powerpc/sysdep.h: Likewise.
55341 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55342 * sysdeps/s390/s390-64/sub_n.S: Likewise.
55343 * sysdeps/sh/dl-trampoline.S: Likewise.
55344 * sysdeps/sh/memset.S: Likewise.
55345 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
55346 * sysdeps/sh/strlen.S: Likewise.
55347 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
55348 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
55349 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
55350 * sysdeps/sparc/sparc32/rem.S: Likewise.
55351 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
55352 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
55353 * sysdeps/sparc/sparc32/strchr.S: Likewise.
55354 * sysdeps/sparc/sparc32/udiv.S: Likewise.
55355 * sysdeps/sparc/sparc32/urem.S: Likewise.
55356 * sysdeps/sparc/sparc64/add_n.S: Likewise.
55357 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55358 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
55359 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
55360 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
55361 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
55362 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
55363 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
55364 * sysdeps/unix/bsd/times.c: Likewise.
55365 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
55366 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
55367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
55368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
55369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
55370 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
55371 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55372 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
55373 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
55374 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
55375 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
55376 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55377 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
55378 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55379 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55380 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
55381 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55382 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
55383 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
55384 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
55385 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
55386 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
55387 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55388 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
55389 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
55390 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
55391 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
55392 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55393 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
55394 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
55395 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
55396 * sysdeps/x86_64/strcspn.S: Likewise.
55397
55398 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55399
55400 * locale/C-translit.h: Revert #include <stdint.h> because this is a
55401 generated file. Regenerate properly from gen-translit.pl.
55402 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
55403 locale/C-translit.h.
55404
55405 2013-06-05 Andreas Schwab <schwab@suse.de>
55406
55407 [BZ #15100]
55408 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
55409 week as 6 instead of -1.
55410 * time/tst-strptime.c (day_tests): Add test case.
55411
55412 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
55413
55414 * sysdeps/generic/math_private.h
55415 (libc_feholdexcept_setround_53bit): Replace with
55416 libc_feholdsetround_53bit.
55417 (libc_feupdateenv_53bit): Replace with
55418 libc_feresetround_53bit.
55419 (SET_RESTORE_ROUND_53BIT): Adjust.
55420
55421 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
55422
55423 * string/test-strchrnul.c: Add copyright header.
55424
55425 * posix/tst-getaddrinfo4.c: Increase test timeout.
55426
55427 2013-06-03 Carlos O'Donell <carlos@redhat.com>
55428
55429 [BZ #15536]
55430 * math/libm-test.inc (MAX_EXP): Remove
55431 (MIN_EXP): Define.
55432 (ulp): Use MIN_EXP - MANT_DIG.
55433 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
55434
55435 2013-05-31 Carlos O'Donell <carlos@redhat.com>
55436
55437 * po/be.po: Revert last change.
55438 * po/zh_CN.po: Likewise.
55439 * po/header.pot: Likewise.
55440
55441 2013-05-31 Joseph Myers <joseph@codesourcery.com>
55442
55443 * Makefile ($(common-objpfx)linkobj/libc.so): Define
55444 link-libc-deps to empty as target-specific variable.
55445 * Makerules (link-libc-args): New variable.
55446 (libc-for-link): Likewise.
55447 (link-libc-deps): Likewise.
55448 (lib%.so): Depend on $(link-libc-deps). Link with
55449 $(link-libc-args).
55450 (build-module): Link with $(link-libc-args).
55451 (build-module-asneeded): Likewise.
55452 (build-module-helper-objlist): Filter out $(link-libc-deps) from
55453 list of objects.
55454 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
55455 target-specific variable.
55456 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
55457 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
55458 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
55459 libc.
55460 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
55461 libc and ld.so.
55462 ($(objpfx)libpcprofile.so): Likewise.
55463 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
55464 libc_nonshared.a.
55465 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
55466 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
55467 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
55468 $(link-libc-deps).
55469 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
55470 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
55471 * login/Makefile ($(objpfx)libutil.so): Likewise.
55472 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
55473 * math/Makefile ($(objpfx)libm.so): Likewise.
55474 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
55475 $(objpfx)libnsl.so): Define libc-for-link as target-specific
55476 variable instead of depending directly on libc.
55477 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
55478 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
55479 $(link-libc-deps).
55480 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
55481 libc.
55482 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
55483 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
55484 ($(objpfx)libanl.so): Likewise.
55485 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
55486 ld.so.
55487 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
55488 $(link-libc-deps).
55489 * sysdeps/i386/fpu/Makefile: Remove file.
55490 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
55491 ($(objpfx)libm.so): Remove dependency on ld.so.
55492
55493 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
55494
55495 [BZ # 15553]
55496 * nis/yp_xdr.c (XDRMAXNAME): Define.
55497 (XDRMAXRECORD): Define.
55498 (xdr_domainname): Use XDRMAXNAME.
55499 (xdr_mapname): Likewise.
55500 (xdr_peername): Likewise.
55501 (xdr_keydat): Use XDRMAXRECORD.
55502 (xdr_valdat): Likewise.
55503
55504 2013-05-30 Jeff Law <law@redhat.com>
55505
55506 [BZ #14256]
55507 * manual/errno.texi (ESTALE): Update to account for more than
55508 just NFS file systems.
55509 * sysdeps/gnu/errlist.c: Regenerated.
55510
55511 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
55512
55513 [BZ #15465]
55514 * elf/Makefile (tests): Add tst-null-argv.
55515 (modules-names): Add tst-null-argv-lib.
55516 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
55517 (tst-null-argv-ENV): Set environment for tst-null-argv.
55518 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
55519 (RTLD_PROGNAME): New macro.
55520 * elf/tst-null-argv.c: New test case.
55521 * elf/tst-null-argv-lib.c: Library for test case.
55522 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
55523 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
55524 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
55525 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
55526 * elf/dl-init.c (call_init): Likewise.
55527 (_dl_init): Likewise.
55528 * elf/dl-load.c (print_search_path): Likewise.
55529 (_dl_map_object): Likewise.
55530 * elf/dl-lookup.c (do_lookup_x): Likewise.
55531 (add_dependency): Likewise.
55532 (_dl_lookup_symbol_x): Likewise.
55533 (_dl_debug_bindings): Likewise.
55534 * elf/dl-open.c (_dl_show_scope): Likewise.
55535 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55536 * elf/dl-version.c (match_symbol): Likewise.
55537 (_dl_check_map_versions): Likewise.
55538 * elf/rtld.c (dl_main): Likewise.
55539 (print_unresolved): Use RTLD_PROGNAME.
55540 (print_missing_version): Likewise.
55541 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
55542 (elf_machine_rela): Likewise.
55543 * sysdeps/powerpc/powerpc32/dl-machine.c
55544 (__process_machine_rela): Likewise.
55545 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55546 Likewise.
55547 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55548 Likewise.
55549 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
55550 Likewise.
55551 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55552 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
55553 Likewise.
55554 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
55555 Likewise.
55556 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55557
55558 2013-05-28 Carlos O'Donell <carlos@redhat.com>
55559
55560 * po/be.po: Add descriptive title.
55561 * po/zh_CN.po: Likewise.
55562 * po/header.pot: Likewise.
55563
55564 2013-05-28 Mike Frysinger <vapier@gentoo.org>
55565
55566 * locale/programs/locarchive.c (create_archive): Inlucde fname in
55567 error message.
55568 (enlarge_archive): Likewise.
55569
55570 2013-05-28 Ben North <ben@redfrontdoor.org>
55571
55572 * manual/arith.texi (frexp): It is the magnitude of the return
55573 value which lies in [0.5, 1), not the return value itself.
55574
55575 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55576
55577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55578
55579 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
55580
55581 * stdio-common/bug26.c (main): Correct fscanf template.
55582
55583 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
55584 declare _dl_skip_args.
55585
55586 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
55587 Don't declare.
55588
55589 * manual/platform.texi: Add missing @end deftypefun.
55590
55591 2013-05-24 Joseph Myers <joseph@codesourcery.com>
55592
55593 [BZ #15529]
55594 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
55595 bit of mantissa of 2^16382.
55596 * math/libm-test.inc (hypot_test_data): Add more tests.
55597
55598 * math/libm-test.inc: Add drem and pow10 to list of tested
55599 functions.
55600 (pow10_test): New function.
55601 (drem_test): Likewise.
55602 (drem_test_tonearest): Likewise.
55603 (drem_test_towardzero): Likewise.
55604 (drem_test_downward): Likewise.
55605 (drem_test_upward): Likewise.
55606 (main): Call the new functions.
55607
55608 * math/libm-test.inc (finite_test_data): Remove.
55609 (finite_test): Run tests from isfinite_test_data.
55610 (gamma_test_data): Remove.
55611 (gamma_test): Run tests from lgamma_test_data.
55612 * sysdeps/i386/fpu/libm-test-ulps: Update.
55613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55614
55615 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55616
55617 * manual/platform.texi: Add PowerPC PPR function set documentation.
55618 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
55619 implementation.
55620
55621 2013-05-24 Carlos O'Donell <carlos@redhat.com>
55622
55623 * math/libm-test.inc (MAX_EXP): Define.
55624 (ULPDIFF): Define.
55625 (ulp): New function.
55626 (check_float_internal): Use ULPDIFF.
55627 (cpow_test): Disable failing test.
55628 (check_ulp): Test ulp() implementation.
55629 (main): Call check_ulp before starting tests.
55630
55631 2013-05-24 Joseph Myers <joseph@codesourcery.com>
55632
55633 * math/gen-libm-test.pl (generate_testfile): Do not handle
55634 START_DATA and END_DATA.
55635 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
55636 END_DATA.
55637 (acos_tonearest_test_data): Likewise.
55638 (acos_towardzero_test_data): Likewise.
55639 (acos_downward_test_data): Likewise.
55640 (acos_upward_test_data): Likewise.
55641 (acosh_test_data): Likewise.
55642 (asin_test_data): Likewise.
55643 (asin_tonearest_test_data): Likewise.
55644 (asin_towardzero_test_data): Likewise.
55645 (asin_downward_test_data): Likewise.
55646 (asin_upward_test_data): Likewise.
55647 (asinh_test_data): Likewise.
55648 (atan_test_data): Likewise.
55649 (atanh_test_data): Likewise.
55650 (atan2_test_data): Likewise.
55651 (cabs_test_data): Likewise.
55652 (cacos_test_data): Likewise.
55653 (cacosh_test_data): Likewise.
55654 (carg_test_data): Likewise.
55655 (casin_test_data): Likewise.
55656 (casinh_test_data): Likewise.
55657 (catan_test_data): Likewise.
55658 (catanh_test_data): Likewise.
55659 (cbrt_test_data): Likewise.
55660 (ccos_test_data): Likewise.
55661 (ccosh_test_data): Likewise.
55662 (ceil_test_data): Likewise.
55663 (cexp_test_data): Likewise.
55664 (cimag_test_data): Likewise.
55665 (clog_test_data): Likewise.
55666 (clog10_test_data): Likewise.
55667 (conj_test_data): Likewise.
55668 (copysign_test_data): Likewise.
55669 (cos_test_data): Likewise.
55670 (cos_tonearest_test_data): Likewise.
55671 (cos_towardzero_test_data): Likewise.
55672 (cos_downward_test_data): Likewise.
55673 (cos_upward_test_data): Likewise.
55674 (cosh_test_data): Likewise.
55675 (cosh_tonearest_test_data): Likewise.
55676 (cosh_towardzero_test_data): Likewise.
55677 (cosh_downward_test_data): Likewise.
55678 (cosh_upward_test_data): Likewise.
55679 (cpow_test_data): Likewise.
55680 (cproj_test_data): Likewise.
55681 (creal_test_data): Likewise.
55682 (csin_test_data): Likewise.
55683 (csinh_test_data): Likewise.
55684 (csqrt_test_data): Likewise.
55685 (ctan_test_data): Likewise.
55686 (ctan_tonearest_test_data): Likewise.
55687 (ctan_towardzero_test_data): Likewise.
55688 (ctan_downward_test_data): Likewise.
55689 (ctan_upward_test_data): Likewise.
55690 (ctanh_test_data): Likewise.
55691 (ctanh_tonearest_test_data): Likewise.
55692 (ctanh_towardzero_test_data): Likewise.
55693 (ctanh_downward_test_data): Likewise.
55694 (ctanh_upward_test_data): Likewise.
55695 (erf_test_data): Likewise.
55696 (erfc_test_data): Likewise.
55697 (exp_test_data): Likewise.
55698 (exp_tonearest_test_data): Likewise.
55699 (exp_towardzero_test_data): Likewise.
55700 (exp_downward_test_data): Likewise.
55701 (exp_upward_test_data): Likewise.
55702 (exp10_test_data): Likewise.
55703 (exp2_test_data): Likewise.
55704 (expm1_test_data): Likewise.
55705 (fabs_test_data): Likewise.
55706 (fdim_test_data): Likewise.
55707 (finite_test_data): Likewise.
55708 (floor_test_data): Likewise.
55709 (fma_test_data): Likewise.
55710 (fma_towardzero_test_data): Likewise.
55711 (fma_downward_test_data): Likewise.
55712 (fma_upward_test_data): Likewise.
55713 (fmax_test_data): Likewise.
55714 (fmin_test_data): Likewise.
55715 (fmod_test_data): Likewise.
55716 (fpclassify_test_data): Likewise.
55717 (frexp_test_data): Likewise.
55718 (gamma_test_data): Likewise.
55719 (hypot_test_data): Likewise.
55720 (ilogb_test_data): Likewise.
55721 (isfinite_test_data): Likewise.
55722 (isgreater_test_data): Likewise.
55723 (isgreaterequal_test_data): Likewise.
55724 (isinf_test_data): Likewise.
55725 (isless_test_data): Likewise.
55726 (islessequal_test_data): Likewise.
55727 (islessgreater_test_data): Likewise.
55728 (isnan_test_data): Likewise.
55729 (isnormal_test_data): Likewise.
55730 (issignaling_test_data): Likewise.
55731 (isunordered_test_data): Likewise.
55732 (j0_test_data): Likewise.
55733 (j1_test_data): Likewise.
55734 (jn_test_data): Likewise.
55735 (ldexp_test_data): Likewise.
55736 (lgamma_test_data): Likewise.
55737 (lrint_test_data): Likewise.
55738 (lrint_tonearest_test_data): Likewise.
55739 (lrint_towardzero_test_data): Likewise.
55740 (lrint_downward_test_data): Likewise.
55741 (lrint_upward_test_data): Likewise.
55742 (llrint_test_data): Likewise.
55743 (llrint_tonearest_test_data): Likewise.
55744 (llrint_towardzero_test_data): Likewise.
55745 (llrint_downward_test_data): Likewise.
55746 (llrint_upward_test_data): Likewise.
55747 (log_test_data): Likewise.
55748 (log10_test_data): Likewise.
55749 (log1p_test_data): Likewise.
55750 (log2_test_data): Likewise.
55751 (logb_test_data): Likewise.
55752 (logb_downward_test_data): Likewise.
55753 (lround_test_data): Likewise.
55754 (llround_test_data): Likewise.
55755 (modf_test_data): Likewise.
55756 (nearbyint_test_data): Likewise.
55757 (nextafter_test_data): Likewise.
55758 (nexttoward_test_data): Likewise.
55759 (pow_test_data): Likewise.
55760 (pow_tonearest_test_data): Likewise.
55761 (pow_towardzero_test_data): Likewise.
55762 (pow_downward_test_data): Likewise.
55763 (pow_upward_test_data): Likewise.
55764 (remainder_test_data): Likewise.
55765 (remainder_tonearest_test_data): Likewise.
55766 (remainder_towardzero_test_data): Likewise.
55767 (remainder_downward_test_data): Likewise.
55768 (remainder_upward_test_data): Likewise.
55769 (remquo_test_data): Likewise.
55770 (rint_test_data): Likewise.
55771 (rint_tonearest_test_data): Likewise.
55772 (rint_towardzero_test_data): Likewise.
55773 (rint_downward_test_data): Likewise.
55774 (rint_upward_test_data): Likewise.
55775 (round_test_data): Likewise.
55776 (scalb_test_data): Likewise.
55777 (scalbn_test_data): Likewise.
55778 (scalbln_test_data): Likewise.
55779 (signbit_test_data): Likewise.
55780 (sin_test_data): Likewise.
55781 (sin_tonearest_test_data): Likewise.
55782 (sin_towardzero_test_data): Likewise.
55783 (sin_downward_test_data): Likewise.
55784 (sin_upward_test_data): Likewise.
55785 (sincos_test_data): Likewise.
55786 (sinh_test_data): Likewise.
55787 (sinh_tonearest_test_data): Likewise.
55788 (sinh_towardzero_test_data): Likewise.
55789 (sinh_downward_test_data): Likewise.
55790 (sinh_upward_test_data): Likewise.
55791 (sqrt_test_data): Likewise.
55792 (tan_test_data): Likewise.
55793 (tan_tonearest_test_data): Likewise.
55794 (tan_towardzero_test_data): Likewise.
55795 (tan_downward_test_data): Likewise.
55796 (tan_upward_test_data): Likewise.
55797 (tanh_test_data): Likewise.
55798 (tgamma_test_data): Likewise.
55799 (trunc_test_data): Likewise.
55800 (y0_test_data): Likewise.
55801 (y1_test_data): Likewise.
55802 (yn_test_data): Likewise.
55803 (significand_test_data): Likewise.
55804
55805 * math/gen-libm-test.pl (@functions): Remove variable.
55806 (generate_testfile): Don't handle START and END lines.
55807 * math/libm-test.inc (START): New macro.
55808 (END): Likewise.
55809 (END_COMPLEX): Likewise.
55810 (acos_test): Use END macro without arguments.
55811 (acos_test_tonearest): Likewise.
55812 (acos_test_towardzero): Likewise.
55813 (acos_test_downward): Likewise.
55814 (acos_test_upward): Likewise.
55815 (acosh_test): Likewise.
55816 (asin_test): Likewise.
55817 (asin_test_tonearest): Likewise.
55818 (asin_test_towardzero): Likewise.
55819 (asin_test_downward): Likewise.
55820 (asin_test_upward): Likewise.
55821 (asinh_test): Likewise.
55822 (atan_test): Likewise.
55823 (atanh_test): Likewise.
55824 (atan2_test): Likewise.
55825 (cabs_test): Likewise.
55826 (cacos_test): Use END_COMPLEX macro without arguments.
55827 (cacosh_test): Likewise.
55828 (carg_test): Use END macro without arguments.
55829 (casin_test): Use END_COMPLEX macro without arguments.
55830 (casinh_test): Likewise.
55831 (catan_test): Likewise.
55832 (catanh_test): Likewise.
55833 (cbrt_test): Use END macro without arguments.
55834 (ccos_test): Use END_COMPLEX macro without arguments.
55835 (ccosh_test): Likewise.
55836 (ceil_test): Use END macro without arguments.
55837 (cexp_test): Use END_COMPLEX macro without arguments.
55838 (cimag_test): Use END macro without arguments.
55839 (clog_test): Use END_COMPLEX macro without arguments.
55840 (clog10_test): Likewise.
55841 (conj_test): Likewise.
55842 (copysign_test): Use END macro without arguments.
55843 (cos_test): Likewise.
55844 (cos_test_tonearest): Likewise.
55845 (cos_test_towardzero): Likewise.
55846 (cos_test_downward): Likewise.
55847 (cos_test_upward): Likewise.
55848 (cosh_test): Likewise.
55849 (cosh_test_tonearest): Likewise.
55850 (cosh_test_towardzero): Likewise.
55851 (cosh_test_downward): Likewise.
55852 (cosh_test_upward): Likewise.
55853 (cpow_test): Use END_COMPLEX macro without arguments.
55854 (cproj_test): Likewise.
55855 (creal_test): Use END macro without arguments.
55856 (csin_test): Use END_COMPLEX macro without arguments.
55857 (csinh_test): Likewise.
55858 (csqrt_test): Likewise.
55859 (ctan_test): Likewise.
55860 (ctan_test_tonearest): Likewise.
55861 (ctan_test_towardzero): Likewise.
55862 (ctan_test_downward): Likewise.
55863 (ctan_test_upward): Likewise.
55864 (ctanh_test): Likewise.
55865 (ctanh_test_tonearest): Likewise.
55866 (ctanh_test_towardzero): Likewise.
55867 (ctanh_test_downward): Likewise.
55868 (ctanh_test_upward): Likewise.
55869 (erf_test): Use END macro without arguments.
55870 (erfc_test): Likewise.
55871 (exp_test): Likewise.
55872 (exp_test_tonearest): Likewise.
55873 (exp_test_towardzero): Likewise.
55874 (exp_test_downward): Likewise.
55875 (exp_test_upward): Likewise.
55876 (exp10_test): Likewise.
55877 (exp2_test): Likewise.
55878 (expm1_test): Likewise.
55879 (fabs_test): Likewise.
55880 (fdim_test): Likewise.
55881 (finite_test): Likewise.
55882 (floor_test): Likewise.
55883 (fma_test): Likewise.
55884 (fma_test_towardzero): Likewise.
55885 (fma_test_downward): Likewise.
55886 (fma_test_upward): Likewise.
55887 (fmax_test): Likewise.
55888 (fmin_test): Likewise.
55889 (fmod_test): Likewise.
55890 (fpclassify_test): Likewise.
55891 (frexp_test): Likewise.
55892 (gamma_test): Likewise.
55893 (hypot_test): Likewise.
55894 (ilogb_test): Likewise.
55895 (isfinite_test): Likewise.
55896 (isgreater_test): Likewise.
55897 (isgreaterequal_test): Likewise.
55898 (isinf_test): Likewise.
55899 (isless_test): Likewise.
55900 (islessequal_test): Likewise.
55901 (islessgreater_test): Likewise.
55902 (isnan_test): Likewise.
55903 (isnormal_test): Likewise.
55904 (issignaling_test): Likewise.
55905 (isunordered_test): Likewise.
55906 (j0_test): Likewise.
55907 (j1_test): Likewise.
55908 (jn_test): Likewise.
55909 (ldexp_test): Likewise.
55910 (lgamma_test): Likewise.
55911 (lrint_test): Likewise.
55912 (lrint_test_tonearest): Likewise.
55913 (lrint_test_towardzero): Likewise.
55914 (lrint_test_downward): Likewise.
55915 (lrint_test_upward): Likewise.
55916 (llrint_test): Likewise.
55917 (llrint_test_tonearest): Likewise.
55918 (llrint_test_towardzero): Likewise.
55919 (llrint_test_downward): Likewise.
55920 (llrint_test_upward): Likewise.
55921 (log_test): Likewise.
55922 (log10_test): Likewise.
55923 (log1p_test): Likewise.
55924 (log2_test): Likewise.
55925 (logb_test): Likewise.
55926 (logb_test_downward): Likewise.
55927 (lround_test): Likewise.
55928 (llround_test): Likewise.
55929 (modf_test): Likewise.
55930 (nearbyint_test): Likewise.
55931 (nextafter_test): Likewise.
55932 (nexttoward_test): Likewise.
55933 (pow_test): Likewise.
55934 (pow_test_tonearest): Likewise.
55935 (pow_test_towardzero): Likewise.
55936 (pow_test_downward): Likewise.
55937 (pow_test_upward): Likewise.
55938 (remainder_test): Likewise.
55939 (remainder_test_tonearest): Likewise.
55940 (remainder_test_towardzero): Likewise.
55941 (remainder_test_downward): Likewise.
55942 (remainder_test_upward): Likewise.
55943 (remquo_test): Likewise.
55944 (rint_test): Likewise.
55945 (rint_test_tonearest): Likewise.
55946 (rint_test_towardzero): Likewise.
55947 (rint_test_downward): Likewise.
55948 (rint_test_upward): Likewise.
55949 (round_test): Likewise.
55950 (scalb_test): Likewise.
55951 (scalbn_test): Likewise.
55952 (scalbln_test): Likewise.
55953 (signbit_test): Likewise.
55954 (sin_test): Likewise.
55955 (sin_test_tonearest): Likewise.
55956 (sin_test_towardzero): Likewise.
55957 (sin_test_downward): Likewise.
55958 (sin_test_upward): Likewise.
55959 (sincos_test): Likewise.
55960 (sinh_test): Likewise.
55961 (sinh_test_tonearest): Likewise.
55962 (sinh_test_towardzero): Likewise.
55963 (sinh_test_downward): Likewise.
55964 (sinh_test_upward): Likewise.
55965 (sqrt_test): Likewise.
55966 (tan_test): Likewise.
55967 (tan_test_tonearest): Likewise.
55968 (tan_test_towardzero): Likewise.
55969 (tan_test_downward): Likewise.
55970 (tan_test_upward): Likewise.
55971 (tanh_test): Likewise.
55972 (tgamma_test): Likewise.
55973 (trunc_test): Likewise.
55974 (y0_test): Likewise.
55975 (y1_test): Likewise.
55976 (yn_test): Likewise.
55977 (significand_test): Likewise.
55978
55979 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
55980
55981 [BZ #15381]
55982 * libio/genops.c (_IO_no_init): Initialize wide struct info.
55983
55984 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
55985
55986 [BZ #14894]
55987 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55988 __ppc_mdoio and __ppc_mdoom.
55989 * manual/platform.texi: Document new functions __ppc_yield,
55990 __ppc_mdoio and __ppc_mdoom.
55991
55992 2013-05-22 Carlos O'Donell <carlos@redhat.com>
55993
55994 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55995 (main): Mention "tls" pseudo-hwcap is legacy.
55996 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55997
55998 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55999
56000 * math/gen-libm-test.pl (parse_args): Output only string of
56001 arguments as text for test name, not full call or descriptions of
56002 tests for extra outputs.
56003 (generate_testfile): Do not pass function name to parse_args.
56004 Generate this_func variable from START.
56005 * math/libm-test.inc (struct test_f_f_data): Rename test_name
56006 field to arg_str.
56007 (struct test_ff_f_data): Likewise.
56008 (test_ff_f_data_nexttoward): Likewise.
56009 (struct test_fi_f_data): Likewise.
56010 (struct test_fl_f_data): Likewise.
56011 (struct test_if_f_data): Likewise.
56012 (struct test_fff_f_data): Likewise.
56013 (struct test_c_f_data): Likewise.
56014 (struct test_f_f1_data): Likewise. Remove field extra_name.
56015 (struct test_fF_f1_data): Likewise.
56016 (struct test_ffI_f1_data): Likewise.
56017 (struct test_c_c_data): Rename test_name field to arg_str.
56018 (struct test_cc_c_data): Likewise.
56019 (struct test_f_i_data): Likewise.
56020 (struct test_ff_i_data): Likewise.
56021 (struct test_f_l_data): Likewise.
56022 (struct test_f_L_data): Likewise.
56023 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
56024 and extra2_name.
56025 (COMMON_TEST_SETUP): New macro.
56026 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
56027 (COMMON_TEST_CLEANUP): Likewise.
56028 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
56029 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
56030 macros.
56031 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
56032 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
56033 macros.
56034 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
56035 (RUN_TEST_fff_f): Take argument string. Call new setup and
56036 cleanup macros.
56037 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
56038 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
56039 macros.
56040 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
56041 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
56042 macros.
56043 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56044 (RUN_TEST_fF_f1): Take argument string. Call new setup and
56045 cleanup macros.
56046 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56047 (RUN_TEST_fI_f1): Take argument string. Call new setup and
56048 cleanup macros.
56049 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56050 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
56051 cleanup macros.
56052 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56053 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
56054 macros.
56055 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
56056 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
56057 macros.
56058 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
56059 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
56060 macros.
56061 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
56062 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
56063 cleanup macros.
56064 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
56065 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
56066 cleanup macros.
56067 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
56068 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
56069 macros.
56070 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
56071 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
56072 cleanup macros.
56073 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
56074 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
56075 macros.
56076 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
56077 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
56078 macros.
56079 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
56080 (RUN_TEST_fFF_11): Take argument string. Call new setup and
56081 cleanup macros.
56082 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
56083
56084 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
56085
56086 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
56087 to _sifields.sigfault.
56088 (si_addr_lsb): Define new macro.
56089 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56090 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56091 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
56092
56093 2013-05-03 Carlos O'Donell <carlos at redhat.com>
56094
56095 [BZ #15441]
56096 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
56097 returns -1.
56098 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
56099 null return -1.
56100 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
56101 loading the domain.
56102
56103 2013-05-22 Joseph Myers <joseph@codesourcery.com>
56104
56105 * math/gen-libm-test.pl (parse_args): Do not include expected
56106 result in test name.
56107 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
56108 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56109 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56110 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56111 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56113
56114 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
56115
56116 * benchtests/Makefile: Sort function entries.
56117
56118 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
56119 tanh, asinh, acosh, atanh.
56120 * benchtests/acos-inputs: New file.
56121 * benchtests/acosh-inputs: New file.
56122 * benchtests/asin-inputs: New file.
56123 * benchtests/asinh-inputs: New file.
56124 * benchtests/atanh-inputs: New file.
56125 * benchtests/cosh-inputs: New file.
56126 * benchtests/log-inputs: New file.
56127 * benchtests/sinh-inputs: New file.
56128 * benchtests/tanh-inputs: New file.
56129
56130 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
56131
56132 [BZ #15339]
56133 * posix/tst-getaddrinfo4.c: New test.
56134 * posix/Makefile (tests): Add it.
56135
56136 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56137
56138 [BZ #15339]
56139 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
56140 when no services were used.
56141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
56142 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
56143
56144 2013-05-21 Andreas Schwab <schwab@suse.de>
56145
56146 [BZ #15014]
56147 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
56148 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
56149 successful.
56150 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
56151 redundant variable declarations and reallocation of buffer when
56152 parsing as IPv6 address. Always set NSS status when called from
56153 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
56154 buffer too small. Correct computation of needed size.
56155 * nss/Makefile (tests): Add test-digits-dots.
56156 * nss/test-digits-dots.c: New test.
56157
56158 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56159
56160 * benchtests/Makefile: Remove instructions for adding
56161 benchmark tests.
56162 * benchtests/README: New file to explain how to execute and
56163 enhance the benchmark tests.
56164
56165 2013-05-21 Andreas Schwab <schwab@suse.de>
56166
56167 [BZ #15493]
56168 * setjmp/Makefile (tests): Add tst-sigsetjmp.
56169 * setjmp/tst-sigsetjmp.c: New test.
56170
56171 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
56172
56173 * sysdeps/x86_64/memset.S (memset): New implementation.
56174 (__bzero): Likewise.
56175 (__memset_tail): New function.
56176
56177 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
56178
56179 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
56180 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
56181 __memcpy_sse2_unaligned ifunc selection.
56182 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56183 Add memcpy-sse2-unaligned.S.
56184 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56185 Add: __memcpy_sse2_unaligned.
56186
56187 2013-05-19 Joseph Myers <joseph@codesourcery.com>
56188
56189 [BZ #15490]
56190 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56191 math_force_eval before restoring floating-point envrionment.
56192 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
56193 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
56194 Likewise.
56195 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
56196 <math_private.h>.
56197 (__nearbyintl): Use math_force_eval before restoring
56198 floating-point environment.
56199 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
56200
56201 * math/gen-libm-test.pl (special_functions): Remove.
56202 (parse_args): Don't handle TEST_extra. Handle functions with no
56203 return value.
56204 * math/libm-test.inc (struct test_sincos_data): Replace with
56205 struct test_fFF_11_data.
56206 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
56207 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
56208 (sincos_test_data): Change element type to struct
56209 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
56210 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
56211 RUN_TEST_LOOP_sincos.
56212 * math/README.libm-test: Don't mention special handling of
56213 individual functions.
56214 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
56215 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56216 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56217 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56218 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56220
56221 * math/gen-libm-test.pl (get_variable): Remove function.
56222 (parse_args): Don't show pointer parameters to call in test
56223 names. Use "extra output N" in test names for extra outputs
56224 rather than naming variables.
56225
56226 2013-05-18 Joseph Myers <joseph@codesourcery.com>
56227
56228 [BZ #15488]
56229 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
56230 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
56231 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
56232 double tests.
56233 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
56234 disable.
56235 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
56236 check_long_double.
56237
56238 * math/gen-libm-test.pl (@tests): Remove variable.
56239 ($count): Likewise.
56240 (new_test): Remove function.
56241 (show_exceptions): New function.
56242 (special_functions): Use show_exceptions instead of new_test.
56243 (parse_args): Likewise.
56244 (generate_testfile): Pass only function name in generated call to
56245 print_max_error or print_complex_max_error.
56246 (get_ulps): Do not handle complex tests specially.
56247 (output_test): Rename to ...
56248 (get_all_ulps_for_test): ... this. Return a string rather than
56249 printing to a file. Require ulps to be present.
56250 (output_ulps): Generate arrays rather than #defines.
56251 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
56252 (struct ulp_data): New type.
56253 (BUILD_COMPLEX_ULP): Remove macro.
56254 (compare_ulp_data): New function.
56255 (find_ulps): Likewise.
56256 (find_test_ulps): Likewise.
56257 (find_function_ulps): Likewise.
56258 (find_complex_function_ulps): Likewise.
56259 (print_max_error): Determine allowed ulps using
56260 find_function_ulps.
56261 (print_complex_max_error): Determine allowed ulps using
56262 find_complex_function_ulps.
56263 (check_float_internal): Determine max ulps using find_test_ulps.
56264 (check_float): Do not take max_ulp parameter. Update call to
56265 check_float_internal.
56266 (check_complex): Likewise.
56267 (check_int): Do not take max_ulp parameter.
56268 (check_long): Likewise.
56269 (check_bool): Likewise.
56270 (check_longlong): Likewise.
56271 (struct test_f_f_data): Remove max_ulp field.
56272 (struct test_ff_f_data): Likewise.
56273 (struct test_ff_f_data_nexttoward): Likewise.
56274 (struct test_fi_f_data): Likewise.
56275 (struct test_fl_f_data): Likewise.
56276 (struct test_if_f_data): Likewise.
56277 (struct test_fff_f_data): Likewise.
56278 (struct test_c_f_data): Likewise.
56279 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
56280 (struct test_fF_f1_data): Likewise.
56281 (struct test_ffI_f1_data): Likewise.
56282 (struct test_c_c_data): Remove max_ulp field.
56283 (struct test_cc_c_data): Likewise.
56284 (struct test_f_i_data): Likewise.
56285 (struct test_ff_i_data): Likewise.
56286 (struct test_f_l_data): Likewise.
56287 (struct test_f_L_data): Likewise.
56288 (struct test_sincos_data): Likewise.
56289 (RUN_TEST_f_f): Do not handle ulps.
56290 (RUN_TEST_LOOP_f_f): Likewise.
56291 (RUN_TEST_2_f): Likewise.
56292 (RUN_TEST_LOOP_2_f): Likewise.
56293 (RUN_TEST_fff_f): Likewise.
56294 (RUN_TEST_LOOP_fff_f): Likewise.
56295 (RUN_TEST_c_f): Likewise.
56296 (RUN_TEST_LOOP_c_f): Likewise.
56297 (RUN_TEST_f_f1): Likewise.
56298 (RUN_TEST_LOOP_f_f1): Likewise.
56299 (RUN_TEST_fF_f1): Likewise.
56300 (RUN_TEST_LOOP_fF_f1): Likewise.
56301 (RUN_TEST_fI_f1): Likewise.
56302 (RUN_TEST_LOOP_fI_f1): Likewise.
56303 (RUN_TEST_ffI_f1): Likewise.
56304 (RUN_TEST_LOOP_ffI_f1): Likewise.
56305 (RUN_TEST_c_c): Likewise.
56306 (RUN_TEST_LOOP_c_c): Likewise.
56307 (RUN_TEST_cc_c): Likewise.
56308 (RUN_TEST_LOOP_cc_c): Likewise.
56309 (RUN_TEST_f_i): Likewise.
56310 (RUN_TEST_LOOP_f_i): Likewise.
56311 (RUN_TEST_f_i_tg): Likewise.
56312 (RUN_TEST_LOOP_f_i_tg): Likewise.
56313 (RUN_TEST_ff_i_tg): Likewise.
56314 (RUN_TEST_LOOP_ff_i_tg): Likewise.
56315 (RUN_TEST_f_b): Likewise.
56316 (RUN_TEST_LOOP_f_b): Likewise.
56317 (RUN_TEST_f_b_tg): Likewise.
56318 (RUN_TEST_LOOP_f_b_tg): Likewise.
56319 (RUN_TEST_f_l): Likewise.
56320 (RUN_TEST_LOOP_f_l): Likewise.
56321 (RUN_TEST_f_L): Likewise.
56322 (RUN_TEST_LOOP_f_L): Likewise.
56323 (RUN_TEST_sincos): Likewise.
56324 (RUN_TEST_LOOP_sincos): Likewise.
56325
56326 2013-05-17 Joseph Myers <joseph@codesourcery.com>
56327
56328 [BZ #15480]
56329 [BZ #15485]
56330 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
56331 main case of finite arguments, set rounding mode to FE_TONEAREST
56332 and discard exceptions.
56333 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
56334 exceptions.
56335 (remainder_tonearest_test_data): New variable.
56336 (remainder_test_tonearest): New function.
56337 (remainder_towardzero_test_data): New variable.
56338 (remainder_test_towardzero): New function.
56339 (remainder_downward_test_data): New variable.
56340 (remainder_test_downward): New function.
56341 (remainder_upward_test_data): New variable.
56342 (remainder_test_upward): New function.
56343 (main): Call the new test functions.
56344
56345 * math/libm-test.inc (struct test_f_f1_data): Remove field
56346 extra_init.
56347 (struct test_fF_f1_data): Likewise.
56348 (struct test_ffI_f1_data): Likewise.
56349 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
56350 based on value of EXTRA_EXPECTED.
56351 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56352 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
56353 EXTRA_VAR based on value of EXTRA_EXPECTED.
56354 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56355 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
56356 EXTRA_VAR based on value of EXTRA_EXPECTED.
56357 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56358 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
56359 EXTRA_VAR based on value of EXTRA_EXPECTED.
56360 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56361 * math/gen-libm-test.pl (parse_args): Don't output initializers
56362 for extra output values.
56363
56364 * math/libm-test.inc (check_int): Expect result to be exactly
56365 equal to expected value and do not handle ulps.
56366 (check_long): Likewise.
56367 (check_longlong): Likewise.
56368
56369 * math/libm-test.inc (ceil_test_data): Test for "inexact"
56370 exceptions.
56371 (cimag_test_data): Likewise.
56372 (conj_test_data): Likewise.
56373 (copysign_test_data): Likewise.
56374 (cproj_test_data): Likewise.
56375 (creal_test_data): Likewise.
56376 (fabs_test_data): Likewise.
56377 (fdim_test_data): Likewise.
56378 (finite_test_data): Likewise.
56379 (floor_test_data): Likewise.
56380 (fmax_test_data): Likewise.
56381 (fmin_test_data): Likewise.
56382 (fmod_test_data): Likewise.
56383 (fpclassify_test_data): Likewise.
56384 (frexp_test_data): Likewise.
56385 (ilogb_test_data): Likewise.
56386 (isfinite_test_data): Likewise.
56387 (isgreater_test_data): Likewise.
56388 (isgreaterequal_test_data): Likewise.
56389 (isinf_test_data): Likewise.
56390 (isless_test_data): Likewise.
56391 (islessequal_test_data): Likewise.
56392 (islessgreater_test_data): Likewise.
56393 (isnan_test_data): Likewise.
56394 (isnormal_test_data): Likewise.
56395 (issignaling_test_data): Likewise.
56396 (isunordered_test_data): Likewise.
56397 (ldexp_test_data): Likewise.
56398 (lrint_test_data): Likewise.
56399 (lrint_test_data) [TEST_FLOAT]: Disable one test.
56400 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
56401 (lrint_tonearest_test_data): Test for "inexact" exceptions.
56402 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56403 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
56404 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56405 test input.
56406 (lrint_towardzero_test_data): Test for "inexact" exceptions.
56407 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56408 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
56409 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
56410 that test input.
56411 (lrint_downward_test_data): Test for "inexact" exceptions.
56412 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56413 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
56414 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56415 test input.
56416 (lrint_upward_test_data): Test for "inexact" exceptions.
56417 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
56418 test input.
56419 (llrint_test_data): Test for "inexact" exceptions.
56420 (llrint_test_data) [TEST_FLOAT]: Disable one test.
56421 (llrint_tonearest_test_data): Test for "inexact" exceptions.
56422 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56423 (llrint_towardzero_test_data): Test for "inexact" exceptions.
56424 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56425 (llrint_downward_test_data): Test for "inexact" exceptions.
56426 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56427 (llrint_upward_test_data): Test for "inexact" exceptions.
56428 (logb_test_data): Likewise.
56429 (logb_downward_test_data): Likewise.
56430 (nextafter_test_data): Likewise.
56431 (nexttoward_test_data): Likewise.
56432 (remainder_test_data): Likewise.
56433 (remquo_test_data): Likewise.
56434 (scalbn_test_data): Likewise.
56435 (scalbln_test_data): Likewise.
56436 (signbit_test_data): Likewise.
56437 (sqrt_test_data): Likewise.
56438 (significand_test_data): Likewise.
56439
56440 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
56441
56442 [BZ #15424]
56443 * benchtests/bench-modf.c (struct args): Mark arg0 as
56444 volatile.
56445 * scripts/bench.pl: Mark members of struct args as volatile.
56446
56447 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56448
56449 [BZ # 15497]
56450 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
56451 negative infinity on POWER6 or lower.
56452 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
56453
56454 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
56455
56456 [BZ #15442]
56457 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
56458 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
56459 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
56460 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
56461 (_FP_SETQNAN): New macro.
56462 (_FP_SETQNAN_SEMIRAW): Likewise.
56463 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
56464 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
56465 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
56466 (FP_EXTEND): Use _FP_FRAC_SNANP.
56467 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
56468 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
56469 into account.
56470 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56471 New macro.
56472 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56473 Likewise.
56474
56475 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56476
56477 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
56478 with DIVIDE_BY_ZERO_EXCEPTION.
56479 (gamma_test_data): Likewise.
56480 (lgamma_test_data): Likewise.
56481 (log_test_data): Likewise.
56482 (log10_test_data): Likewise.
56483 (log2_test_data): Likewise.
56484 (tgamma_test_data): Likewise.
56485
56486 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
56487 (acos_test_tonearest): Likewise.
56488 (acos_test_towardzero): Likewise.
56489 (acos_test_downward): Likewise.
56490 (acos_test_upward): Likewise.
56491 (acosh_test): Likewise.
56492 (asin_test): Likewise.
56493 (asin_test_tonearest): Likewise.
56494 (asin_test_towardzero): Likewise.
56495 (asin_test_downward): Likewise.
56496 (asin_test_upward): Likewise.
56497 (asinh_test): Likewise.
56498 (atan_test): Likewise.
56499 (atanh_test): Likewise.
56500 (atan2_test): Likewise.
56501 (cabs_test): Likewise.
56502 (cacos_test): Likewise.
56503 (cacosh_test): Likewise.
56504 (casin_test): Likewise.
56505 (casinh_test): Likewise.
56506 (catan_test): Likewise.
56507 (catanh_test): Likewise.
56508 (cbrt_test): Likewise.
56509 (ccos_test): Likewise.
56510 (ccosh_test): Likewise.
56511 (cexp_test): Likewise.
56512 (clog_test): Likewise.
56513 (clog10_test): Likewise.
56514 (cos_test): Likewise.
56515 (cos_test_tonearest): Likewise.
56516 (cos_test_towardzero): Likewise.
56517 (cos_test_downward): Likewise.
56518 (cos_test_upward): Likewise.
56519 (cosh_test): Likewise.
56520 (cosh_test_tonearest): Likewise.
56521 (cosh_test_towardzero): Likewise.
56522 (cosh_test_downward): Likewise.
56523 (cosh_test_upward): Likewise.
56524 (cpow_test): Likewise.
56525 (csin_test): Likewise.
56526 (csinh_test): Likewise.
56527 (csqrt_test): Likewise.
56528 (ctan_test): Likewise.
56529 (ctan_test_tonearest): Likewise.
56530 (ctan_test_towardzero): Likewise.
56531 (ctan_test_downward): Likewise.
56532 (ctan_test_upward): Likewise.
56533 (ctanh_test): Likewise.
56534 (ctanh_test_tonearest): Likewise.
56535 (ctanh_test_towardzero): Likewise.
56536 (ctanh_test_downward): Likewise.
56537 (ctanh_test_upward): Likewise.
56538 (erf_test): Likewise.
56539 (erfc_test): Likewise.
56540 (exp_test): Likewise.
56541 (exp_test_tonearest): Likewise.
56542 (exp_test_towardzero): Likewise.
56543 (exp_test_downward): Likewise.
56544 (exp_test_upward): Likewise.
56545 (exp10_test): Likewise.
56546 (exp2_test): Likewise.
56547 (expm1_test): Likewise.
56548 (fmod_test): Likewise.
56549 (gamma_test): Likewise.
56550 (hypot_test): Likewise.
56551 (j0_test): Likewise.
56552 (j1_test): Likewise.
56553 (jn_test): Likewise.
56554 (lgamma_test): Likewise.
56555 (log_test): Likewise.
56556 (log10_test): Likewise.
56557 (log1p_test): Likewise.
56558 (log2_test): Likewise.
56559 (logb_test_downward): Likewise.
56560 (pow_test): Likewise.
56561 (pow_test_tonearest): Likewise.
56562 (pow_test_towardzero): Likewise.
56563 (pow_test_downward): Likewise.
56564 (pow_test_upward): Likewise.
56565 (remainder_test): Likewise.
56566 (remquo_test): Likewise.
56567 (sin_test): Likewise.
56568 (sin_test_tonearest): Likewise.
56569 (sin_test_towardzero): Likewise.
56570 (sin_test_downward): Likewise.
56571 (sin_test_upward): Likewise.
56572 (sincos_test): Likewise.
56573 (sinh_test): Likewise.
56574 (sinh_test_tonearest): Likewise.
56575 (sinh_test_towardzero): Likewise.
56576 (sinh_test_downward): Likewise.
56577 (sinh_test_upward): Likewise.
56578 (sqrt_test): Likewise.
56579 (tan_test): Likewise.
56580 (tan_test_tonearest): Likewise.
56581 (tan_test_towardzero): Likewise.
56582 (tan_test_downward): Likewise.
56583 (tan_test_upward): Likewise.
56584 (tanh_test): Likewise.
56585 (tgamma_test): Likewise.
56586 (y0_test): Likewise.
56587 (y1_test): Likewise.
56588 (yn_test): Likewise.
56589
56590 * math/gen-libm-test.pl (adjust_arg): Remove function.
56591 (special_function): Remove argument $in_func. Only handle
56592 generating output for tables of tests, not inside functions.
56593 (parse_args): Likewise.
56594 (generate_testfile): Remove variable $in_func. Update call to
56595 parse_args.
56596 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
56597 (MINUS_ZERO_INIT): Rename macro to minus_zero.
56598 (PLUS_INFTY_INIT): Rename macro to plus_infty.
56599 (MINUS_INFTY_INIT): Rename macro to minus_infty.
56600 (QNAN_VALUE_INIT): Rename macro to qnan_value.
56601 (MAX_VALUE_INIT): Rename macro to max_value.
56602 (MIN_VALUE_INIT): Rename macro to min_value.
56603 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
56604 (plus_zero): Remove variable.
56605 (minus_zero): Likewise.
56606 (plus_infty): Likewise.
56607 (minus_infty): Likewise.
56608 (qnan_value): Likewise.
56609 (max_value): Likewise.
56610 (min_value): Likewise.
56611 (min_subnorm_value): Likewise.
56612
56613 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
56614
56615 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
56616 uint64_t or uint32_t usage.
56617 * crypt/sha256-block.c: Likewise.
56618 * crypt/sha256-crypt.c: Likewise.
56619 * crypt/sha256.c: Likewise.
56620 * crypt/sha512-block.c: Likewise.
56621 * crypt/sha512-crypt.c: Likewise.
56622 * crypt/sha512.c: Likewise.
56623 * debug/backtrace-tst.c: Likewise.
56624 * debug/pcprofiledump.c: Likewise.
56625 * elf/cache.c: Likewise.
56626 * elf/dl-cache.c: Likewise.
56627 * elf/dl-misc.c: Likewise.
56628 * elf/dl-profile.c: Likewise.
56629 * elf/dl-support.c: Likewise.
56630 * elf/ldconfig.c: Likewise.
56631 * elf/sprof.c: Likewise.
56632 * iconv/dummy-repertoire.c: Likewise.
56633 * iconv/iconv_charmap.c: Likewise.
56634 * iconv/skeleton.c: Likewise.
56635 * iconvdata/8bit-generic.c: Likewise.
56636 * iconvdata/cp737.h: Likewise.
56637 * iconvdata/cp775.h: Likewise.
56638 * iconvdata/ibm1008.h: Likewise.
56639 * iconvdata/ibm1025.h: Likewise.
56640 * iconvdata/ibm1046.h: Likewise.
56641 * iconvdata/ibm1097.h: Likewise.
56642 * iconvdata/ibm1112.h: Likewise.
56643 * iconvdata/ibm1122.h: Likewise.
56644 * iconvdata/ibm1123.h: Likewise.
56645 * iconvdata/ibm1124.h: Likewise.
56646 * iconvdata/ibm1129.h: Likewise.
56647 * iconvdata/ibm1130.h: Likewise.
56648 * iconvdata/ibm1132.h: Likewise.
56649 * iconvdata/ibm1133.h: Likewise.
56650 * iconvdata/ibm1137.h: Likewise.
56651 * iconvdata/ibm1140.h: Likewise.
56652 * iconvdata/ibm1141.h: Likewise.
56653 * iconvdata/ibm1142.h: Likewise.
56654 * iconvdata/ibm1143.h: Likewise.
56655 * iconvdata/ibm1144.h: Likewise.
56656 * iconvdata/ibm1145.h: Likewise.
56657 * iconvdata/ibm1146.h: Likewise.
56658 * iconvdata/ibm1147.h: Likewise.
56659 * iconvdata/ibm1148.h: Likewise.
56660 * iconvdata/ibm1149.h: Likewise.
56661 * iconvdata/ibm1153.h: Likewise.
56662 * iconvdata/ibm1154.h: Likewise.
56663 * iconvdata/ibm1155.h: Likewise.
56664 * iconvdata/ibm1156.h: Likewise.
56665 * iconvdata/ibm1157.h: Likewise.
56666 * iconvdata/ibm1158.h: Likewise.
56667 * iconvdata/ibm1160.h: Likewise.
56668 * iconvdata/ibm1161.h: Likewise.
56669 * iconvdata/ibm1162.h: Likewise.
56670 * iconvdata/ibm1163.h: Likewise.
56671 * iconvdata/ibm1164.h: Likewise.
56672 * iconvdata/ibm1166.h: Likewise.
56673 * iconvdata/ibm1167.h: Likewise.
56674 * iconvdata/ibm12712.h: Likewise.
56675 * iconvdata/ibm1390.h: Likewise.
56676 * iconvdata/ibm1399.h: Likewise.
56677 * iconvdata/ibm16804.h: Likewise.
56678 * iconvdata/ibm4517.h: Likewise.
56679 * iconvdata/ibm4899.h: Likewise.
56680 * iconvdata/ibm4909.h: Likewise.
56681 * iconvdata/ibm4971.h: Likewise.
56682 * iconvdata/ibm5347.h: Likewise.
56683 * iconvdata/ibm803.h: Likewise.
56684 * iconvdata/ibm856.h: Likewise.
56685 * iconvdata/ibm901.h: Likewise.
56686 * iconvdata/ibm902.h: Likewise.
56687 * iconvdata/ibm9030.h: Likewise.
56688 * iconvdata/ibm9066.h: Likewise.
56689 * iconvdata/ibm921.h: Likewise.
56690 * iconvdata/ibm922.h: Likewise.
56691 * iconvdata/ibm9448.h: Likewise.
56692 * iconvdata/isiri-3342.h: Likewise.
56693 * iconvdata/jis0201.h: Likewise.
56694 * include/link.h: Likewise.
56695 * include/netdb.h: Likewise.
56696 * inet/check_native.c: Likewise.
56697 * inet/check_pf.c: Likewise.
56698 * inet/getipv4sourcefilter.c: Likewise.
56699 * inet/getnameinfo.c: Likewise.
56700 * inet/getsourcefilter.c: Likewise.
56701 * inet/htonl.c: Likewise.
56702 * inet/setipv4sourcefilter.c: Likewise.
56703 * inet/setsourcefilter.c: Likewise.
56704 * inet/test-inet6_opt.c: Likewise.
56705 * inet/tst-network.c: Likewise.
56706 * locale/C-collate.c: Likewise.
56707 * locale/C-ctype.c: Likewise.
56708 * locale/C-time.c: Likewise.
56709 * locale/C-translit.h: Likewise.
56710 * locale/loadarchive.c: Likewise.
56711 * locale/programs/3level.h: Likewise.
56712 * locale/programs/charmap.c: Likewise.
56713 * locale/programs/charmap.h: Likewise.
56714 * locale/programs/ld-address.c: Likewise.
56715 * locale/programs/ld-collate.c: Likewise.
56716 * locale/programs/ld-ctype.c: Likewise.
56717 * locale/programs/ld-identification.c: Likewise.
56718 * locale/programs/ld-measurement.c: Likewise.
56719 * locale/programs/ld-messages.c: Likewise.
56720 * locale/programs/ld-monetary.c: Likewise.
56721 * locale/programs/ld-name.c: Likewise.
56722 * locale/programs/ld-numeric.c: Likewise.
56723 * locale/programs/ld-paper.c: Likewise.
56724 * locale/programs/ld-telephone.c: Likewise.
56725 * locale/programs/ld-time.c: Likewise.
56726 * locale/programs/linereader.c: Likewise.
56727 * locale/programs/locale.c: Likewise.
56728 * locale/programs/locarchive.c: Likewise.
56729 * locale/programs/locfile.h: Likewise.
56730 * locale/programs/repertoire.c: Likewise.
56731 * locale/programs/simple-hash.c: Likewise.
56732 * locale/programs/simple-hash.h: Likewise.
56733 * malloc/memusage.c: Likewise.
56734 * malloc/memusagestat.c: Likewise.
56735 * nis/nis_defaults.c: Likewise.
56736 * nis/nis_hash.c: Likewise.
56737 * nis/nis_print.c: Likewise.
56738 * nis/nis_xdr.c: Likewise.
56739 * nscd/connections.c: Likewise.
56740 * nscd/hstcache.c: Likewise.
56741 * nscd/nscd_gethst_r.c: Likewise.
56742 * nscd/nscd_getserv_r.c: Likewise.
56743 * nscd/nscd_helper.c: Likewise.
56744 * nscd/servicescache.c: Likewise.
56745 * nss/makedb.c: Likewise.
56746 * nss/nss_db/db-XXX.c: Likewise.
56747 * nss/nss_db/db-initgroups.c: Likewise.
56748 * nss/nss_db/db-netgrp.c: Likewise.
56749 * nss/nss_files/files-network.c: Likewise.
56750 * nss/nss_files/files-parse.c: Likewise.
56751 * posix/bug-regex5.c: Likewise.
56752 * posix/fnmatch_loop.c: Likewise.
56753 * posix/regcomp.c: Likewise.
56754 * posix/regexec.c: Likewise.
56755 * posix/tst-rfc3484-2.c: Likewise.
56756 * posix/tst-rfc3484-3.c: Likewise.
56757 * posix/tst-rfc3484.c: Likewise.
56758 * resolv/nss_dns/dns-canon.c: Likewise.
56759 * resolv/nss_dns/dns-network.c: Likewise.
56760 * resolv/res_init.c: Likewise.
56761 * resolv/res_mkquery.c: Likewise.
56762 * resolv/tst-aton.c: Likewise.
56763 * stdlib/cxa_atexit.c: Likewise.
56764 * stdlib/cxa_finalize.c: Likewise.
56765 * stdlib/gen-fpioconst.c: Likewise.
56766 * stdlib/strtol_l.c: Likewise.
56767 * string/tst-endian.c: Likewise.
56768 * sunrpc/auth_des.c: Likewise.
56769 * sunrpc/clnt_udp.c: Likewise.
56770 * sunrpc/rtime.c: Likewise.
56771 * sunrpc/svcauth_des.c: Likewise.
56772 * sunrpc/xdr.c: Likewise.
56773 * sunrpc/xdr_intXX_t.c: Likewise.
56774 * sunrpc/xdr_rec.c: Likewise.
56775 * sysdeps/generic/ldconfig.h: Likewise.
56776 * sysdeps/generic/ldsodefs.h: Likewise.
56777 * sysdeps/generic/memusage.h: Likewise.
56778 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56779 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
56780 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
56781 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56782 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56783 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56784 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56785 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56786 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56787 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56788 * sysdeps/posix/getaddrinfo.c: Likewise.
56789 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56790 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56791 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56792 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56793 * sysdeps/powerpc/test-gettimebase.c: Likewise.
56794 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
56795 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
56796 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
56797 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
56798 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
56799 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56800 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56801 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
56802 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
56803 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
56804 * sysdeps/x86_64/dl-tls.h: Likewise.
56805 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
56806 * time/alt_digit.c: Likewise.
56807 * time/era.c: Likewise.
56808 * wcsmbs/tst-c16c32-1.c: Likewise.
56809
56810 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56811
56812 * math/libm-test.inc (struct test_sincos_data): New type.
56813 (RUN_TEST_LOOP_sincos): New macro.
56814 (sincos_test_data): New variable.
56815 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
56816
56817 2013-05-16 Richard Henderson <rth@redhat.com>
56818
56819 * math/atest-exp2.c (LIMB64): New macro.
56820 (CONSTSZ): New macro.
56821 (mp_exp1, mp_exp_m1, mp_log2): New variables.
56822 (hexdig): Move ...
56823 (print_mpn_fp): ... to function scope.
56824 (read_mpn_hex): Remove.
56825 (get_log2): Remove.
56826 (exp2_mpn): Use mp_log2.
56827 (main): Use mp_exp1.
56828
56829 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56830
56831 * math/libm-test.inc: Remove comment about not testing "inexact"
56832 exceptions.
56833 (INEXACT_EXCEPTION): New macro.
56834 (NO_INEXACT_EXCEPTION): Likewise.
56835 (INVALID_EXCEPTION_OK): Update value.
56836 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56837 (OVERFLOW_EXCEPTION_OK): Likewise.
56838 (UNDERFLOW_EXCEPTION_OK): Likewise.
56839 (IGNORE_ZERO_INF_SIGN): Likewise.
56840 (ERRNO_UNCHANGED): Likewise.
56841 (ERRNO_EDOM): Likewise.
56842 (ERRNO_ERANGE): Likewise.
56843 (test_exceptions): Handle testing "inexact" exceptions.
56844 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
56845 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
56846 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
56847 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
56848 INEXACT_EXCEPTION.
56849 (rint_towardzero_test_data): Likewise.
56850 (rint_downward_test_data): Likewise.
56851 (rint_upward_test_data): Likewise.
56852
56853 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
56854 with OVERFLOW_EXCEPTION.
56855 (exp10_test_data): Likewise.
56856 (exp2_test_data): Likewise.
56857 (expm1_test_data): Likewise.
56858 (lgamma_test_data): Likewise.
56859 (pow_test_data): Likewise.
56860 (tgamma_test_data): Likewise.
56861 (yn_test_data): Remove duplicate test of overflow.
56862
56863 * math/libm-test.inc (struct test_cc_c_data): New type.
56864 (RUN_TEST_LOOP_cc_c): New macro.
56865 (cpow_test_data): New variable.
56866 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
56867
56868 * math/libm-test.inc (struct test_f_L_data): New type.
56869 (RUN_TEST_LOOP_f_L): New macro.
56870 (llrint_test_data): New variable.
56871 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56872 (llrint_tonearest_test_data): New variable.
56873 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
56874 (llrint_towardzero_test_data): New variable.
56875 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
56876 (llrint_downward_test_data): New variable.
56877 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
56878 (llrint_upward_test_data): New variable.
56879 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
56880 (llround_test_data): New variable.
56881 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56882
56883 2013-05-13 Peter Collingbourne <pcc@google.com>
56884
56885 * math/atest-exp2.c (get_log2): Remove const attribute.
56886
56887 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56888
56889 * math/libm-test.inc (struct test_f_l_data): New type.
56890 (RUN_TEST_LOOP_f_l): New macro.
56891 (lrint_test_data): New variable.
56892 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56893 (lrint_tonearest_test_data): New variable.
56894 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56895 (lrint_towardzero_test_data): New variable.
56896 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56897 (lrint_downward_test_data): New variable.
56898 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56899 (lrint_upward_test_data): New variable.
56900 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56901 (lround_test_data): New variable.
56902 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56903
56904 2013-05-15 Peter Collingbourne <pcc@google.com>
56905
56906 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56907 (EXTRACT_WORDS64) Use where appropriate.
56908 (INSERT_WORDS64) Likewise.
56909
56910 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56911 constraints with x constraints.
56912 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56913
56914 * malloc/obstack.c (_obstack_compat): Add initializer.
56915
56916 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
56917
56918 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56919 si_trapno and add si_addr_lsb to _sifields.sigfault.
56920 (si_trapno): Remove macro.
56921 (si_addr_lsb): Define new macro.
56922 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56923
56924 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56925
56926 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56927 instead of TEST_f_l.
56928 (llrint_test_tonearest): Likewise.
56929 (llrint_test_towardzero): Likewise.
56930 (llrint_test_downward): Likewise.
56931 (llrint_test_upward): Likewise.
56932 (llround_test): Likewise.
56933
56934 * math/libm-test.inc (struct test_f_i_data): Add comment.
56935 (RUN_TEST_LOOP_f_b): New macro.
56936 (RUN_TEST_LOOP_f_b_tg): Likewise.
56937 (finite_test_data): New variable.
56938 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56939 (isfinite_test_data): New variable.
56940 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56941 (isinf_test_data): New variable.
56942 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56943 (isnan_test_data): New variable.
56944 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56945 (isnormal_test_data): New variable.
56946 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56947 (issignaling_test_data): New variable.
56948 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56949 (signbit_test_data): New variable.
56950 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56951
56952 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56953 with INVALID_EXCEPTION.
56954 (acosh_test_data): Likewise.
56955 (asin_test_data): Likewise.
56956 (atanh_test_data): Likewise.
56957 (fmod_test_data): Likewise.
56958 (log_test_data): Likewise.
56959 (log10_test_data): Likewise.
56960 (log2_test_data): Likewise.
56961 (pow_test_data): Likewise.
56962 (sqrt_test_data): Likewise.
56963 (y0_test_data): Likewise.
56964 (y1_test_data): Likewise.
56965 (yn_test_data): Likewise.
56966
56967 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56968 function contents.
56969
56970 * math/libm-test.inc (struct test_ff_i_data): New type.
56971 (RUN_TEST_LOOP_ff_i_tg): New macro.
56972 (isgreater_test_data): New variable.
56973 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56974 (isgreaterequal_test_data): New variable.
56975 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56976 (isless_test_data): New variable.
56977 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56978 (islessequal_test_data): New variable.
56979 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56980 (islessgreater_test_data): New variable.
56981 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56982 (isunordered_test_data): New variable.
56983 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56984
56985 2013-05-14 David S. Miller <davem@davemloft.net>
56986
56987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56988
56989 2013-05-14 Joseph Myers <joseph@codesourcery.com>
56990
56991 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56992
56993 * math/libm-test.inc (struct test_fF_f1_data): Change type of
56994 extra_test to int.
56995 (struct test_f_i_data): Change type of max_ulp to int.
56996
56997 * math/libm-test.inc (test_ffI_f1_data): New type.
56998 (RUN_TEST_LOOP_ffI_f1): New macro.
56999 (remquo_test_data): New variable.
57000 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
57001
57002 * setjmp/tst-setjmp-fp.c: New file.
57003 * setjmp/Makefile (tests): Add tst-setjmp-fp.
57004 (link-libm): New variable.
57005 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
57006
57007 * math/libm-test.inc (struct test_f_i_data): New type.
57008 (RUN_TEST_LOOP_f_i): New macro.
57009 (RUN_TEST_LOOP_f_i_tg): Likewise.
57010 (fpclassify_test_data): New variable.
57011 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
57012 (ilogb_test_data): New variable.
57013 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
57014
57015 * math/libm-test.inc (scalbln_test): Correct function name in END
57016 call.
57017
57018 * math/libm-test.inc (struct test_f_f1_data): Add comment.
57019 (RUN_TEST_LOOP_fI_f1): New macro.
57020 (frexp_test_data): New variable.
57021 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
57022
57023 * math/libm-test.inc (struct test_fF_f1_data): New type.
57024 (RUN_TEST_LOOP_fF_f1): New macro.
57025 (modf_test_data): New variable.
57026 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
57027
57028 * math/libm-test.inc (struct test_f_f1_data): New type.
57029 (RUN_TEST_LOOP_f_f1): New macro.
57030 (gamma_test_data): New variable.
57031 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
57032 (lgamma_test_data): New variable.
57033 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
57034
57035 2013-05-13 Carlos O'Donell <carlos@redhat.com>
57036
57037 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
57038 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
57039 (main): Comment "tls" pseudo-hwcap.
57040
57041 2013-05-13 Joseph Myers <joseph@codesourcery.com>
57042
57043 * math/libm-test.inc (struct test_fl_f_data): New type.
57044 (RUN_TEST_LOOP_fl_f): New variable.
57045 (scalbln_test_data): New variable.
57046 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
57047
57048 * math/libm-test.inc (struct test_fi_f_data): New type.
57049 (RUN_TEST_LOOP_fi_f): New macro.
57050 (ldexp_test_data): New variable.
57051 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
57052 (scalbn_test_data): New variable.
57053 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
57054
57055 * math/libm-test.inc (struct test_c_f_data): New type.
57056 (RUN_TEST_LOOP_c_f): New macro.
57057 (cabs_test_data): New variable.
57058 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
57059 (carg_test_data): New variable.
57060 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
57061 (cimag_test_data): New variable.
57062 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
57063 (creal_test_data): New variable.
57064 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
57065
57066 * math/libm-test.inc (struct test_if_f_data): New type.
57067 (RUN_TEST_LOOP_if_f): New macro.
57068 (jn_test_data): New variable.
57069 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
57070 (yn_test_data): New variable.
57071 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
57072
57073 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
57074
57075 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57076
57077 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
57078 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
57079
57080 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
57081
57082 * benchtests/Makefile (CPPFLAGS-nonlib): Add
57083 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
57084 (bench-deps): Add bench-timing.h.
57085 * benchtests-bench-skeleton.c: Include bench-timing.h.
57086 (main): Use TIMING_* macros instead of clock_gettime.
57087 * benchtests/bench-timing.h: New file.
57088
57089 [BZ #14582]
57090 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
57091 Renamed from _LIB_VERSION.
57092 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
57093
57094 2013-05-12 Joseph Myers <joseph@codesourcery.com>
57095
57096 * math/libm-test.inc (struct test_fff_f_data): New type.
57097 (RUN_TEST_LOOP_fff_f): New macro.
57098 (fma_test_data): New variable.
57099 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
57100 (fma_towardzero_test_data): New variable.
57101 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
57102 (fma_downward_test_data): New variable.
57103 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
57104 (fma_upward_test_data): New variable.
57105 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
57106
57107 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
57108 (struct test_c_c_data): New type.
57109 (RUN_TEST_LOOP_c_c): New macro.
57110 (cacos_test_data): New variable.
57111 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
57112 (cacosh_test_data): New variable.
57113 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
57114 (casin_test_data): New variable.
57115 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
57116 (casinh_test_data): New variable.
57117 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
57118 (catan_test_data): New variable.
57119 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
57120 (catanh_test_data): New variable.
57121 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
57122 (ccos_test_data): New variable.
57123 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
57124 (ccosh_test_data): New variable.
57125 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
57126 (cexp_test_data): New variable.
57127 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
57128 (clog_test_data): New variable.
57129 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
57130 (clog10_test_data): New variable.
57131 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
57132 (conj_test_data): New variable.
57133 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
57134 (cproj_test_data): New variable.
57135 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
57136 (csin_test_data): New variable.
57137 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
57138 (csinh_test_data): New variable.
57139 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
57140 (csqrt_test_data): New variable.
57141 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
57142 (ctan_test_data): New variable.
57143 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
57144 (ctan_tonearest_test_data): New variable.
57145 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57146 (ctan_towardzero_test_data): New variable.
57147 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57148 (ctan_downward_test_data): New variable.
57149 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57150 (ctan_upward_test_data): New variable.
57151 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57152 (ctanh_test_data): New variable.
57153 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
57154 (ctanh_tonearest_test_data): New variable.
57155 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57156 (ctanh_towardzero_test_data): New variable.
57157 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57158 (ctanh_downward_test_data): New variable.
57159 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57160 (ctanh_upward_test_data): New variable.
57161 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57162 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
57163 of BUILD_COMPLEX.
57164
57165 * math/libm-test.inc (struct test_ff_f_data): New type.
57166 (struct test_ff_f_data_nexttoward): Likewise.
57167 (RUN_TEST_LOOP_2_f): New macro.
57168 (RUN_TEST_LOOP_ff_f): Likewise.
57169 (atan2_test_data): New variable.
57170 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
57171 (copysign_test_data): New variable.
57172 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
57173 (fdim_test_data): New variable.
57174 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
57175 (fmax_test_data): New variable.
57176 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
57177 (fmin_test_data): New variable.
57178 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
57179 (fmod_test_data): New variable.
57180 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
57181 (hypot_test_data): New variable.
57182 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
57183 (nextafter_test_data): New variable.
57184 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
57185 (nexttoward_test_data): New variable.
57186 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
57187 (pow_test_data): New variable.
57188 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
57189 (pow_tonearest_test_data): New variable.
57190 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
57191 (pow_towardzero_test_data): New variable.
57192 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
57193 (pow_downward_test_data): New variable.
57194 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
57195 (pow_upward_test_data): New variable.
57196 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
57197 (remainder_test_data): New variable.
57198 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
57199 (scalb_test_data): New variable.
57200 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
57201 * sysdeps/i386/fpu/libm-test-ulps: Update.
57202
57203 2013-05-11 Joseph Myers <joseph@codesourcery.com>
57204
57205 * math/libm-test.inc (fma_test): Use max_value instead of local
57206 variable fltmax.
57207 (nextafter_test): Likewise.
57208
57209 * math/libm-test.inc (acos_towardzero_test_data): New variable.
57210 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57211 (acos_downward_test_data): New variable.
57212 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57213 (acos_upward_test_data): New variable.
57214 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57215 (acosh_test_data): New variable.
57216 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
57217 (asin_test_data): New variable.
57218 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
57219 (asin_tonearest_test_data): New variable.
57220 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57221 (asin_towardzero_test_data): New variable.
57222 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57223 (asin_downward_test_data): New variable.
57224 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57225 (asin_upward_test_data): New variable.
57226 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57227 (asinh_test_data): New variable.
57228 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
57229 (atan_test_data): New variable.
57230 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
57231 (atanh_test_data): New variable.
57232 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
57233 (cbrt_test_data): New variable.
57234 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
57235 (ceil_test_data): New variable.
57236 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
57237 (cos_test_data): New variable.
57238 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
57239 (cos_tonearest_test_data): New variable.
57240 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57241 (cos_towardzero_test_data): New variable.
57242 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57243 (cos_downward_test_data): New variable.
57244 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57245 (cos_upward_test_data): New variable.
57246 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57247 (cosh_test_data): New variable.
57248 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
57249 (cosh_tonearest_test_data): New variable.
57250 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57251 (cosh_towardzero_test_data): New variable.
57252 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57253 (cosh_downward_test_data): New variable.
57254 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57255 (cosh_upward_test_data): New variable.
57256 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57257 (erf_test_data): New variable.
57258 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
57259 (erfc_test_data): New variable.
57260 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
57261 (exp_test_data): New variable.
57262 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
57263 (exp_tonearest_test_data): New variable.
57264 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57265 (exp_towardzero_test_data): New variable.
57266 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57267 (exp_downward_test_data): New variable.
57268 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57269 (exp_upward_test_data): New variable.
57270 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57271 (exp10_test_data): New variable.
57272 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
57273 (exp2_test_data): New variable.
57274 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
57275 (expm1_test_data): New variable.
57276 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
57277 (fabs_test_data): New variable.
57278 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
57279 (floor_test_data): New variable.
57280 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
57281 (j0_test_data): New variable.
57282 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
57283 (j1_test_data): New variable.
57284 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
57285 (log_test_data): New variable.
57286 (log_test): Run tests with RUN_TEST_LOOP_f_f.
57287 (log10_test_data): New variable.
57288 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
57289 (log1p_test_data): New variable.
57290 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
57291 (log2_test_data): New variable.
57292 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
57293 (logb_test_data): New variable.
57294 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
57295 (logb_downward_test_data): New variable.
57296 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57297 (nearbyint_test_data): New variable.
57298 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
57299 (rint_test_data): New variable.
57300 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
57301 (rint_tonearest_test_data): New variable.
57302 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57303 (rint_towardzero_test_data): New variable.
57304 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57305 (rint_downward_test_data): New variable.
57306 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57307 (rint_upward_test_data): New variable.
57308 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57309 (round_test_data): New variable.
57310 (round_test): Run tests with RUN_TEST_LOOP_f_f.
57311 (sin_test_data): New variable.
57312 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
57313 (sin_tonearest_test_data): New variable.
57314 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57315 (sin_towardzero_test_data): New variable.
57316 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57317 (sin_downward_test_data): New variable.
57318 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57319 (sin_upward_test_data): New variable.
57320 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57321 (sinh_test_data): New variable.
57322 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
57323 (sinh_tonearest_test_data): New variable.
57324 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57325 (sinh_towardzero_test_data): New variable.
57326 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57327 (sinh_downward_test_data): New variable.
57328 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57329 (sinh_upward_test_data): New variable.
57330 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57331 (sqrt_test_data): New variable.
57332 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
57333 (tan_test_data): New variable.
57334 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
57335 (tan_tonearest_test_data): New variable.
57336 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57337 (tan_towardzero_test_data): New variable.
57338 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57339 (tan_downward_test_data): New variable.
57340 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57341 (tan_upward_test_data): New variable.
57342 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57343 (tanh_test_data): New variable.
57344 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
57345 (tgamma_test_data): New variable.
57346 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
57347 (trunc_test_data): New variable.
57348 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
57349 (y0_test_data): New variable.
57350 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
57351 (y1_test_data): New variable.
57352 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
57353 (significand_test_data): New variable.
57354 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
57355
57356 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
57357
57358 [BZ #12387]
57359 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
57360
57361 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
57362
57363 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
57364
57365 2013-05-10 Andreas Jaeger <aj@suse.de>
57366
57367 [BZ #15448]
57368 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
57369 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
57370
57371 2013-05-10 Joseph Myers <joseph@codesourcery.com>
57372
57373 * math/gen-libm-test.pl (adjust_arg): New function.
57374 (special_functions): Handle generating output in both functions
57375 and arrays.
57376 (parse_args): Likewise.
57377 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
57378 $in_func argument to parse_args.
57379 * math/libm-test.inc (struct test_f_f_data): New type.
57380 (IF_ROUND_INIT_): New macro.
57381 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
57382 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57383 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57384 (IF_ROUND_INIT_FE_UPWARD): Likewise.
57385 (ROUND_RESTORE_): Likewise.
57386 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
57387 (ROUND_RESTORE_FE_TONEAREST): Likewise.
57388 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
57389 (ROUND_RESTORE_FE_UPWARD): Likewise.
57390 (RUN_TEST_LOOP_f_f): New macro.
57391 (acos_test_data): New variable.
57392 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
57393 (acos_tonearest_test_data): New variable.
57394 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57395
57396 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57397
57398 * benchtests/bench-skeleton.c (startup): Fix coding style.
57399
57400 2013-05-10 Joseph Myers <joseph@codesourcery.com>
57401
57402 [BZ #6809]
57403 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
57404 negative infinity argument.
57405 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
57406 negative infinity argument.
57407 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
57408 negative infinity argument.
57409 * math/libm-test.inc (tgamma_test): Expect errno to be set for
57410 domain errors.
57411
57412 2013-05-10 Florian Weimer <fweimer@redhat.com>
57413
57414 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
57415 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
57416 * iconv/iconv_prog.c (main): Likewise.
57417 * locale/programs/charmap-dir.c (charmap_readdir)
57418 (fopen_uncompressed): Likewise.
57419 * locale/programs/locfile.c (siblings_uncached)
57420 (write_locale_data): Use lstat64 instead of lstat.
57421 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
57422 stat.
57423
57424 2013-05-10 Andreas Jaeger <aj@suse.de>
57425
57426 [BZ #15395]
57427 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
57428 localization.
57429 Include <locale.h>.
57430
57431 2013-05-09 Carlos O'Donell <carlos@redhat.com>
57432
57433 * elf/dl-close.c (_dl_close_worker): Add comments.
57434
57435 2013-05-09 Joseph Myers <joseph@codesourcery.com>
57436
57437 [BZ #15359]
57438 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
57439 high part of pi/2.
57440 (__ieee754_rem_pio2l): Update comments.
57441
57442 [BZ #15429]
57443 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
57444 high part of pi/2.
57445 (__ieee754_rem_pio2l): Update comments.
57446
57447 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
57448 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
57449
57450 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
57451 M_PI_4l.
57452
57453 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
57454 (M_PI_34_LOG10El): Likewise.
57455 (M_PI2_LOG10El): Likewise.
57456 (M_PI4_LOG10El): Likewise.
57457 (M_PI_LOG10El): Likewise.
57458
57459 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57460
57461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57462
57463 2013-05-08 Joseph Myers <joseph@codesourcery.com>
57464
57465 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
57466 (MINUS_ZERO_INIT): Likewise.
57467 (PLUS_INFTY_INIT): Likewise.
57468 (MINUS_INFTY_INIT): Likewise.
57469 (QNAN_VALUE_INIT): Likewise.
57470 (MAX_VALUE_INIT): Likewise.
57471 (MIN_VALUE_INIT): Likewise.
57472 (MIN_SUBNORM_VALUE_INIT): Likewise.
57473 (plus_zero): Initialize with PLUS_ZERO_INIT.
57474 (minus_zero): Initialize with MINUS_ZERO_INIT.
57475 (plus_infty): Initialize with PLUS_INFTY_INIT.
57476 (minus_infty): Initialize with MINUS_INFTY_INIT.
57477 (qnan_value): Initialize with QNAN_VALUE_INIT.
57478 (max_value): Initialize with MAX_VALUE_INIT.
57479 (min_value): Initialize with MIN_VALUE_INIT.
57480 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
57481
57482 * math/libm-test.inc (RUN_TEST_if_f): New macro.
57483 (jn_test): Use TEST_if_f instead of TEST_ff_f.
57484 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
57485 (yn_test): Use TEST_if_f instead of TEST_ff_f.
57486
57487 * math/libm-test.inc (RUN_TEST_f_f): New macro.
57488 (RUN_TEST_2_f): Likewise.
57489 (RUN_TEST_ff_f): Likewise.
57490 (RUN_TEST_fi_f): Likewise.
57491 (RUN_TEST_fl_f): Likewise.
57492 (RUN_TEST_fff_f): Likewise.
57493 (RUN_TEST_c_f): Likewise.
57494 (RUN_TEST_f_f1): Likewise.
57495 (RUN_TEST_fF_f1): Likewise.
57496 (RUN_TEST_fI_f1): Likewise.
57497 (RUN_TEST_ffI_f1): Likewise.
57498 (RUN_TEST_c_c): Likewise.
57499 (RUN_TEST_cc_c): Likewise.
57500 (RUN_TEST_f_i): Likewise.
57501 (RUN_TEST_f_i_tg): Likewise.
57502 (RUN_TEST_ff_i_tg): Likewise.
57503 (RUN_TEST_f_b): Likewise.
57504 (RUN_TEST_f_b_tg): Likewise.
57505 (RUN_TEST_f_l): Likewise.
57506 (RUN_TEST_f_L): Likewise.
57507 (RUN_TEST_sincos): Likewise.
57508 * math/gen-libm-test.pl (new_test): Take new argument to indicate
57509 whether to show exceptions. Do not include ");\n" in return
57510 value.
57511 (special_functions): Output call to RUN_TEST_sincos instead of
57512 check_float calls. Update calls to new_test.
57513 (parse_args): Output call to single RUN_TEST_* macro instead of
57514 check_* calls and other assignments. Update calls to new_test.
57515
57516 [BZ #2546]
57517 [BZ #2560]
57518 [BZ #5159]
57519 [BZ #15426]
57520 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
57521 input to result for tgamma overflow.
57522 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
57523 (gamma_coeff): New variable.
57524 (NCOEFF): New macro.
57525 (gamma_positive): New function.
57526 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
57527 underflow here. Use gamma_positive instead of exp (lgamma) for
57528 other arguments.
57529 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
57530 (gamma_coeff): New variable.
57531 (NCOEFF): New macro.
57532 (gammaf_positive): New function.
57533 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
57534 underflow here. Use gamma_positive instead of exp (lgamma) for
57535 other arguments.
57536 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
57537 (gamma_coeff): New variable.
57538 (NCOEFF): New macro.
57539 (gammal_positive): New function.
57540 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
57541 underflow here. Use gamma_positive instead of exp (lgamma) for
57542 other arguments.
57543 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
57544 (gamma_coeff): New variable.
57545 (NCOEFF): New macro.
57546 (gammal_positive): New function.
57547 (__ieee754_gammal_r): Handle positive infinity, overflow and
57548 underflow here. Handle NaN the same as positive infinity. Remove
57549 check x < 0xffffffff for negative integers. Use gamma_positive
57550 instead of exp (lgamma) for other arguments.
57551 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
57552 (gamma_coeff): New variable.
57553 (NCOEFF): New macro.
57554 (gammal_positive): New function.
57555 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
57556 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
57557 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
57558 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
57559 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
57560 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
57561 * sysdeps/generic/math_private.h (__gamma_productf): New
57562 prototype.
57563 (__gamma_product): Likewise.
57564 (__gamma_productl): Likewise.
57565 * math/Makefile (libm-calls): Add gamma_product.
57566 * math/libm-test.inc (tgamma_test): Add more tests.
57567 * sysdeps/i386/fpu/libm-test-ulps: Update.
57568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57569
57570 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
57571
57572 * benchtests/bench-skeleton.c (main): Preheat CPU.
57573
57574 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
57575
57576 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
57577
57578 2013-05-07 Roland McGrath <roland@hack.frob.com>
57579
57580 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
57581 and _dl_skip_args_internal.
57582
57583 2013-05-07 Carlos O'Donell <carlos@redhat.com>
57584
57585 * manual/message.texi (Message Translation): Talk about users.
57586 Message to key mapping impacts design.
57587
57588 2013-05-06 Roland McGrath <roland@hack.frob.com>
57589
57590 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
57591
57592 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
57593
57594 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
57595 * sysdeps/wordsize-64/glob64.c: ... here.
57596
57597 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
57598 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
57599 New macros.
57600
57601 * debug/getlogin_r_chk.c: Moved to ...
57602 * login/getlogin_r_chk.c: ... here.
57603 * debug/Makefile (routines): Move getlogin_r_chk to ...
57604 * login/Makefile (routines): ... here.
57605 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
57606 * login/Versions (libc: GLIBC_2.4): ... here.
57607
57608 * io/poll.c (__poll): Renamed from poll.
57609 Add libc_hidden_def.
57610 (poll): Define as weak alias.
57611
57612 * debug/ptsname_r_chk.c: Moved to ...
57613 * login/ptsname_r_chk.c: ... here.
57614 * debug/Makefile (routines): Move ptsname_r_chk to ...
57615 * login/Makefile (routines): ... here.
57616 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
57617 * login/Versions (libc: GLIBC_2.4): ... here.
57618
57619 * posix/getlogin.c: Moved to ...
57620 * login/getlogin.c: ... here.
57621 * posix/getlogin_r.c: Moved to ...
57622 * login/getlogin_r.c: ... here.
57623 * posix/getlogin_r.c: Moved to ...
57624 * login/getlogin_r.c: ... here.
57625 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
57626 * login/Makefile (routines): ... here.
57627 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
57628 * login/Versions (libc: GLIBC_2.0): ... here.
57629
57630 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
57631 (setrlimit): Define as weak alias.
57632
57633 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
57634 Call __ names for open, ftruncate, and close.
57635 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
57636 (truncate): Define as weak alias.
57637
57638 2013-05-06 Joseph Myers <joseph@codesourcery.com>
57639
57640 * math/gen-libm-test.pl (parse_args): Initialize x before each
57641 test of frexp, modf and remquo.
57642
57643 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
57644 test signgam value.
57645
57646 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57647
57648 [BZ #15418]
57649 [BZ #15419]
57650 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
57651 internal tests.
57652 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57653
57654 2013-05-06 Roland McGrath <roland@hack.frob.com>
57655
57656 * elf/dl-writev.h: New file.
57657 * elf/dl-misc.c: Include it.
57658 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
57659 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
57660
57661 2013-05-04 Joseph Myers <joseph@codesourcery.com>
57662
57663 * math/libm-test.inc (noXFails): Remove variable.
57664 (noXPasses): Likewise.
57665 (BUILD_COMPLEX_INT): Remove macro.
57666 (print_screen): Remove xfail argument.
57667 (print_screen_max_error): Likewise.
57668 (update_stats): Likewise.
57669 (print_max_error): Likewise. Update calls to other affected
57670 functions.
57671 (print_complex_max_error): Likewise.
57672 (test_single_exception): Update calls to print_screen.
57673 (test_single_errno): Likewise.
57674 (check_float_internal): Remove xfail argument. Update calls to
57675 other affected functions.
57676 (check_float): Likewise.
57677 (check_complex): Likewise.
57678 (check_int): Likewise.
57679 (check_long): Likewise.
57680 (check_bool): Likewise.
57681 (check_longlong): Likewise.
57682 (main): Don't print noXFails and noXPasses.
57683 * math/gen-libm-test.pl (top level): Don't mention expected
57684 failure handling in comment.
57685 (new_test): Don't handle expected failures.
57686 (parse_args): Don't mention expected failure handling in comment.
57687 (generate_testfile): Don't handle expected failures.
57688 (parse_ulps): Likewise.
57689 (print_ulps_file): Likewise.
57690 (get_failure): Remove function.
57691 (output_test): Don't handle expected failures.
57692 * make/README.libm-test: Don't mention expected failure handling.
57693
57694 * math/libm-test.inc (plus_zero): Make const. Add initializer.
57695 (minus_zero): Likewise.
57696 (plus_infty): Likewise.
57697 (minus_infty): Likewise.
57698 (qnan_value): Likewise.
57699 (max_value): Likewise.
57700 (min_value): Likewise.
57701 (min_subnorm_value): Likewise.
57702 (initialize): Do not initialize those variables dynamically.
57703
57704 2013-05-03 Roland McGrath <roland@hack.frob.com>
57705
57706 * io/open.c (__open_2): Moved to ...
57707 * io/open_2.c: ... this new file.
57708 * io/open64.c (__open64_2): Moved to ...
57709 * io/open64_2.c: ... this new file.
57710 * io/openat.c (__openat_2): Moved to ...
57711 * io/openat_2.c: ... this new file.
57712 * io/openat64.c (__openat64_2): Moved to ...
57713 * io/openat64_2.c: ... this new file.
57714 * io/Makefile (routines): Add them.
57715 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
57716 * sysdeps/unix/sysv/linux/open_2.c: File removed.
57717 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
57718 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
57719 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
57720 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
57721 (__openat64): Add hidden_ver.
57722 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
57723 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
57724
57725 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
57726 Separately conditionalize setting of GLRO(dl_sysinfo) so
57727 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
57728 as well, but the actual setting is only under [NEED_DL_SYSINFO].
57729
57730 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57731
57732 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
57733 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
57734 definition.
57735 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
57736 * sysdeps/unix/sysv/linux/powerpc/init-first.c
57737 (_libc_vdso_platform_setup): Add __vdso_time initialization.
57738 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
57739 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
57740
57741 2013-05-03 Joseph Myers <joseph@codesourcery.com>
57742
57743 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
57744 test signgam value.
57745
57746 * math/libm-test.inc (hypot_test): Do not use
57747 IGNORE_ZERO_INF_SIGN.
57748
57749 2013-05-03 Andreas Jaeger <aj@suse.de>
57750
57751 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
57752 Linux 3.9.
57753 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
57754 (PF_MAX): Adjust for VSOCK change.
57755
57756 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57757
57758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57759
57760 2013-05-02 Carlos O'Donell <carlos@redhat.com>
57761
57762 [BZ #15264]
57763 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
57764 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
57765 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
57766
57767 2013-05-02 David S. Miller <davem@davemloft.net>
57768
57769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57770
57771 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
57772
57773 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
57774
57775 2013-05-01 Roland McGrath <roland@hack.frob.com>
57776
57777 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
57778
57779 2013-05-01 Richard Smith <richard@metafoo.co.uk>
57780
57781 [BZ #14952]
57782 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
57783 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57784 Use __attribute__ ((__gnu_inline__)).
57785 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57786 Don't use __attribute__ ((__gnu_inline__)).
57787
57788 2013-05-01 Joseph Myers <joseph@codesourcery.com>
57789
57790 [BZ #15423]
57791 * math/s_catan.c (__catan): Handle small real or imaginary part of
57792 input specially to avoid spurious underflow.
57793 * math/s_catanf.c (__catanf): Likewise.
57794 * math/s_catanh.c (__catanh): Likewise.
57795 * math/s_catanhf.c (__catanhf): Likewise.
57796 * math/s_catanhl.c (__catanhl): Likewise.
57797 * math/s_catanl.c (__catanl): Likewise.
57798 * math/libm-test.inc (catan_test): Add more tests.
57799 (catanh_test): Likewise.
57800 * sysdeps/i386/fpu/libm-test-ulps: Update.
57801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57802
57803 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57804
57805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57806
57807 2013-04-30 Joseph Myers <joseph@codesourcery.com>
57808
57809 [BZ #15416]
57810 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
57811 accurately for denominator in atan2.
57812 * math/s_catanf.c (__catanf): Likewise.
57813 * math/s_catanh.c (__catanh): Likewise.
57814 * math/s_catanhf.c (__catanhf): Likewise.
57815 * math/s_catanhl.c (__catanhl): Likewise.
57816 * math/s_catanl.c (__catanl): Likewise.
57817 * math/libm-test.inc (catan_test): Add more tests.
57818 (catanh_test): Likewise.
57819 * sysdeps/i386/fpu/libm-test-ulps: Update.
57820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57821
57822 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
57823
57824 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
57825
57826 * benchtests/Makefile (bench): Remove slow benchmarks.
57827 * benchtests/atan-inputs: Add slow benchmark inputs.
57828 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
57829 (BENCH_FUNC): Accept variant offset.
57830 (VARIANT): Define.
57831 * benchtests/bench-skeleton.c (main): Run benchmark for each
57832 variant.
57833 * benchtests/cos-inputs: Add slow benchmark inputs.
57834 * benchtests/exp-inputs: Likewise.
57835 * benchtests/pow-inputs: Likewise.
57836 * benchtests/sin-inputs: Likewise.
57837 * benchtests/slowatan-inputs: Remove.
57838 * benchtests/slowatan.c: Remove.
57839 * benchtests/slowcos-inputs: Remove.
57840 * benchtests/slowcos.c: Remove.
57841 * benchtests/slowexp-inputs: Remove.
57842 * benchtests/slowexp.c: Remove.
57843 * benchtests/slowpow-inputs: Remove.
57844 * benchtests/slowpow.c: Remove.
57845 * benchtests/slowsin-inputs: Remove.
57846 * benchtests/slowsin.c: Remove.
57847 * benchtests/slowtan-inputs: Remove.
57848 * benchtests/slowtan.c: Remove.
57849 * benchtests/tan-inputs: Add slow benchmark inputs.
57850 * scripts/bench.pl: Parse comments and directives.
57851
57852 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
57853 in CPPFLAGS.
57854 ($(objpfx)bench-%.c): Remove *-ITER.
57855 * benchtests/bench-modf.c: Remove definition of ITER.
57856 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
57857 (main): Loop for DURATION seconds instead of fixed number of
57858 iterations.
57859 * scripts/bench.pl: Don't expect iterations in parameters.
57860
57861 2013-04-29 Roland McGrath <roland@hack.frob.com>
57862
57863 * io/fchdir.c (__fchdir): Renamed from fchdir.
57864 (fchdir): Define as weak alias.
57865
57866 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57867
57868 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
57869 (ERRNO_EDOM): Likewise.
57870 (ERRNO_ERANGE): Likewise.
57871 (noErrnoTests): New variable.
57872 (init_max_error): Set errno to 0.
57873 (test_single_errno): New function.
57874 (test_errno): Likewise.
57875 (check_float_internal): Call test_errno. Set errno to 0.
57876 (check_complex): Refer to errno tests in comment.
57877 (check_int): Call test_errno. Set errno to 0.
57878 (check_long): Likewise.
57879 (check_bool): Likewise.
57880 (check_longlong): Likewise.
57881 (cos_test): Use ERRNO_* flags for errno tests instead of
57882 check_int.
57883 (expm1_test): Likewise.
57884 (fmod_test): Likewise.
57885 (ilogb_test): Likewise.
57886 (lgamma_test): Likewise.
57887 (pow_test): Likewise.
57888 (remainder_test): Likewise.
57889 (sin_test): Likewise.
57890 (tan_test): Likewise.
57891 (yn_test): Likewise.
57892 (initialize): Set errno to 0.
57893 (main): Print number of errno tests.
57894 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57895
57896 2013-04-29 Andreas Jaeger <aj@suse.de>
57897
57898 [BZ #15084]
57899 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57900 and RES_USEVC.
57901
57902 [BZ #15085]
57903 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57904 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57905 unimplemented.
57906
57907 [BZ #15380]
57908 * stdlib/random.c (__initstate): Return NULL if
57909 __initstate fails.
57910
57911 [BZ #15086]
57912 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57913 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57914 RES_SNGLKUPREOP.
57915
57916 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57917
57918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57919
57920 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57921
57922 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57923 of individual tests.
57924 (casin_test): Likewise.
57925 (casinh_test): Likewise.
57926
57927 2013-04-27 Joseph Myers <joseph@codesourcery.com>
57928
57929 [BZ #15409]
57930 * math/s_catan.c (__catan): Handle arguments with large real or
57931 imaginary part separately without squaring.
57932 * math/s_catanf.c (__catanf): Likewise.
57933 * math/s_catanh.c (__catanh): Likewise.
57934 * math/s_catanhf.c (__catanhf): Likewise.
57935 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57936 and redefine.
57937 (__catanhl): Handle arguments with large real or imaginary part
57938 separately without squaring.
57939 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57940 and redefine.
57941 (__catanl): Handle arguments with large real or imaginary part
57942 separately without squaring.
57943 * math/libm-test.inc (catan_test): Add more tests.
57944 (catanh_test): Likewise.
57945 * sysdeps/i386/fpu/libm-test-ulps: Update.
57946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57947
57948 2013-04-27 Andreas Jaeger <aj@suse.de>
57949
57950 [BZ #15007]
57951 * stdlib/stdlib.h: Update guards for qecvt.
57952 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57953 <stdlib.h>.
57954
57955 2013-04-27 Allan McRae <allan@archlinux.org>
57956
57957 * sysdeps/i386/fpu/libm-test-ulps: Update.
57958
57959 2013-04-26 Joseph Myers <joseph@codesourcery.com>
57960
57961 [BZ #15406]
57962 * math/s_catan.c: Include <float.h>.
57963 (__catan): Ensure underflow exception occurs for underflowed
57964 result.
57965 * math/s_catanf.c: Include <float.h>.
57966 (__catanf): Ensure underflow exception occurs for underflowed
57967 result.
57968 * math/s_catanh.c: Include <float.h>.
57969 (__catanh): Ensure underflow exception occurs for underflowed
57970 result.
57971 * math/s_catanhf.c: Include <float.h>.
57972 (__catanhf): Ensure underflow exception occurs for underflowed
57973 result.
57974 * math/s_catanhl.c: Include <float.h>.
57975 (__catanhl): Ensure underflow exception occurs for underflowed
57976 result.
57977 * math/s_catanl.c: Include <float.h>.
57978 (__catanl): Ensure underflow exception occurs for underflowed
57979 result.
57980 * math/libm-test.inc (catan_test): Add more tests.
57981 (catanh_test): Likewise.
57982
57983 [BZ #15405]
57984 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57985 underflowed result.
57986 * math/s_ccoshf.c (__ccoshf): Likewise.
57987 * math/s_ccoshl.c (__ccoshl): Likewise.
57988 * math/s_csin.c (__csin): Likewise.
57989 * math/s_csinf.c (__csinf): Likewise.
57990 * math/s_csinh.c (__csinh): Likewise.
57991 * math/s_csinhf.c (__csinhf): Likewise.
57992 * math/s_csinhl.c (__csinhl): Likewise.
57993 * math/s_csinl.c (__csinl): Likewise.
57994 * math/libm-test.inc (ccos_test): Add more tests.
57995 (ccosh_test): Likewise.
57996 (csin_test): Likewise.
57997 (csinh_test): Likewise.
57998
57999 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58000
58001 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
58002 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
58003 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
58004 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
58005 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
58006 powerpc/power5+/fpu folders.
58007 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
58008
58009
58010 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
58011
58012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58013
58014 2013-04-25 Joseph Myers <joseph@codesourcery.com>
58015
58016 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
58017 additions to variable.
58018 [$(config-machine) = x86_64] (modules-names): Likewise.
58019 ($(objpfx)tst-audit3): Remove dependency.
58020 ($(objpfx)tst-audit3.out): Likewise.
58021 ($(objpfx)tst-audit4): Likewise.
58022 ($(objpfx)tst-audit4.out): Likewise.
58023 ($(objpfx)tst-audit5): Likewise.
58024 ($(objpfx)tst-audit5.out): Likewise.
58025 ($(objpfx)tst-audit6): Likewise.
58026 ($(objpfx)tst-audit6.out): Likewise.
58027 ($(objpfx)tst-audit7): Likewise.
58028 ($(objpfx)tst-audit7.out): Likewise.
58029 (tst-audit3-ENV): Remove variable.
58030 (tst-audit4-ENV): Likewise.
58031 (tst-audit5-ENV): Likewise.
58032 (tst-audit6-ENV): Likewise.
58033 (tst-audit7-ENV): Likewise.
58034 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
58035 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
58036 addition to variable.
58037 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
58038 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
58039 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
58040 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
58041 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
58042 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
58043 tst-audit3, tst-audit4 and tst-audit5.
58044 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
58045 tst-audit6 and tst-audit7.
58046 [$(subdir) = elf] (modules-names): Add audit modules for those
58047 tests.
58048 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
58049 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
58050 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
58051 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
58052 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
58053 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
58054 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
58055 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
58056 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
58057 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
58058 [$(subdir) = elf] (tst-audit3-ENV): New variable.
58059 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
58060 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
58061 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
58062 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
58063 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
58064 Likewise.
58065 [$(subdir) = elf && $(config-cflags-avx) = yes]
58066 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
58067 [$(subdir) = elf && $(config-cflags-avx) = yes]
58068 (CFLAGS-tst-auditmod4a.c): Likewise.
58069 [$(subdir) = elf && $(config-cflags-avx) = yes]
58070 (CFLAGS-tst-auditmod4b.c): Likewise.
58071 [$(subdir) = elf && $(config-cflags-avx) = yes]
58072 (CFLAGS-tst-auditmod6b.c): Likewise.
58073 [$(subdir) = elf && $(config-cflags-avx) = yes]
58074 (CFLAGS-tst-auditmod6c.c): Likewise.
58075 [$(subdir) = elf && $(config-cflags-avx) = yes]
58076 (CFLAGS-tst-auditmod7b.c): Likewise.
58077 * elf/tst-audit3.c: Move to ...
58078 * sysdeps/x86_64/tst-audit3.c: ... here.
58079 * elf/tst-audit4.c: Move to ...
58080 * sysdeps/x86_64/tst-audit4.c: ... here.
58081 * elf/tst-audit5.c: Move to ...
58082 * sysdeps/x86_64/tst-audit5.c: ... here.
58083 * elf/tst-audit6.c: Move to ...
58084 * sysdeps/x86_64/tst-audit6.c: ... here.
58085 * elf/tst-audit7.c: Move to ...
58086 * sysdeps/x86_64/tst-audit7.c: ... here.
58087 * elf/tst-auditmod3a.c: Move to ...
58088 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
58089 * elf/tst-auditmod3b.c: Move to ...
58090 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
58091 * elf/tst-auditmod4a.c: Move to ...
58092 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
58093 * elf/tst-auditmod4b.c: Move to ...
58094 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
58095 * elf/tst-auditmod5a.c: Move to ...
58096 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
58097 * elf/tst-auditmod5b.c: Move to ...
58098 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
58099 * elf/tst-auditmod6a.c: Move to ...
58100 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
58101 * elf/tst-auditmod6b.c: Move to ...
58102 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
58103 * elf/tst-auditmod6c.c: Move to ...
58104 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
58105 * elf/tst-auditmod7a.c: Move to ...
58106 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
58107 * elf/tst-auditmod7b.c: Move to ...
58108 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
58109
58110 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
58111
58112 [BZ #15366]
58113 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
58114 define unconditionally.
58115 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
58116 define unconditionally.
58117 (INT8_C, INT16_C, etc.): Likewise.
58118
58119 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
58120
58121 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
58122 __ehdr_start with hidden visibility.
58123
58124 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
58125
58126 2013-04-24 Carlos O'Donell <carlos@redhat.com>
58127
58128 * math/libm-test.inc (cos_test): Use accurate hex constants.
58129 (sincost_test): Likewise.
58130
58131 2013-04-24 Joseph Myers <joseph@codesourcery.com>
58132
58133 * math/libm-test.inc (catan_test): Add more tests.
58134 (catanh_test): Likewise.
58135
58136 * math/s_catanf.c (__catanf): Use suffixed floating-point
58137 constants.
58138 * math/s_catanhf.c (__catanhf): Likewise.
58139 * math/s_catanhl.c (__catanhl): Likewise.
58140 * math/s_catanl.c (__catanl): Likewise.
58141
58142 [BZ #15394]
58143 * math/s_catan.c (__catan): Calculate imaginary part of result
58144 with log1p not log unless computing log of number close to 0.
58145 * math/s_catanf.c (__catanf): Likewise.
58146 * math/s_catanl.c (__catanl): Likewise.
58147 * math/s_catanh.c (__catanh): Calculate real part of result with
58148 log1p not log unless computing log of number close to 0.
58149 * math/s_catanhf.c (__catanhf): Likewise.
58150 * math/s_catanhl.c (__catanhl): Likewise.
58151 * math/libm-test.inc (catan_test): Add more tests.
58152 (catanh_test): Likewise.
58153 * sysdeps/i386/fpu/libm-test-ulps: Update.
58154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58155
58156 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
58157
58158 * benchtests/Makefile: Mention files in which fast and slow
58159 paths of math functions are implemented.
58160
58161 2013-04-23 Roland McGrath <roland@hack.frob.com>
58162
58163 * sysdeps/posix/timespec_get.c: New file.
58164
58165 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58166
58167 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
58168 POWER.
58169 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
58170 for POWER.
58171 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
58172 powerpc/power5/fpu folders.
58173 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
58174 * benchtests/Makefile: Add modf testcase.
58175 * benchtests/bench-modf.c: New file: Benchmark test for mo
58176
58177 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
58178
58179 [BZ #14888]
58180 * time/Makefile (tests): Add tst-strptime-whitespace.
58181 * time/strptime_l.c (get_number): Use ISSPACE.
58182 (__strptime_internal): Likewise.
58183 * time/tst-strptime-whitespace.c: New test case.
58184
58185 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
58186
58187 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
58188 member.
58189 (_nss_files_init): Set it here.
58190
58191 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
58192
58193 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
58194 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
58195 unsigned.
58196
58197 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
58198
58199 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
58200
58201 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
58202
58203 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
58204 size just once.
58205
58206 2013-04-21 David S. Miller <davem@davemloft.net>
58207
58208 * po/ru.po: Update Russion translation from translation project.
58209
58210 2013-04-17 Adam Conrad <adconrad@0c3.net>
58211
58212 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
58213 and setfsgid.
58214
58215 2013-04-17 Carlos O'Donell <carlos@redhat.com>
58216
58217 * configure.in: Remove i386 configure warning. Remove i386 case.
58218 * configure: Regenerate.
58219 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
58220 Add example to error message.
58221 * sysdeps/i386/configure: Regenerate.
58222
58223 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
58224
58225 * benchtests/Makefile (bench): Add cos, tan, slowcos and
58226 slowtan.
58227 * benchtests/cos-inputs: New file.
58228 * benchtests/slowcos-inputs: New file.
58229 * benchtests/slowcos.c: New file.
58230 * benchtests/slowtan-inputs: New file.
58231 * benchtests/slowtan.c: New file.
58232 * benchtests/tan-inputs: New file.
58233
58234 2013-04-16 Roland McGrath <roland@hack.frob.com>
58235
58236 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
58237 considered kosher.
58238
58239 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58240
58241 * benchtests/Makefile: Include cppflags-iterator.mk to add
58242 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
58243
58244 * Makefile.in (bench-clean): New target.
58245 * benchtests/Makefile (bench-clean): Likewise.
58246
58247 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
58248
58249 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
58250
58251 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
58252
58253 * stdio-common/tstdiomisc.c: Fix coding-style violation.
58254
58255 2013-04-15 Andreas Schwab <schwab@suse.de>
58256
58257 * nscd/grpcache.c (cache_addgr): Properly check for short write.
58258 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58259 * nscd/pwdcache.c (cache_addpw): Likewise.
58260 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
58261 more than recsize.
58262
58263 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58264
58265 * benchtests/Makefile (bench): Write all output to
58266 bench-out.tmp together.
58267
58268 2013-04-15 Andreas Schwab <schwab@suse.de>
58269
58270 * nscd/nscd.c (main): Don't fork again after closing files.
58271
58272 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58273
58274 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
58275
58276 * benchtests/Rules (bench-deps): Collect dependencies into a
58277 single variable. Add Makefile to dependencies.
58278 ($(objpfx)bench-%.c): Depend on bench-deps.
58279
58280 2013-04-12 Roland McGrath <roland@hack.frob.com>
58281 Xavier Roche <roche+kml2@exalead.com>
58282
58283 [BZ #15361]
58284 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
58285 just that it's a file descriptor.
58286 * manual/llio.texi (Synchronizing AIO Operations): Update description
58287 for EBADF error from aio_fsync.
58288
58289 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
58290
58291 * Rules (bench): Move target definition...
58292 * benchtests/Makefile: ... here.
58293
58294 2013-04-11 Carlos O'Donell <carlos@redhat.com>
58295
58296 * math/libm-test.inc (cos_test): Fix PI/2 test.
58297 (sincos_test): Likewise.
58298 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
58299 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
58300
58301 2013-04-11 Andreas Schwab <schwab@suse.de>
58302
58303 [BZ #13988]
58304 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
58305 accept exponent character only when digits were seen.
58306 * stdio-common/Makefile (tests): Add bug26.
58307 * stdio-common/bug26.c: New file.
58308
58309 [BZ #14293]
58310 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
58311 non-freeable.
58312
58313 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
58314
58315 * Makeconfig (rtld-prefix): Define built linker prefix.
58316 * Rules (run-bench): Use it.
58317 * math/Makefile (run-regen-ulps): Likewise.
58318
58319 * Rules (bench): Remove eval.
58320
58321 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
58322 Roland McGrath <roland@hack.frob.com>
58323 Ondrej Bilka <neleai@seznam.cz>
58324
58325 [BZ #15346]
58326 * time/getdate.c: Include ctype.h and alloca.h.
58327 (__getdate_r): Trim leading and trailing spaces of input.
58328 * time/tst-getdate.c (tests): Add tests with leading and
58329 trailing spaces.
58330
58331 2013-04-08 Roland McGrath <roland@hack.frob.com>
58332
58333 [BZ #14280]
58334 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
58335 when computing value.
58336
58337 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58338
58339 * math/README.libm-test (How can I generate "libm-test-ulps"?):
58340 Use testrun.sh to run libm tests.
58341
58342 [BZ #15309]
58343 * elf/dl-open.c (dl_open_worker): memset all of seen array.
58344
58345 2013-04-06 Marko Myllynen <myllynen@redhat.com>
58346
58347 [BZ #15264]
58348 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
58349
58350 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58351
58352 * Makefile.in (regen-ulps): New target.
58353 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
58354 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
58355 [ifneq (no,$(PERL)] (regen-ulps): New target.
58356 [ifeq (no,$(PERL)] (regen-ulps): New target.
58357 * math/libm-test.inc (ulps_file_name): Define.
58358 (output_dir): New variable.
58359 (options): Add "output-dir" option.
58360 (parse_opt): Handle 'o' case.
58361 (main): If output_dir is non-NULL use it as a prefix
58362 otherwise use "".
58363 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
58364
58365 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58366
58367 [BZ #10060, #10062]
58368 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
58369 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
58370 fail configure if __sync_val_compare_and_swap is not inlined.
58371 * sysdeps/i386/configure: Regenerate.
58372 * configure.in: Build for i686 when configured for i386.
58373 * configure: Regenerate.
58374 * README: Remove i386 reference.
58375
58376 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58377
58378 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
58379 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58380
58381 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
58382
58383 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
58384 (lmsnanval): New variables.
58385 (F): Add conversion tests.
58386 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
58387 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
58388
58389 * stdio-common/tstdiomisc.c (F): Properly collect individual
58390 tests' results.
58391
58392 [BZ #14686, #15336]
58393 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
58394 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
58395 Instead, use input NaN values or generate a qNaN by arithmetic
58396 operation. Also fix bugs to comply with the standard.
58397 * math/libm-test.inc (remainder_test): Add more tests.
58398
58399 [BZ #15335, #15342]
58400 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
58401 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
58402 input NaN values or generate a qNaN by arithmetic operation.
58403
58404 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
58405 unreachable code.
58406
58407 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
58408 definitions.
58409
58410 2013-04-03 Joseph Myers <joseph@codesourcery.com>
58411
58412 [BZ #14478]
58413 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
58414 underflowed result.
58415 * math/s_cexpf.c (__cexpf): Likewise.
58416 * math/s_cexpl.c (__cexpl): Likewise.
58417 * math/libm-test.inc (cexp_test): Add more tests.
58418
58419 2013-04-03 Andreas Schwab <schwab@suse.de>
58420
58421 [BZ #15330]
58422 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
58423 order arrays from heap if bigger than alloca cutoff.
58424
58425 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
58426
58427 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
58428 (SNAN_TESTS_double): Refer to GCC PR56831.
58429 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
58430 GCC PR56828.
58431
58432 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
58433
58434 * Rules (bench): Move bench.out after the run is complete.
58435
58436 * Rules (bench): Echo currently running benchmark.
58437
58438 * benchtests/Makefile (bench): Add atan and slowatan.
58439 * benchtests/atan-inputs: New file.
58440 * benchtests/slowatan-inputs: New file.
58441 * benchtests/slowatan.c: New file.
58442
58443 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
58444 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
58445 its value.
58446
58447 [BZ #15305]
58448 * sysdeps/unix/sysv/linux/kernel-features.h
58449 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
58450 __ASSUME_XFS_RESTRICTED_CHOWN.
58451 * sysdeps/unix/sysv/linux/pathconf.c
58452 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
58453 Save and restore errno.
58454
58455 2013-04-02 Joseph Myers <joseph@codesourcery.com>
58456
58457 [BZ #15327]
58458 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
58459 arguments using __kernel_casinh.
58460 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
58461 arguments using __kernel_casinhf.
58462 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
58463 arguments using __kernel_casinhl.
58464 * math/libm-test.inc (cacosh_test): Add more tests.
58465 * sysdeps/i386/fpu/libm-test-ulps: Update.
58466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58467
58468 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58469
58470 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
58471 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
58472
58473 * bench/Makefile (bench): Add sin and slowsin.
58474 * benchtests/sin-inputs: New file.
58475 * benchtests/slowsin-inputs: New file.
58476 * benchtests/slowsin.c: New file.
58477
58478 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
58479 (bench): Add slowexp and slowpow.
58480 (exp-ITER): Increase iterations.
58481 (pow-ITER): Likewise.
58482 * benchtests/exp-inputs: Change input.
58483 * benchtests/pow-inputs: Likewise.
58484 * benchtests/slowexp-inputs: New file.
58485 * benchtests/slowexp.c: New file.
58486 * benchtests/slowpow-inputs: New file.
58487 * benchtests/slowpow.c: New file.
58488
58489 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58490
58491 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
58492 instructions.
58493 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58494 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
58495 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58496 * benchtests/Makefile: Add rint benchtest.
58497 * benchtests/rint-inputs: Input for rint benchtest.
58498
58499 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
58500
58501 * Versions.def (libm): Add GLIBC_2.18.
58502 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
58503 hidden libm prototypes.
58504 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
58505 * math/Makefile (libm-calls): Add s_issignaling.
58506 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
58507 __issignalingf, __issignalingl. Adjust all libm.abilist files.
58508 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
58509 declaration.
58510 * math/math.h [__USE_GNU] (issignaling): New macro.
58511 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
58512 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
58513 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
58514 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
58515 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
58516 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
58517 * manual/arith.texi (issignaling): New section.
58518 * manual/libm-err-tab.pl (@all_functions): Update comment.
58519 * math/gen-libm-test.pl (parse_args): Apply special handling for
58520 issignaling.
58521 * math/libm-test.inc (print_float, issignaling_test): New
58522 functions.
58523 (check_float_internal): Add issignaling checks.
58524 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
58525 default definition.
58526 * sysdeps/powerpc/math-tests.h: New file.
58527 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
58528 tests.
58529 * math/test-snan.c (TEST_FUNC): Likewise.
58530
58531 2013-03-30 David S. Miller <davem@davemloft.net>
58532
58533 * po/de.po: Update from translation team.
58534
58535 2013-03-30 Joseph Myers <joseph@codesourcery.com>
58536
58537 [BZ #10357]
58538 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58539 imaginary part less than 1.0 and real part less than 0.5
58540 specially.
58541 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58542 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58543 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
58544 (cacos_test): Add more tests.
58545 (casin_test): Likewise.
58546 (casinh_test): Likewise.
58547 * sysdeps/i386/fpu/libm-test-ulps: Update.
58548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58549
58550 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
58551
58552 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
58553 ONE with its value.
58554
58555 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
58556 (__pow_mp): Replace ONE and MONE with their values.
58557 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58558 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
58559 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58560 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
58561 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58562 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58563
58564 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
58565
58566 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
58567 (__pow_mp): Replace ZERO and MZERO with their values.
58568 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58569 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58570 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58571 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58572 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58573 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
58574 (__sqr): Likewise.
58575
58576 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
58577
58578 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
58579
58580 2013-03-28 Roland McGrath <roland@hack.frob.com>
58581
58582 * include/stdlib.h [!SHARED] (__call_tls_dtors):
58583 Declare with __attribute__ ((weak)).
58584 * stdlib/exit.c (__libc_atexit) [!SHARED]:
58585 Call __call_tls_dtors only if it's not NULL.
58586
58587 2013-03-28 Roland McGrath <roland@hack.frob.com>
58588
58589 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
58590 didn't do it already, then set _dl_phdr and _dl_phnum based on the
58591 magic __ehdr_start linker symbol if it's defined.
58592 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
58593 them up here if it was already done.
58594
58595 * elf/dl-support.c (_dl_phdr): Make pointer to const.
58596 (_dl_aux_init): Use const in cast when setting it.
58597 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
58598 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
58599 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
58600
58601 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
58602 Declare them here.
58603 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
58604 * csu/libc-tls.c: Nor here.
58605 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
58606
58607 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
58608 (__libc_message): Never call vsyslog.
58609
58610 2013-03-28 Alan Modra <amodra@gmail.com>
58611
58612 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
58613 Define as empty.
58614 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
58615 Likewise.
58616
58617 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58618
58619 [BZ #15214]
58620 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
58621 underflow.
58622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58623
58624 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58625
58626 [BZ #15304]
58627 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
58628 Don't add gid passed as argument.
58629
58630 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
58631
58632 2013-03-27 Joseph Myers <joseph@codesourcery.com>
58633
58634 [BZ #15307]
58635 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58636 imaginary part between 1.0 and 1.5 and real part less than 0.5
58637 specially.
58638 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58639 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58640 * math/libm-test.inc (cacos_test): Add more tests.
58641 (casin_test): Likewise.
58642 (casinh_test): Likewise.
58643 * sysdeps/i386/fpu/libm-test-ulps: Update.
58644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58645
58646 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
58647
58648 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
58649 constants.
58650 (norm): Likewise.
58651 (denorm): Likewise.
58652 (__dbl_mp): Likewise.
58653 (add_magnitudes): Likewise.
58654 (sub_magnitudes): Likewise.
58655 (__add): Likewise.
58656 (__sub): Likewise.
58657 (__mul): Likewise.
58658 (__sqr): Likewise.
58659 (__inv): Likewise.
58660 (__dvd): Likewise.
58661
58662 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
58663 commented code.
58664 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
58665 (__dubcos): Likewise.
58666 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
58667 (__ieee754_acos): Likewise.
58668 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58669 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
58670 (__exp1): Likewise.
58671 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58672 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58673 (log1): Likewise.
58674 (my_log2): Likewise.
58675 (checkint): Likewise.
58676 * sysdeps/ieee754/dbl-64/e_remainder.c
58677 (__ieee754_remainder): Likewise.
58678 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58679 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
58680 (bsloww): Likewise.
58681 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58682
58683 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58684 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
58685 MANTISSA_STORE_T to store computations on mantissa. Use
58686 macros for rounding and division.
58687 (denorm): Likewise.
58688 (__dbl_mp): Likewise.
58689 (add_magnitudes): Likewise.
58690 (sub_magnitudes): Likewise.
58691 (__mul): Likewise.
58692 (__sqr): Likewise.
58693 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
58694 powers of two in terms of TWOPOW macro.
58695 (mp_no): Make type of mantissa as MANTISSA_T.
58696 [!RADIXI]: Define RADIXI.
58697 [!TWO52]: Define TWO52.
58698 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58699
58700 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58701
58702 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
58703 llroundl symbol when building for PPC32.
58704
58705 2013-03-24 Mark H Weaver <mhw@netris.org>
58706
58707 * manual/arith.texi (Normalization Functions): Fix prototypes for
58708 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
58709
58710 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58711
58712 [BZ #13889]
58713 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
58714 high value to check if expl overflow.
58715 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
58716 to check for underflow and overflow.
58717 * math/libm-test.inc: Add exp test.
58718
58719 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
58720
58721 [BZ #11120]
58722 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
58723 with NOT_IN_libc.
58724
58725 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58726
58727 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
58728 symbol.
58729
58730 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
58731
58732 * math/gen-libm-test.pl (parse_args, special_functions): Properly
58733 wrap blocks consisting of several statements.
58734
58735 * sysdeps/generic/math-tests.h: New file.
58736 * sysdeps/i386/fpu/math-tests.h: Likewise.
58737 * math/test-snan.c: Include it.
58738 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
58739
58740 2013-03-21 Joseph Myers <joseph@codesourcery.com>
58741
58742 [BZ #15285]
58743 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
58744 (__ieee754_j0l): Do not improve calculations using cos of twice
58745 input for inputs above LDBL_MAX / 2.0L.
58746 (__ieee754_y0l): Likewise.
58747 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
58748 (__ieee754_j1l): Do not improve calculations using cos of twice
58749 input for inputs above LDBL_MAX / 2.0L.
58750 (__ieee754_y1l): Likewise.
58751 * math/libm-test.inc (j0_test): Add another test.
58752 (j1_test): Likewise.
58753 (y0_test): Likewise.
58754 (y1_test): Likewise.
58755 * sysdeps/i386/fpu/libm-test-ulps: Update.
58756
58757 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
58758
58759 * Rules ($(objpfx)bench-%.c): Include code from a C source
58760 file.
58761
58762 2013-03-21 Joseph Myers <joseph@codesourcery.com>
58763
58764 [BZ #15287]
58765 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58766 imaginary part 1.0 and real part less than 0.5 specially.
58767 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58768 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58769 * math/libm-test.inc (cacos_test): Add more tests.
58770 (casin_test): Likewise.
58771 (casinh_test): Likewise.
58772 * sysdeps/i386/fpu/libm-test-ulps: Update.
58773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58774
58775 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
58776
58777 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
58778 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
58779
58780 2013-03-20 Joseph Myers <joseph@codesourcery.com>
58781
58782 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
58783 * config.make.in (config-cflags-sse4): Remove variable.
58784 (config-cflags-avx): Likewise.
58785 (config-cflags-sse2avx): Likewise.
58786 (config-cflags-novzeroupper): Likewise.
58787 (config-asflags-i686): Likewise.
58788 (have-mfma4): Likewise.
58789 (have-as-vis3): Likewise.
58790 (MIG): Likewise.
58791 * configure.in (MIG): Do not AC_SUBST.
58792 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
58793 (libc_cv_cc_sse4): Do not AC_SUBST.
58794 (libc_cv_cc_avx): Likewise.
58795 (libc_cv_cc_sse2avx): Likewise.
58796 (libc_cv_cc_novzeroupper): Likewise.
58797 (libc_cv_cc_fma4): Likewise.
58798 (libc_cv_as_i686): Likewise.
58799 (libc_cv_sparc_as_vis3): Likewise.
58800 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
58801 LIBC_CONFIG_VAR.
58802 (config-asflags-i686): Likewise.
58803 (config-cflags-avx): Likewise.
58804 (config-cflags-sse2avx): Likewise.
58805 (have-mfma4): Likewise.
58806 (config-cflags-novzeroupper): Likewise.
58807 * sysdeps/mach/configure.in (MIG): Likewise.
58808 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
58809 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
58810 LIBC_CONFIG_VAR.
58811 (config-cflags-avx): Likewise.
58812 (config-cflags-sse2avx): Likewise.
58813 (have-mfma4): Likewise.
58814 (config-cflags-novzeroupper): Likewise.
58815 * configure: Regenerated.
58816 * sysdeps/i386/configure: Likewise.
58817 * sysdeps/mach/configure: Likewise.
58818 * sysdeps/sparc/configure: Likewise.
58819 * sysdeps/x86_64/configure: Likewise.
58820
58821 2013-03-20 Roland McGrath <roland@hack.frob.com>
58822
58823 [BZ #14812]
58824 * locale/programs/localedef.c (options): Put N_ translation marker
58825 on argument names, not just descriptions.
58826
58827 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58828
58829 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
58830
58831 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
58832
58833 [BZ #14176]
58834 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
58835
58836 2013-03-19 Roland McGrath <roland@hack.frob.com>
58837
58838 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
58839 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
58840 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
58841 [!BEFORE_ABORT] (before_abort): New function.
58842 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
58843 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
58844 (writev_for_fatal): New function.
58845 (WRITEV_FOR_FATAL): New macro; call that.
58846 (backtrace_and_maps): New function.
58847 (BEFORE_ABORT): New macro; call that.
58848 (struct str_list): Type removed.
58849 (__libc_message, __libc_fatal): Functions removed.
58850 Include <sysdeps/posix/libc_fatal.c> instead.
58851
58852 2013-03-19 Joseph Myers <joseph@codesourcery.com>
58853
58854 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
58855 constants.
58856 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
58857 double constants.
58858
58859 2013-03-19 Andreas Schwab <schwab@suse.de>
58860
58861 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
58862 * sysdeps/gnu/configure: Regenerate.
58863
58864 * configure.in: Substitute libc_cv_rtlddir.
58865 * configure: Regenerate.
58866 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
58867 * Makeconfig (rtlddir, inst_rtlddir): New variables.
58868 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
58869 * elf/Makefile (install-others, CFLAGS-interp.c)
58870 (ldso_install, common-ldd-rewrite): Likewise.
58871 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
58872 $(inst_slibdir)/$(rtld-installed-name).
58873 * scripts/rellns-sh: Add -p option.
58874 * Makerules (make-shlib-link): Use rellns-sh to get relative name
58875 for source.
58876
58877 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
58878
58879 * manual/nptl.texi: Renamed to ...
58880 * manual/threads.texi: ... this.
58881 * manual/Makefile (chapters): Update.
58882
58883 2013-03-18 Roland McGrath <roland@hack.frob.com>
58884
58885 [BZ #14812]
58886 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58887 on argument names, not just descriptions.
58888 * malloc/memusagestat.c (options): Likewise.
58889 * nss/getent.c (options): Likewise.
58890
58891 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
58892
58893 [BZ #14812]
58894 * iconv/iconv_prog.c (options): Put N_ translation marker
58895 on argument names, not just descriptions.
58896 * iconv/iconvconfig.c (options): Likewise.
58897
58898 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
58899
58900 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58901 implementation which is faster on all x86_64 architectures.
58902 Tested on AMD, Intel Nehalem, SNB, IVB.
58903 * sysdeps/x86_64/strnlen.S: Likewise.
58904
58905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58906 Remove all multiarch strlen and strnlen versions.
58907 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58908 Remove strlen and strnlen related parts.
58909
58910 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58911 Inline strlen part.
58912 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58913
58914 * sysdeps/x86_64/multiarch/strlen.S: Remove.
58915 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58916 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58917 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58918 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58919 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58920
58921 2013-03-17 Carlos O'Donell <carlos@redhat.com>
58922
58923 * manual/memory.texi (Malloc Tunable Parameters):
58924 Sort parameters alphabetically. Add comments for missing entries.
58925
58926 2013-03-17 David S. Miller <davem@davemloft.net>
58927
58928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58929
58930 2013-03-16 Joseph Myers <joseph@codesourcery.com>
58931
58932 [BZ #15283]
58933 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58934 for arguments at most half maximum finite value.
58935 * math/libm-test.inc (j0_test): Add more tests.
58936 (j1_test): Likewise.
58937 (y0_test): Likewise.
58938 (y1_test): Likewise.
58939 * sysdeps/i386/fpu/libm-test-ulps: Update.
58940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58941
58942 [BZ #14155]
58943 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58944 1 / x and functions P and Q for arguments above 0x1p256L.
58945 (__ieee754_y0l): Likewise.
58946 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58947 (__ieee754_y1l): Likewise.
58948 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58949 (j1_test): Likewise.
58950 (y0_test): Likewise.
58951 (y1_test): Likewise.
58952
58953 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
58954
58955 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58956 variable.
58957
58958 2013-03-15 Roland McGrath <roland@hack.frob.com>
58959
58960 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58961 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58962 zero since it's initialized to EXEC_PAGESIZE.
58963
58964 * sysdeps/unix/sysv/linux/ldsodefs.h
58965 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58966 * sysdeps/generic/ldsodefs.h: ... here.
58967
58968 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
58969
58970 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58971
58972 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58973 math/test-snan.c.
58974 * math/test-snan.c: Renamed from
58975 sysdeps/powerpc/fpu/test-powerpc-snan.c.
58976 * math/Makefile (tests): Add test-snan.
58977 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58978 test-powerpc-snan.
58979
58980 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58981 SUFFIX. Initialize qNaN_var with __builtin_nan family of
58982 functions.
58983 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
58984 __builtin_nan family of functions.
58985 * math/libm-test.inc (initialize): Initialize qnan_value with
58986 __builtin_nan family of functions.
58987 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58988 Remove variables.
58989 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58990 Remove functions.
58991 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
58992 storage class. Initialize qNaN_var and sNaN_var with
58993 __builtin_nan and __builtin_nans families of functions,
58994 respectively.
58995
58996 * math/libm-test.inc (acosh_test): Also test with qNaN input.
58997 (sqrt_test): Remove duplicate test with qNaN input.
58998 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58999 (round_test, signbit_test, significand_test): Note missing +/-Inf
59000 as well as qNaN tests.
59001
59002 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
59003 qNaN_var. Fix a few strings, too.
59004 * math/libm-test.inc (nan_value): Rename to qnan_value.
59005 * math/gen-libm-test.pl (%beautify): Adjust to that.
59006 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
59007 * math/test-misc.c (main): Likewise.
59008 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
59009 to __qnan_bytes, and __qnan_union, respectively.
59010 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
59011 Likewise.
59012 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
59013 and lqnanval, respectively.
59014 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
59015 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
59016 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
59017 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
59018
59019 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
59020 * math/test-misc.c (main) [__x86_64__]: Enable test for long
59021 doubles.
59022
59023 * math/test-misc.c (main): Fix copy'n'pastos.
59024 * misc/tst-efgcvt.c (special): Likewise.
59025
59026 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
59027 Remove declarations.
59028
59029 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
59030
59031 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
59032 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
59033 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
59034 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
59035
59036 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59037
59038 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
59039 macro to return vdso values correctly in IFUNC implementations.
59040 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
59041 Optimization by using IFUNC.
59042
59043 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
59044 Richard Henderson <rth@redhat.com>
59045 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59046
59047 * Makefile.in (bench): New target.
59048 * NEWS: Mention the benchmark framework.
59049 * Rules (bench): Likewise.
59050 (binaries-bench): Generate binaries for functions to
59051 benchmark.
59052 * benchtests/Makefile: New makefile for benchmark tests.
59053 * benchtests/bench-skeleton.c: New skeleton file for benchmark
59054 programs.
59055 * benchtests/exp-inputs: New input file for EXP function.
59056 * benchtests/pow-inputs: New input file for POW function.
59057 * scripts/bench.pl: New script to generate source files for
59058 benchmark programs.
59059
59060 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
59061
59062 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
59063 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
59064 computations on mantissa. Use macros for rounding and
59065 division.
59066 (denorm): Likewise.
59067 (__dbl_mp): Likewise.
59068 (add_magnitudes): Likewise.
59069 (sub_magnitudes): Likewise.
59070 (__mul): Likewise.
59071 (__sqr): Likewise.
59072 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
59073 powers of two in terms of TWOPOW macro.
59074 (mp_no): Make type of mantissa as MANTISSA_T.
59075 [!RADIXI]: Define RADIXI.
59076 [!TWO52]: Define TWO52.
59077 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
59078
59079 * manual/nptl.texi (cindex): Modify threads to pthreads.
59080
59081 2013-03-15 Joseph Myers <joseph@codesourcery.com>
59082
59083 * sysdeps/x86_64/preconfigure: Regenerated.
59084
59085 2013-03-14 Joseph Myers <joseph@codesourcery.com>
59086
59087 [BZ #14155]
59088 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
59089 0x1p28 and above.
59090 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
59091 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
59092 0x1p28 and above.
59093 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
59094 * math/libm-test.inc (j0_test): Do not allow one spurious
59095 underflow exception.
59096 (y1_test): Likewise.
59097
59098 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
59099
59100 * manual/Makefile (chapters): Add nptl.
59101 * manual/debug.texi (Debugging Support): Add link to Threads
59102 chapter.
59103 * manual/nptl.texi: New file.
59104
59105 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
59106
59107 2013-03-14 Petr Baudis <pasky@ucw.cz>
59108
59109 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
59110 for non-NULL pointer before the memory validity test. Pointed
59111 out by Holger Brunck <holger.brunck@keymile.com>.
59112
59113 2013-03-13 Andreas Schwab <schwab@suse.de>
59114
59115 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
59116 instead of .os.
59117
59118 2013-03-13 Joseph Myers <joseph@codesourcery.com>
59119
59120 * timezone/zic.c: Update from tzcode 2013b.
59121
59122 2013-03-12 Carlos O'Donell <carlos@redhat.com>
59123
59124 * manual/install.texi (Configuring and compiling):
59125 Mention i686 and i586.
59126 * INSTALL: Regenerate.
59127
59128 2013-03-12 Roland McGrath <roland@hack.frob.com>
59129
59130 * sysdeps/init_array/elf-init.c: New file.
59131 * csu/elf-init.c
59132 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
59133 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
59134
59135 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
59136 __gmon_start__ as global, but as static with a .preinit_array pointer.
59137 * sysdeps/init_array/gmon-start.c: New file. Use that.
59138 * sysdeps/init_array/crti.S: New file, empty except for comments.
59139 * sysdeps/init_array/crtn.S: Likewise.
59140
59141 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
59142
59143 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
59144 definining bcopy.
59145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59146 Remove Prefer_SSE_for_memop.
59147 * sysdeps/x86_64/multiarch/init-arch.h: Remove
59148 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
59149 HAS_PREFER_SSE_FOR_MEMOP.
59150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
59151 memset-x86-64.
59152 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59153 Remove bzero, memset ifunc support.
59154 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
59155 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
59156 * sysdeps/x86_64/multiarch/memset.S: Likewise.
59157 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59158
59159 2013-03-11 Andreas Schwab <schwab@suse.de>
59160
59161 [BZ #15234]
59162 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
59163 by SHLIB_COMPAT.
59164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
59165 (GLIBC_2.16): Remove pthread_atfork.
59166
59167 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
59168
59169 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
59170 (ptestcases.h): Likewise.
59171
59172 2013-03-08 Roland McGrath <roland@hack.frob.com>
59173
59174 * Makeconfig ($(common-objpfx)config.status): Depend on
59175 sysdeps/*/preconfigure{,.in} too.
59176
59177 2013-03-08 Joseph Myers <joseph@codesourcery.com>
59178
59179 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
59180 (__free_hook): Use void * instead of __malloc_ptr_t.
59181 (__malloc_hook): Likewise.
59182 (__realloc_hook): Likewise.
59183 (__memalign_hook): Likewise.
59184 (__after_morecore_hook): Likewise.
59185 * malloc/arena.c (save_malloc_hook): Likewise.
59186 (save_free_hook): Likewise.
59187 * malloc/hooks.c (malloc_hook_ini): Likewise.
59188 (realloc_hook_ini): Likewise.
59189 (memalign_hook_ini): Likewise.
59190 * malloc/malloc.c (malloc_hook_ini): Likewise.
59191 (realloc_hook_ini): Likewise.
59192 (memalign_hook_ini): Likewise.
59193 (__free_hook): Likewise.
59194 (__malloc_hook): Likewise.
59195 (__realloc_hook): Likewise.
59196 (__memalign_hook): Likewise.
59197 (__libc_malloc): Likewise.
59198 (__libc_free): Likewise.
59199 (__libc_realloc): Likewise.
59200 (__libc_memalign): Likewise.
59201 (__libc_valloc): Likewise.
59202 (__libc_pvalloc): Likewise.
59203 (__libc_calloc): Likewise.
59204 (__posix_memalign): Likewise.
59205 * malloc/morecore.c (__sbrk): Likewise.
59206 (__default_morecore): Likewise.
59207
59208 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
59209
59210 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
59211 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
59212 __malloc_ptrdiff_t.
59213
59214 * malloc/malloc.h (__malloc_size_t): Remove macro.
59215 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
59216 __malloc_size_t.
59217 (old_memalign_hook): Likewise.
59218 (old_realloc_hook): Likewise.
59219 (struct hdr): Likewise.
59220 (flood): Likewise.
59221 (mallochook): Likewise.
59222 (memalignhook): Likewise.
59223 (reallochook): Likewise.
59224 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
59225 (tr_old_realloc_hook): Likewise.
59226 (tr_old_memalign_hook): Likewise.
59227 (tr_mallochook): Likewise.
59228 (tr_reallochook): Likewise.
59229 (tr_memalignhook): Likewise.
59230
59231 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59232
59233 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
59234 default_ldbl_pack and using as default implementation.
59235 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
59236 implementation.
59237 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
59238 redundant definition.
59239 (ldbl_insert_mantissa): Likewise.
59240 (ldbl_canonicalize): Likewise.
59241 (ldbl_nearbyint): Likewise.
59242 (ldbl_pack): Rename to ldbl_pack_ppc.
59243 (ldbl_unpack): Rename to ldbl_unpack_ppc.
59244 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
59245 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
59246
59247 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
59248
59249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
59250 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
59251 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
59252 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
59253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
59254 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
59255 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
59256 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
59257
59258 2013-03-07 Andreas Jaeger <aj@suse.de>
59259
59260 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59261 bits/mman-linux.h.
59262
59263 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
59264
59265 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
59266 Include mpa.h and declare __MPEXP.
59267 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
59268 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59269 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59270 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
59271 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59272 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59273 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
59274
59275 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
59276 (__slowpow): Use long double EXPL and LOGL functions to
59277 compute POW.
59278 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59279 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59280 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
59281 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59282 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59283 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
59284
59285 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
59286 intermediate variable to calculate exponent.
59287 (__sqr): Likewise.
59288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59289 Likewise.
59290 (__sqr): Likewise.
59291
59292 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
59293 [!NO__SQR]: Define __sqr.
59294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
59295 and NO__SQR. Remove all code except __mul and __sqr. Include
59296 sysdeps/ieee754/dbl-64/mpa.c.
59297 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59298
59299 [BZ #12723]
59300 * posix/Makefile (tests): Add tst-pathconf.
59301 * posix/tst-pathconf.c: New test case.
59302 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
59303 _PC_PIPE_BUF.
59304 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
59305
59306 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
59307
59308 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
59309
59310 2013-03-06 Andreas Jaeger <aj@suse.de>
59311
59312 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
59313 definition via __MAP_ANONYMOUS.
59314
59315 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
59316 it's not part of Linux headers.
59317
59318 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
59319 (MAP_HUGE_MASK): Define.
59320
59321 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59322 Define.
59323 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59324 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59325 Define.
59326 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59327 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59328 Define.
59329 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59330 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
59331 Define.
59332 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59333
59334 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
59335 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
59336 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
59337 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
59338 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
59339 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
59340
59341 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59342 Handle f2fs.
59343
59344 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59345 Handle f2fs and efivarfs.
59346
59347 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
59348 f2fs.
59349
59350 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
59351 (EFIVARFS_MAGIC): Add.
59352 (F2FS_LINK_MAX): Add.
59353
59354 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59355
59356 * stdio-common/vfprintf.c: Replace __builtin_expect with
59357 __glibc_unlikely.
59358
59359 2013-03-06 Joseph Myers <joseph@codesourcery.com>
59360
59361 [BZ #13550]
59362 * sysdeps/generic/bp-sym.h: Remove file.
59363 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
59364 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
59365 <bp-sym.h> and <bp-asm.h>.
59366 (__longjmp): Don't use BP_SYM.
59367 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
59368 and <bp-asm.h>.
59369 (memcpy): Don't use BP_SYM.
59370 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
59371 <bp-sym.h> and <bp-asm.h>.
59372 (memcpy): Don't use BP_SYM.
59373 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
59374 <bp-asm.h>.
59375 (memcpy): Don't use BP_SYM.
59376 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
59377 <bp-asm.h>.
59378 (memset): Don't use BP_SYM.
59379 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59380 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59381 (__bzero): Don't use BP_SYM.
59382 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59383 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59384 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
59385 <bp-sym.h> and <bp-asm.h>.
59386 (memcmp): Don't use BP_SYM. Remove comment about bounded
59387 pointers.
59388 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
59389 <bp-sym.h> and <bp-asm.h>.
59390 (memcpy): Don't use BP_SYM.
59391 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
59392 <bp-sym.h> and <bp-asm.h>.
59393 (memset): Don't use BP_SYM.
59394 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59395 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59396 (__bzero): Don't use BP_SYM.
59397 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59398 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59399 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
59400 <bp-sym.h> and <bp-asm.h>.
59401 (strncmp): Don't use BP_SYM. Remove comment about bounded
59402 pointers.
59403 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
59404 <bp-sym.h> and <bp-asm.h>.
59405 (memcpy): Don't use BP_SYM.
59406 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
59407 <bp-sym.h> and <bp-asm.h>.
59408 (memset): Don't use BP_SYM.
59409 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59410 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59411 (__bzero): Don't use BP_SYM.
59412 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59413 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59414 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
59415 <bp-sym.h> and <bp-asm.h>.
59416 (__memchr): Don't use BP_SYM.
59417 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
59418 <bp-sym.h> and <bp-asm.h>.
59419 (memcmp): Don't use BP_SYM. Remove comment about bounded
59420 pointers.
59421 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
59422 <bp-sym.h> and <bp-asm.h>.
59423 (memcpy): Don't use BP_SYM.
59424 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
59425 <bp-sym.h> and <bp-asm.h>.
59426 (__mempcpy): Don't use BP_SYM.
59427 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
59428 <bp-sym.h> and <bp-asm.h>.
59429 (__memrchr): Don't use BP_SYM.
59430 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
59431 <bp-sym.h> and <bp-asm.h>.
59432 (memset): Don't use BP_SYM.
59433 (__bzero): Likewise.
59434 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
59435 <bp-sym.h> and <bp-asm.h>.
59436 (__rawmemchr): Don't use BP_SYM.
59437 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
59438 <bp-sym.h> and <bp-asm.h>.
59439 (__STRCMP): Don't use BP_SYM.
59440 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
59441 <bp-sym.h> and <bp-asm.h>.
59442 (strchr): Don't use BP_SYM.
59443 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
59444 <bp-sym.h> and <bp-asm.h>.
59445 (__strchrnul): Don't use BP_SYM.
59446 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
59447 <bp-sym.h> and <bp-asm.h>.
59448 (strlen): Don't use BP_SYM.
59449 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
59450 <bp-sym.h> and <bp-asm.h>.
59451 (strncmp): Don't use BP_SYM. Remove comment about bounded
59452 pointers.
59453 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
59454 <bp-sym.h> and <bp-asm.h>.
59455 (__strnlen): Don't use BP_SYM.
59456 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
59457 <bp-sym.h> and <bp-asm.h>.
59458 (__GI__setjmp): Don't use BP_SYM.
59459 (_setjmp): Likewise.
59460 (__sigsetjmp): Likewise.
59461 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
59462 (L(start_addresses)): Don't use BP_SYM.
59463 (_start): Likewise.
59464 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
59465 <bp-asm.h>.
59466 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
59467 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
59468 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59469 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59470 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
59471 <bp-asm.h>.
59472 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
59473 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
59474 about bounded pointers.
59475 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59476 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59477 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
59478 <bp-asm.h>.
59479 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
59480 about bounded pointers. Remove GKM FIXME comments.
59481 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59482 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
59483 <bp-asm.h>.
59484 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
59485 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
59486 Remove GKM FIXME comments.
59487 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59488 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59489 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
59490 <bp-asm.h>.
59491 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
59492 about bounded pointers. Remove GKM FIXME comment.
59493 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
59494 and <bp-asm.h>.
59495 (strncmp): Don't use BP_SYM. Remove comment about bounded
59496 pointers.
59497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
59498 <bp-sym.h> and <bp-asm.h>.
59499 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
59501 <bp-sym.h> and <bp-asm.h>.
59502 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
59503 comment.
59504
59505 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59506
59507 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
59508 call free(NULL).
59509
59510 2013-03-05 David S. Miller <davem@davemloft.net>
59511
59512 * po/es.po: Update from translation team.
59513
59514 2013-03-05 Andreas Jaeger <aj@suse.de>
59515
59516 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
59517 <bits/mman-linux.h>.
59518 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59519 is fine.
59520 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
59521 <bits/mman-linux.h> to end of file.
59522 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59523 is fine.
59524 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
59525 <bits/mman-linux.h> to end of file.
59526 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59527 is fine.
59528 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
59529 <bits/mman-linux.h> to end of file.
59530
59531 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
59532 (MCL_CURRENT, MCL_FUTURE): Define here.
59533
59534 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59535
59536 [BZ #15232]
59537 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
59538 attribute_hidden.
59539 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59540
59541 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59542
59543 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
59544 fourth parameter needed for rt_sigprocmask syscall.
59545 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
59546 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59547 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
59548 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59549 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59550 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
59551
59552 2013-03-04 Joseph Myers <joseph@codesourcery.com>
59553
59554 [BZ #13550]
59555 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
59556 comment about bounded pointers.
59557 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
59558 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
59559
59560 2013-03-04 Andreas Jaeger <aj@suse.de>
59561
59562 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
59563 common definitions.
59564
59565 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
59566 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
59567 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
59568 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59569 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59570 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59571
59572 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59573
59574 [BZ #15055]
59575 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
59576 __ieee754_sqrl instead of __sqrl.
59577
59578 2013-03-01 Joseph Myers <joseph@codesourcery.com>
59579
59580 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
59581 * sysdeps/powerpc/fpu_control.h: ... here.
59582 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
59583 * sysdeps/powerpc/bits/fenvinline.h: ... here.
59584 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
59585 * sysdeps/powerpc/bits/mathinline.h: ... here.
59586
59587 2013-03-01 Roland McGrath <roland@hack.frob.com>
59588
59589 * elf/dl-hwcaps.c (_dl_important_hwcaps):
59590 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
59591 to just [NEED_DL_SYSINFO_DSO].
59592 * elf/dl-support.c: Likewise.
59593 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
59594 * elf/rtld.c (dl_main): Likewise.
59595 * elf/setup-vdso.h (setup_vdso): Likewise.
59596 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
59597 * sysdeps/unix/sysv/linux/dl-sysdep.c
59598 (_dl_discover_osversion): Likewise.
59599
59600 2013-03-01 Carlos O'Donell <carlos@redhat.com>
59601
59602 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
59603 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59604
59605 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
59606
59607 * NEWS: Mention libm performance improvements and non-x86 PI
59608 futex support.
59609
59610 * csu/libc-start.c (__pthread_initialize_minimal): Change
59611 function arguments.
59612 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59613
59614 2013-02-28 Joseph Myers <joseph@codesourcery.com>
59615
59616 [BZ #13550]
59617 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
59618 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
59619 <bp-sym.h> and <bp-asm.h>.
59620 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59621 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
59622 and <bp-asm.h>.
59623 (memcpy): Don't use BP_SYM.
59624 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
59625 <bp-asm.h>.
59626 (__mpn_add_n): Don't use BP_SYM.
59627 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
59628 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
59629 and <bp-asm.h>.
59630 (__mpn_addmul_1): Don't use BP_SYM.
59631 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59632 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
59633 <bp-sym.h>.
59634 (_setjmp): Don't use BP_SYM.
59635 (__novmx_setjmp): Likewise.
59636 (__GI__setjmp): Likewise.
59637 (__vmx_setjmp): Likewise.
59638 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
59639 <bp-sym.h>.
59640 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
59641 (__bzero): Don't use BP_SYM.
59642 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59643 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59644 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
59645 <bp-sym.h> and <bp-asm.h>.
59646 (memcpy): Don't use BP_SYM.
59647 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
59648 <bp-sym.h> and <bp-asm.h>.
59649 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59650 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
59651 <bp-sym.h> and <bp-asm.h>.
59652 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59653 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
59654 <bp-asm.h>.
59655 (__mpn_lshift): Don't use BP_SYM.
59656 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59657 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
59658 <bp-asm.h>.
59659 (memset): Don't use BP_SYM.
59660 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59661 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59662 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
59663 <bp-asm.h>.
59664 (__mpn_mul_1): Don't use BP_SYM.
59665 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59666 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
59667 <bp-sym.h> and <bp-asm.h>.
59668 (memcmp): Don't use BP_SYM.
59669 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
59670 <bp-sym.h> and <bp-asm.h>.
59671 (memcpy): Don't use BP_SYM.
59672 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
59673 <bp-sym.h> and <bp-asm.h>.
59674 (memset): Don't use BP_SYM.
59675 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
59676 <bp-sym.h> and <bp-asm.h>.
59677 (strncmp): Don't use BP_SYM.
59678 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
59679 <bp-sym.h> and <bp-asm.h>.
59680 (memcpy): Don't use BP_SYM.
59681 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
59682 <bp-sym.h> and <bp-asm.h>.
59683 (memset): Don't use BP_SYM.
59684 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
59685 <bp-sym.h> and <bp-asm.h>.
59686 (__memchr): Don't use BP_SYM.
59687 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
59688 <bp-sym.h> and <bp-asm.h>.
59689 (memcmp): Don't use BP_SYM.
59690 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
59691 <bp-sym.h> and <bp-asm.h>.
59692 (memcpy): Don't use BP_SYM.
59693 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
59694 <bp-sym.h> and <bp-asm.h>.
59695 (__mempcpy): Don't use BP_SYM.
59696 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
59697 <bp-sym.h> and <bp-asm.h>.
59698 (__memrchr): Don't use BP_SYM.
59699 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
59700 <bp-sym.h> and <bp-asm.h>.
59701 (memset): Don't use BP_SYM.
59702 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
59703 <bp-sym.h> and <bp-asm.h>.
59704 (__rawmemchr): Don't use BP_SYM.
59705 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
59706 <bp-sym.h> and <bp-asm.h>.
59707 (__STRCMP): Don't use BP_SYM.
59708 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
59709 <bp-sym.h> and <bp-asm.h>.
59710 (strchr): Don't use BP_SYM.
59711 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
59712 <bp-sym.h> and <bp-asm.h>.
59713 (__strchrnul): Don't use BP_SYM.
59714 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
59715 <bp-sym.h> and <bp-asm.h>.
59716 (strlen): Don't use BP_SYM.
59717 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
59718 <bp-sym.h> and <bp-asm.h>.
59719 (strncmp): Don't use BP_SYM.
59720 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
59721 <bp-sym.h> and <bp-asm.h>.
59722 (__strnlen): Don't use BP_SYM.
59723 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
59724 <bp-asm.h>.
59725 (__mpn_rshift): Don't use BP_SYM.
59726 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59727 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
59728 <bp-sym.h> and <bp-asm.h>.
59729 (__sigsetjmp): Don't use BP_SYM.
59730 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
59731 (L(start_addresses)): Don't use BP_SYM.
59732 (_start): Likewise.
59733 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
59734 <bp-asm.h>.
59735 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
59736 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59737 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59738 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
59739 <bp-asm.h>.
59740 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
59741 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59742 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59743 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
59744 <bp-asm.h>.
59745 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
59746 comments.
59747 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59748 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
59749 <bp-asm.h>.
59750 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
59751 FIXME comments.
59752 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59753 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59754 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
59755 <bp-asm.h>.
59756 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
59757 comment.
59758 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
59759 and <bp-asm.h>.
59760 (strncmp): Don't use BP_SYM,
59761 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
59762 <bp-asm.h>.
59763 (__mpn_sub_n): Don't use BP_SYM.
59764 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59765 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
59766 and <bp-asm.h>.
59767 (__mpn_submul_1): Don't use BP_SYM.
59768 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
59770 <bp-sym.h> and <bp-asm.h>.
59771 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
59773 <bp-sym.h> and <bp-asm.h>.
59774 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
59775 comment.
59776
59777 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
59778
59779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
59780 Use ZK to minimize writes to Z.
59781 (sub_magnitudes): Simplify code a bit.
59782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
59783 Use ZK to minimize writes to Z.
59784 (sub_magnitudes): Simplify code a bit.
59785
59786 2013-02-27 Roland McGrath <roland@hack.frob.com>
59787
59788 * csu/gmon-start.c: Add special exception to license text.
59789
59790 2013-02-27 Richard Henderson <rth@redhat.com>
59791
59792 * scripts/config.guess: Update from config.git.
59793 * scripts/config.sub: Likewise.
59794
59795 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
59796
59797 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
59798
59799 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
59800
59801 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
59802
59803 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
59804
59805 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
59806
59807 2013-02-26 Roland McGrath <roland@hack.frob.com>
59808
59809 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
59810 [$(build-shared = yes].
59811
59812 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59813
59814 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
59815 (__mul): Reduce iterations for calculating mantissa.
59816
59817 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
59818 MPTWO.
59819 (__mpranred): Likewise.
59820
59821 [BZ #15160]
59822 * malloc/memusagestat.c (main): Draw graphs for heap and stack
59823 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
59824
59825 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
59826
59827 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
59828 Define __attribute__.
59829
59830 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59831
59832 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
59833 unused.
59834 * posix/regex_internal.h (__attribute): Remove.
59835 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
59836 (re_string_context_at): Likewise.
59837 (bitset_not): Use __attribute__ and mark function as possibly
59838 unused.
59839 (bitset_merge): Likewise.
59840 (bitset_mask): Likewise.
59841 (re_string_char_size_at): Likewise.
59842 (re_string_wchar_at): Likewise.
59843 (re_string_elem_size_at): Likewise.
59844
59845 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
59846
59847 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
59848 code.
59849 (cc32): Likewise.
59850
59851 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
59852 (__acr): Likewise.
59853 (__cpy): Likewise.
59854 (norm): Likewise.
59855 (denorm): Likewise.
59856 (__dbl_mp): Likewise.
59857 (add_magnitudes): Likewise.
59858 (sub_magnitudes): Likewise.
59859 (__mul): Likewise.
59860 (__inv): Likewise.
59861
59862 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
59863 style.
59864
59865 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
59866 style.
59867
59868 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
59869 code.
59870
59871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
59872 up changes with default code.
59873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
59874 Likewise.
59875
59876 2013-02-24 Allan McRae <allan@archlinux.org>
59877
59878 * manual/socket.texi (The Internet Namespace): Order menu items
59879 to match that in the file.
59880
59881 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59882 node listing of the info page menu.
59883
59884 2013-02-21 Joseph Myers <joseph@codesourcery.com>
59885
59886 [BZ #13550]
59887 * sysdeps/i386/bp-asm.h: Remove file.
59888 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59889 (PARMS): Do not use macros from bp-asm.h.
59890 (S1): Likewise.
59891 (S2): Likewise.
59892 (SIZE): Likewise.
59893 (__mpn_add_n): Do not use BP_SYM
59894 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59895 "bp-asm.h".
59896 (PARMS): Do not use macros from bp-asm.h.
59897 (S1): Likewise.
59898 (SIZE): Likewise.
59899 (__mpn_addmul_1): Do not use BP_SYM
59900 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59901 "bp-asm.h".
59902 (PARMS): Do not use macros from bp-asm.h.
59903 (SIGMSK): Likewise.
59904 (_setjmp): Likewise. Do not use BP_SYM.
59905 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59906 "bp-asm.h".
59907 (PARMS): Do not use macros from bp-asm.h.
59908 (SIGMSK): Likewise.
59909 (setjmp): Likewise. Do not use BP_SYM.
59910 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59911 "bp-asm.h".
59912 (PARMS): Do not use macros from bp-asm.h.
59913 (__frexp): Do not use BP_SYM.
59914 (frexp): Likewise.
59915 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59916 "bp-asm.h".
59917 (PARMS): Do not use macros from bp-asm.h.
59918 (__frexpf): Do not use BP_SYM.
59919 (frexpf): Likewise.
59920 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59921 "bp-asm.h".
59922 (PARMS): Do not use macros from bp-asm.h.
59923 (__frexpl): Do not use BP_SYM.
59924 (frexpl): Likewise.
59925 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59926 "bp-asm.h".
59927 (PARMS): Do not use macros from bp-asm.h.
59928 (__remquo): Do not use BP_SYM.
59929 (remquo): Likewise.
59930 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59931 "bp-asm.h".
59932 (PARMS): Do not use macros from bp-asm.h.
59933 (__remquof): Do not use BP_SYM.
59934 (remquof): Likewise.
59935 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59936 "bp-asm.h".
59937 (PARMS): Do not use macros from bp-asm.h.
59938 (__remquol): Do not use BP_SYM.
59939 (remquol): Likewise.
59940 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59941 "bp-asm.h".
59942 (PARMS): Do not use macros from bp-asm.h.
59943 (DEST): Likewise.
59944 (SRC): Likewise.
59945 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
59946 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59947 "bp-asm.h".
59948 (PARMS): Do not use macros from bp-asm.h.
59949 (strlen): Do not use BP_SYM.
59950 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
59951 "bp-asm.h".
59952 (PARMS): Do not use macros from bp-asm.h.
59953 (S1): Likewise.
59954 (S2): Likewise.
59955 (SIZE): Likewise.
59956 (__mpn_add_n): Do not use BP_SYM.
59957 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59958 "bp-asm.h".
59959 (PARMS): Do not use macros from bp-asm.h.
59960 (S1): Likewise.
59961 (SIZE): Likewise.
59962 (__mpn_addmul_1): Do not use BP_SYM.
59963 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59964 weak_alias.
59965 (bzero): Likewise.
59966 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59967 "bp-asm.h".
59968 (PARMS): Do not use macros from bp-asm.h.
59969 (S): Likewise.
59970 (SIZE): Likewise.
59971 (__mpn_lshift): Do not use BP_SYM.
59972 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59973 "bp-asm.h".
59974 (PARMS): Do not use macros from bp-asm.h.
59975 (DEST): Likewise.
59976 (SRC): Likewise.
59977 (LEN): Likewise.
59978 (memcpy): Likewise. Do not use BP_SYM.
59979 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59980 libc_hidden_def and weak_alias.
59981 (mempcpy): Do not use BP_SYM in weak_alias.
59982 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59983 "bp-asm.h".
59984 (PARMS): Do not use macros from bp-asm.h.
59985 (DEST): Likewise.
59986 (LEN): Likewise.
59987 [!BZERO_P] (CHR): Likewise.
59988 (memset): Likewise. Do not use BP_SYM.
59989 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59990 "bp-asm.h".
59991 (PARMS): Do not use macros from bp-asm.h.
59992 (S1): Likewise.
59993 (SIZE): Likewise.
59994 (__mpn_mul_1): Do not use BP_SYM.
59995 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59996 "bp-asm.h".
59997 (PARMS): Do not use macros from bp-asm.h.
59998 (S): Likewise.
59999 (SIZE): Likewise.
60000 (__mpn_rshift): Do not use BP_SYM.
60001 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
60002 "bp-asm.h".
60003 (PARMS): Do not use macros from bp-asm.h.
60004 (STR): Likewise.
60005 (CHR): Likewise.
60006 (strchr): Likewise. Do not use BP_SYM.
60007 (index): Do not use BP_SYM in weak_alias.
60008 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
60009 "bp-asm.h".
60010 (PARMS): Do not use macros from bp-asm.h.
60011 (DEST): Likewise.
60012 (SRC): Likewise.
60013 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
60014 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
60015 "bp-asm.h".
60016 (PARMS): Do not use macros from bp-asm.h.
60017 (strlen): Do not use BP_SYM.
60018 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
60019 "bp-asm.h".
60020 (PARMS): Do not use macros from bp-asm.h.
60021 (S1): Likewise.
60022 (S2): Likewise.
60023 (SIZE): Likewise.
60024 (__mpn_sub_n): Do not use BP_SYM.
60025 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
60026 "bp-asm.h".
60027 (PARMS): Do not use macros from bp-asm.h.
60028 (S1): Likewise.
60029 (SIZE): Likewise.
60030 (__mpn_submul_1): Do not use BP_SYM.
60031 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
60032 "bp-asm.h".
60033 (PARMS): Do not use macros from bp-asm.h.
60034 (S1): Likewise.
60035 (S2): Likewise.
60036 (SIZE): Likewise.
60037 (__mpn_add_n): Do not use BP_SYM.
60038 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
60039 weak_alias.
60040 (bzero): Likewise.
60041 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
60042 "bp-asm.h".
60043 (PARMS): Do not use macros from bp-asm.h.
60044 (BLK2): Likewise.
60045 (LEN): Likewise.
60046 (memcmp): Do not use BP_SYM.
60047 (bcmp): Do not use BP_SYM in weak_alias.
60048 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
60049 "bp-asm.h".
60050 (PARMS): Do not use macros from bp-asm.h.
60051 (DEST): Likewise.
60052 (SRC): Likewise.
60053 (LEN): Likewise.
60054 (memcpy): Likewise. Do not use BP_SYM.
60055 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
60056 "bp-asm.h".
60057 (PARMS): Do not use macros from bp-asm.h.
60058 (DEST): Likewise.
60059 (SRC): Likewise.
60060 (LEN): Likewise.
60061 (memmove): Likewise. Do not use BP_SYM.
60062 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
60063 "bp-asm.h".
60064 (PARMS): Do not use macros from bp-asm.h.
60065 (DEST): Likewise.
60066 (SRC): Likewise.
60067 (LEN): Likewise.
60068 (__mempcpy): Likewise. Do not use BP_SYM.
60069 (mempcpy): Do not use BP_SYM in weak_alias.
60070 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
60071 "bp-asm.h".
60072 (PARMS): Do not use macros from bp-asm.h.
60073 (DEST): Likewise.
60074 (LEN): Likewise.
60075 [!BZERO_P] (CHR): Likewise.
60076 (memset): Likewise. Do not use BP_SYM.
60077 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
60078 "bp-asm.h".
60079 (PARMS): Do not use macros from bp-asm.h.
60080 (STR2): Likewise.
60081 (strcmp): Do not use BP_SYM.
60082 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
60083 "bp-asm.h".
60084 (PARMS): Do not use macros from bp-asm.h.
60085 (STR): Likewise.
60086 (DELIM): Likewise.
60087 [USE_AS_STRTOK_R] (SAVE): Likewise.
60088 (FUNCTION): Likewise. Do not use BP_SYM.
60089 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
60090 aliases.
60091 (strtok_r): Likewise.
60092 (__GI___strtok_r): Likewise.
60093 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60094 (PARMS): Do not use macros from bp-asm.h.
60095 (S): Likewise.
60096 (SIZE): Likewise.
60097 (__mpn_lshift): Do not use BP_SYM.
60098 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60099 (PARMS): Do not use macros from bp-asm.h.
60100 (STR): Likewise.
60101 (CHR): Likewise.
60102 (__memchr): Do not use BP_SYM.
60103 (memchr): Do not use BP_SYM in weak_alias.
60104 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60105 (PARMS): Do not use macros from bp-asm.h.
60106 (BLK2): Likewise.
60107 (LEN): Likewise.
60108 (memcmp): Do not use BP_SYM.
60109 (bcmp): Do not use BP_SYM in weak_alias.
60110 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
60111 (PARMS): Do not use macros from bp-asm.h.
60112 (S1): Likewise.
60113 (SIZE): Likewise.
60114 (__mpn_mul_1): Do not use BP_SYM.
60115 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
60116 "bp-asm.h".
60117 (PARMS): Do not use macros from bp-asm.h.
60118 (STR): Likewise.
60119 (CHR): Likewise.
60120 (__rawmemchr): Do not use BP_SYM.
60121 (rawmemchr): Do not use BP_SYM in weak_alias.
60122 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60123 (PARMS): Do not use macros from bp-asm.h.
60124 (S): Likewise.
60125 (SIZE): Likewise.
60126 (__mpn_rshift): Do not use BP_SYM.
60127 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60128 (PARMS): Do not use macros from bp-asm.h.
60129 (SIGMSK): Likewise.
60130 (__sigsetjmp): Likewise. Do not use BP_SYM.
60131 * sysdeps/i386/start.S: Do not include "bp-sym.h".
60132 (_start): Do not use BP_SYM.
60133 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
60134 (PARMS): Do not use macros from bp-asm.h.
60135 (DEST): Likewise.
60136 (SRC): Likewise.
60137 (__stpcpy): Likewise. Do not use BP_SYM.
60138 (stpcpy): Do not use BP_SYM in weak_alias.
60139 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
60140 "bp-asm.h".
60141 (PARMS): Do not use macros from bp-asm.h.
60142 (DEST): Likewise.
60143 (SRC): Likewise.
60144 (LEN): Likewise.
60145 (__stpncpy): Likewise. Do not use BP_SYM.
60146 (stpncpy): Do not use BP_SYM in weak_alias.
60147 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60148 (PARMS): Do not use macros from bp-asm.h.
60149 (STR): Likewise.
60150 (CHR): Likewise.
60151 (strchr): Likewise. Do not use BP_SYM.
60152 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
60153 "bp-asm.h".
60154 (PARMS): Do not use macros from bp-asm.h.
60155 (STR): Likewise.
60156 (CHR): Likewise.
60157 (__strchrnul): Likewise. Do not use BP_SYM.
60158 (strchrnul): Do not use BP_SYM in weak_alias.
60159 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
60160 "bp-asm.h".
60161 (PARMS): Do not use macros from bp-asm.h.
60162 (STOP): Likewise.
60163 (strcspn): Do not use BP_SYM.
60164 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
60165 "bp-asm.h".
60166 (PARMS): Do not use macros from bp-asm.h.
60167 (STR): Likewise.
60168 (STOP): Likewise.
60169 (strpbrk): Likewise. Do not use BP_SYM.
60170 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
60171 "bp-asm.h".
60172 (PARMS): Do not use macros from bp-asm.h.
60173 (STR): Likewise.
60174 (CHR): Likewise.
60175 (strrchr): Likewise. Do not use BP_SYM.
60176 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
60177 (PARMS): Do not use macros from bp-asm.h.
60178 (SKIP): Likewise.
60179 (strspn): Do not use BP_SYM.
60180 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
60181 (PARMS): Do not use macros from bp-asm.h.
60182 (STR): Likewise.
60183 (DELIM): Likewise.
60184 (SAVE): Likewise.
60185 (FUNCTION): Likewise. Do not use BP_SYM.
60186 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
60187 aliases.
60188 (strtok_r): Likewise.
60189 (__GI___strtok_r): Likewise.
60190 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
60191 (PARMS): Do not use macros from bp-asm.h.
60192 (S1): Likewise.
60193 (S2): Likewise.
60194 (SIZE): Likewise.
60195 (__mpn_sub_n): Do not use BP_SYM.
60196 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
60197 "bp-asm.h".
60198 (PARMS): Do not use macros from bp-asm.h.
60199 (S1): Likewise.
60200 (SIZE): Likewise.
60201 (__mpn_submul_1): Do not use BP_SYM.
60202 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
60203 <bp-sym.h>.
60204 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
60205 and <bp-asm.h>.
60206 (PARMS): Do not use macros from bp-asm.h.
60207 (FLAGS): Likewise.
60208 (PTID): Likewise.
60209 (TLS): Likewise.
60210 (CTID): Likewise.
60211 (__clone): Do not use BP_SYM.
60212 (clone): Do not use BP_SYM in weak_alias.
60213 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
60214 and <bp-asm.h>.
60215 (PARMS): Do not use macros from bp-asm.h.
60216 (LEN): Likewise.
60217 (__mmap64): Do not use BP_SYM.
60218 (mmap64): Do not use BP_SYM in weak_alias.
60219 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60220 <bp-sym.h> and <bp-asm.h>.
60221 (PARMS): Do not use macros from bp-asm.h.
60222 (__posix_fadvise64_l64): Do not use BP_SYM.
60223 * sysdeps/unix/sysv/linux/i386/semtimedop.S
60224 (PARMS): Do not use macros from bp-asm.h.
60225 (NSOPS): Likewise.
60226 (semtimedop): Do not use BP_SYM.
60227 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
60228 and <bp-asm.h>.
60229
60230 2013-02-21 Allan McRae <allan@archlinux.org>
60231
60232 * manual/message.texi (Charset conversion in gettext):
60233 Move @end statement to beginning of line.
60234
60235 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
60236
60237 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
60238 static.
60239 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
60240 Likewise.
60241
60242 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
60243 (denorm): Likewise.
60244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
60245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
60246
60247 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60248
60249 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
60250 tail-call to the resolved function if pltexit isn't needed.
60251
60252 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
60253
60254 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
60255 or Y being zero as being unlikely.
60256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
60257 Likewise.
60258
60259 2013-02-20 Carlos O'Donell <carlos@redhat.com>
60260
60261 * manual/nss.texi (System Databases and Name Service Switch):
60262 Remove frobnicate @pxref.
60263
60264 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
60265
60266 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60267 __attribute__ ((unused)) to __attribute__ ((__unused__)).
60268
60269 2013-02-20 Petr Machata <pmachata@redhat.com>
60270
60271 * elf/elf.h (R_ARM_TARGET1): New macro.
60272 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
60273 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
60274 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
60275 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
60276 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
60277 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
60278 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
60279 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
60280 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
60281 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
60282 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
60283 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
60284 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
60285 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
60286 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
60287 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
60288 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
60289 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
60290 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
60291 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
60292 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
60293 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
60294 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
60295 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
60296 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
60297 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
60298 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
60299 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
60300 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
60301 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
60302 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
60303 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
60304 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
60305 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
60306 (R_ARM_THM_GOT_BREL12): Likewise.
60307 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
60308 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
60309 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
60310 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
60311 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
60312 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
60313 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
60314 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
60315 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
60316
60317 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
60318
60319 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60320 __attribute_used__ to __attribute__ ((unused)).
60321
60322 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
60323
60324 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
60325 powerpc mpa.c.
60326 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
60327 comment formatting.
60328 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
60329
60330 2013-02-19 Joseph Myers <joseph@codesourcery.com>
60331
60332 [BZ #13550]
60333 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
60334 Remove macro.
60335 (ENTER): Remove both macro definitions.
60336 (LEAVE): Likewise.
60337 (CHECK_BOUNDS_LOW): Likewise.
60338 (CHECK_BOUNDS_HIGH): Likewise.
60339 (CHECK_BOUNDS_BOTH): Likewise.
60340 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
60341 (RETURN_BOUNDED_POINTER): Likewise.
60342 (RETURN_NULL_BOUNDED_POINTER): Likewise.
60343 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
60344 (POP_ERRNO_LOCATION_RETURN): Likewise.
60345 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
60346 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60347 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
60348 macros.
60349 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60350 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
60351 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
60352 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
60353 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
60354 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
60355 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
60356 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
60357 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
60358 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
60359 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
60360 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
60361 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60362 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
60363 removed macros.
60364 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60365 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
60366 macros.
60367 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60368 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
60369 * sysdeps/i386/i586/memset.S (memset): Likewise.
60370 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
60371 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60372 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
60373 macros.
60374 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60375 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
60376 Change uses of L(2) to L(out).
60377 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
60378 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
60379 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
60380 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60381 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
60382 removed macros.
60383 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60384 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
60385 macros.
60386 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60387 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
60388 (RETURN): Do not use macro LEAVE.
60389 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
60390 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
60391 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
60392 * sysdeps/i386/i686/memset.S (memset): Likewise.
60393 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
60394 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
60395 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60396 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
60397 Likewise.
60398 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60399 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
60400 L(1_2) and L(1_3) into L(1).
60401 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60402 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
60403 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60404 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
60405 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60406 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
60407 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
60408 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60409 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
60410 macros.
60411 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
60412 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60413 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
60414 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
60415 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
60416 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60417 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
60418 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
60419 * sysdeps/i386/strcspn.S (strcspn): Likewise.
60420 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
60421 * sysdeps/i386/strrchr.S (strrchr): Likewise.
60422 * sysdeps/i386/strspn.S (strspn): Likewise.
60423 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
60424 conditional code.
60425 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60426 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
60427 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60428 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
60429 L(1_3) into L(1_1).
60430 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
60431 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60432 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
60433 macros.
60434 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60435
60436 2013-02-19 Jakub Jelinek <jakub@redhat.com>
60437
60438 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
60439 macro.
60440
60441 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
60442
60443 * math/atest-exp.c (exp_mpn): Remove ROUND.
60444 * math/atest-exp2.c (exp_mpn): Likewise.
60445 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
60446
60447 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
60448 * stdlib/tst-tls-atexit-lib.c: Likewise.
60449 * stdlib/tst-tls-atexit.c: Likewise.
60450
60451 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60452
60453 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
60454 and __attribute_alloc_size__.
60455
60456 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60457
60458 * include/programs/xmalloc.h: Change __attribute_alloc_size to
60459 __attribute_alloc_size__.
60460 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
60461 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
60462
60463 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60464
60465 * include/programs/xmalloc.h: New file.
60466 * catgets/gencat.c: Include it.
60467 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
60468 * elf/pldd.c: Likewise.
60469 * iconv/iconv_charmap.c: Likewise.
60470 * iconv/iconvconfig.c: Likewise.
60471 * iconv/strtab.c: Likewise.
60472 * locale/programs/locale.c: Likewise.
60473 * locale/programs/localedef.h: Likewise.
60474 * locale/programs/simple-hash.c: Likewise.
60475 * nscd/nscd.h: Likewise.
60476 * nss/makedb.c: Likewise.
60477 * sysdeps/generic/ldconfig.h: Likewise.
60478
60479 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
60480
60481 * Versions.def: Add GLIBC_2.18.
60482 * include/link.h (struct link_map): New member l_tls_dtor_count.
60483 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
60484 (__call_tls_dtors): Likewise.
60485 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
60486 __cxa_thread_atexit_impl.
60487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60488 Likewise.
60489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60490 Likewise.
60491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
60492 Likewise.
60493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
60494 Likewise.
60495 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
60497 Likewise.
60498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
60499 Likewise.
60500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60502 Likewise.
60503 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
60504 (tests): Add test case tst-tls-atexit.
60505 (modules-names): Add shared library for tst-tls-atexit.
60506 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
60507 (GLIBC_PRIVATE): Add __call_tls_dtors.
60508 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
60509 for libstdc++.
60510 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
60511 * stdlib/tst-tls-atexit.c: New test case.
60512 * stdlib/tst-tls-atexit-lib.c: New test case.
60513
60514 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
60515
60516 * elf/Versions (ld): Add _dl_find_dso_for_object.
60517 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
60518 * elf/dl-open.c (_dl_find_dso_for_object): New function.
60519 (dl_open_worker): Use _dl_find_dso_for_object.
60520 * elf/dl-sym.c (do_sym): Likewise.
60521 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
60522
60523 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60524
60525 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
60526 Syntactic changes only.
60527 (_dl_runtime_profile): Do a tail-call to the resolved function.
60528
60529 2013-02-17 Joseph Myers <joseph@codesourcery.com>
60530
60531 [BZ #13550]
60532 * sysdeps/x86_64/bp-asm.h: Remove file.
60533 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
60534 <bp-sym.h> and <bp-asm.h>.
60535 (__clone): Do not use BP_SYM.
60536 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
60537 <bp-sym.h> and <bp-asm.h>.
60538 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60539 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
60540 "bp-asm.h".
60541 (_setjmp): Do not use BP_SYM.
60542 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
60543 "bp-asm.h".
60544 (setjmp): Do not use BP_SYM.
60545 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
60546 libc_hidden_def.
60547 (mempcpy): Do not use BP_SYM in weak_alias.
60548 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
60549 "bp-asm.h".
60550 (strchr): Do not use BP_SYM.
60551 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
60552 "bp-asm.h".
60553 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
60554 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
60555 (_start): Do not use BP_SYM.
60556 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
60557 "bp-asm.h".
60558 (strcat): Do not use BP_SYM.
60559 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
60560 "bp-asm.h".
60561 (STRCMP): Do not use BP_SYM.
60562 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
60563 "bp-asm.h".
60564 (STRCPY): Do not use BP_SYM.
60565 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
60566 "bp-asm.h".
60567 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
60568 "bp-asm.h".
60569 (FUNCTION): Do not use BP_SYM.
60570 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
60571 weak_alias.
60572 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
60573
60574 2013-02-17 Andreas Jaeger <aj@suse.de>
60575
60576 * time/Versions: Sort entries.
60577 * string/Versions: Likewise.
60578 * resolv/Versions: Likewise.
60579 * posix/Versions: Likewise.
60580 * iconv/Versions: Likewise.
60581 * elf/Versions: Likewise.
60582 * wcsmbs/Versions: Likewise.
60583
60584 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
60585
60586 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
60587 loop termination condition.
60588
60589 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
60590 variable to calculate EZ.
60591 (__sqr): Likewise.
60592
60593 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
60594 the lower precision input.
60595
60596 2013-02-15 Joseph Myers <joseph@codesourcery.com>
60597
60598 [BZ #13550]
60599 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
60600 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
60601 (run-via-rtld-prefix): Do not handle %-bp tests.
60602 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
60603 (all-object-suffixes): Remove .ob.
60604 (bppfx): Remove variable.
60605 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
60606 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
60607 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
60608 [$(build-bounded) = yes] (libtype.ob): Likewise.
60609 * Makerules (elide-routines.ob): Remove variable.
60610 (do-tests-clean): Do not handle *-bp.out.
60611 (common-mostlyclean): Do not handle *-bp and *-bp.out.
60612 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
60613 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
60614 (tests): Do not include $(tests-bp.out).
60615 (xtests): Do not include $(xtests-bp.out).
60616 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
60617 [$(build-bounded) = yes] ($(addprefix
60618 $(objpfx),$(binaries-bounded))): Remove rule.
60619 ($(objpfx)%-bp.out): Remove rule.
60620 * config.make.in (build-bounded): Remove variable.
60621 * crypt/Makefile [$(build-bounded) = yes]
60622 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
60623 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
60624 append to variable.
60625 [$(build-bounded) = yes] (install-lib): Likewise.
60626 [$(build-bounded) = yes] (generated): Likewise.
60627 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
60628 Remove rule.
60629 * intl/Makefile [$(build-bounded) = yes]
60630 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
60631 * math/Makefile [$(build-bounded) = yes]
60632 ($(tests:%=$(objpfx)%-bp): Likewise.
60633 * misc/Makefile [$(build-bounded) = yes]
60634 ($(objpfx)tst-tsearch-bp): Likewise.
60635 * nptl/Makeconfig (bounded-thread-library): Remove variable.
60636 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
60637 Remove dependency.
60638 * string/Makefile (o-objects.ob): Remove variable.
60639 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
60640 (CFLAGS-.ob): Remove variable.
60641 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
60642 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
60643 both definitions of variable.
60644 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
60645 (ASFLAGS-.ob): Remove variable.
60646
60647 2013-02-14 Joseph Myers <joseph@codesourcery.com>
60648
60649 [BZ #13550]
60650 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
60651 Remove __BOUNDED_POINTERS__ from condition.
60652 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
60653 * string/bits/string2.h [!__NO_STRING_INLINES &&
60654 !__BOUNDED_POINTERS__]: Likewise.
60655 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
60656 Likewise.
60657 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
60658 Remove conditional code.
60659 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
60660 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
60661 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
60662 condition.
60663
60664 [BZ #13550]
60665 * csu/libc-start.c: Do not include <bp-sym.h>.
60666 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
60667 * elf/dl-open.c: Do not include <bp-sym.h>.
60668 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
60669 * math/fegetenv.c: Do not include <bp-sym.h>.
60670 (fegetenv): Do not use BP_SYM in versioned symbols.
60671 * nptl/sysdeps/pthread/bits/libc-lockP.h
60672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
60673 <bp-sym.h>.
60674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60675 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
60676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60677 (__pthread_mutex_destroy): Likewise.
60678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60679 (__pthread_mutex_lock): Likewise.
60680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60681 (__pthread_mutex_trylock): Likewise.
60682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60683 (__pthread_mutex_unlock): Likewise.
60684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60685 (__pthread_mutexattr_init): Likewise.
60686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60687 (__pthread_mutexattr_destroy): Likewise.
60688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60689 (__pthread_mutexattr_settype): Likewise.
60690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60691 (__pthread_rwlock_init): Likewise.
60692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60693 (__pthread_rwlock_destroy): Likewise.
60694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60695 (__pthread_rwlock_rdlock): Likewise.
60696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60697 (__pthread_rwlock_tryrdlock): Likewise.
60698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60699 (__pthread_rwlock_wrlock): Likewise.
60700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60701 (__pthread_rwlock_trywrlock): Likewise.
60702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60703 (__pthread_rwlock_unlock): Likewise.
60704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60705 (__pthread_key_create): Likewise.
60706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60707 (__pthread_setspecific): Likewise.
60708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60709 (__pthread_getspecific): Likewise.
60710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
60711 Likewise.
60712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60713 (_pthread_cleanup_push_defer): Likewise.
60714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60715 (_pthread_cleanup_pop_restore): Likewise.
60716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60717 (pthread_setcancelstate): Likewise.
60718 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
60719 <bp-sym.h>.
60720 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
60721 (memchr): Do not use BP_SYM in weak_alias.
60722 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
60723 (fegetenv): Do not use BP_SYM in versioned symbols.
60724 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
60725 (fesetenv): Do not use BP_SYM in versioned symbols.
60726 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60727 (feupdateenv): Do not use BP_SYM in versioned symbols.
60728 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60729 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60730 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
60731 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
60732 (open64): Do not use BP_SYM in weak_alias.
60733 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
60734 (fegetenv): Do not use BP_SYM in versioned symbols.
60735 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
60736 (fesetenv): Do not use BP_SYM in versioned symbols.
60737 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60738 (feupdateenv): Do not use BP_SYM in versioned symbols.
60739 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
60740 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
60741 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
60742 (feraiseexcept): Do not use BP_SYM in versioned symbols.
60743 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60744 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60745 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
60746 <bp-sym.h>.
60747 (__libc_start_main): Do not use BP_SYM.
60748
60749 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
60750
60751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
60752 redundant return line.
60753 (norm): Likewise.
60754 (denorm): Likewise.
60755 (dbl_mp): Likewise.
60756 (sub_magnitudes): Likewise.
60757 (__add): Likewise.
60758 (__sub): Likewise.
60759 (__mul): Likewise.
60760 (__inv): Likewise.
60761 (__dvd): Likewise.
60762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
60763 (norm): Likewise.
60764 (denorm): Likewise.
60765 (dbl_mp): Likewise.
60766 (sub_magnitudes): Likewise.
60767 (__add): Likewise.
60768 (__sub): Likewise.
60769 (__mul): Likewise.
60770 (__inv): Likewise.
60771 (__dvd): Likewise.
60772
60773 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
60774 instead of __mul.
60775 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60776 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
60777 (cc32): Likewise.
60778
60779 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
60780 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
60781 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
60782 of __mul for squares.
60783 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
60784 function
60785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
60786 Likewise.
60787 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
60788 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60789
60790 2013-02-13 Joseph Myers <joseph@codesourcery.com>
60791
60792 [BZ #13550]
60793 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
60794 code.
60795 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
60796 prototype or function definition. Rename ubp_* variables and
60797 parameters. Remove argv definitions conditional on
60798 [__BOUNDED_POINTERS__].
60799 * debug/backtrace.c (__backtrace): Do not use __unbounded.
60800 * elf/dl-runtime.c (_dl_fixup): Likewise.
60801 * include/set-hooks.h (RUN_HOOK): Likewise.
60802 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
60803 definition.
60804 * string/strcpy.c (strcpy): Do not use __unbounded.
60805 * sysdeps/generic/frame.h (struct layout): Likewise.
60806 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
60807 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
60808 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
60809 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
60810 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
60811 (__backtrace): Likewise.
60812 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
60813 use __ptrvalue.
60814 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
60815 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
60816 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
60817 Likewise.
60818 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
60819 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
60820 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
60821 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60822 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
60823 Do not use __unbounded.
60824 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
60825 Rename __unboundedrlimits parameter to rlimits in prototype.
60826 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
60827 Do not use __unbounded.
60828 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
60829 not use __ptrvalue.
60830 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60831 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
60832 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60833 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
60834 __ptrvalue or __unbounded.
60835 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
60836 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
60837 use __unbounded.
60838 (__new_msgctl): Do not use __ptrvalue.
60839 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
60840 __unbounded.
60841 (__libc_msgrcv): Do not use __ptrvalue.
60842 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
60843 startup_info): Do not use __unbounded.
60844 (__libc_start_main): Likewise. Rename ubp_* variables and
60845 parameters. Remove argv definitions conditional on
60846 [__BOUNDED_POINTERS__].
60847 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
60848 __ptrvalue.
60849 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
60850 use __unbounded.
60851 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
60852 or __ptrvalue.
60853 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
60854 use __unbounded.
60855 (__new_shmctl): Do not use __ptrvalue.
60856 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
60857 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
60858 Likewise.
60859 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
60860 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
60861 (__libc_sigaction): Likewise.
60862 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
60863 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
60864 Likewise.
60865 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60866
60867 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
60868
60869 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
60870
60871 * string/mempcpy.c: Implement by calling memcpy.
60872
60873 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
60874
60875 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
60876
60877 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
60878 evaluation.
60879
60880 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60881 values in the mantissa.
60882
60883 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60884 minimize writes to Z.
60885 (sub_magnitudes): Simplify code a bit.
60886
60887 2013-02-12 Roland McGrath <roland@hack.frob.com>
60888
60889 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60890 from the message. The linker prefixes all warnings with that already.
60891
60892 2013-02-12 Andreas Schwab <schwab@suse.de>
60893
60894 [BZ #15078]
60895 * posix/regexec.c (extend_buffers): Add parameter min_len.
60896 (check_matching): Pass minimum needed length.
60897 (clean_state_log_if_needed): Likewise.
60898 (get_subexp): Likewise.
60899 * posix/Makefile (tests): Add bug-regex34.
60900 (bug-regex34-ENV): Define.
60901 * posix/bug-regex34.c: New file.
60902
60903 [BZ #11561]
60904 * posix/regcomp.c (parse_bracket_exp): When looking up collating
60905 elements compare against the byte sequence of it, not its name.
60906 * posix/Makefile (tests): Add bug-regex35.
60907 (bug-regex35-ENV): Define.
60908 * posix/bug-regex35.c: New file.
60909
60910 2013-02-11 Tom de Vries <tom@codesourcery.com>
60911
60912 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
60913 comment.
60914 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60915 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60916 (CHECK_EOL): Add undef.
60917
60918 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
60919
60920 * bits/stdlib-bsearch.h: New file.
60921 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60922 * stdlib/stdlib.h: Likewise.
60923
60924 2013-02-11 Roland McGrath <roland@hack.frob.com>
60925
60926 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60927 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60928 declaration.
60929 * manual/search.texi (Array Search Function): Add missing const in
60930 lfind prototype.
60931 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60932 declaration to use rlim_t.
60933 (Basic Scheduling Functions): Remove erroneous const from
60934 sched_getparam prototype. Remove erroneous * from
60935 sched_get_priority_max and sched_get_priority_min prototypes.
60936 (Resource Usage): Fix summary @comment on vtimes to refer to
60937 sys/vtimes.h rather than vtimes.h.
60938 Add missing *s in vtimes prototype.
60939 (Limits on Resources): Fix ulimit prototype to return long int.
60940 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60941 prototypes to use long int rather than double.
60942 (BSD Random): Fix initstate and setstate to use char *, not void *.
60943 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60944 prototype to make second argument 'struct aiocb64 *const[]'.
60945 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60946 (Status of AIO Operations): Remove erroneous const in aio_return and
60947 aio_return64 prototypes.
60948 (Synchronizing I/O): Fix sync prototype to return void.
60949 * manual/startup.texi (Suboptions): Remove an erroneous const in
60950 getsubopt prototype.
60951 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60952 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60953 use size_t rather than int.
60954 (Scanning All Users): Likewise for getpwent_r.
60955 (Setting Groups): Add missing const to setgroups prototype.
60956 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60957 * manual/socket.texi (Host Names): Fix gethostbyaddr and
60958 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60959 'const void *' rather than 'const char *'.
60960 (Host Address Functions): Likewise for inet_ntop.
60961 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60962 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60963 ssize_t for return value.
60964 (Sending Data): Likewise for send, sendto, sendmsg.
60965 (Socket Option Functions): Add a missing const in setsockopt prototype.
60966 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60967 use wchar_t for the argument.
60968 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60969 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60970 take no arguments.
60971 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60972 double/float/long double for second argument.
60973 Fix return types of significand, significandf, significandl.
60974 * manual/filesys.texi (Setting Permissions): Use mode_t for second
60975 argument in fchmod prototype.
60976 (File Owner): Use uid_t and gid_t in fchown prototype.
60977 (File Times): Add const to utimes, futimes, and lutimes prototypes.
60978 (Making Special Files): Use mode_t and dev_t in mknod prototype.
60979 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60980 use 'const struct dirent **' as argument types to CMP function pointer
60981 argument.
60982 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60983 (File Times): Fix summary magic @comment for struct utimbuf and utime
60984 to refer to utime.h, not time.h.
60985 * manual/string.texi (Argz Functions): Add missing const in
60986 argz_extract and argz_next prototypes.
60987 (Finding Tokens in a String): Likewise for basename.
60988 (String/Array Comparison): Fix typo in wcscasecmp prototype.
60989 (Copying and Concatenation): Fix typo in wmemmove prototype.
60990 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60991 (Signal Stack): Remove erroneous const in sigstack prototype.
60992 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60993 prototype.
60994 (Simple Calendar Time): Likewise for stime.
60995 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60996 prototype.
60997 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60998 say sys/sysctl.h instead.
60999 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
61000 and vsyslog prototypes.
61001
61002 2013-02-11 Tom de Vries <tom@codesourcery.com>
61003
61004 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
61005 Remove.
61006
61007 2013-02-11 Roland McGrath <roland@hack.frob.com>
61008
61009 * misc/sys/mman.h: Fix typo in mremap comment.
61010
61011 2013-02-08 Roland McGrath <roland@hack.frob.com>
61012
61013 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
61014 the '\0' terminator.
61015
61016 2013-02-08 Joseph Myers <joseph@codesourcery.com>
61017
61018 [BZ #13550]
61019 * debug/segfault.c: Don't include <bp-checks.h>.
61020 * sysdeps/generic/bp-checks.h: Remove file.
61021 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
61022 (__GETDENTS): Don't use CHECK_N.
61023 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
61024 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
61025 (__getgroups): Don't use CHECK_N.
61026 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
61027 (setgroups): Don't use CHECK_N.
61028 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
61029 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
61030 (__libc_msgrcv): Don't use CHECK_N.
61031 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
61032 (__libc_msgsnd): Don't use CHECK_N.
61033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
61034 <bp-checks.h>.
61035 (__libc_pread): Don't use CHECK_N.
61036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
61037 include <bp-checks.h>.
61038 (__libc_pread64): Don't use CHECK_N.
61039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
61040 include <bp-checks.h>.
61041 (__libc_pwrite): Don't use CHECK_N.
61042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
61043 include <bp-checks.h>.
61044 (__libc_pwrite64): Don't use CHECK_N.
61045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
61046 <bp-checks.h>.
61047 (__libc_pread): Don't use CHECK_N.
61048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
61049 include <bp-checks.h>.
61050 (__libc_pread64): Don't use CHECK_N.
61051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
61052 include <bp-checks.h>.
61053 (__libc_pwrite): Don't use CHECK_N.
61054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
61055 include <bp-checks.h>.
61056 (__libc_pwrite64): Don't use CHECK_N.
61057 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
61058 (do_pread): Don't use CHECK_N.
61059 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
61060 (do_pread64): Don't use CHECK_N.
61061 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
61062 (do_pwrite): Don't use CHECK_N.
61063 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
61064 (do_pwrite64): Don't use CHECK_N.
61065 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
61066 (__libc_readv): Don't use CHECK_N.
61067 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
61068 (semop): Don't use CHECK_N.
61069 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
61070 <bp-checks.h>.
61071 (semtimedop): Don't use CHECK_N.
61072 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
61073 (__libc_pread): Don't use CHECK_N.
61074 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
61075 <bp-checks.h>.
61076 (__libc_pread64): Don't use CHECK_N.
61077 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
61078 <bp-checks.h>.
61079 (__libc_pwrite): Don't use CHECK_N.
61080 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
61081 <bp-checks.h>.
61082 (__libc_pwrite64): Don't use CHECK_N.
61083 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
61084 <bp-checks.h>.
61085 (__libc_msgrcv): Don't use CHECK_N.
61086 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
61087 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
61088 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
61089 (__libc_writev): Don't use CHECK_N.
61090
61091 2013-02-08 Roland McGrath <roland@hack.frob.com>
61092
61093 * string/strcpy.c: Removed unused variable.
61094
61095 * Makeconfig (+sysdep-includes): Define with := rather than =.
61096 Use an existing include/ subdir of each sysdeps dir before it.
61097
61098 2013-02-08 Carlos O'Donell <carlos@redhat.com>
61099
61100 * nscd/connection.c (register_traced_file): Comment function.
61101 [HAVE_INOTIFY] (union __inev): Define.
61102 [HAVE_INOTIFY] (inotify_check_files): New function.
61103 [HAVE_INOTIFY] (clear_db_cache): Likewise.
61104 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
61105 clear_db_cache.
61106 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
61107
61108 2013-02-08 Carlos O'Donell <carlos@redhat.com>
61109
61110 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
61111 loaded if not already and that a failure is permanent.
61112
61113 2013-02-08 Carlos O'Donell <carlos@redhat.com>
61114
61115 [BZ #15006]
61116 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
61117 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
61118
61119 2013-02-08 Joseph Myers <joseph@codesourcery.com>
61120
61121 [BZ #13550]
61122 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
61123 (CHECK_1_NULL_OK): Likewise.
61124 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
61125 (__fxstat): Do not use CHECK_1.
61126 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
61127 <bp-checks.h>.
61128 (___fxstat64): Do not use CHECK_1.
61129 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
61130 <bp-checks.h>.
61131 (__fxstatat): Do not use CHECK_1.
61132 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
61133 <bp-checks.h>.
61134 (__fxstatat64): Do not use CHECK_1.
61135 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
61136 <bp-checks.h>.
61137 (__fxstat): Do not use CHECK_1.
61138 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
61139 <bp-checks.h>.
61140 (__fxstatat): Do not use CHECK_1.
61141 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61142 <bp-checks.h>.
61143 (__getresgid): Do not use CHECK_1.
61144 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61145 <bp-checks.h>.
61146 (__getresuid): Do not use CHECK_1.
61147 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
61148 <bp-checks.h>.
61149 (__lxstat): Do not use CHECK_1.
61150 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61151 <bp-checks.h>.
61152 (__old_msgctl): Do not use CHECK_1.
61153 (__new_msgctl): Likewise.
61154 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
61155 <bp-checks.h>.
61156 (__new_setrlimit): Do not use CHECK_1.
61157 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61158 <bp-checks.h>.
61159 (__old_shmctl): Do not use CHECK_1.
61160 (__new_shmctl): Likewise.
61161 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
61162 <bp-checks.h>.
61163 (__xstat): Do not use CHECK_1.
61164 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
61165 (__lxstat): Do not use CHECK_1.
61166 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
61167 <bp-checks.h>.
61168 (___lxstat64): Do not use CHECK_1.
61169 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
61170 (__old_msgctl): Do not use CHECK_1.
61171 (__new_msgctl): Likewise.
61172 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
61173 <bp-checks.h>.
61174 (__gettimeofday): Do not use CHECK_1.
61175 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
61176 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
61177 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
61178 <bp-checks.h>.
61179 (__gettimeofday): Do not use CHECK_1.
61180 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
61181 (__old_shmctl): Do not use CHECK_1_NULL_OK.
61182 (__new_shmctl): Do not use CHECK_1.
61183 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
61184 <bp-checks.h>.
61185 (do_sigtimedwait): Do not use CHECK_1.
61186 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
61187 <bp-checks.h>.
61188 (do_sigwaitinfo): Do not use CHECK_1.
61189 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
61190 <bp-checks.h>.
61191 (msgctl): Do not use CHECK_1.
61192 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
61193 <bp-checks.h>.
61194 (shmctl): Do not use CHECK_1.
61195 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
61196 (ustat): Do not use CHECK_1.
61197 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
61198 <bp-checks.h>.
61199 (__fxstat): Do not use CHECK_1.
61200 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
61201 <bp-checks.h>.
61202 (__fxstatat): Do not use CHECK_1.
61203 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
61204 <bp-checks.h>.
61205 (__lxstat): Do not use CHECK_1.
61206 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
61207 <bp-checks.h>.
61208 (__xstat): Do not use CHECK_1.
61209 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
61210 (__xstat): Do not use CHECK_1.
61211 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
61212 (___xstat64): Do not use CHECK_1.
61213
61214 [BZ #13550]
61215 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
61216 definitions.
61217 (CHECK_BOUNDS_HIGH): Likewise.
61218 * string/strcpy.c: Do not include <bp-checks.h>.
61219 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
61220
61221 2013-02-07 Roland McGrath <roland@hack.frob.com>
61222
61223 * nscd/nscd-client.h (__nscd_drop_map_ref):
61224 Add __attribute__ ((unused)).
61225 * nis/nss-nisplus.h (niserr2nss): Likewise.
61226
61227 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
61228 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
61229
61230 * csu/libc-tls.c (init_static_tls, init_slotinfo):
61231 Remove inline keyword.
61232 * include/rounding-mode.h (round_away): Likewise.
61233 * libio/wfileops.c (adjust_wide_data): Likewise.
61234 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
61235 (__m128i_strloadu_tolower): Likewise.
61236 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
61237 (__m128i_strloadu_tolower): Likewise.
61238 * time/mktime.c (ydhms_diff): Likewise.
61239 * locale/elem-hash.h (elem_hash): Likewise.
61240 * locale/setlocale.c (setdata): Likewise.
61241 * posix/regex_internal.h (re_string_char_size_at): Likewise.
61242 (re_string_wchar_at): Likewise.
61243 (bitset_not, bitset_merge, bitset_mask): Likewise.
61244 [!(__GNUC__ > 3)] (inline): Remove macro.
61245 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
61246 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
61247 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
61248 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
61249 * string/memcmp.c (memcmp_bytes): Likewise.
61250 * locale/programs/locarchive.c (compute_hashval): Likewise.
61251 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
61252 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
61253 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
61254 * nss/getent.c (print_rpc, print_protocols): Likewise.
61255 (print_passwd, print_group, print_aliases): Likewise.
61256 * nis/nss-nisplus.h (niserr2nss): Likewise.
61257 * nscd/connections.c (restart_p): Likewise.
61258 Change return type to bool.
61259
61260 2013-02-05 Roland McGrath <roland@hack.frob.com>
61261
61262 * Makeconfig (all-Depend-files): Add existing
61263 $(sorted-subdirs:=/Depend) files.
61264 (all-subdirs): Remove nss.
61265 * sysdeps/unix/inet/Subdirs: Add it here instead.
61266 * hesiod/Depend: New file.
61267
61268 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
61269 instead of calling alloca.
61270
61271 * io/lseek.c (__lseek): Rename to __libc_lseek.
61272 Define __lseek as an alias.
61273
61274 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
61275
61276 2013-02-04 Carlos O'Donell <carlos@redhat.com>
61277
61278 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
61279 else clause and remove check for non-standard endianness.
61280
61281 2013-02-04 David S. Miller <davem@davemloft.net>
61282
61283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61284
61285 2013-02-04 Joseph Myers <joseph@codesourcery.com>
61286
61287 [BZ #13550]
61288 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
61289 (__ubp_memchr): Remove prototype.
61290 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
61291 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61292 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
61293 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61294 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
61295 Remove alias.
61296 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
61297 (__ubp_memchr): Likewise.
61298 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
61299 (__ubp_memchr): Likewise.
61300 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
61301 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
61302 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
61303 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
61304 CHECK_STRING.
61305 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
61306 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
61307 (__getcwd): Do not use CHECK_STRING.
61308 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61309 <bp-checks.h>.
61310 (__real_chown): Do not use CHECK_STRING.
61311 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
61312 <bp-checks.h>.
61313 (fchownat): Do not use CHECK_STRING.
61314 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
61315 CHECK_STRING.
61316 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61317 <bp-checks.h>.
61318 (__lchown): Do not use CHECK_STRING.
61319 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
61320 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
61321 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
61322 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
61323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61324 include <bp-checks.h>.
61325 (truncate64): Do not use CHECK_STRING.
61326 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61327 <bp-checks.h>.
61328 (__real_chown): Do not use CHECK_STRING.
61329 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61330 <bp-checks.h>.
61331 (__lchown): Do not use CHECK_STRING.
61332 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61333 <bp-checks.h>.
61334 (__chown): Do not use CHECK_STRING.
61335 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
61336 <bp-checks.h>.
61337 (truncate64): Do not use CHECK_STRING.
61338 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
61339 Likewise.
61340 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
61341 (__xmknod): Do not use CHECK_STRING.
61342 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
61343 <bp-checks.h>.
61344 (__xmknodat): Do not use CHECK_STRING.
61345 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
61346 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
61347
61348 2013-02-04 Andreas Schwab <schwab@suse.de>
61349
61350 [BZ #14142]
61351 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
61352 * include/netdb.h: Likewise for h_errno.
61353 * elf/tst-stackguard1.c: Include <tls.h>.
61354
61355 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
61356
61357 * elf/link.h (struct link_map): Extend the l_addr comment.
61358 * include/link.h (struct link_map): Likewise.
61359
61360 2013-02-01 Joseph Myers <joseph@codesourcery.com>
61361
61362 [BZ #13550]
61363 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
61364 (BOUNDED_1): Remove macro.
61365 * debug/backtrace.c: Don't include <bp-checks.h>.
61366 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
61367 (__backtrace): Likewise.
61368 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
61369 <bp-checks.h>.
61370 (__backtrace): Don't use BOUNDED_1.
61371 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
61372 <bp-checks.h>.
61373 (__backtrace): Don't use BOUNDED_1.
61374 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
61375 (__backtrace): Don't use BOUNDED_1.
61376 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
61377 (shmat): Don't use BOUNDED_N.
61378
61379 2013-01-31 Joseph Myers <joseph@codesourcery.com>
61380
61381 [BZ #13550]
61382 * sysdeps/generic/bp-start.h: Remove file.
61383 * csu/libc-start.c: Don't include <bp-start.h>.
61384 (LIBC_START_MAIN): Set up __environ directly instead of using
61385 INIT_ARGV_and_ENVIRON.
61386 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
61387 <bp-start.h>.
61388
61389 [BZ #13550]
61390 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
61391 definitions.
61392 (CHECK_FCNTL): Likewise.
61393 (CHECK_N_PAGES): Likewise.
61394
61395 [BZ #13550]
61396 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
61397 definitions.
61398 (CHECK_SIGSET_NULL_OK): Likewise.
61399 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
61400 <bp-checks.h>.
61401 (sigpending): Don't use CHECK_SIGSET.
61402 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
61403 <bp-checks.h>.
61404 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61405 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
61406 <bp-checks.h>.
61407 (do_sigsuspend): Don't use CHECK_SIGSET.
61408 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
61409 use CHECK_SIGSET.
61410 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
61411 (do_sigwait): Don't use CHECK_SIGSET.
61412 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
61413 use CHECK_SIGSET.
61414 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
61415 include <bp-checks.h>.
61416 (sigpending): Don't use CHECK_SIGSET.
61417 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
61418 include <bp-checks.h>.
61419 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61420 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
61421 <bp-checks.h>.
61422 (sigpending): Don't use CHECK_SIGSET.
61423 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
61424 <bp-checks.h>.
61425 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61426
61427 [BZ #13550]
61428 * sysdeps/generic/bp-semctl.h: Remove file.
61429 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
61430 <bp-checks.h> and <bp-semctl.h>.
61431 (__old_semctl): Don't use CHECK_SEMCTL.
61432 (__new_semctl): Likewise.
61433 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
61434 and <bp-semctl.h>.
61435 (__old_semctl): Don't use CHECK_SEMCTL.
61436 (__new_semctl): Likewise.
61437 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
61438 <bp-checks.h> and <bp-semctl.h>.
61439 (__old_semctl): Don't use CHECK_SEMCTL.
61440 (__new_semctl): Likewise.
61441 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
61442 <bp-checks.h> and <bp-semctl.h>.
61443 (semctl): Don't use CHECK_SEMCTL.
61444
61445 [BZ #13550]
61446 * Makerules (elide-bp-thunks): Remove variable.
61447 (elide-routines.oS): Don't use $(elide-bp-thunks).
61448 (elide-routines.os): Likewise.
61449 (elide-routines.o): Likewise.
61450 (elide-routines.op): Likewise.
61451 (elide-routines.og): Likewise.
61452 (objects): Don't use $(bp-thunks).
61453 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
61454 include.
61455 (common-generated): Do not add s-proto-bp.d.
61456 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
61457 (int): Likewise.
61458 (typ): Likewise.
61459 Do not generate makefile rules for bounded-pointer thunks.
61460 * sysdeps/generic/bp-thunks.h: Remove file.
61461 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
61462 * sysdeps/unix/s-proto-bp.S: Likewise.
61463
61464 [BZ #15062]
61465 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
61466 parts of result separately when argument is not close to line from
61467 -i to i and one part of argument is small.
61468 * math/k_casinhf.c (__kernel_casinhf): Likewise.
61469 * math/k_casinhl.c (__kernel_casinhl): Likewise.
61470 * math/libm-test.inc (cacos_test): Add more tests.
61471 (casin_test): Likewise.
61472 (casinh_test): Likewise.
61473 * sysdeps/i386/fpu/libm-test-ulps: Update.
61474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61475
61476 2013-01-31 David S. Miller <davem@davemloft.net>
61477
61478 * po/de.po: Update from translation team.
61479
61480 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
61481
61482 * time/tzfile.c: Include stdint.h for SIZE_MAX.
61483
61484 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
61485
61486 * configure.in (_AC_PROG_CC_C89): New definition.
61487 * configure: Regenerate.
61488
61489 * configure.in (AC_PROG_CPP): New definition.
61490 * configure: Regenerate.
61491
61492 2013-01-23 Joseph Myers <joseph@codesourcery.com>
61493
61494 * debug/tst-backtrace.h: New file.
61495 * debug/tst-backtrace2.c: Include tst-backtrace.h.
61496 (ret): Remove variable.
61497 (x): Likewise.
61498 (FAIL): Remove macro.
61499 (NO_INLINE): Likewise.
61500 (fn1): Use match function instead of strstr.
61501 * debug/tst-backtrace3.c: Include tst-backtrace.h.
61502 (ret): Remove variable.
61503 (x): Likewise.
61504 (FAIL): Remove macro.
61505 (NO_INLINE): Likewise.
61506 (fn): Use match function instead of strstr.
61507 * debug/tst-backtrace4.c: Include tst-backtrace.h.
61508 (ret): Remove variable.
61509 (x): Likewise.
61510 (FAIL): Remove macro.
61511 (NO_INLINE): Likewise.
61512 (handle_signal): Use match function instead of strstr.
61513 * debug/tst-backtrace5.c: Include tst-backtrace.h.
61514 (ret): Remove variable.
61515 (x): Likewise.
61516 (FAIL): Remove macro.
61517 (NO_INLINE): Likewise.
61518 (handle_signal): Use match function instead of strstr.
61519
61520 2013-01-23 Roland McGrath <roland@hack.frob.com>
61521
61522 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
61523
61524 2013-01-23 David S. Miller <davem@davemloft.net>
61525
61526 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
61527 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
61528 argument of CAS if possible.
61529 * sysdeps/sparc/sparc64/bits/atomic.h
61530 (__arch_compare_and_exchange_val_32_acq): Likewise.
61531 (__arch_compare_and_exchange_val_64_acq): Likewise.
61532
61533 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
61534
61535 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
61536 * sysdeps/posix/ulimit.c: ... this.
61537 Include <limits.h>.
61538 * sysdeps/unix/bsd/ulimit.c: Remove file.
61539
61540 2013-01-23 Adam Conrad <adconrad@0c3.net>
61541
61542 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
61543 (LDFLAGS-tst-array5): Likewise.
61544
61545 2013-01-23 Joseph Myers <joseph@codesourcery.com>
61546
61547 [BZ #15036]
61548 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
61549 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
61550 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
61551 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
61552
61553 2013-01-21 David S. Miller <davem@davemloft.net>
61554
61555 * sysdeps/sparc/backtrace.c: New file.
61556 * sysdeps/sparc/sparc32/backtrace.h: New file.
61557 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
61558 * sysdeps/sparc/sparc64/backtrace.h: New file.
61559 * sysdeps/sparc/sparc64/backtrace.c: Delete.
61560 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
61561 -funwind-tables.
61562
61563 2013-01-21 Andreas Schwab <schwab@suse.de>
61564
61565 [BZ #15020]
61566 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
61567 closed its stdout.
61568
61569 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
61570
61571 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
61572 "mpa2.h".
61573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61574
61575 2013-01-18 Joseph Myers <joseph@codesourcery.com>
61576 Mark Mitchell <mark@codesourcery.com>
61577 Tom de Vries <tom@codesourcery.com>
61578 Paul Pluzhnikov <ppluzhnikov@google.com>
61579
61580 * debug/tst-backtrace2.c: New file.
61581 * debug/tst-backtrace3.c: Likewise.
61582 * debug/tst-backtrace4.c: Likewise.
61583 * debug/tst-backtrace5.c: Likewise.
61584 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
61585 (CFLAGS-tst-backtrace3.c): Likewise.
61586 (CFLAGS-tst-backtrace4.c): Likewise.
61587 (CFLAGS-tst-backtrace5.c): Likewise.
61588 (LDFLAGS-tst-backtrace2): Likewise.
61589 (LDFLAGS-tst-backtrace3): Likewise.
61590 (LDFLAGS-tst-backtrace4): Likewise.
61591 (LDFLAGS-tst-backtrace5): Likewise.
61592 (tests): Add new tests tst-backtrace2, tst-backtrace3,
61593 tst-backtrace4 and tst-backtrace5.
61594
61595 2013-01-18 Anton Blanchard <anton@samba.org>
61596 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
61597
61598 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
61599 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
61600 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
61601 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
61602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
61603 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
61604 "+r" and remove output regs list as redundant. Add explicit inline
61605 asm to specify register of return val to work around compiler codegen
61606 bug. Remove (int) cast on return value. Add return type parameter to
61607 use in macro so that this macro does not truncate return value for
61608 64-bit values.
61609 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
61610 pass to INTERNAL_VSYSCALL_NCS.
61611 (INLINE_VSYSCALL): Add 'long int' as return type to
61612 INTERNAL_VSYSCALL_NCS macro invocation.
61613 (INTERNAL_VSYSCALL): Add 'long int' as return type to
61614 INTERNAL_VSYSCALL_NCS macro invocation.
61615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61616
61617 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61618
61619 [BZ #14496]
61620 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
61621 Fix application of SIMD FP exception mask.
61622
61623 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
61624 mp_no from a power of two.
61625 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
61626 __mpexp_twomm1. Use __pow_mp.
61627
61628 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
61629 multiplication.
61630
61631 2013-01-17 David S. Miller <davem@davemloft.net>
61632
61633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61634
61635 2013-01-17 Joseph Myers <joseph@codesourcery.com>
61636
61637 [BZ #15023]
61638 * include/complex.h: Condition contents on [!_COMPLEX_H].
61639 (__kernel_casinhf): New prototype.
61640 (__kernel_casinh): Likewise.
61641 (__kernel_casinhl): Likewise.
61642 * math/Makefile (libm_calls): Add k_casinh.
61643 * math/k_casinh.c: New file.
61644 * math/k_casinhf.c: Likewise.
61645 * math/k_casinhl.c: Likewise.
61646 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
61647 finite nonzero arguments.
61648 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
61649 finite nonzero arguments.
61650 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
61651 finite nonzero arguments.
61652 * math/s_casinh.c: Do not include <float.h>.
61653 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
61654 * math/s_casinhf.c: Do not include <float.h>.
61655 (__casinhf): Move code for finite nonzero arguments to
61656 k_casinhf.c.
61657 * math/s_casinhl.c: Do not include <float.h>.
61658 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
61659 redefine.
61660 (__casinhl): Move code for finite nonzero arguments to
61661 k_casinhl.c.
61662 * math/libm-test.inc (cacos_test): Add more tests.
61663 * sysdeps/i386/fpu/libm-test-ulps: Update.
61664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61665
61666 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
61667
61668 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
61669 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
61670 [!HAVE_MREMAP]: Remove [defined linux] case.
61671 * malloc/arena.c: Do not include <malloc-sysdep.h>.
61672
61673 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
61674
61675 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
61676
61677 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
61678
61679 * elf/elf.h (R_386_SIZE32): New relocation.
61680 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
61681 R_386_SIZE32.
61682 (elf_machine_rela): Likewise.
61683 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61684 R_X86_64_SIZE64 and R_X86_64_SIZE32.
61685
61686 2013-01-17 Joseph Myers <joseph@codesourcery.com>
61687
61688 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
61689 (FP_FAST_FMA): Do not define.
61690 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
61691 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
61692 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
61693 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
61694 !_SOFT_FLOAT]: Likewise.
61695 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
61696 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
61697 value.
61698 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
61699 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
61700 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
61701 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
61702 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
61703 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
61704 file.
61705
61706 2013-01-16 Andreas Schwab <schwab@suse.de>
61707
61708 [BZ #14327]
61709 * include/stdlib.h (__mktemp): Add declaration.
61710 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
61711 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
61712
61713 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
61714
61715 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
61716 definitions.
61717 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61718 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
61719 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
61720 definitions here.
61721 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
61722 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
61723 definitions.
61724 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
61725 and ONE.
61726 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
61727 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
61728 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
61729 definitions.
61730 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
61731 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
61732 definitions.
61733 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61734
61735 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
61736
61737 2013-01-15 David S. Miller <davem@davemloft.net>
61738
61739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61740 trunc{,f} to libm-sysdep_routes.
61741 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
61743 file.
61744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
61745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
61746 file.
61747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
61748 file.
61749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
61750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
61751 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
61752 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
61753 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
61754 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
61755 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
61756 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
61757
61758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61759 nearbyint{,f} to libm-sysdep_routes.
61760 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
61762 New file.
61763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
61764 file.
61765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
61766 New file.
61767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
61768 file.
61769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
61770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
61771 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
61772 file.
61773 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
61774 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
61775 file.
61776 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
61777 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
61778 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
61779
61780 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
61781 libc_feholdexcept and libc_fesetenv.
61782
61783 2013-01-15 Mike Frysinger <vapier@gentoo.org>
61784
61785 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
61786
61787 2013-01-14 David S. Miller <davem@davemloft.net>
61788
61789 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
61790 (SPARC_ASM_VIS2_IFUNC): Likewise.
61791 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
61792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
61793 use of 'siam' instruction.
61794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
61795 Likewise.
61796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
61797 Likewise.
61798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
61799 Likewise.
61800 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
61801 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
61802 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
61803 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
61804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
61805 file.
61806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
61807 file.
61808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
61809 file.
61810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
61811 file.
61812 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
61813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
61814 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
61815 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
61816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
61817 new VIS2 routines.
61818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61821 Likewise.
61822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61825 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
61827 routines to libm-sysdep_routines.
61828 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61829
61830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61831 fdim/fdimf to libm-sysdep_routines.
61832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
61833 file.
61834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
61835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
61836 file.
61837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
61838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
61839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
61840 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
61841 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
61842 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
61843 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
61844
61845 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
61846
61847 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
61848 to optimize copies.
61849
61850 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
61851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61853
61854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
61855 local variable MPTWO.
61856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61857 Likewise.
61858
61859 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61860
61861 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
61862 GLOB_NOESCAPE.
61863
61864 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61865
61866 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
61867
61868 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61869
61870 * manual/pattern.texi (glob_t): Document gl_flags.
61871 (glob64_t): Likewise.
61872
61873 2013-01-11 David S. Miller <davem@davemloft.net>
61874
61875 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
61876 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
61877 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
61878 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
61879 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
61880 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61881 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61882 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61883 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61884 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61885 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61886 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61887 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61888
61889 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61890 sparc V9 rather than using V8 code.
61891 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61892 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61893
61894 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61895 Move to...
61896 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61897 Here.
61898
61899 2013-01-11 Roland McGrath <roland@hack.frob.com>
61900
61901 [BZ #14941]
61902 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61903 not in the main loop.
61904 * configure: Regenerated.
61905
61906 2013-01-11 Joseph Myers <joseph@codesourcery.com>
61907
61908 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61909 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61910 to just #else.
61911 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
61912 [!__GLIBC_HAVE_LONG_LONG] case.
61913 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61914 condition to just #else.
61915 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61916 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61917 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61918 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61919 unconditional.
61920 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61921 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61922 #elif condition to just #else.
61923 * sysdeps/unix/sysv/linux/sys/sysmacros.h
61924 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61925 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61926 #elif condition to just #else.
61927
61928 2013-01-11 Steve Ellcey <sellcey@mips.com>
61929
61930 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61931 (EF_MIPS_ARCH_64): Fix value.
61932 (EF_MIPS_ARCH_32R2): New.
61933 (EF_MIPS_ARCH_64R2): New.
61934
61935 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
61936
61937 * Makeconfig (+link-pie-before-libc): New.
61938 (+link-pie-after-libc): Likewise.
61939 (+link-pie-tests): Likewise.
61940 (+link-pie): Rewritten.
61941 (link-before-libc): Remove $(config-LDFLAGS).
61942 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61943 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61944 (config-LDFLAGS): Renamed to ...
61945 (rtld-LDFLAGS): This.
61946 (rtld-tests-LDFLAGS): New macro.
61947 (link-libc-rpath-link): Likewise.
61948 (link-libc-tests-rpath-link): Likewise.
61949 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61950 (link-libc): Prepand $(link-libc-rpath-link).
61951 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61952 (test-program-prefix): New macro.
61953 (test-via-rtld-prefix): Likewise.
61954 (test-program-cmd): Likewise.
61955 (host-test-program-cmd): Likewise.
61956 * Makefile ($(common-objpfx)testrun.sh): Replace
61957 $(run-program-prefix) with $(test-program-prefix).
61958 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61959 $(rtld-LDFLAGS).
61960 ($(common-objpfx)shlib.lds): Likewise.
61961 (build-module-helper): Likewise.
61962 ($(common-objpfx)format.lds): Likewise.
61963 * Rules (binaries-pie-tests): New.
61964 (binaries-pie-notests): Likewise.
61965 (binaries-pie): Rewritten.
61966 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61967 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61968 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61969 (make-test-out): Replace $(host-built-program-cmd) with
61970 $(host-test-program-cmd).
61971 * config.make.in (build-hardcoded-path-in-tests): New variable.
61972 * configure.in (--enable-hardcoded-path-in-tests): New configure
61973 option.
61974 (hardcoded_path_in_tests): New AC_SUBST.
61975 * configure: Regenerated.
61976 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61977 $(built-program-cmd) with $(test-program-cmd).
61978 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61979 (test_program_cmd): This.
61980 * elf/Makefile ($(objpfx)order.out): Run test with
61981 $(test-program-prefix).
61982 ($(objpfx)order2.out): Likewise.
61983 ($(objpfx)tst-initorder.out): Likewise.
61984 ($(objpfx)tst-initorder2.out): Likewise.
61985 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61986 $(test-program-cmd).
61987 ($(objpfx)tst-array1-static.out): Likewise.
61988 ($(objpfx)tst-array2.out): Likewise.
61989 ($(objpfx)tst-array3.out): Likewise.
61990 ($(objpfx)tst-array4.out): Likewise.
61991 ($(objpfx)tst-array5.out): Likewise.
61992 ($(objpfx)tst-array5-static.out): Likewise.
61993 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61994 $(test-program-cmd).
61995 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61996 $(run-program-prefix) with $(test-program-prefix).
61997 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61998 (test_program_prefix): This.
61999 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
62000 $(run-program-prefix) with $(test-program-prefix).
62001 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
62002 (test_program_prefix): This.
62003 * iconvdata/tst-tables.sh: Likewise.
62004 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
62005 $(run-program-prefix) with $(test-program-prefix).
62006 ($(objpfx)tst-translit.out): Likewise.
62007 ($(objpfx)tst-gettext2.out): Likewise.
62008 ($(objpfx)tst-gettext4.out): Likewise.
62009 ($(objpfx)tst-gettext6.out): Likewise.
62010 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
62011 (test_program_prefix): This.
62012 * intl/tst-gettext2.sh: Likewise.
62013 * intl/tst-gettext4.sh Likewise.
62014 * intl/tst-gettext6.sh: Likewise.
62015 * intl/tst-translit.sh: Likewise.
62016 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
62017 with $(test-program-cmd).
62018 * libio/Makefile ($(objpfx)test-freopen.out): Replace
62019 $(run-program-prefix) with $(test-program-prefix).
62020 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
62021 (test_program_prefix): This.
62022 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
62023 $(run-program-prefix) with $(test-program-prefix).
62024 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
62025 (test_program_prefix): This.
62026 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
62027 * posix/Makefile ($(objpfx)globtest.out): Replace
62028 $(run-via-rtld-prefix) and $(test-wrapper) with
62029 $(test-program-prefix) and $(test-via-rtld-prefix).
62030 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
62031 $(test-program-prefix).
62032 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
62033 $(host-test-program-cmd).
62034 (tst-spawn-ARGS): Likewise.
62035 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
62036 $(test-program-prefix).
62037 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
62038 (test_via_rtld_prefix): This.
62039 (test_wrapper): Renamed to ...
62040 (test_program_prefix): This.
62041 (run_program_prefix): Replaced by test_program_prefix.
62042 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
62043 (test_program_prefix): This.
62044 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
62045 with $(host-test-program-cmd).
62046 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
62047 $(run-program-prefix) with $(test-program-prefix).
62048 ($(objpfx)tst-printf.out): Likewise.
62049 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
62050 $(test-program-cmd).
62051 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
62052 (test_program_prefix): This.
62053 * stdio-common/tst-unbputc.sh: Likewise.
62054 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
62055 $(run-program-prefix) with $(test-program-prefix).
62056 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
62057 (test_program_prefix): This.
62058 * string/Makefile ($(objpfx)tst-svc.out): Replace
62059 $(built-program-cmd) with $(test-program-cmd).
62060
62061 2013-01-11 Andreas Jaeger <aj@suse.de>
62062
62063 [BZ #15003]
62064 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
62065 value. Sync with Linux 3.7.
62066
62067 2013-01-10 David S. Miller <davem@davemloft.net>
62068
62069 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
62070 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62071 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62072
62073 2013-01-10 Roland McGrath <roland@hack.frob.com>
62074
62075 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
62076 never set.
62077 * configure: Regenerated.
62078
62079 2013-01-10 David S. Miller <davem@davemloft.net>
62080
62081 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
62082 sparc V9 rather than using V8 code.
62083 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62084 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62085
62086 2013-01-10 Roland McGrath <roland@hack.frob.com>
62087
62088 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
62089 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
62090 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
62091 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
62092 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
62093 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
62094 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
62095 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
62096 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
62097 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
62098 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
62099 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
62100 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
62101 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
62102 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
62103 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
62104 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
62105 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
62106 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
62107 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
62108 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
62109 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
62110 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
62111 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
62112 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
62113 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
62114 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
62115
62116 2013-01-10 David S. Miller <davem@davemloft.net>
62117
62118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62119
62120 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
62121
62122 * posix/Makefile (tests-static): New variable.
62123 (tests): Add $(tests-static).
62124 (tst-exec-static-ARGS): New variable.
62125 (tst-spawn-static-ARGS): Likewise.
62126 * posix/tst-exec-static.c: New file.
62127 * posix/tst-spawn-static.c: Likewise.
62128 * posix/tst-exec.c: Support run directly.
62129 * posix/tst-spawn.c: Likewise.
62130
62131 2013-01-10 Joseph Myers <joseph@codesourcery.com>
62132
62133 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
62134 long.
62135 * math/bits/mathcalls.h (llrint): Likewise.
62136 (llround): Likewise.
62137 * stdlib/stdlib.h (struct drand48_data): Likewise.
62138 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
62139 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
62140 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
62141 Likewise.
62142 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
62143 Likewise.
62144 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
62145 (elf_greg_t): Likewise.
62146 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
62147 (__jmp_buf): Likewise.
62148 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
62149 definitions.
62150 (llrint): Likewise, for all definitions.
62151 (llrintl): Likewise.
62152
62153 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
62154 Remove [__GNUC__] condition.
62155 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
62156 condition to just [__USE_ISOC99].
62157 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
62158
62159 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
62160
62161 [BZ #14200]
62162 * sysdeps/unix/sysv/linux/x86/bits/environments.h
62163 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
62164 defined.
62165 (_POSIX_V6_ILP32_OFF32): Likewise.
62166 (_XBS5_ILP32_OFF32): Likewise.
62167 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
62168 (__ILP32_OFFBIG_LDFLAGS): Likewise.
62169
62170 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
62171
62172 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
62173
62174 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
62175 doubles __mpexp_twomm1. Adjust usage.
62176 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
62177 Remove.
62178
62179 2013-01-10 Andreas Schwab <schwab@suse.de>
62180
62181 [BZ #14964]
62182 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
62183 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
62184
62185 2013-01-09 David S. Miller <davem@davemloft.net>
62186
62187 [BZ #15003]
62188 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
62189 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
62190 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
62191 (TCP_FASTOPEN): Define.
62192 (tcp_repair_opt): New structure.
62193 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
62194 enum values.
62195 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
62196 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
62197 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
62198 (tcp_cookie_transactions): New structure.
62199
62200 2013-01-09 Anton Blanchard <anton@samba.org>
62201
62202 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
62203 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
62204 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
62205 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
62206
62207 2013-01-09 Joseph Myers <joseph@codesourcery.com>
62208
62209 * include/features.h (__USE_ANSI): Remove.
62210
62211 2013-01-09 Roland McGrath <roland@hack.frob.com>
62212
62213 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
62214
62215 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
62216
62217 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
62218
62219 * sysdeps/s390/fpu/libm-test-ulps: Update.
62220
62221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62222
62223 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
62224 (__acr): Likewise.
62225 (__cpy): Likewise.
62226 (norm): Likewise.
62227 (denorm): Likewise.
62228 (__mp_dbl): Likewise.
62229 (__dbl_mp): Likewise.
62230 (add_magnitudes): Likewise.
62231 (sub_magnitudes): Likewise.
62232 (__add): Likewise.
62233 (__sub): Likewise.
62234 (__mul): Likewise.
62235 (__inv): Likewise.
62236 (__dvd): Likewise.
62237 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
62238 (__acr): Likewise.
62239 (__cpy): Likewise.
62240 (norm): Likewise.
62241 (denorm): Likewise.
62242 (__mp_dbl): Likewise.
62243 (__dbl_mp): Likewise.
62244 (add_magnitudes): Likewise.
62245 (sub_magnitudes): Likewise.
62246 (__add): Likewise.
62247 (__sub): Likewise.
62248 (__mul): Likewise.
62249 (__inv): Likewise.
62250 (__dvd): Likewise.
62251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
62252 (__acr): Likewise.
62253 (__cpy): Likewise.
62254 (norm): Likewise.
62255 (denorm): Likewise.
62256 (__mp_dbl): Likewise.
62257 (__dbl_mp): Likewise.
62258 (add_magnitudes): Likewise.
62259 (sub_magnitudes): Likewise.
62260 (__add): Likewise.
62261 (__sub): Likewise.
62262 (__mul): Likewise.
62263 (__inv): Likewise.
62264 (__dvd): Likewise.
62265
62266 2013-01-08 Joseph Myers <joseph@codesourcery.com>
62267
62268 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
62269 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
62270 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
62271 2 && __USE_EXTERN_INLINES]: Likewise.
62272
62273 2013-01-08 Andreas Jaeger <aj@suse.de>
62274
62275 [BZ# 14985]
62276 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
62277 Remove.
62278 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62279 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62280
62281 2013-01-07 Anton Blanchard <anton@samba.org>
62282
62283 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
62284 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62285 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
62286 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62287 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62288 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62289 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
62290 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62292 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62293 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62294 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62295 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62296 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62297 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62298 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62299 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62300 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62301 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62302 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62303 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62304 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
62305 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62306 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62307 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
62308 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62309 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62310 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62311 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
62312 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62313 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62314 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62315 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62316 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62317 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62318 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62319 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62320 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62321 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
62322 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
62323 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
62324 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62325 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62326
62327 2013-01-07 Joseph Myers <joseph@codesourcery.com>
62328
62329 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
62330 (__MALLOC_PMT): Likewise.
62331 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
62332 [__GNUC__], only on [_LIBC].
62333 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62334 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
62335 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62336 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
62337 forward declaration.
62338 (realloc_hook_ini): Likewise.
62339 (memalign_hook_ini): Likewise.
62340 (__libc_memalign): Do not use __MALLOC_PMT in variable
62341 declaration.
62342 (__libc_valloc): Likewise.
62343 (__libc_pvalloc): Likewise.
62344 (__libc_calloc): Likewise.
62345 (__posix_memalign): Likewise.
62346
62347 [BZ #14996]
62348 * math/s_casinh.c: Include <float.h>.
62349 (__casinh): Do not do computation with squaring and square root
62350 for large arguments.
62351 * math/s_casinhf.c: Include <float.h>.
62352 (__casinhf): Do not do computation with squaring and square root
62353 for large arguments.
62354 * math/s_casinhl.c: Include <float.h>.
62355 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
62356 (__casinhl): Do not do computation with squaring and square root
62357 for large arguments.
62358 * math/libm-test.inc (casin_test): Add more tests.
62359 (casinh_test): Likewise.
62360 * sysdeps/i386/fpu/libm-test-ulps: Update.
62361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62362
62363 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
62364
62365 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
62366 (__x86_64_raw_data_cache_size): Likewise.
62367 (__x86_64_data_cache_size_half): Likewise.
62368 (__x86_64_raw_data_cache_size_half): Likewise.
62369 (__x86_64_shared_cache_size): Likewise.
62370 (__x86_64_raw_shared_cache_size): Likewise.
62371 (__x86_64_shared_cache_size_half): Likewise.
62372 (__x86_64_raw_shared_cache_size_half): Likewise.
62373 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
62374 to ...
62375 (__x86_data_cache_size): This.
62376 (__x86_64_raw_data_cache_size): Renamed to ...
62377 (__x86_raw_data_cache_size): This.
62378 (__x86_64_data_cache_size_half): Renamed to ...
62379 (__x86_data_cache_size_half): This.
62380 (__x86_64_raw_data_cache_size_half): Renamed to ...
62381 (__x86_raw_data_cache_size_half): This.
62382 (__x86_64_shared_cache_size): Renamed to ...
62383 (__x86_shared_cache_size): This.
62384 (__x86_64_raw_shared_cache_size): Renamed to ...
62385 (__x86_raw_shared_cache_size): This.
62386 (__x86_64_shared_cache_size_half): Renamed to ...
62387 (__x86_shared_cache_size_half): This.
62388 (__x86_64_raw_shared_cache_size_half): Renamed to ...
62389 (__x86_raw_shared_cache_size_half): This.
62390 * sysdeps/x86_64/memcpy.S: Updated.
62391 * sysdeps/x86_64/memset.S: Likewise.
62392 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62393 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62394 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62395
62396 2013-01-04 David S. Miller <davem@davemloft.net>
62397
62398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62399
62400 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
62401
62402 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
62403 1 to avoid redefinition warning.
62404 (__USE_GNU): Don't define.
62405 (init_signaling_nan): Protoize.
62406
62407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62408
62409 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62410
62411 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
62412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
62413 (__cpymn): Likewise.
62414 (norm): Remove commented code.
62415 (denorm): Likewise.
62416 (__mp_dbl): Likewise.
62417 (__inv): Likewise.
62418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
62419 (__cpymn): Likewise.
62420 (norm): Remove commented code.
62421 (denorm): Likewise.
62422 (__mp_dbl): Likewise.
62423 (__inv): Likewise.
62424
62425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
62426 mp_no value for 1.0 and 2.0.
62427 (norm): Use RADIXI instead of radixi.d.
62428 (denorm): Likewise.
62429 (__mul): Use 0.0 instead of zero.d.
62430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
62431 mp_no value for 1.0 and 2.0.
62432 (norm): Use RADIXI instead of radixi.d.
62433 (denorm): Likewise.
62434 (__mul): Use 0.0 instead of zero.d.
62435
62436 2013-01-04 Joseph Myers <joseph@codesourcery.com>
62437
62438 [BZ #14994]
62439 * math/s_casinh.c (__casinh): Reduce finite argument to first
62440 quadrant then set signs of results at the end.
62441 * math/s_casinhf.c (__casinhf): Likewise.
62442 * math/s_casinhl.c (__casinhl): Likewise.
62443 * math/libm-test.inc (casin_test): Add more tests.
62444 (casinh_test): Likewise.
62445 * sysdeps/i386/fpu/libm-test-ulps: Update.
62446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62447
62448 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62449
62450 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
62451
62452 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
62453
62454 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
62455 declarations.
62456 (denorm): Likewise.
62457 (__mp_dbl): Likewise.
62458 (__inv): Likewise.
62459
62460 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
62461 and adjust the header comment.
62462
62463 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
62464 variable name from declaration.
62465
62466 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
62467
62468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62469 Initialize COMMON_CPUID_INDEX_7 element.
62470 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
62471 (CPUID_RTM): Likewise.
62472 (HAS_RTM): Likewise.
62473 (COMMON_CPUID_INDEX_7): New enum.
62474
62475 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
62476
62477 [BZ #14981]
62478 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
62479 size is zero, record memory as freed.
62480
62481 2013-01-03 Andreas Jaeger <aj@suse.de>
62482
62483 * po/ia.po: Add new Interlingua translation.
62484
62485 2012-01-03 Allan McRae <allan@archlinux.org>
62486
62487 * locale/programs/localedef.c: Fix description of '--posix' flag.
62488
62489 2013-01-02 Joseph Myers <joseph@codesourcery.com>
62490
62491 * NEWS: Update dates in second copyright notice.
62492 * README: Update copyright dates in example.
62493 * manual/libc.texinfo: Update copyright dates.
62494 * scripts/test-installation.pl: Update copyright date in --version
62495 output.
62496
62497 * hurd/ctty-input.c: Fix copyright notice formatting.
62498 * hurd/ctty-output.c: Likewise.
62499 * hurd/dtable.c: Likewise.
62500 * hurd/hurd-raise.c: Likewise.
62501 * hurd/hurdprio.c: Likewise.
62502 * hurd/msgportdemux.c: Likewise.
62503 * misc/sys/file.h: Likewise.
62504 * misc/sys/ioctl.h: Likewise.
62505 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
62506 * sysdeps/mach/hurd/chdir.c: Likewise.
62507 * sysdeps/mach/hurd/fchdir.c: Likewise.
62508 * sysdeps/mach/hurd/rename.c: Likewise.
62509 * sysdeps/mach/hurd/rmdir.c: Likewise.
62510 * sysdeps/mach/hurd/seekdir.c: Likewise.
62511 * sysdeps/mach/hurd/setsid.c: Likewise.
62512 * sysdeps/posix/wait3.c: Likewise.
62513
62514 * All files with FSF copyright notices: Update copyright dates
62515 using scripts/update-copyrights.
62516 * intl/plural.c: Regenerated.
62517 * locale/programs/charmap-kw.h: Likewise.
62518 * locale/programs/locfile-kw.h: Likewise.
62519
62520 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
62521
62522 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
62523 four values.
62524
62525 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
62526 calculation loop and add branch prediction.
62527
62528 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
62529 check access beyond bounds of m1np.
62530
62531 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62532 MPTWO.
62533 (__inv): Remove local variable MPTWO to use the global
62534 constant.
62535 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
62536 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62537 variable MPTWO.
62538 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
62539 MP3HALFS static const.
62540
62541 2013-01-01 David S. Miller <davem@davemloft.net>
62542
62543 * po/ca.po: Update from translation team.
62544
62545 2013-01-01 Joseph Myers <joseph@codesourcery.com>
62546
62547 * scripts/update-copyrights: New file.
62548 * Makeconfig: Reformat copyright notice.
62549 * ctype/ctype.h: Likewise.
62550 * debug/swprintf_chk.c: Likewise.
62551 * elf/dl-cache.c: Likewise.
62552 * elf/dl-debug.c: Likewise.
62553 * elf/dl-object.c: Likewise.
62554 * grp/initgroups.c: Likewise.
62555 * hurd/Makefile: Likewise.
62556 * hurd/hurd/signal.h: Likewise.
62557 * hurd/hurdfault.c: Likewise.
62558 * hurd/hurdioctl.c: Likewise.
62559 * hurd/hurdlookup.c: Likewise.
62560 * hurd/intr-msg.c: Likewise.
62561 * iconv/gconv_open.c: Likewise.
62562 * libio/swprintf.c: Likewise.
62563 * locale/lc-ctype.c: Likewise.
62564 * locale/nl_langinfo.c: Likewise.
62565 * mach/Machrules: Likewise.
62566 * mach/Makefile: Likewise.
62567 * malloc/obstack.h: Likewise.
62568 * manual/Makefile: Likewise.
62569 * manual/tsort.awk: Likewise.
62570 * misc/bits/stab.def: Likewise.
62571 * nis/nis_print_group_entry.c: Likewise.
62572 * nis/nis_table.c: Likewise.
62573 * nis/nss_compat/compat-pwd.c: Likewise.
62574 * nis/nss_compat/compat-spwd.c: Likewise.
62575 * po/Makefile: Likewise.
62576 * posix/fnmatch.c: Likewise.
62577 * posix/regex.h: Likewise.
62578 * resolv/Makefile: Likewise.
62579 * resolv/nss_dns/dns-network.c: Likewise.
62580 * resolv/res_hconf.c: Likewise.
62581 * scripts/gen-sorted.awk: Likewise.
62582 * soft-fp/soft-fp.h: Likewise.
62583 * stdio-common/printf.h: Likewise.
62584 * stdlib/monetary.h: Likewise.
62585 * stdlib/random.c: Likewise.
62586 * stdlib/random_r.c: Likewise.
62587 * sysdeps/generic/Makefile: Likewise.
62588 * sysdeps/gnu/Makefile: Likewise.
62589 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62590 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62591 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62594 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62595 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62596 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62597 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62598 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62599 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62600 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62601 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62602 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62603 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
62604 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62605 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62606 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62607 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62608 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62609 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62610 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62611 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62612 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62613 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
62614 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
62615 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62616 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
62617 * sysdeps/mach/hurd/errnos.awk: Likewise.
62618 * sysdeps/mach/hurd/fork.c: Likewise.
62619 * sysdeps/mach/hurd/getcwd.c: Likewise.
62620 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
62621 * sysdeps/mach/hurd/mmap.c: Likewise.
62622 * sysdeps/mach/hurd/utimes.c: Likewise.
62623 * sysdeps/mach/hurd/xmknod.c: Likewise.
62624 * sysdeps/posix/profil.c: Likewise.
62625 * sysdeps/posix/readdir_r.c: Likewise.
62626 * sysdeps/powerpc/bits/mathdef.h: Likewise.
62627 * sysdeps/powerpc/bits/setjmp.h: Likewise.
62628 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
62629 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62631 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62632 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62633 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62634 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62635 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62636 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62637 * sysdeps/pthread/lio_listio.c: Likewise.
62638 * sysdeps/sparc/dl-procinfo.h: Likewise.
62639 * sysdeps/unix/i386/sysdep.S: Likewise.
62640 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
62641 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
62642 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
62643 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
62644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62645 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
62646 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
62647 * sysdeps/unix/sysv/linux/speed.c: Likewise.
62648 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
62649 * sysdeps/wordsize-32/divdi3.c: Likewise.
62650 * time/sys/time.h: Likewise.
62651 * wcsmbs/Makefile: Likewise.
62652
62653 2013-01-01 David S. Miller <davem@davemloft.net>
62654
62655 * po/fr.po: Update from translation team.
62656
62657 * catgets/gencat.c: Update copyright year.
62658 * csu/version.c: Likewise.
62659 * debug/catchsegv.sh: Likewise.
62660 * debug/pcprofiledump.c: Likewise.
62661 * debug/xtrace.sh: Likewise.
62662 * elf/ldconfig.c: Likewise.
62663 * elf/ldd.bash.in: Likewise.
62664 * elf/pldd.c: Likewise.
62665 * elf/sotruss.ksh: Likewise.
62666 * elf/sprof.c: Likewise.
62667 * iconv/iconv_prog.c: Likewise.
62668 * iconv/iconvconfig.c: Likewise.
62669 * locale/programs/locale.c: Likewise.
62670 * locale/programs/localedef.c: Likewise.
62671 * login/programs/pt_chown.c: Likewise.
62672 * malloc/memusage.sh: Likewise.
62673 * malloc/memusagestat.c: Likewise.
62674 * malloc/mtrace.pl: Likewise.
62675 * nscd/nscd.c: Likewise.
62676 * nss/getent.c: Likewise.
62677 * nss/makedb.c: Likewise.
62678 * posix/getconf.c: Likewise.
62679
62680 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
62681
62682 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
62683 numbers.
62684
62685 2012-12-30 Mike Frysinger <vapier@gentoo.org>
62686
62687 * math/bits/mathcalls.h (modf): Use __nonnull.
62688
62689 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
62690
62691 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
62692 (split): Use macro CN instead of the bare value.
62693 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
62694 could be used.
62695 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
62696 instead of the bare value.
62697 (power1): Likewise.
62698
62699 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62700
62701 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
62702 __ATAN_TWOM.
62703 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62704
62705 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
62706 their values.
62707 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
62708 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62709 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
62710 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
62711
62712 2012-12-28 Andreas Jaeger <aj@suse.de>
62713
62714 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
62715 values are from Linux 3.7.
62716
62717 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
62718 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
62719
62720 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62721
62722 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
62723 TRUE case.
62724
62725 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
62726 (norm): Likewise.
62727 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
62728 variables with preprocessor constants.
62729 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62730 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
62731 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
62732
62733 2012-12-27 Bruno Haible <bruno@clisp.org>
62734
62735 [BZ #14317]
62736 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
62737 only if needed.
62738
62739 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
62740
62741 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
62742 and use variable directly.
62743 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
62744
62745 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62746 MPONE.
62747 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
62748 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62749 variable MPONE.
62750 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62751 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62752 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
62753 include directive. Remove local variable MPONE.
62754 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
62755 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
62756 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62757
62758 2012-12-25 David S. Miller <davem@davemloft.net>
62759
62760 * version.h (RELEASE): Set to "development".
62761 (VERSION): Set to "2.17.90".
62762 * NEWS: Add 2.18 section.
62763
62764 2012-12-21 David S. Miller <davem@davemloft.net>
62765
62766 * po/hr.po: Update from translation team.
62767
62768 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62769
62770 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
62771
62772 2012-12-19 Steve Ellcey <sellcey@mips.com>
62773
62774 * NEWS: Mention new memcpy for MIPS.
62775
62776 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62777
62778 * manual/contrib.texi (Contributors): Spelling correction.
62779
62780 2012-12-15 David S. Miller <davem@davemloft.net>
62781
62782 * po/ru.po: Update from translation team.
62783
62784 2012-12-13 David S. Miller <davem@davemloft.net>
62785
62786 * NEWS: Mention IFUNC testsuite enhancements.
62787
62788 * po/pl.po: Update from translation team.
62789 * po/bg.po: Likewise.
62790
62791 * manual/contrib.texi (Contributors): Update entries for Hongjiu
62792 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
62793
62794 2012-12-11 David S. Miller <davem@davemloft.net>
62795
62796 * po/sv.po: Update from translation team.
62797
62798 * po/vi.po: Update from translation team.
62799
62800 * po/cs.po: Update from translation team.
62801
62802 * po/de.po: Update from translation team.
62803 * po/eo.po: Likewise.
62804 * po/nl.po: Likewise.
62805
62806 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62807
62808 [BZ #14246]
62809 * manual/argp.texi (Argp Helper Functions): Move node to follow
62810 Argp Parsing State.
62811
62812 [BZ #14872]
62813 * manual/conf.texi (Limits on File System Capacity): Mention if
62814 terminating null is included in the max size.
62815
62816 2012-12-10 Andreas Jaeger <aj@suse.de>
62817
62818 * po/cs.po: Update from translation team.
62819
62820 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62821
62822 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
62823 void pointer and cast to uintptr_t.
62824 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
62825 path.
62826 * sysdeps/s390/s390-64/memcpy.S: Likewise.
62827 * sysdeps/s390/s390-64/memset.S: Likewise.
62828
62829 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
62830
62831 [BZ #14833]
62832 * menual/message.texi (Message Translation): Fix typos.
62833 (Helper programs for gettext): Likewise.
62834
62835 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
62836
62837 [BZ #14898]
62838 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
62839 Change to -1.
62840
62841 2012-12-07 David S. Miller <davem@davemloft.net>
62842
62843 * po/libc.pot: Update.
62844
62845 2012-12-07 Richard Henderson <rth@redhat.com>
62846
62847 [BZ #10114]
62848 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
62849 normal/normal case to before the switch.
62850 (_FP_DIV): Likewise.
62851
62852 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
62853 Mike Frysinger <vapier@gentoo.org>
62854
62855 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
62856 check for __NR_fadvise64_64.
62857
62858 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
62859
62860 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
62861 0, not just to plain "0" as a statement.
62862 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
62863 with cw.
62864
62865 2012-12-06 Joseph Myers <joseph@codesourcery.com>
62866
62867 * NEWS: Use sourceware.org in Bugzilla URL.
62868
62869 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
62870
62871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
62872 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62873
62874 * stdio-common/tst-put-error.c (do_test): Add newline to the
62875 padded test to ensure flush.
62876
62877 2012-12-05 Jeff Law <law@redhat.com>
62878
62879 * sunrpc/etc.rpc (fedfs_admin): Add entry.
62880
62881 2012-12-05 Joseph Myers <joseph@codesourcery.com>
62882
62883 * README: Don't refer to ports add-on as distributed separately.
62884 Mention AArch64 in list of systems supported in the ports add-on.
62885
62886 * LICENSES: Add more non-FSF copyright and license notices.
62887
62888 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62889 ((unused)).
62890
62891 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62892
62893 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62894 10000 as width of padded output.
62895
62896 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62897
62898 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62899
62900 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62901 variable LX with __attribute__ ((unused)).
62902 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62903 Likewise.
62904 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62905 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62906 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62907 with __attribute__ ((unused)).
62908
62909 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
62910
62911 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62912
62913 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62914
62915 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62916 (CFLAGS-nldbl-acos.c): New variable.
62917 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62918 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62919 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62920 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62921 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62922 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62923 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62924 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62925 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62926 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62927 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62928 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62929 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62930 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62931 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62932 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62933 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62934 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62935 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62936 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62937 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62938 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62939 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62940 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62941 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62942 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62943 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62944 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62945 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62946 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62947 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62948 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62949 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62950 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62951 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62952 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62953 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62954 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62955 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62956 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62957 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62958 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62959 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62960 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62961 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62962 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62963 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62964 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62965 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62966 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62967 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62968 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62969 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62970 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62971 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62972 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62973 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62974 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62975 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62976 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62977 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62978 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62979 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62980 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62981 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62982 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62983 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62984 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62985 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62986 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62987 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62988 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62989 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62990 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62991 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62992 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62993 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62994 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62995 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62996 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62997 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62998 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62999 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
63000 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
63001 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
63002 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
63003 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
63004 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
63005 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
63006 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
63007 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
63008 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
63009 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
63010 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
63011 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
63012 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
63013 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
63014
63015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
63016 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
63017
63018 [BZ #14914]
63019 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
63020 whole low double instead of just low 47 bits when splitting values
63021 into two parts.
63022
63023 2012-12-03 Allan McRae <allan@archlinux.org>
63024
63025 * manual/stdio.texi (Predefined Printf Handlers): Remove
63026 @hsep and @vsep usage.
63027
63028 2012-12-03 Mike Frysinger <vapier@gentoo.org>
63029
63030 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
63031 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
63032
63033 2012-12-03 Jeff Law <law@redhat.com>
63034
63035 * time/sys/time.h (settimeofday): Do not mark TV argument
63036 as __nonnull.
63037
63038 2012-12-01 Mike Frysinger <vapier@gentoo.org>
63039
63040 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
63041 when currently writing and seek to current position when not.
63042 * libio/Makefile (tests): Remove bug-fclose1.
63043 * libio/bug-fclose1.c: Delete.
63044
63045 2012-12-01 Joseph Myers <joseph@codesourcery.com>
63046
63047 * manual/arith.texi (feenableexcept): Fix typo.
63048 (fedisableexcept): Likewise.
63049
63050 2012-11-30 Roland McGrath <roland@hack.frob.com>
63051
63052 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
63053 second, differently-typed declaration, rather than a cast.
63054
63055 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
63056
63057 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
63058 * include/rpc/svc.h: ... here.
63059
63060 2012-11-30 Aurelien Jarno <aurel32@debian.org>
63061
63062 [BZ #13013]
63063 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
63064 depending n and resplen2 to catch cases where answer
63065 equals answerp2.
63066
63067 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
63068
63069 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
63070 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
63071
63072 2012-11-29 Mike Frysinger <vapier@gentoo.org>
63073
63074 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
63075
63076 2012-11-29 Roland McGrath <roland@hack.frob.com>
63077
63078 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
63079
63080 2012-11-28 Jeff Law <law@redhat.com>
63081
63082 [BZ #13761]
63083 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
63084 dataset_temporary. Track alloca usage into alloca_used.
63085 If dataset is large allocate and release it via malloc/free.
63086
63087 2012-06-04 Florian Weimer <fweimer@redhat.com>
63088
63089 [BZ #14197]
63090 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
63091
63092 2012-11-28 David S. Miller <davem@davemloft.net>
63093
63094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63095
63096 2012-11-28 Joseph Myers <joseph@codesourcery.com>
63097
63098 [BZ #14803]
63099 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
63100 of pi/2 rounded to nearest to 64 bits.
63101 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
63102 nearest to 64 bits.
63103 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
63104 bits.
63105
63106 2012-11-28 Jeff Law <law@redhat.com>
63107 Martin Osvald <mosvald@redhat.com>
63108
63109 [BZ #14889]
63110 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
63111 * sunrpc/svc.c: Include time.h.
63112 (__svc_accept_failed): New function.
63113 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
63114 any reason other than EINTR, call __svc_accept_failed.
63115 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
63116 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
63117
63118 2012-11-28 Andreas Schwab <schwab@suse.de>
63119
63120 * scripts/abilist.awk: Also handle indirect functions in .opd
63121 section.
63122
63123 2012-11-28 Joseph Myers <joseph@codesourcery.com>
63124
63125 [BZ #13881]
63126 * sysdeps/x86/fpu/powl_helper.c: New file.
63127 * sysdeps/x86/fpu/Makefile: Likewise.
63128 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
63129 (p3): New object.
63130 (__ieee754_powl): Use __powl_helper for finite arguments except
63131 integer exponents below 8.
63132 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
63133 (p3): New object.
63134 (__ieee754_powl): Use __powl_helper for finite arguments except
63135 integer exponents below 8.
63136 * math/libm-test.inc (pow_test): Add more tests and enable some
63137 previously disabled tests.
63138 * sysdeps/i386/fpu/libm-test-ulps: Update.
63139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63140
63141 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
63142 Carlos O'Donell <carlos_odonell@mentor.com>
63143
63144 * nss/makedb.c (is_prime): Assert that input is odd and greater
63145 than 4. Note that fact in a comment too.
63146 (next_prime): Add 4 to input.
63147
63148 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
63149
63150 [BZ #11741]
63151 * libio/Makefile (tests): Add test case tst-fwrite-error.
63152 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
63153 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
63154 * libio/tst-fwrite-error.c: New test case.
63155
63156 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
63157
63158 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
63159 before casting to void *.
63160 * include/libc-internal.h (__pointer_type): New macro.
63161 (__integer_if_pointer_type_sub): Likewise.
63162 (__integer_if_pointer_type): Likewise.
63163 (cast_to_integer): Likewise.
63164 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
63165 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
63166 before casting to atomic64_t.
63167 (atomic_exchange_acq): Likewise.
63168 (__arch_exchange_and_add_body): Likewise.
63169 (__arch_add_body): Likewise.
63170 (atomic_add_negative): Likewise.
63171 (atomic_add_zero): Likewise.
63172
63173 2012-11-26 Joseph Myers <joseph@codesourcery.com>
63174
63175 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
63176 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
63177 (add_fdes): Likewise.
63178 (linear_search_fdes): Likewise.
63179 (binary_search_unencoded_fdes): Likewise.
63180
63181 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
63182
63183 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
63184
63185 2012-11-24 Adam Conrad <adconrad@0c3.net>
63186
63187 * configure.in: Autodetect C++ header directories.
63188 * configure: Regenerated.
63189
63190 2012-11-23 Mike Frysinger <vapier@gentoo.org>
63191
63192 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
63193
63194 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
63195
63196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63197
63198 2012-11-22 Joseph Myers <joseph@codesourcery.com>
63199
63200 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
63201 LDBL_MANT_DIG == 106]: Disable some tests.
63202 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63203 Likewise.
63204 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63205 Likewise.
63206
63207 [BZ #14871]
63208 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
63209 input for small inputs. Return +/- pi/2 for large inputs.
63210 * math/libm-test.inc (atan_test): Add more tests.
63211
63212 * sysdeps/generic/unwind-dw2-fde-glibc.c
63213 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
63214 __attribute__ ((unused)).
63215
63216 [BZ #14645]
63217 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
63218 x * y if x and y are nonzero and z is zero.
63219
63220 [BZ #14811]
63221 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
63222 nonzero exponents with absolute value below 0x1p-117 to +/-
63223 0x1p-117.
63224
63225 [BZ #14869]
63226 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
63227 up arguments below 2**-450, not just those below 2**-500.
63228 * math/libm-test.inc (hypot_test): Add another test.
63229
63230 [BZ #14868]
63231 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
63232 Return a+b for ratio over 2**120, not 2**60.
63233 * math/libm-test.inc (hypot_test): Add another test.
63234
63235 * math/libm-test.inc (clog_test): Use
63236 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
63237 (clog10_test): Likewise.
63238
63239 [BZ #6778]
63240 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
63241
63242 2012-11-22 Andreas Schwab <schwab@suse.de>
63243
63244 * sysdeps/i386/fpu/libm-test-ulps: Update.
63245
63246 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
63247
63248 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
63249 printf output with newline.
63250
63251 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
63252
63253 [BZ #14865]
63254 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
63255 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
63256 -z nodlopen, -z initfirst and -z execstack support.
63257 * configure: Regenerated.
63258
63259 * elf/elf.h (DF_1_NODIRECT): New macro.
63260 (DF_1_IGNMULDEF): Likewise.
63261 (DF_1_NOKSYMS): Likewise.
63262 (DF_1_NOHDR): Likewise.
63263 (DF_1_EDITED): Likewise.
63264 (DF_1_NORELOC): Likewise.
63265 (DF_1_SYMINTPOSE): Likewise.
63266 (DF_1_GLOBAUDIT): Likewise.
63267 (DF_1_SINGLETON): Likewise.
63268 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
63269 DT_1_SUPPORTED_MASK bits.
63270 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
63271
63272 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
63273
63274 * sysdeps/unix/make-syscalls.sh: Document prefixes.
63275
63276 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
63277
63278 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
63279 macro.
63280
63281 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
63282 (sendmmsg): Move declarations...
63283 * socket/sys/socket.h: ... here.
63284 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
63285 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
63286 include it from...
63287 * socket/recvmmsg.c: ... this new file.
63288 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
63289 (sendmmsg): Rename to __sendmmsg, create weak alias and make
63290 definition of __sendmmsg hidden.
63291 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
63292 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
63293 Move ENOSYS stub into and include it from...
63294 * socket/sendmmsg.c: ... this new file.
63295 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
63296 (sysdep_routines): Move recvmmsg and sendmmsg...
63297 * socket/Makefile (routines): ... here.
63298 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
63299 (GLIBC_PRIVATE): Add __sendmmsg.
63300 * include/sys/socket.h (__sendmmsg): Add declarations.
63301 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
63302 sendmmsg.
63303
63304 2012-11-20 Joseph Myers <joseph@codesourcery.com>
63305
63306 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
63307 variable I1 with __attribute__ ((unused)).
63308 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63309
63310 2012-11-19 Joseph Myers <joseph@codesourcery.com>
63311
63312 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
63313 DUMMY variables with __attribute__ ((unused)).
63314
63315 * bits/byteswap.h: Include <bits/types.h>.
63316 (__bswap_64): Use __uint64_t instead of unsigned long long int.
63317
63318 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
63319
63320 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
63321 string_t. Do not manually set errno.
63322 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
63323 length with __strnlen. Make sure to both set errno and return it on
63324 failure.
63325
63326 2012-11-19 David S. Miller <davem@davemloft.net>
63327
63328 With help from Joseph Myers.
63329 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
63330 very large arguments properly.
63331 * math/libm-test.inc (atan_test): New tests.
63332 (atan2_test): New tests.
63333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63334 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63335
63336 2012-11-19 Joseph Myers <joseph@codesourcery.com>
63337
63338 [BZ #14856]
63339 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
63340 Define to 3.
63341
63342 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
63343 [POSIX] (EADDRNOTAVAIL): Likewise.
63344 [POSIX] (EAFNOSUPPORT): Likewise.
63345 [POSIX] (EALREADY): Likewise.
63346 [POSIX] (ECONNABORTED): Likewise.
63347 [POSIX] (ECONNREFUSED): Likewise.
63348 [POSIX] (ECONNRESET): Likewise.
63349 [POSIX] (EDESTADDRREQ): Likewise.
63350 [POSIX] (EDQUOT): Likewise.
63351 [POSIX] (EHOSTUNREACH): Likewise.
63352 [POSIX] (EIDRM): Likewise.
63353 [POSIX] (EISCONN): Likewise.
63354 [POSIX] (ELOOP): Likewise.
63355 [POSIX] (EMULTIHOP): Likewise.
63356 [POSIX] (ENETDOWN): Likewise.
63357 [POSIX] (ENETUNREACH): Likewise.
63358 [POSIX] (ENOBUFS): Likewise.
63359 [POSIX] (ENODATA): Likewise.
63360 [POSIX] (ENOLINK): Likewise.
63361 [POSIX] (ENOMSG): Likewise.
63362 [POSIX] (ENOPROTOOPT): Likewise.
63363 [POSIX] (ENOSR): Likewise.
63364 [POSIX] (ENOSTR): Likewise.
63365 [POSIX] (ENOTCONN): Likewise.
63366 [POSIX] (ENOTSOCK): Likewise.
63367 [POSIX] (EOPNOTSUPP): Likewise.
63368 [POSIX] (EOVERFLOW): Likewise.
63369 [POSIX] (EPROTO): Likewise.
63370 [POSIX] (EPROTONOSUPPORT): Likewise.
63371 [POSIX] (EPROTOTYPE): Likewise.
63372 [POSIX] (ESTALE): Likewise.
63373 [POSIX] (ETIME): Likewise.
63374 [POSIX] (ETXTBSY): Likewise.
63375 [POSIX] (EWOULDBLOCK): Likewise.
63376 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
63377 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
63378 [POSIX] (SEEK_CUR): Likewise.
63379 [POSIX] (SEEK_END): Likewise.
63380 [POSIX || UNIX98] (mode_t): Do not require.
63381 [POSIX] (off_t): Likewise.
63382 [POSIX] (pid_t): Likewise.
63383 [POSIX] (sys/stat.h): Do not allow header.
63384 [POSIX] (unistd.h): Likewise.
63385 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
63386 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
63387 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
63388 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
63389 require.
63390 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
63391 sigevent): Specify elements.
63392 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
63393 entry.
63394 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
63395 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
63396
63397 * conform/data/cpio.h-data [POSIX]: Disable whole file.
63398 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
63399 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
63400 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
63401 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
63402 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
63403 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
63404 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
63405 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
63406 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
63407 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
63408 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
63409 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
63410 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
63411 Likewise.
63412 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
63413 Likewise.
63414 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
63415 Likewise.
63416 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
63417 Likewise.
63418 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
63419 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
63420 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
63421 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
63422 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
63423 Specify lower bound on value.
63424 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
63425 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
63426 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
63427 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
63428 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
63429 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
63430 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
63431 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
63432 value.
63433 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
63434 as optional.
63435 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
63436 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
63437 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
63438 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
63439 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
63440 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
63441 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
63442 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
63443 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
63444 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
63445 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
63446 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
63447 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
63448 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
63449 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
63450 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
63451 entry.
63452 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
63453 optional.
63454 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
63455 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
63456 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
63457 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
63458 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
63459 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
63460 Likewise.
63461 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
63462 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
63463 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
63464 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
63465 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
63466 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
63467 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
63468 as optional.
63469 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
63470 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
63471 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
63472 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
63473 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
63474 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
63475 specify as optional.
63476 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
63477 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
63478 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
63479 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
63480 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
63481 [XPG3] (NL_LANGMAX): Likewise.
63482 [POSIX || XPG3] (NL_MSGMAX): Likewise.
63483 [POSIX || XPG3] (NL_NMAX): Likewise.
63484 [POSIX || XPG3] (NL_SETMAX): Likewise.
63485 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
63486 [XPG3] (NZERO): Likewise.
63487 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
63488 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
63489 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
63490 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
63491 (REG_ERANGE): Expect.
63492 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
63493 optional-constant.
63494 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
63495 Use (void) in prototype.
63496 [POSIX] (*_t): Allow.
63497 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
63498 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
63499 (WRDE_BADVAL): Expect.
63500
63501 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
63502 expect.
63503 [XPG3 || XPG4] (O_RSYNC): Likewise.
63504 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
63505 Likewise.
63506 [XPG3 || XPG4] (pthread_sigmask): Likewise.
63507 [XPG3 || XPG4] (sigqueue): Likewise.
63508 [XPG3 || XPG4] (sigtimedwait): Likewise.
63509 [XPG3 || XPG4] (sigwaitinfo): Likewise.
63510 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
63511 [XPG3 || XPG4] (vsnprintf): Likewise.
63512 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
63513 Likewise.
63514 [XPG3 || XPG4] (blksize_t): Likewise.
63515 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
63516 Likewise.
63517 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
63518 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
63519 [XPG3 || XPG4] (struct itimerspec): Likewise.
63520 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
63521 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
63522 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
63523 [XPG3 || XPG4] (clockid_t): Likewise.
63524 [XPG3 || XPG4] (timer_t): Likewise.
63525 [XPG3 || XPG4] (clock_getres): Likewise.
63526 [XPG3 || XPG4] (clock_gettime): Likewise.
63527 [XPG3 || XPG4] (clock_settime): Likewise.
63528 [XPG3 || XPG4] (nanosleep): Likewise.
63529 [XPG3 || XPG4] (timer_create): Likewise.
63530 [XPG3 || XPG4] (timer_delete): Likewise.
63531 [XPG3 || XPG4] (timer_gettime): Likewise.
63532 [XPG3 || XPG4] (timer_getoverrun): Likewise.
63533 [XPG3 || XPG4] (timer_settime): Likewise.
63534 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
63535 [XPG3 || XPG4] (getlogin_r): Likewise.
63536 [XPG3 || XPG4] (pread): Likewise.
63537 [XPG3 || XPG4] (pthread_atfork): Likewise.
63538 [XPG3 || XPG4] (pwrite): Likewise.
63539
63540 [BZ #14835]
63541 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
63542 <bits/siginfo.h>.
63543
63544 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
63545
63546 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
63547 finalizing MALLSTREAM.
63548
63549 * sysdeps/mach/hurd/syncfs.c: New file.
63550
63551 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63552
63553 [BZ #14719]
63554 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
63555 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
63556 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
63557 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
63558 (_nss_dns_gethostbyname4_r): Likewise.
63559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
63560 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
63561
63562 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
63563
63564 [BZ #13763]
63565 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
63566
63567 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
63568
63569 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
63570 * elf/cache.c (print_entry): Print ",AArch64" for
63571 FLAG_AARCH64_LIB64
63572
63573 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
63574 * elf/cache.c (print_entry): Print ",hard-float" for
63575 FLAG_ARM_LIBHF.
63576
63577 2012-11-18 David S. Miller <davem@davemloft.net>
63578
63579 With help from Joseph Myers.
63580 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
63581 cutoff to 2**-13.
63582 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
63583 cutoff to 2**-25.
63584 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
63585 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
63586 small.
63587 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
63588 * math/libm-test.inc (y0_test): New tests.
63589 (y1_test): New tests.
63590 * sysdeps/i386/fpu/libm-test-ulps: Update.
63591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63593
63594 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
63595
63596 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
63597 64-bit targets.
63598 * configure: Regenerated.
63599
63600 2012-11-17 David S. Miller <davem@davemloft.net>
63601
63602 [BZ #14811]
63603 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
63604 nonzero exponents with absolute value below 0x1p-128 to +/-
63605 0x1p-128.
63606
63607 2012-11-17 Joseph Myers <joseph@codesourcery.com>
63608
63609 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
63610
63611 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
63612
63613 * posix/getconf-speclist.c: New file.
63614 * posix/posix-envs.def: Likewise.
63615 * posix/confstr.c (START_ENV_GROUP): New macro.
63616 (END_ENV_GROUP): Likewise.
63617 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63618 (KNOWN_PRESENT_ENV_STRING): Likewise.
63619 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63620 (UNKNOWN_ENVIRONMENT): Likewise.
63621 (confstr): Include posix-envs.def instead of handling
63622 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
63623 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
63624 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
63625 (END_ENV_GROUP): Likewise.
63626 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63627 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63628 (UNKNOWN_ENVIRONMENT): Likewise.
63629 (__sysconf): Include posix-envs.def instead of handling associated
63630 cases directly here.
63631 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
63632 preprocessing getconf-speclist.c rather than running getconf or
63633 generating empty file.
63634
63635 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
63636
63637 * scripts/check-local-headers.sh: Ignore 'mach' headers.
63638
63639 2012-11-16 Andrej Lajovic <natrij@gmail.com>
63640
63641 [BZ #14672]
63642 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
63643
63644 2012-11-16 David S. Miller <davem@davemloft.net>
63645
63646 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
63647 smaller than LDBL_EPSILON/2.0L, just return xm1.
63648
63649 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
63650
63651 * elf/tst-array1.c (init): Set constructor priority to 1000.
63652 (fini): Set destructor priority to 1000.
63653 * elf/tst-array2dep.c: Likewise.
63654
63655 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
63656
63657 [BZ #11741]
63658 * libio/fileops.c (_IO_new_file_write): Correctly return error.
63659 (_IO_new_file_xsputn): Also return EOF if none of the input
63660 data was written when overflow failed.
63661 * libio/iopadn.c (_IO_padn): Likewise.
63662 * libio/iowpadn.c (_IO_wpadn): Likewise.
63663 * stdio-common/tst-put-error.c: Add copyright notice.
63664 (do_test): Add case for printing padded string.
63665 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
63666 _IO_padn returned error.
63667 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
63668 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
63669 return EOF.
63670
63671 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
63672
63673 * libio/libioP.h: Add comment note that the references to C++
63674 bits are now obsolete.
63675
63676 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63677
63678 * math/libm-test.inc (check_complex): Use asprintf.
63679
63680 2012-11-14 Joseph Myers <joseph@codesourcery.com>
63681
63682 * debug/pcprofiledump.c (print_version): Update copyright year.
63683 * malloc/memusagestat.c (print_version): Likewise.
63684
63685 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
63686
63687 [BZ #14831]
63688 * elf/Makefile (tests): Add tst-audit8.
63689 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
63690 ($(objpfx)tst-audit8.out): New target.
63691 (tst-audit8-ENV): New variable.
63692 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
63693 audit if l_reloc_result is NULL.
63694 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
63695 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
63696 * elf/tst-audit8.c: New file.
63697
63698 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63699
63700 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
63701 * misc/Makefile (CFLAGS-select.c): Define.
63702 * posix/Makefile (CFLAGS-pause.c): Define.
63703
63704 2012-11-13 David S. Miller <davem@davemloft.net>
63705
63706 * crypt/Makefile: Move test targets after toplevel Rules
63707 inclusion. Grab any necessary sysdep routines when linking.
63708 * crypt/md5.c (md5_process_block): Remove define, we will always
63709 name it __md5_process_block.
63710 (md5_finish_ctx): Update md5_process_block call.
63711 (md5_stream): Likewise.
63712 (md5_process_bytes): Likewise.
63713 (md5_process_block): Rename to __md5_process_block and move to ...
63714 * crypt/md5-block.c: ... here.
63715 * crypt/sha256.c (sha256_process_block): Move to ...
63716 * crypt/sha256-block.c: ... here.
63717 * crypt/sha512.c (sha512_process_block): Move to ...
63718 * crypt/sha512-block.c: ... here.
63719 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
63720 path.
63721 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
63722 * sysdeps/sparc/sparc64/multiarch/Makefile
63723 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
63724 crypt subdir.
63725 (localedef-aux): Add md5 crypto assembler when in locale subdir.
63726 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
63727 multiarch changes.
63728 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
63729 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
63730 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
63731 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
63732 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
63733 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
63734 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
63735 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
63736 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
63737 file.
63738 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
63739 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
63740 file.
63741 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
63742
63743 2012-11-13 Joseph Myers <joseph@codesourcery.com>
63744
63745 * timezone/tzselect.ksh: Update from tzcode git revision
63746 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
63747 * timezone/zdump.c: Likewise.
63748 * timezone/zic.c: Likewise.
63749 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
63750 in TZVERSION setting, not $(PKGVERSION).
63751 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
63752 REPORT_BUGS_TO settings.
63753
63754 [BZ #14838]
63755 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
63756 macro.
63757
63758 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63759
63760 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
63761 detection to immediately after _FP_ROUND().
63762 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
63763 bits are 0.
63764
63765 2012-11-11 David S. Miller <davem@davemloft.net>
63766
63767 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
63768 inttypes.h
63769 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
63770 __close rather than their public counterparts.
63771
63772 2012-11-10 Joseph Myers <joseph@codesourcery.com>
63773
63774 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
63775 file.
63776 [UNIX98] (sem_timedwait): Do not expect.
63777 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
63778 [XPG4 || UNIX98] (sockatmark): Do not expect.
63779 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
63780 (clock_getcpuclockid): Do not expect.
63781 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
63782 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
63783 Do not expect.
63784 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
63785 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
63786 [UNIX98] (vwscanf): Likewise.
63787 [UNIX98] (vswscanf): Likewise.
63788
63789 2012-11-09 Joseph Myers <joseph@codesourcery.com>
63790
63791 * timezone/version.h: Remove file.
63792 * timezone/README: Do not refer to version.h.
63793 * timezone/Makefile ($(objpfx)zic.o): New dependency on
63794 $(objpfx)version.h.
63795 ($(objpfx)zdump.o): Likewise.
63796 ($(objpfx)version.h): New target.
63797
63798 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
63799 2012i.
63800 * timezone/README: Don't mention modification to tzselect.ksh.
63801 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
63802 work on unmodified tzselect.ksh. Substitute version numbers in
63803 tzselect.ksh.
63804
63805 * Makefile (format-me): Remove.
63806 (INSTALL): Adjust indentation. Use commands directly instead of
63807 using $(format-me).
63808
63809 * aclocal.m4 (ACX_PKGVERSION): New macro.
63810 (ACX_BUGURL): Likewise.
63811 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
63812 (PKGVERSION): New AC_DEFINE_UNQUOTED.
63813 (REPORT_BUGS_TO): Likewise.
63814 * configure: Regenerated.
63815 * config.h.in (PKGVERSION): New macro.
63816 (REPORT_BUGS_TO): Likewise.
63817 * config.make.in (PKGVERSION): New variable.
63818 (PKGVERSION_TEXI): Likewise.
63819 (REPORT_BUGS_TO): Likewise.
63820 (REPORT_BUGS_TEXI): Likewise.
63821 * Makefile (format-me): Use -I$(common-objpfx)manual.
63822 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
63823 ($(common-objpfx)manual/%): New target.
63824 (manual/%): Remove target.
63825 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
63826 (print_version): Use PKGVERSION.
63827 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
63828 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
63829 and REPORT_BUGS_TO.
63830 ($(objpfx)xtrace): Likewise.
63831 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
63832 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
63833 (print_version): Use PKGVERSION.
63834 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
63835 (do_version): Use PKGVERSION.
63836 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
63837 REPORT_BUGS_TO.
63838 (common-ldd-rewrite): Likewise.
63839 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
63840 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
63841 (print_version): Use PKGVERSION.
63842 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
63843 * elf/pldd.c (argp_program_bug_address): Remove variable.
63844 (more_help): New function.
63845 (argp): Use more_help.
63846 (print_version): Use PKGVERSION.
63847 * elf/sln.c (main): Use PKGVERSION.
63848 (usage): Use REPORT_BUGS_TO.
63849 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
63850 (top level): Use PKGVERSION.
63851 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
63852 (print_version): Use PKGVERSION.
63853 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
63854 (print_version): Use PKGVERSION.
63855 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
63856 (print_version): Use PKGVERSION.
63857 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
63858 (print_version): Use PKGVERSION.
63859 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
63860 (print_version): Use PKGVERSION.
63861 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
63862 (print_version): Use PKGVERSION.
63863 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
63864 and BUGURL.
63865 ($(objpfx)memusage): Likewise.
63866 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
63867 (do_version): Use PKGVERSION.
63868 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
63869 (print_version): Use PKGVERSION.
63870 * malloc/mtrace.pl ($PACKAGE): Remove variable.
63871 ($PKGVERSION): New variable.
63872 ($REPORT_BUGS_TO): Likewise.
63873 (usage): Use $REPORT_BUGS_TO.
63874 (top level): Use $PKGVERSION.
63875 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
63876 ($(objpfx)pkgvers.texi): New rule.
63877 ($(objpfx)stamp-pkgvers): Likewise.
63878 * manual/install.texi: Include pkgvers.texi.
63879 (--with-pkgversion): Document new configure option.
63880 (--with-bugurl): Likewise.
63881 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63882 than necessarily for this particular distribution. Use
63883 REPORT_BUGS_TO for where to report bugs.
63884 * INSTALL: Regenerated.
63885 * manual/libc.texinfo: Include pkgvers.texi.
63886 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63887 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63888 (print_version): Use PKGVERSION.
63889 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63890 (print_version): Use PKGVERSION.
63891 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63892 (print_version): Use PKGVERSION.
63893 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63894 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63895 macro.
63896 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63897 (print_version): Use PKGVERSION.
63898 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63899 (print_version): Use PKGVERSION.
63900 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63901 and PKGVERSION.
63902
63903 * timezone/checktab.awk: Update from tzcode 2012i.
63904 * timezone/ialloc.c: Likewise.
63905 * timezone/private.h: Likewise.
63906 * timezone/scheck.c: Likewise.
63907 * timezone/tzfile.h: Likewise.
63908 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63909 (TZVERSION): Hardcode tzcode version number.
63910 * timezone/zdump.c: Update from tzcode 2012i.
63911 * timezone/zic.c: Likewise.
63912 * timezone/version.h: New file.
63913 * timezone/README: Describe version.h. Update upstream location.
63914
63915 [BZ #14824]
63916 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63917 (mktemp): Enable declaration.
63918 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63919 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63920 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63921 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63922 Likewise.
63923 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63924 Likewise.
63925 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63926 Likewise.
63927 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63928 Likewise.
63929 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63930 Likewise.
63931 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63932 Likewise.
63933
63934 [BZ #14821]
63935 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63936 offset in buffer as u_int32_t not u_long. Consistently use memcpy
63937 for copies of such integer values.
63938 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63939 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63940
63941 2012-11-09 Andreas Jaeger <aj@suse.de>
63942
63943 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63944 definitions and declarations that are provided by
63945 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63946
63947 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63948
63949 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63950 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63951 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63952 definition.
63953
63954 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63955
63956 * elf/elf.h: Update comment before AArch64 relocations.
63957
63958 2012-11-07 David S. Miller <davem@davemloft.net>
63959
63960 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63961 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63962 (__start_context): Declare.
63963 (__makecontext_ret): Delete.
63964 (__makecontext): Hook up __start_context instead of
63965 __makecontext_ret.
63966 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63967 (sysdep_routines): Add __start_context when in stdlib.
63968
63969 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63970
63971 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63972 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63973 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
63974 hardcoded "nm".
63975 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
63976 (READELF): New variable. Use it instead of hardcoded "readelf".
63977
63978 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
63979
63980 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63981 * sysdeps/x86/Makefile: Here.
63982 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63983 * sysdeps/x86/tst-xmmymm.sh: This.
63984
63985 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63986
63987 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63988 expectations.
63989 [UNIX98] (pthread_barrier_t): Do not expect.
63990 [UNIX98] (pthread_barrierattr_t): Likewise.
63991 [UNIX98] (pthread_spinlock_t): Likewise.
63992 [UNIX98] (pthread_barrier_destroy): Likewise.
63993 [UNIX98] (pthread_barrier_init): Likewise.
63994 [UNIX98] (pthread_barrier_wait): Likewise.
63995 [UNIX98] (pthread_barrierattr_destroy): Likewise.
63996 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63997 [UNIX98] (pthread_barrierattr_init): Likewise.
63998 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63999 [UNIX98] (pthread_getcpuclockid): Likewise.
64000 [UNIX98] (pthread_mutex_timedlock): Likewise.
64001 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
64002 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
64003 [UNIX98] (pthread_sigmask): Likewise.
64004 [UNIX98] (pthread_spin_destroy): Likewise.
64005 [UNIX98] (pthread_spin_init): Likewise.
64006 [UNIX98] (pthread_spin_lock): Likewise.
64007 [UNIX98] (pthread_spin_trylock): Likewise.
64008 [UNIX98] (pthread_spin_unlock): Likewise.
64009 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
64010 Do not expect.
64011 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
64012 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
64013 [XPG3 || XPG4] (pthread_cond_t): Likewise.
64014 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
64015 [XPG3 || XPG4] (pthread_key_t): Likewise.
64016 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
64017 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
64018 [XPG3 || XPG4] (pthread_once_t): Likewise.
64019 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
64020 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
64021 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
64022 [XPG3 || XPG4] (pthread_t): Likewise.
64023
64024 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
64025 not expect.
64026 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
64027
64028 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
64029 Change function return type to int.
64030
64031 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
64032 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
64033 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
64034 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
64035 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
64036 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
64037 [!POSIX] (posix_madvise): Likewise.
64038 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
64039 && !UNIX98].
64040 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
64041 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
64042 (mode_t): Likewise.
64043 (posix_mem_offset): Likewise.
64044 (posix_typed_mem_get_info): Likewise.
64045 (posix_typed_mem_open): Likewise.
64046
64047 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
64048 Change condition to [XOPEN2K8].
64049
64050 * conform/conformtest.pl: Preprocess allow-header data with -x c
64051 instead of from stdin.
64052 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
64053 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
64054 [C99-based standards] (cerfc): Likewise.
64055 [C99-based standards] (cexp2): Likewise.
64056 [C99-based standards] (cexpm1): Likewise.
64057 [C99-based standards] (clog10): Likewise.
64058 [C99-based standards] (clog1p): Likewise.
64059 [C99-based standards] (clog2): Likewise.
64060 [C99-based standards] (clgamma): Likewise.
64061 [C99-based standards] (ctgamma): Likewise.
64062 [C99-based standards] (cerff): Likewise.
64063 [C99-based standards] (cerfcf): Likewise.
64064 [C99-based standards] (cexp2f): Likewise.
64065 [C99-based standards] (cexpm1f): Likewise.
64066 [C99-based standards] (clog10f): Likewise.
64067 [C99-based standards] (clog1pf): Likewise.
64068 [C99-based standards] (clog2f): Likewise.
64069 [C99-based standards] (clgammaf): Likewise.
64070 [C99-based standards] (ctgammaf): Likewise.
64071 [C99-based standards] (cerfl): Likewise.
64072 [C99-based standards] (cerfcl): Likewise.
64073 [C99-based standards] (cexp2l): Likewise.
64074 [C99-based standards] (cexpm1l): Likewise.
64075 [C99-based standards] (clog10l): Likewise.
64076 [C99-based standards] (clog1pl): Likewise.
64077 [C99-based standards] (clog2l): Likewise.
64078 [C99-based standards] (clgammal): Likewise.
64079 [C99-based standards] (ctgammal): Likewise.
64080 * conform/data/inttypes.h-data [C99-based standards]: Include
64081 stdint.h-data. Remove all expectations for stdint.h contents.
64082 [C99-based standards] (PRI*): Do not allow.
64083 [C99-based standards] (SCN*): Likewise.
64084 [C99-based standards] (*_t): Likewise.
64085 [C99-based-standards] (PRId8): Expect macro.
64086 [C99-based-standards] (PRIi8): Likewise.
64087 [C99-based-standards] (PRIo8): Likewise.
64088 [C99-based-standards] (PRIu8): Likewise.
64089 [C99-based-standards] (PRIx8): Likewise.
64090 [C99-based-standards] (PRIX8): Likewise.
64091 [C99-based-standards] (SCNd8): Likewise.
64092 [C99-based-standards] (SCNi8): Likewise.
64093 [C99-based-standards] (SCNo8): Likewise.
64094 [C99-based-standards] (SCNu8): Likewise.
64095 [C99-based-standards] (SCNx8): Likewise.
64096 [C99-based-standards] (PRIdLEAST8): Likewise.
64097 [C99-based-standards] (PRIiLEAST8): Likewise.
64098 [C99-based-standards] (PRIoLEAST8): Likewise.
64099 [C99-based-standards] (PRIuLEAST8): Likewise.
64100 [C99-based-standards] (PRIxLEAST8): Likewise.
64101 [C99-based-standards] (PRIXLEAST8): Likewise.
64102 [C99-based-standards] (SCNdLEAST8): Likewise.
64103 [C99-based-standards] (SCNiLEAST8): Likewise.
64104 [C99-based-standards] (SCNoLEAST8): Likewise.
64105 [C99-based-standards] (SCNuLEAST8): Likewise.
64106 [C99-based-standards] (SCNxLEAST8): Likewise.
64107 [C99-based-standards] (PRIdFAST8): Likewise.
64108 [C99-based-standards] (PRIiFAST8): Likewise.
64109 [C99-based-standards] (PRIoFAST8): Likewise.
64110 [C99-based-standards] (PRIuFAST8): Likewise.
64111 [C99-based-standards] (PRIxFAST8): Likewise.
64112 [C99-based-standards] (PRIXFAST8): Likewise.
64113 [C99-based-standards] (SCNdFAST8): Likewise.
64114 [C99-based-standards] (SCNiFAST8): Likewise.
64115 [C99-based-standards] (SCNoFAST8): Likewise.
64116 [C99-based-standards] (SCNuFAST8): Likewise.
64117 [C99-based-standards] (SCNxFAST8): Likewise.
64118 [C99-based-standards] (PRId16): Likewise.
64119 [C99-based-standards] (PRIi16): Likewise.
64120 [C99-based-standards] (PRIo16): Likewise.
64121 [C99-based-standards] (PRIu16): Likewise.
64122 [C99-based-standards] (PRIx16): Likewise.
64123 [C99-based-standards] (PRIX16): Likewise.
64124 [C99-based-standards] (SCNd16): Likewise.
64125 [C99-based-standards] (SCNi16): Likewise.
64126 [C99-based-standards] (SCNo16): Likewise.
64127 [C99-based-standards] (SCNu16): Likewise.
64128 [C99-based-standards] (SCNx16): Likewise.
64129 [C99-based-standards] (PRIdLEAST16): Likewise.
64130 [C99-based-standards] (PRIiLEAST16): Likewise.
64131 [C99-based-standards] (PRIoLEAST16): Likewise.
64132 [C99-based-standards] (PRIuLEAST16): Likewise.
64133 [C99-based-standards] (PRIxLEAST16): Likewise.
64134 [C99-based-standards] (PRIXLEAST16): Likewise.
64135 [C99-based-standards] (SCNdLEAST16): Likewise.
64136 [C99-based-standards] (SCNiLEAST16): Likewise.
64137 [C99-based-standards] (SCNoLEAST16): Likewise.
64138 [C99-based-standards] (SCNuLEAST16): Likewise.
64139 [C99-based-standards] (SCNxLEAST16): Likewise.
64140 [C99-based-standards] (PRIdFAST16): Likewise.
64141 [C99-based-standards] (PRIiFAST16): Likewise.
64142 [C99-based-standards] (PRIoFAST16): Likewise.
64143 [C99-based-standards] (PRIuFAST16): Likewise.
64144 [C99-based-standards] (PRIxFAST16): Likewise.
64145 [C99-based-standards] (PRIXFAST16): Likewise.
64146 [C99-based-standards] (SCNdFAST16): Likewise.
64147 [C99-based-standards] (SCNiFAST16): Likewise.
64148 [C99-based-standards] (SCNoFAST16): Likewise.
64149 [C99-based-standards] (SCNuFAST16): Likewise.
64150 [C99-based-standards] (SCNxFAST16): Likewise.
64151 [C99-based-standards] (PRId32): Likewise.
64152 [C99-based-standards] (PRIi32): Likewise.
64153 [C99-based-standards] (PRIo32): Likewise.
64154 [C99-based-standards] (PRIu32): Likewise.
64155 [C99-based-standards] (PRIx32): Likewise.
64156 [C99-based-standards] (PRIX32): Likewise.
64157 [C99-based-standards] (SCNd32): Likewise.
64158 [C99-based-standards] (SCNi32): Likewise.
64159 [C99-based-standards] (SCNo32): Likewise.
64160 [C99-based-standards] (SCNu32): Likewise.
64161 [C99-based-standards] (SCNx32): Likewise.
64162 [C99-based-standards] (PRIdLEAST32): Likewise.
64163 [C99-based-standards] (PRIiLEAST32): Likewise.
64164 [C99-based-standards] (PRIoLEAST32): Likewise.
64165 [C99-based-standards] (PRIuLEAST32): Likewise.
64166 [C99-based-standards] (PRIxLEAST32): Likewise.
64167 [C99-based-standards] (PRIXLEAST32): Likewise.
64168 [C99-based-standards] (SCNdLEAST32): Likewise.
64169 [C99-based-standards] (SCNiLEAST32): Likewise.
64170 [C99-based-standards] (SCNoLEAST32): Likewise.
64171 [C99-based-standards] (SCNuLEAST32): Likewise.
64172 [C99-based-standards] (SCNxLEAST32): Likewise.
64173 [C99-based-standards] (PRIdFAST32): Likewise.
64174 [C99-based-standards] (PRIiFAST32): Likewise.
64175 [C99-based-standards] (PRIoFAST32): Likewise.
64176 [C99-based-standards] (PRIuFAST32): Likewise.
64177 [C99-based-standards] (PRIxFAST32): Likewise.
64178 [C99-based-standards] (PRIXFAST32): Likewise.
64179 [C99-based-standards] (SCNdFAST32): Likewise.
64180 [C99-based-standards] (SCNiFAST32): Likewise.
64181 [C99-based-standards] (SCNoFAST32): Likewise.
64182 [C99-based-standards] (SCNuFAST32): Likewise.
64183 [C99-based-standards] (SCNxFAST32): Likewise.
64184 [C99-based-standards] (PRId64): Likewise.
64185 [C99-based-standards] (PRIi64): Likewise.
64186 [C99-based-standards] (PRIo64): Likewise.
64187 [C99-based-standards] (PRIu64): Likewise.
64188 [C99-based-standards] (PRIx64): Likewise.
64189 [C99-based-standards] (PRIX64): Likewise.
64190 [C99-based-standards] (SCNd64): Likewise.
64191 [C99-based-standards] (SCNi64): Likewise.
64192 [C99-based-standards] (SCNo64): Likewise.
64193 [C99-based-standards] (SCNu64): Likewise.
64194 [C99-based-standards] (SCNx64): Likewise.
64195 [C99-based-standards] (PRIdLEAST64): Likewise.
64196 [C99-based-standards] (PRIiLEAST64): Likewise.
64197 [C99-based-standards] (PRIoLEAST64): Likewise.
64198 [C99-based-standards] (PRIuLEAST64): Likewise.
64199 [C99-based-standards] (PRIxLEAST64): Likewise.
64200 [C99-based-standards] (PRIXLEAST64): Likewise.
64201 [C99-based-standards] (SCNdLEAST64): Likewise.
64202 [C99-based-standards] (SCNiLEAST64): Likewise.
64203 [C99-based-standards] (SCNoLEAST64): Likewise.
64204 [C99-based-standards] (SCNuLEAST64): Likewise.
64205 [C99-based-standards] (SCNxLEAST64): Likewise.
64206 [C99-based-standards] (PRIdFAST64): Likewise.
64207 [C99-based-standards] (PRIiFAST64): Likewise.
64208 [C99-based-standards] (PRIoFAST64): Likewise.
64209 [C99-based-standards] (PRIuFAST64): Likewise.
64210 [C99-based-standards] (PRIxFAST64): Likewise.
64211 [C99-based-standards] (PRIXFAST64): Likewise.
64212 [C99-based-standards] (SCNdFAST64): Likewise.
64213 [C99-based-standards] (SCNiFAST64): Likewise.
64214 [C99-based-standards] (SCNoFAST64): Likewise.
64215 [C99-based-standards] (SCNuFAST64): Likewise.
64216 [C99-based-standards] (SCNxFAST64): Likewise.
64217 [C99-based-standards] (PRIdMAX): Likewise.
64218 [C99-based-standards] (PRIiMAX): Likewise.
64219 [C99-based-standards] (PRIoMAX): Likewise.
64220 [C99-based-standards] (PRIuMAX): Likewise.
64221 [C99-based-standards] (PRIxMAX): Likewise.
64222 [C99-based-standards] (PRIXMAX): Likewise.
64223 [C99-based-standards] (SCNdMAX): Likewise.
64224 [C99-based-standards] (SCNiMAX): Likewise.
64225 [C99-based-standards] (SCNoMAX): Likewise.
64226 [C99-based-standards] (SCNuMAX): Likewise.
64227 [C99-based-standards] (SCNxMAX): Likewise.
64228 [C99-based-standards] (PRIdPTR): Likewise.
64229 [C99-based-standards] (PRIiPTR): Likewise.
64230 [C99-based-standards] (PRIoPTR): Likewise.
64231 [C99-based-standards] (PRIuPTR): Likewise.
64232 [C99-based-standards] (PRIxPTR): Likewise.
64233 [C99-based-standards] (PRIXPTR): Likewise.
64234 [C99-based-standards] (SCNdPTR): Likewise.
64235 [C99-based-standards] (SCNiPTR): Likewise.
64236 [C99-based-standards] (SCNoPTR): Likewise.
64237 [C99-based-standards] (SCNuPTR): Likewise.
64238 [C99-based-standards] (SCNxPTR): Likewise.
64239 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
64240 allow.
64241 * conform/data/stdint.h-data: Update comments to clarify
64242 requirements.
64243 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
64244 type.
64245 [C99-based standards] (INT8_MAX): Likewise.
64246 [C99-based standards] (INT16_MIN): Likewise.
64247 [C99-based standards] (INT16_MAX): Likewise.
64248 [C99-based standards] (INT32_MIN): Likewise.
64249 [C99-based standards] (INT32_MAX): Likewise.
64250 [C99-based standards] (INT64_MIN): Likewise.
64251 [C99-based standards] (INT64_MAX): Likewise.
64252 [C99-based standards] (UINT8_MAX): Likewise.
64253 [C99-based standards] (UINT16_MAX): Likewise.
64254 [C99-based standards] (UINT32_MAX): Likewise.
64255 [C99-based standards] (UINT64_MAX): Likewise.
64256 [C99-based standards] (INT_LEAST8_MIN): Likewise.
64257 [C99-based standards] (INT_LEAST8_MAX): Likewise.
64258 [C99-based standards] (INT_LEAST16_MIN): Likewise.
64259 [C99-based standards] (INT_LEAST16_MAX): Likewise.
64260 [C99-based standards] (INT_LEAST32_MIN): Likewise.
64261 [C99-based standards] (INT_LEAST32_MAX): Likewise.
64262 [C99-based standards] (INT_LEAST64_MIN): Likewise.
64263 [C99-based standards] (INT_LEAST64_MAX): Likewise.
64264 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
64265 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
64266 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
64267 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
64268 [C99-based standards] (INT_FAST8_MIN): Likewise.
64269 [C99-based standards] (INT_FAST8_MAX): Likewise.
64270 [C99-based standards] (INT_FAST16_MIN): Likewise.
64271 [C99-based standards] (INT_FAST16_MAX): Likewise.
64272 [C99-based standards] (INT_FAST32_MIN): Likewise.
64273 [C99-based standards] (INT_FAST32_MAX): Likewise.
64274 [C99-based standards] (INT_FAST64_MIN): Likewise.
64275 [C99-based standards] (INT_FAST64_MAX): Likewise.
64276 [C99-based standards] (UINT_FAST8_MAX): Likewise.
64277 [C99-based standards] (UINT_FAST16_MAX): Likewise.
64278 [C99-based standards] (UINT_FAST32_MAX): Likewise.
64279 [C99-based standards] (UINT_FAST64_MAX): Likewise.
64280 [C99-based standards] (INTPTR_MIN): Likewise.
64281 [C99-based standards] (INTPTR_MAX): Likewise.
64282 [C99-based standards] (UINTPTR_MAX): Likewise.
64283 [C99-based standards] (INTMAX_MIN): Likewise.
64284 [C99-based standards] (INTMAX_MAX): Likewise.
64285 [C99-based standards] (UINTMAX_MAX): Likewise.
64286 [C99-based standards] (PTRDIFF_MIN): Likewise.
64287 [C99-based standards] (PTRDIFF_MAX): Likewise.
64288 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
64289 [C99-based standards] (SIZE_MAX): Likewise.
64290 [C99-based standards] (WCHAR_MAX): Likewise.
64291 [C99-based standards] (WINT_MAX): Likewise.
64292 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
64293 constraint on value.
64294 [C99-based standards] (WCHAR_MIN): Likewise.
64295 [C99-based standards] (WINT_MIN): Likewise.
64296 [C99-based standards] (*_t): Allow.
64297 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
64298 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
64299 Include math.h-data and complex.h-data. Remove all expectations
64300 of math.h and complex.h contents.
64301 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
64302 at end of line.
64303 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
64304 (struct tm): Expect tag.
64305 [C99-based-standards] (wcstof): Expect function.
64306 [C99-based-standards] (wcstold): Likewise.
64307 [C99-based-standards] (wcstoll): Likewise.
64308 [C99-based-standards] (wcstoull): Likewise.
64309 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
64310 macro-int-constant. Specify type.
64311 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
64312 constraint on value.
64313 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64314 Specify type.
64315 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
64316 Specify value.
64317 [ISO C standards]: Do not allow headers.
64318 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
64319 wcs[abcdefghijklmnopqrstuvwxyz]*.
64320 [ISO C standards] (*_t): Do not allow.
64321 * conform/data/wctype.h-data [C99-based standards] (iswblank):
64322 Expect function.
64323 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
64324 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64325 Specify type.
64326 [ISO C standards]: Do not allow headers.
64327 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
64328 is[abcdefghijklmnopqrstuvwxyz]*.
64329 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
64330 to[abcdefghijklmnopqrstuvwxyz]*.
64331 [ISO C standards] (*_t): Do not allow.
64332 * conform/data/stdalign.h-data: New file.
64333 * conform/data/stdbool.h-data: Likewise.
64334 * conform/data/stdnoreturn.h-data: Likewise.
64335
64336 2012-11-07 Roland McGrath <roland@hack.frob.com>
64337
64338 [BZ #14815]
64339 * manual/filesys.texi (Directory Entries): Typo fix.
64340 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
64341
64342 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
64343
64344 * elf/elf.h (EM_AARCH64): New macro.
64345 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
64346 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
64347 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
64348 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
64349 (R_AARCH64_TLSDESC): Likewise.
64350 (NT_ARM_TLS): Likewise.
64351 (NT_ARM_HW_BREAK): Likewise.
64352 (NT_ARM_HW_WATCH): Likewise.
64353
64354 2012-11-07 Joseph Myers <joseph@codesourcery.com>
64355
64356 [BZ #14811]
64357 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
64358 (__ieee754_powl): Saturate nonzero exponents with absolute value
64359 below 0x1p-79 to +/- 0x1p-79.
64360 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
64361 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
64362 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
64363 nonzero exponents with absolute value below 0x1p-32 to +/-
64364 0x1p-32.
64365 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
64366 (__ieee754_powl): Saturate nonzero exponents with absolute value
64367 below 0x1p-79 to +/- 0x1p-79.
64368 * math/libm-test.inc (pow_test): Add more tests.
64369
64370 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64371
64372 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
64373 _dl_s390_cap_flags with kernel. Increase string length.
64374 (_dl_s390_platforms): Add z196 and zEC12.
64375
64376 2012-11-07 Joseph Myers <joseph@codesourcery.com>
64377
64378 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
64379 Change XOPEN21K to XOPEN2K.
64380
64381 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
64382
64383 * string/memmove.c: Use memcpy when possible.
64384
64385 2012-11-06 Andreas Jaeger <aj@suse.de>
64386
64387 * po/eo.po: Update from translation team.
64388
64389 2012-11-06 Joseph Myers <joseph@codesourcery.com>
64390
64391 [BZ #14793]
64392 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
64393 exponent and small x and y exponents, scale x or y up. Increase
64394 by 2 the exponent used in scaling up.
64395 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64396 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64397 * math/libm-test.inc (fma_test): Add more tests.
64398 (fma_test_towardzero): Likewise.
64399 (fma_test_downward): Likewise.
64400 (fma_test_upward): Likewise.
64401
64402 2012-11-05 Joseph Myers <joseph@codesourcery.com>
64403
64404 [BZ #14805]
64405 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
64406 fenv_t *.
64407
64408 [BZ #14801]
64409 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
64410 namespace for names of struct fields.
64411 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
64412 fenv_t fields.
64413 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
64414 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
64415
64416 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
64417
64418 [BZ #3665]
64419 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
64420
64421 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
64422
64423 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
64424 PTR_DEMANGLE.
64425
64426 [BZ #5246]
64427 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
64428 PTR_DEMANGLE.
64429
64430 2012-11-04 Joseph Myers <joseph@codesourcery.com>
64431
64432 [BZ #14797]
64433 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
64434 definitely overflow as x * y not x * y + z.
64435 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64436 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64437 * math/libm-test.inc (fma_test): Add more tests.
64438 (fma_test_towardzero): Likewise.
64439 (fma_test_downward): Likewise.
64440 (fma_test_upward): Likewise.
64441
64442 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
64443
64444 [BZ #157]
64445
64446 * include/stub-tag.h: Remove file.
64447 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
64448 '#include' of it.
64449 * manual/maint.texi (Porting): Don't reference it.
64450 * Makerules ($(objpfx)stubs): Likewise.
64451 * dirent/closedir.c: Don't include <stub-tag.h>.
64452 * dirent/dirfd.c: Likewise.
64453 * dirent/fdopendir.c: Likewise.
64454 * dirent/getdents.c: Likewise.
64455 * dirent/getdents64.c: Likewise.
64456 * dirent/opendir.c: Likewise.
64457 * dirent/readdir.c: Likewise.
64458 * dirent/readdir64.c: Likewise.
64459 * dirent/readdir64_r.c: Likewise.
64460 * dirent/readdir_r.c: Likewise.
64461 * dirent/rewinddir.c: Likewise.
64462 * dirent/seekdir.c: Likewise.
64463 * dirent/telldir.c: Likewise.
64464 * gmon/profil.c: Likewise.
64465 * grp/setgroups.c: Likewise.
64466 * inet/if_index.c: Likewise.
64467 * io/access.c: Likewise.
64468 * io/chdir.c: Likewise.
64469 * io/chmod.c: Likewise.
64470 * io/chown.c: Likewise.
64471 * io/close.c: Likewise.
64472 * io/dup.c: Likewise.
64473 * io/dup2.c: Likewise.
64474 * io/dup3.c: Likewise.
64475 * io/euidaccess.c: Likewise.
64476 * io/faccessat.c: Likewise.
64477 * io/fchdir.c: Likewise.
64478 * io/fchmod.c: Likewise.
64479 * io/fchmodat.c: Likewise.
64480 * io/fchown.c: Likewise.
64481 * io/fchownat.c: Likewise.
64482 * io/fcntl.c: Likewise.
64483 * io/flock.c: Likewise.
64484 * io/fstatfs.c: Likewise.
64485 * io/fstatfs64.c: Likewise.
64486 * io/fstatvfs.c: Likewise.
64487 * io/fstatvfs64.c: Likewise.
64488 * io/futimens.c: Likewise.
64489 * io/fxstat.c: Likewise.
64490 * io/fxstat64.c: Likewise.
64491 * io/fxstatat.c: Likewise.
64492 * io/fxstatat64.c: Likewise.
64493 * io/getcwd.c: Likewise.
64494 * io/isatty.c: Likewise.
64495 * io/lchmod.c: Likewise.
64496 * io/lchown.c: Likewise.
64497 * io/link.c: Likewise.
64498 * io/linkat.c: Likewise.
64499 * io/lseek.c: Likewise.
64500 * io/lseek64.c: Likewise.
64501 * io/lxstat64.c: Likewise.
64502 * io/mkdir.c: Likewise.
64503 * io/mkdirat.c: Likewise.
64504 * io/mkfifo.c: Likewise.
64505 * io/mkfifoat.c: Likewise.
64506 * io/open.c: Likewise.
64507 * io/open64.c: Likewise.
64508 * io/openat.c: Likewise.
64509 * io/openat64.c: Likewise.
64510 * io/pipe.c: Likewise.
64511 * io/pipe2.c: Likewise.
64512 * io/poll.c: Likewise.
64513 * io/posix_fadvise.c: Likewise.
64514 * io/posix_fadvise64.c: Likewise.
64515 * io/posix_fallocate.c: Likewise.
64516 * io/posix_fallocate64.c: Likewise.
64517 * io/read.c: Likewise.
64518 * io/readlink.c: Likewise.
64519 * io/readlinkat.c: Likewise.
64520 * io/rmdir.c: Likewise.
64521 * io/sendfile.c: Likewise.
64522 * io/sendfile64.c: Likewise.
64523 * io/statfs.c: Likewise.
64524 * io/statfs64.c: Likewise.
64525 * io/statvfs.c: Likewise.
64526 * io/statvfs64.c: Likewise.
64527 * io/symlink.c: Likewise.
64528 * io/symlinkat.c: Likewise.
64529 * io/ttyname.c: Likewise.
64530 * io/ttyname_r.c: Likewise.
64531 * io/umask.c: Likewise.
64532 * io/unlink.c: Likewise.
64533 * io/unlinkat.c: Likewise.
64534 * io/utime.c: Likewise.
64535 * io/utimensat.c: Likewise.
64536 * io/write.c: Likewise.
64537 * io/xmknod.c: Likewise.
64538 * io/xmknodat.c: Likewise.
64539 * io/xstat.c: Likewise.
64540 * io/xstat64.c: Likewise.
64541 * login/getpt.c: Likewise.
64542 * login/grantpt.c: Likewise.
64543 * login/unlockpt.c: Likewise.
64544 * math/e_acoshl.c: Likewise.
64545 * math/e_acosl.c: Likewise.
64546 * math/e_asinl.c: Likewise.
64547 * math/e_atan2l.c: Likewise.
64548 * math/e_atanhl.c: Likewise.
64549 * math/e_coshl.c: Likewise.
64550 * math/e_expl.c: Likewise.
64551 * math/e_fmodl.c: Likewise.
64552 * math/e_gammal_r.c: Likewise.
64553 * math/e_hypotl.c: Likewise.
64554 * math/e_j0l.c: Likewise.
64555 * math/e_j1l.c: Likewise.
64556 * math/e_jnl.c: Likewise.
64557 * math/e_lgammal_r.c: Likewise.
64558 * math/e_log10l.c: Likewise.
64559 * math/e_log2l.c: Likewise.
64560 * math/e_logl.c: Likewise.
64561 * math/e_powl.c: Likewise.
64562 * math/e_rem_pio2l.c: Likewise.
64563 * math/e_sinhl.c: Likewise.
64564 * math/e_sqrtl.c: Likewise.
64565 * math/fclrexcpt.c: Likewise.
64566 * math/fedisblxcpt.c: Likewise.
64567 * math/feenablxcpt.c: Likewise.
64568 * math/fegetenv.c: Likewise.
64569 * math/fegetexcept.c: Likewise.
64570 * math/fegetround.c: Likewise.
64571 * math/feholdexcpt.c: Likewise.
64572 * math/fesetenv.c: Likewise.
64573 * math/fesetround.c: Likewise.
64574 * math/feupdateenv.c: Likewise.
64575 * math/fgetexcptflg.c: Likewise.
64576 * math/fraiseexcpt.c: Likewise.
64577 * math/fsetexcptflg.c: Likewise.
64578 * math/ftestexcept.c: Likewise.
64579 * math/k_cosl.c: Likewise.
64580 * math/k_rem_pio2l.c: Likewise.
64581 * math/k_sinl.c: Likewise.
64582 * math/k_tanl.c: Likewise.
64583 * math/s_asinhl.c: Likewise.
64584 * math/s_atanl.c: Likewise.
64585 * math/s_cbrtl.c: Likewise.
64586 * math/s_erfl.c: Likewise.
64587 * math/s_expm1l.c: Likewise.
64588 * math/s_log1pl.c: Likewise.
64589 * math/s_tanhl.c: Likewise.
64590 * misc/acct.c: Likewise.
64591 * misc/brk.c: Likewise.
64592 * misc/chflags.c: Likewise.
64593 * misc/chroot.c: Likewise.
64594 * misc/fchflags.c: Likewise.
64595 * misc/fgetxattr.c: Likewise.
64596 * misc/flistxattr.c: Likewise.
64597 * misc/fremovexattr.c: Likewise.
64598 * misc/fsetxattr.c: Likewise.
64599 * misc/fsync.c: Likewise.
64600 * misc/ftruncate.c: Likewise.
64601 * misc/futimes.c: Likewise.
64602 * misc/futimesat.c: Likewise.
64603 * misc/getdomain.c: Likewise.
64604 * misc/getdtsz.c: Likewise.
64605 * misc/gethostid.c: Likewise.
64606 * misc/gethostname.c: Likewise.
64607 * misc/getloadavg.c: Likewise.
64608 * misc/getpagesize.c: Likewise.
64609 * misc/getsysstats.c: Likewise.
64610 * misc/getxattr.c: Likewise.
64611 * misc/gtty.c: Likewise.
64612 * misc/ioctl.c: Likewise.
64613 * misc/lgetxattr.c: Likewise.
64614 * misc/listxattr.c: Likewise.
64615 * misc/llistxattr.c: Likewise.
64616 * misc/lremovexattr.c: Likewise.
64617 * misc/lsetxattr.c: Likewise.
64618 * misc/lutimes.c: Likewise.
64619 * misc/madvise.c: Likewise.
64620 * misc/mincore.c: Likewise.
64621 * misc/mlock.c: Likewise.
64622 * misc/mlockall.c: Likewise.
64623 * misc/mmap.c: Likewise.
64624 * misc/mprotect.c: Likewise.
64625 * misc/msync.c: Likewise.
64626 * misc/munlock.c: Likewise.
64627 * misc/munlockall.c: Likewise.
64628 * misc/munmap.c: Likewise.
64629 * misc/preadv.c: Likewise.
64630 * misc/preadv64.c: Likewise.
64631 * misc/ptrace.c: Likewise.
64632 * misc/pwritev.c: Likewise.
64633 * misc/pwritev64.c: Likewise.
64634 * misc/readv.c: Likewise.
64635 * misc/reboot.c: Likewise.
64636 * misc/remap_file_pages.c: Likewise.
64637 * misc/removexattr.c: Likewise.
64638 * misc/revoke.c: Likewise.
64639 * misc/select.c: Likewise.
64640 * misc/setdomain.c: Likewise.
64641 * misc/setegid.c: Likewise.
64642 * misc/seteuid.c: Likewise.
64643 * misc/sethostid.c: Likewise.
64644 * misc/sethostname.c: Likewise.
64645 * misc/setregid.c: Likewise.
64646 * misc/setreuid.c: Likewise.
64647 * misc/setxattr.c: Likewise.
64648 * misc/sstk.c: Likewise.
64649 * misc/stty.c: Likewise.
64650 * misc/swapoff.c: Likewise.
64651 * misc/swapon.c: Likewise.
64652 * misc/sync.c: Likewise.
64653 * misc/syncfs.c: Likewise.
64654 * misc/syscall.c: Likewise.
64655 * misc/truncate.c: Likewise.
64656 * misc/ualarm.c: Likewise.
64657 * misc/usleep.c: Likewise.
64658 * misc/ustat.c: Likewise.
64659 * misc/utimes.c: Likewise.
64660 * misc/vhangup.c: Likewise.
64661 * misc/writev.c: Likewise.
64662 * posix/_exit.c: Likewise.
64663 * posix/alarm.c: Likewise.
64664 * posix/execve.c: Likewise.
64665 * posix/fexecve.c: Likewise.
64666 * posix/fork.c: Likewise.
64667 * posix/fpathconf.c: Likewise.
64668 * posix/getaddrinfo.c: Likewise.
64669 * posix/getegid.c: Likewise.
64670 * posix/geteuid.c: Likewise.
64671 * posix/getgid.c: Likewise.
64672 * posix/getgroups.c: Likewise.
64673 * posix/getlogin.c: Likewise.
64674 * posix/getlogin_r.c: Likewise.
64675 * posix/getpgid.c: Likewise.
64676 * posix/getpid.c: Likewise.
64677 * posix/getppid.c: Likewise.
64678 * posix/getresgid.c: Likewise.
64679 * posix/getresuid.c: Likewise.
64680 * posix/getsid.c: Likewise.
64681 * posix/getuid.c: Likewise.
64682 * posix/glob64.c: Likewise.
64683 * posix/nanosleep.c: Likewise.
64684 * posix/pathconf.c: Likewise.
64685 * posix/pause.c: Likewise.
64686 * posix/posix_madvise.c: Likewise.
64687 * posix/pread.c: Likewise.
64688 * posix/pread64.c: Likewise.
64689 * posix/pwrite.c: Likewise.
64690 * posix/pwrite64.c: Likewise.
64691 * posix/sched_getaffinity.c: Likewise.
64692 * posix/sched_getp.c: Likewise.
64693 * posix/sched_gets.c: Likewise.
64694 * posix/sched_primax.c: Likewise.
64695 * posix/sched_primin.c: Likewise.
64696 * posix/sched_rr_gi.c: Likewise.
64697 * posix/sched_setaffinity.c: Likewise.
64698 * posix/sched_setp.c: Likewise.
64699 * posix/sched_sets.c: Likewise.
64700 * posix/sched_yield.c: Likewise.
64701 * posix/setgid.c: Likewise.
64702 * posix/setlogin.c: Likewise.
64703 * posix/setpgid.c: Likewise.
64704 * posix/setresgid.c: Likewise.
64705 * posix/setresuid.c: Likewise.
64706 * posix/setsid.c: Likewise.
64707 * posix/setuid.c: Likewise.
64708 * posix/sleep.c: Likewise.
64709 * posix/spawni.c: Likewise.
64710 * posix/sysconf.c: Likewise.
64711 * posix/times.c: Likewise.
64712 * posix/wait.c: Likewise.
64713 * posix/wait3.c: Likewise.
64714 * posix/wait4.c: Likewise.
64715 * posix/waitpid.c: Likewise.
64716 * resolv/gai_sigqueue.c: Likewise.
64717 * resource/getpriority.c: Likewise.
64718 * resource/getrlimit.c: Likewise.
64719 * resource/getrusage.c: Likewise.
64720 * resource/nice.c: Likewise.
64721 * resource/setpriority.c: Likewise.
64722 * resource/setrlimit.c: Likewise.
64723 * resource/ulimit.c: Likewise.
64724 * rt/aio_cancel.c: Likewise.
64725 * rt/aio_fsync.c: Likewise.
64726 * rt/aio_read.c: Likewise.
64727 * rt/aio_sigqueue.c: Likewise.
64728 * rt/aio_suspend.c: Likewise.
64729 * rt/aio_write.c: Likewise.
64730 * rt/clock_getres.c: Likewise.
64731 * rt/clock_gettime.c: Likewise.
64732 * rt/clock_nanosleep.c: Likewise.
64733 * rt/clock_settime.c: Likewise.
64734 * rt/lio_listio.c: Likewise.
64735 * rt/mq_close.c: Likewise.
64736 * rt/mq_getattr.c: Likewise.
64737 * rt/mq_notify.c: Likewise.
64738 * rt/mq_open.c: Likewise.
64739 * rt/mq_receive.c: Likewise.
64740 * rt/mq_send.c: Likewise.
64741 * rt/mq_setattr.c: Likewise.
64742 * rt/mq_timedreceive.c: Likewise.
64743 * rt/mq_timedsend.c: Likewise.
64744 * rt/mq_unlink.c: Likewise.
64745 * rt/shm_open.c: Likewise.
64746 * rt/shm_unlink.c: Likewise.
64747 * rt/timer_create.c: Likewise.
64748 * rt/timer_delete.c: Likewise.
64749 * rt/timer_getoverr.c: Likewise.
64750 * rt/timer_gettime.c: Likewise.
64751 * rt/timer_settime.c: Likewise.
64752 * setjmp/__longjmp.c: Likewise.
64753 * setjmp/setjmp.c: Likewise.
64754 * signal/kill.c: Likewise.
64755 * signal/killpg.c: Likewise.
64756 * signal/raise.c: Likewise.
64757 * signal/sigaction.c: Likewise.
64758 * signal/sigaltstack.c: Likewise.
64759 * signal/sigblock.c: Likewise.
64760 * signal/sigignore.c: Likewise.
64761 * signal/sigintr.c: Likewise.
64762 * signal/signal.c: Likewise.
64763 * signal/sigpause.c: Likewise.
64764 * signal/sigpending.c: Likewise.
64765 * signal/sigqueue.c: Likewise.
64766 * signal/sigreturn.c: Likewise.
64767 * signal/sigset.c: Likewise.
64768 * signal/sigsetmask.c: Likewise.
64769 * signal/sigstack.c: Likewise.
64770 * signal/sigsuspend.c: Likewise.
64771 * signal/sigtimedwait.c: Likewise.
64772 * signal/sigvec.c: Likewise.
64773 * signal/sigwait.c: Likewise.
64774 * signal/sigwaitinfo.c: Likewise.
64775 * signal/sysv_signal.c: Likewise.
64776 * socket/accept.c: Likewise.
64777 * socket/accept4.c: Likewise.
64778 * socket/bind.c: Likewise.
64779 * socket/connect.c: Likewise.
64780 * socket/getpeername.c: Likewise.
64781 * socket/getsockname.c: Likewise.
64782 * socket/getsockopt.c: Likewise.
64783 * socket/isfdtype.c: Likewise.
64784 * socket/listen.c: Likewise.
64785 * socket/recv.c: Likewise.
64786 * socket/recvfrom.c: Likewise.
64787 * socket/recvmsg.c: Likewise.
64788 * socket/send.c: Likewise.
64789 * socket/sendmsg.c: Likewise.
64790 * socket/sendto.c: Likewise.
64791 * socket/setsockopt.c: Likewise.
64792 * socket/shutdown.c: Likewise.
64793 * socket/sockatmark.c: Likewise.
64794 * socket/socket.c: Likewise.
64795 * socket/socketpair.c: Likewise.
64796 * stdio-common/ctermid.c: Likewise.
64797 * stdio-common/cuserid.c: Likewise.
64798 * stdio-common/remove.c: Likewise.
64799 * stdio-common/rename.c: Likewise.
64800 * stdio-common/renameat.c: Likewise.
64801 * stdio-common/tempname.c: Likewise.
64802 * stdlib/getcontext.c: Likewise.
64803 * stdlib/makecontext.c: Likewise.
64804 * stdlib/setcontext.c: Likewise.
64805 * stdlib/swapcontext.c: Likewise.
64806 * stdlib/system.c: Likewise.
64807 * streams/fattach.c: Likewise.
64808 * streams/fdetach.c: Likewise.
64809 * streams/getmsg.c: Likewise.
64810 * streams/getpmsg.c: Likewise.
64811 * streams/putmsg.c: Likewise.
64812 * streams/putpmsg.c: Likewise.
64813 * sysdeps/unix/bsd/getpt.c: Likewise.
64814 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
64815 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
64816 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64818 Likewise.
64819 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
64820 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64821 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
64822 * sysvipc/msgctl.c: Likewise.
64823 * sysvipc/msgget.c: Likewise.
64824 * sysvipc/msgrcv.c: Likewise.
64825 * sysvipc/msgsnd.c: Likewise.
64826 * sysvipc/semctl.c: Likewise.
64827 * sysvipc/semget.c: Likewise.
64828 * sysvipc/semop.c: Likewise.
64829 * sysvipc/semtimedop.c: Likewise.
64830 * sysvipc/shmat.c: Likewise.
64831 * sysvipc/shmctl.c: Likewise.
64832 * sysvipc/shmdt.c: Likewise.
64833 * sysvipc/shmget.c: Likewise.
64834 * termios/tcdrain.c: Likewise.
64835 * termios/tcflow.c: Likewise.
64836 * termios/tcflush.c: Likewise.
64837 * termios/tcgetattr.c: Likewise.
64838 * termios/tcgetpgrp.c: Likewise.
64839 * termios/tcsendbrk.c: Likewise.
64840 * termios/tcsetattr.c: Likewise.
64841 * termios/tcsetpgrp.c: Likewise.
64842 * time/adjtime.c: Likewise.
64843 * time/clock.c: Likewise.
64844 * time/getitimer.c: Likewise.
64845 * time/gettimeofday.c: Likewise.
64846 * time/setitimer.c: Likewise.
64847 * time/settimeofday.c: Likewise.
64848 * time/stime.c: Likewise.
64849 * time/time.c: Likewise.
64850
64851 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
64852
64853 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
64854 /usr/old/bin.
64855
64856 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
64857 instead of spaces.
64858 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
64859
64860 2012-11-03 Joseph Myers <joseph@codesourcery.com>
64861
64862 [BZ #14796]
64863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
64864 FE_TONEAREST before applying Dekker multiplication and Knuth
64865 addition. Clear inexact exceptions and check for exact zero
64866 results afterwards.
64867 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64868 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64869 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64870 * math/libm-test.inc (fma_test): Add more tests.
64871 (fma_test_towardzero): Likewise.
64872 (fma_test_downward): Likewise.
64873 (fma_test_upward): Likewise.
64874 * sysdeps/generic/math_private.h (default_libc_fesetround): New
64875 function.
64876 (libc_fesetround): New macro.
64877 (libc_fesetroundf): Likewise.
64878 (libc_fesetroundl): Likewise.
64879 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
64880 function.
64881 (libc_fesetround_387): Likewise.
64882 (libc_fesetroundf): New macro.
64883 (libc_fesetround): Likewise.
64884 (libc_fesetroundl): Likewise.
64885 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64886 function.
64887 (libc_fesetroundf): New macro.
64888 (libc_fesetround): Likewise.
64889 (libc_fesetroundl): Likewise.
64890 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64891 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64892 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64893 libm_hidden_ver.
64894 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64895 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64896 libm_hidden_def.
64897 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64898 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64899 libm_hidden_ver.
64900 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64901 libm_hidden_def.
64902
64903 [BZ #3439]
64904 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64905 integer constant usable in #if and use that to give value to enum
64906 constant.
64907 (FE_DIVBYZERO): Likewise.
64908 (FE_UNDERFLOW): Likewise.
64909 (FE_OVERFLOW): Likewise.
64910 (FE_INVALID): Likewise.
64911 (FE_INVALID_SNAN): Likewise.
64912 (FE_INVALID_ISI): Likewise.
64913 (FE_INVALID_IDI): Likewise.
64914 (FE_INVALID_ZDZ): Likewise.
64915 (FE_INVALID_IMZ): Likewise.
64916 (FE_INVALID_COMPARE): Likewise.
64917 (FE_INVALID_SOFTWARE): Likewise.
64918 (FE_INVALID_SQRT): Likewise.
64919 (FE_INVALID_INTEGER_CONVERSION): Likewise.
64920 (FE_TONEAREST): Likewise.
64921 (FE_TOWARDZERO): Likewise.
64922 (FE_UPWARD): Likewise.
64923 (FE_DOWNWARD): Likewise.
64924 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64925 (FE_DIVBYZERO): Likewise.
64926 (FE_OVERFLOW): Likewise.
64927 (FE_UNDERFLOW): Likewise.
64928 (FE_INEXACT): Likewise.
64929 (FE_TONEAREST): Likewise.
64930 (FE_DOWNWARD): Likewise.
64931 (FE_UPWARD): Likewise.
64932 (FE_TOWARDZERO): Likewise.
64933 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64934 (FE_UNDERFLOW): Likewise.
64935 (FE_OVERFLOW): Likewise.
64936 (FE_DIVBYZERO): Likewise.
64937 (FE_INVALID): Likewise.
64938 (FE_TONEAREST): Likewise.
64939 (FE_TOWARDZERO): Likewise.
64940 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64941 (FE_OVERFLOW): Likewise.
64942 (FE_UNDERFLOW): Likewise.
64943 (FE_DIVBYZERO): Likewise.
64944 (FE_INEXACT): Likewise.
64945 (FE_TONEAREST): Likewise.
64946 (FE_TOWARDZERO): Likewise.
64947 (FE_UPWARD): Likewise.
64948 (FE_DOWNWARD): Likewise.
64949 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64950 (FE_DIVBYZERO): Likewise.
64951 (FE_OVERFLOW): Likewise.
64952 (FE_UNDERFLOW): Likewise.
64953 (FE_INEXACT): Likewise.
64954 (FE_TONEAREST): Likewise.
64955 (FE_DOWNWARD): Likewise.
64956 (FE_UPWARD): Likewise.
64957 (FE_TOWARDZERO): Likewise.
64958
64959 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
64960
64961 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64962
64963 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
64964
64965 * scripts/cross-test-ssh.sh (command): Use newlines to separate
64966 commands. Quote $PWD.
64967 (blacklist_exports): Don't use remove_newlines. Replace "declare
64968 -x" by "export".
64969 (remove_newlines): Remove.
64970
64971 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
64972
64973 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64974 * stdlib/stdlib.h (atof): Moved to ...
64975 * include/bits/stdlib-float.h: Here. New file.
64976 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64977 * stdlib/bits/stdlib-float.h: New file.
64978 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64979 -mno-sse -mno-mmx.
64980 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64981 <xmmintrin.h>.
64982
64983 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64984
64985 * conform/conformtest.pl (@headers): Add fenv.h.
64986 * conform/data/fenv.h-data: New file.
64987 * include/fenv.h [_ISOMAC]: Disable all contents of file except
64988 include of <math/fenv.h>.
64989
64990 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64991 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64992 && !UNIX98]. Enables tests for XOPEN2K8.
64993 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64994 POSIX2008]: Likewise.
64995
64996 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64997 (struct rusage): Do not expect type or its members.
64998
64999 [BZ #3439]
65000 * math/math.h (FP_NAN): Define macro to integer constant usable in
65001 #if and use that to give value to enum constant.
65002 (FP_INFINITE): Likewise.
65003 (FP_ZERO): Likewise.
65004 (FP_SUBNORMAL): Likewise.
65005 (FP_NORMAL): Likewise.
65006
65007 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
65008
65009 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
65010 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
65011 arguments.
65012
65013 2012-11-02 Roland McGrath <roland@hack.frob.com>
65014
65015 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
65016 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
65017 autoconf-time if not.
65018 * configure.in: Remove AC_PREREQ.
65019
65020 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65021
65022 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
65023 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
65024 of the internal implementation.
65025
65026 2012-11-02 Joseph Myers <joseph@codesourcery.com>
65027
65028 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
65029 except include of <misc/sys/syslog.h>.
65030
65031 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
65032
65033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
65034 function returns with a NULL context exit with zero.
65035
65036 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65037
65038 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
65039
65040 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
65041
65042 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
65043 (run_program_cmd): This.
65044 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
65045 (tst_langinfo): New variable. Use it.
65046
65047 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
65048
65049 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
65050 floating point opcodes.
65051
65052 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
65053
65054 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
65055 variable.
65056
65057 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
65058
65059 * sysdeps/mach/hurd/powerpc: Remove directory.
65060 * sysdeps/mach/powerpc: Likewise.
65061
65062 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
65063
65064 * scripts/check-local-headers.sh: Ignore c++ headers.
65065
65066 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
65067
65068 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
65069 __libc_cleanup_region_start argument.
65070
65071 2012-11-01 Joseph Myers <joseph@codesourcery.com>
65072
65073 [BZ #14784]
65074 [BZ #14785]
65075 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
65076 x * y using scaling, not as x * y + z.
65077 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65078 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65079 * math/libm-test.inc (fma_test): Add more tests.
65080 (fma_test_towardzero): Likewise.
65081 (fma_test_downward): Likewise.
65082 (fma_test_upward): Likewise.
65083
65084 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
65085
65086 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
65087
65088 2012-10-31 Joseph Myers <joseph@codesourcery.com>
65089
65090 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
65091 New variable.
65092
65093 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
65094
65095 * rt/tst-shm.c (worker): Correct checking for mmap failure.
65096
65097 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
65098
65099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65100 Fix sort order.
65101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65102 Likewise.
65103
65104 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65105
65106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65107 Fix the order of the list for glibc 2.17.
65108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65109 Likewise.
65110
65111 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
65112
65113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65114
65115 2012-10-31 Joseph Myers <joseph@codesourcery.com>
65116
65117 [BZ #14610]
65118 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
65119 for low part of x being zero before using __atanl (y).
65120 * math/libm-test.inc (atan2_test): Add another test.
65121
65122 * manual/install.texi (Configuring and compiling): Document
65123 general use of test-wrapper and test-wrapper-env.
65124 * INSTALL: Regenerated.
65125
65126 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
65127 (__fma): Do not extract and scale down low bits on after-rounding
65128 systems when result rounded to normal precision would have normal
65129 exponent.
65130 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
65131 (__fmal): Do not extract and scale down low bits on after-rounding
65132 systems when result rounded to normal precision would have normal
65133 exponent.
65134 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
65135 (__fmal): Do not extract and scale down low bits on after-rounding
65136 systems when result rounded to normal precision would have normal
65137 exponent.
65138 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
65139 macro.
65140 (fma_test): Add more tests.
65141 (fma_test_towardzero): Likewise.
65142 (fma_test_downward): Likewise.
65143 (fma_test_upward): Likewise.
65144
65145 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
65146
65147 * sysdeps/i386/tininess.h: Renamed to ...
65148 * sysdeps/x86/tininess.h: This.
65149 * sysdeps/x86_64/tininess.h: Removed.
65150
65151 2012-10-30 Joseph Myers <joseph@codesourcery.com>
65152
65153 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
65154 input. Use $(build-program-cmd).
65155 ($(objpfx)tst-array1-static.out): Likewise.
65156 ($(objpfx)tst-array2.out): Likewise.
65157 ($(objpfx)tst-array3.out): Likewise.
65158 ($(objpfx)tst-array4.out): Likewise.
65159 ($(objpfx)tst-array5.out): Likewise.
65160 ($(objpfx)tst-array5-static.out): Likewise.
65161
65162 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
65163
65164 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
65165 if defined.
65166
65167 * nss/nsswitch.h (nss_interface_function): Provide new
65168 macro for use with NSS functions.
65169 * grp/initgroups.c: Use new macro.
65170 * nss/getXXbyYY.c: Likewise.
65171 * nss/getXXbyYY_r.c: Likewise.
65172 * nss/getXXent.c: Likewise.
65173 * nss/getXXent_r.c: Likewise.
65174 * sysdeps/posix/getaddrinfo.c: Likewise.
65175
65176 2012-10-30 Andreas Jaeger <aj@suse.de>
65177
65178 * po/ru.po: Update Russion translation from translation project.
65179
65180 2012-10-30 Joseph Myers <joseph@codesourcery.com>
65181
65182 [BZ #14152]
65183 [BZ #14783]
65184 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
65185 result and shift together with sticky bit instead of replicating
65186 round-to-nearest rounding.
65187 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65188 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65189 * math/libm-test.inc (fma_test): Add more tests. Do not permit
65190 missing underflow exceptions.
65191 (fma_test_towardzero): Add more tests.
65192 (fma_test_downward): Likewise.
65193 (fma_test_upward): Likewise.
65194
65195 [BZ #14047]
65196 * sysdeps/generic/tininess.h: New file.
65197 * sysdeps/i386/tininess.h: Likewise.
65198 * sysdeps/sh/tininess.h: Likewise.
65199 * sysdeps/x86_64/tininess.h: Likewise.
65200 * stdlib/tst-strtod-underflow.c: Likewise.
65201 * stdlib/tst-tininess.c: Likewise.
65202 * stdlib/strtod_l.c: Include <tininess.h>.
65203 (round_and_return): Do not set errno for exact underflow cases.
65204 Force an underflow exception when setting errno for underflow.
65205 Determine underflow based on rounding to normal precision if
65206 TININESS_AFTER_ROUNDING.
65207 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
65208 ERANGE for exact underflow cases.
65209 * stdlib/Makefile (tests): Add tst-tininess and
65210 tst-strtod-underflow.
65211 ($(objpfx)tst-tininess): Use $(link-libm).
65212 ($(objpfx)tst-strtod-underflow): Likewise.
65213
65214 2012-10-30 Andreas Jaeger <aj@suse.de>
65215
65216 [BZ#14767]
65217 * elf/Makefile (tests): Remove conditional for have-initfini-array
65218 since this is now always required and the variable does not exist
65219 anymore.
65220 (tests-static): Likewise.
65221 (modules-names): Likewise.
65222
65223 * po/eo.po: Add Esperanto translation from translation project.
65224
65225 * elf/tst-array1.c (fini_array): Make writeable so that it can be
65226 merged with constructor/destructor.
65227 (init_array): Likewise.
65228 * elf/tst-array2dep.c (fini_array): Likewise.
65229 (init_array): Likewise.
65230
65231 2012-10-29 Mike Frysinger <vapier@gentoo.org>
65232
65233 * manual/message.texi: Delete @cartouche tags.
65234
65235 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
65236
65237 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
65238 EOPNOTSUPP.
65239 * sysdeps/mach/hurd/fsync.c: Likewise.
65240
65241 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
65242 [_POSIX_REALTIME_SIGNALS]: Change condition to
65243 [_POSIX_REALTIME_SIGNALS > 0].
65244
65245 2012-10-27 Andreas Jaeger <aj@suse.de>
65246
65247 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
65248 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
65249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
65250 [__WORDSIZE != 64]: Likewise.
65251
65252 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
65253
65254 * iconvdata/tst-table.sh: Remove ${SHELL}.
65255 * iconvdata/tst-tables.sh: Likewise.
65256
65257 2012-10-25 David S. Miller <davem@davemloft.net>
65258
65259 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65260 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
65261 of strtoull.
65262
65263 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
65264 ifunc-impl-list.c
65265 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65266 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
65267 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
65268 file.
65269
65270 2012-10-25 Roland McGrath <roland@hack.frob.com>
65271
65272 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65273 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
65274 __getdirentries.
65275
65276 2012-10-25 Joseph Myers <joseph@codesourcery.com>
65277 Jim Blandy <jimb@codesourcery.com>
65278
65279 * scripts/cross-test-ssh.sh: New file.
65280 * manual/install.texi (Configuring and compiling): Document use of
65281 cross-test-ssh.sh.
65282 * INSTALL: Regenerated.
65283
65284 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
65285
65286 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
65287 EOPNOTSUPP.
65288
65289 2012-10-25 Joseph Myers <joseph@codesourcery.com>
65290
65291 * Makeconfig (run-program-prefix): Fix comment.
65292
65293 2012-10-24 Joseph Myers <joseph@codesourcery.com>
65294 Jim Blandy <jimb@codesourcery.com>
65295
65296 * Makeconfig (test-wrapper): New variable,
65297 (test-wrapper-env): Likewise.
65298 [$(cross-compiling) = yes && $(test-wrapper) != ""]
65299 (run-built-tests): Define to yes.
65300 (run-program-prefix): Use $(test-wrapper).
65301 (built-program-cmd): Likewise.
65302 * Rules (make-test-out): Use $(test-wrapper-env) and
65303 $(host-built-program-cmd).
65304 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
65305 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
65306 tst-pathopt.sh.
65307 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
65308 $(test-wrapper-env) to tst-rtld-load-self.sh.
65309 ($(objpfx)order2.out): Use $(test-wrapper).
65310 ($(objpfx)tst-initorder.out): Likewise.
65311 ($(objpfx)tst-initorder2.out): Likewise.
65312 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
65313 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
65314 (test_wrapper_env): New variable. Use it to run ld.so.
65315 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
65316 Use it to run ld.so.
65317 (test_wrapper_env): Likewise.
65318 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
65319 $(test-wrapper) to run-iconv-test.sh.
65320 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
65321 (ICONV): Use $test_wrapper.
65322 * posix/Makefile ($(objpfx)globtest.out): Pass
65323 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
65324 globtest.sh, not $(run-program-prefix).
65325 * posix/globtest.sh (run_via_rtld_prefix): New variable.
65326 (test_wrapper): Likewise.
65327 (test_wrapper_env): Likewise. Use it to run globtest with HOME
65328 set together with run_via_rtld_prefix.
65329 (run_program_prefix): Define in terms of test_wrapper and
65330 run_via_rtld_prefix.
65331
65332 2012-10-24 Roland McGrath <roland@hack.frob.com>
65333
65334 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
65335 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
65336 Targets removed.
65337
65338 [BZ #14743]
65339 * include/time.h: Remove librt_hidden_proto (clock_gettime).
65340 Declare __clock_getres, __clock_gettime, __clock_settime,
65341 __clock_nanosleep, and __clock_getcpuclockid.
65342 * rt/clock_gettime.c: Define __clock_gettime as an alias.
65343 Remove librt_hidden_def (clock_gettime).
65344 * sysdeps/unix/clock_gettime.c: Likewise.
65345 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
65346 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
65347 * rt/clock_getres.c: Define __clock_getres as an alias.
65348 * sysdeps/posix/clock_getres.c: Likewise.
65349 * rt/clock_settime.c: Define __clock_settime as an alias.
65350 * sysdeps/unix/clock_settime.c: Likewise.
65351 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
65352 * sysdeps/unix/clock_nanosleep.c: Likewise.
65353 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
65354 * rt/clock-compat.c: New file.
65355 * rt/Makefile (librt-routines): Add clock-compat and move
65356 $(clock-routines) to ...
65357 (routines): ... here, new variable.
65358 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
65359 Don't add get_clockfreq here.
65360 * rt/Versions (libc: GLIBC_2.17): New version set.
65361 Add clock_* symbols here.
65362 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
65363 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
65364 (GLIBC_2.17): Add clock_* symbols.
65365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65367 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65369 Likewise.
65370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65371 Likewise.
65372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65376 * NEWS: Mention the move.
65377
65378 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
65379 Use __open, __read, __close rather than their public counterparts.
65380 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65381 (__get_clockfreq_via_cpuinfo): Likewise.
65382 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
65383 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
65384
65385 * config.h.in (HAVE_IFUNC): New #undef.
65386 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
65387 was successful.
65388 * configure: Regenerated.
65389
65390 2012-10-24 Mike Frysinger <vapier@gentoo.org>
65391
65392 * configure.in: Move READELF check to start of file.
65393 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
65394 libc_cv_asm_gnu_indirect_function in the process.
65395 * configure: Regenerated.
65396
65397 2012-10-24 Mike Frysinger <vapier@gentoo.org>
65398
65399 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
65400 send the output to /dev/null.
65401 (libc_cv_cc_with_libunwind): Likewise.
65402 (libc_cv_as_noexecstack): Likewise.
65403 * configure: Regenerate.
65404
65405 2012-10-24 Joseph Myers <joseph@codesourcery.com>
65406
65407 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
65408
65409 * posix/globtest.sh (TMPDIR): Do not set.
65410 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
65411 (testout): Likewise.
65412
65413 2012-10-24 Andreas Jaeger <aj@suse.de>
65414
65415 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
65416 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
65417 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
65418 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
65419 posix_fadvise64, posix_fallocate64.
65420
65421 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
65422 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
65423 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
65424 Likewise.
65425 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
65426 Likewise.
65427 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
65428
65429 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
65430 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
65431 <bits/fcntl-linux.h>.
65432 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
65433
65434 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
65435 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
65436 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
65437 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
65438 [__WORDSIZE != 64]: Likewise.
65439
65440 2012-10-23 Joseph Myers <joseph@codesourcery.com>
65441
65442 * Makeconfig (run-built-tests): New variable.
65443 * Rules [$(cross-compiling) = yes]: Change condition to
65444 [$(run-built-tests) = no].
65445 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
65446 to [$(run-built-tests) = yes].
65447 * elf/Makefile [$(cross-compiling) = no]: Likewise.
65448 * grp/Makefile [$(cross-compiling) = no]: Likewise.
65449 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
65450 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
65451 * intl/Makefile [$(cross-compiling) = no]: Likewise.
65452 * io/Makefile [$(cross-compiling) = no]: Likewise.
65453 * libio/Makefile [$(cross-compiling) = no]: Likewise.
65454 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
65455 * misc/Makefile [$(cross-compiling) = no]: Likewise.
65456 * posix/Makefile [$(cross-compiling) = no]: Likewise.
65457 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
65458 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
65459 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
65460 * string/Makefile [$(cross-compiling) = no]: Likewise.
65461
65462 * posix/Makefile ($(objpfx)globtest.out): Pass
65463 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
65464 $(rtld-installed-name).
65465 * posix/globtest.sh (elf_objpfx): Remove variable.
65466 (rtld_installed_name): Likewise.
65467 (library_path): Likewise.
65468 (run_program_prefix): New variable. Use for running globtest
65469 binary.
65470
65471 2012-10-23 Jim Blandy <jimb@codesourcery.com>
65472 Joseph Myers <joseph@codesourcery.com>
65473
65474 * Makeconfig (host-built-program-cmd): New variable.
65475 * elf/Makefile (tst-stackguard1-ARGS): Use
65476 $(host-built-program-cmd).
65477 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
65478 (tst-spawn-ARGS): Likewise.
65479 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
65480
65481 2012-10-23 Joseph Myers <joseph@codesourcery.com>
65482 Jim Blandy <jimb@codesourcery.com>
65483
65484 * Makeconfig (run-via-rtld-prefix): New variable.
65485 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
65486 (built-program-cmd): Likewise.
65487
65488 2012-10-22 Andreas Jaeger <aj@suse.de>
65489
65490 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
65491 __O_RSYNC if it exists, otherwise to O_SYNC.
65492
65493 2012-10-22 Jim Blandy <jimb@codesourcery.com>
65494 Joseph Myers <joseph@codesourcery.com>
65495
65496 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
65497 /dev/null.
65498 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
65499 from /dev/null
65500 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
65501 /dev/null.
65502
65503 2012-10-22 Andreas Jaeger <aj@suse.de>
65504
65505 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
65506 Define always.
65507 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
65508
65509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65510 bits/fcntl-linux.h.
65511
65512 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
65513 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
65514
65515 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
65516 to __O_LARGEFILE.
65517 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
65518 to __O_LARGEFILE.
65519
65520 2012-10-21 Jim Blandy <jimb@codesourcery.com>
65521 Joseph Myers <joseph@codesourcery.com>
65522
65523 * config.make.in (NM): New variable.
65524
65525 2012-10-21 Andreas Jaeger <aj@suse.de>
65526
65527 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
65528 definitions and declarations that are provided by
65529 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65530
65531 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
65532
65533 [BZ #14683]
65534 * elf/Makefile (tests-static): Add tst-leaks1-static.
65535 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
65536 ($(objpfx)tst-leaks1-static): New rule.
65537 ($(objpfx)tst-leaks1-static-mem): Likewise.
65538 (tst-leaks1-static-ENV): New macro.
65539 * elf/dl-open.c (dl_open_worker): Check the main application
65540 only if SHARED is defined.
65541 * elf/tst-leaks1-static.c: New file.
65542
65543 2012-10-20 Andreas Jaeger <aj@suse.de>
65544
65545 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
65546 generic values for Linux.
65547 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
65548 and declarations that are provided by <bits/fcntl-linux.h> and
65549 include <bits/fcntl-linux.h>.
65550 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65551 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65552
65553 2012-10-20 Roland McGrath <roland@hack.frob.com>
65554
65555 * io/fcntl.h: Move include of <bits/types.h> to the top and
65556 include it unconditionally.
65557
65558 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
65559
65560 * wcsmbs/Makefile (tests-ifunc): New variable.
65561 (tests): Add $(tests-ifunc).
65562 * wcsmbs/test-wcschr-ifunc.c: New file.
65563 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
65564 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
65565 * wcsmbs/test-wcslen-ifunc.c: Likewise.
65566 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
65567 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
65568
65569 * string/Makefile (tests-ifunc): New variable.
65570 (tests): Add $(tests-ifunc).
65571 * string/test-memccpy.c (TEST_NAME): New macro.
65572 * string/test-memchr.c (TEST_NAME): Likewise.
65573 * string/test-memcmp.c (TEST_NAME): Likewise.
65574 * string/test-memcpy.c (TEST_NAME): Likewise.
65575 * string/test-memmem.c (TEST_NAME): Likewise.
65576 * string/test-memmove.c (TEST_NAME): Likewise.
65577 * string/test-memset.c (TEST_NAME): Likewise.
65578 * string/test-rawmemchr.c (TEST_NAME): Likewise.
65579 * string/test-stpcpy.c (TEST_NAME): Likewise.
65580 * string/test-stpncpy.c (TEST_NAME): Likewise.
65581 * string/test-strcasecmp.c (TEST_NAME): Likewise.
65582 * string/test-strcasestr.c (TEST_NAME): Likewise.
65583 * string/test-strcat.c (TEST_NAME): Likewise.
65584 * string/test-strchr.c (TEST_NAME): Likewise.
65585 * string/test-strcmp.c(TEST_NAME): Likewise.
65586 * string/test-strcpy.c (TEST_NAME): Likewise.
65587 * string/test-strcspn.c (TEST_NAME): Likewise.
65588 * string/test-strlen.c (TEST_NAME): Likewise.
65589 * string/test-strncasecmp.c (TEST_NAME): Likewise.
65590 * string/test-strncmp.c (TEST_NAME): Likewise.
65591 * string/test-strncpy.c (TEST_NAME): Likewise.
65592 * string/test-strnlen.c (TEST_NAME): Likewise.
65593 * string/test-strpbrk.c (TEST_NAME): Likewise.
65594 * string/test-strrchr.c (TEST_NAME): Likewise.
65595 * string/test-strspn.c (TEST_NAME): Likewise.
65596 * string/test-strstr.c (TEST_NAME): Likewise.
65597 * string/test-bcopy-ifunc.c: New file.
65598 * string/test-bzero-ifunc.c: Likewise.
65599 * string/test-memccpy-ifunc.c: Likewise.
65600 * string/test-memchr-ifunc.c: Likewise.
65601 * string/test-memcmp-ifunc.c: Likewise.
65602 * string/test-memcpy-ifunc.c: Likewise.
65603 * string/test-memmem-ifunc.c: Likewise.
65604 * string/test-memmove-ifunc.c: Likewise.
65605 * string/test-mempcpy-ifunc.c: Likewise.
65606 * string/test-memset-ifunc.c: Likewise.
65607 * string/test-rawmemchr-ifunc.c: Likewise.
65608 * string/test-stpcpy-ifunc.c: Likewise.
65609 * string/test-stpncpy-ifunc.c: Likewise.
65610 * string/test-strcasecmp-ifunc.c: Likewise.
65611 * string/test-strcasestr-ifunc.c: Likewise.
65612 * string/test-strcat-ifunc.c: Likewise.
65613 * string/test-strchr-ifunc.c: Likewise.
65614 * string/test-strchrnul-ifunc.c: Likewise.
65615 * string/test-strcmp-ifunc.c: Likewise.
65616 * string/test-strcpy-ifunc.c: Likewise.
65617 * string/test-strcspn-ifunc.c: Likewise.
65618 * string/test-strlen-ifunc.c: Likewise.
65619 * string/test-strncasecmp-ifunc.c: Likewise.
65620 * string/test-strncat-ifunc.c: Likewise.
65621 * string/test-strncmp-ifunc.c: Likewise.
65622 * string/test-strncpy-ifunc.c: Likewise.
65623 * string/test-strnlen-ifunc.c: Likewise.
65624 * string/test-strpbrk-ifunc.c: Likewise.
65625 * string/test-strrchr-ifunc.c: Likewise.
65626 * string/test-strspn-ifunc.c: Likewise.
65627 * string/test-strstr-ifunc.c: Likewise.
65628
65629 * debug/Makefile (tests-ifunc): New variable.
65630 (tests): Add $(tests-ifunc).
65631 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
65632 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
65633 * debug/test-stpcpy_chk-ifunc.c: New file.
65634 * debug/test-strcpy_chk-ifunc.c: Likewise.
65635
65636 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
65637
65638 [BZ #13601]
65639 * elf/dl-load.c (open_verify): Retry read if the entire ELF
65640 header is not read in.
65641
65642 2012-10-19 Joseph Myers <joseph@codesourcery.com>
65643
65644 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
65645 script to $(SHELL) as $<. Pass $(common-objpfx) to script
65646 directly. Pass built executable to script as
65647 $(built-program-cmd).
65648 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
65649 $testprogram without using LD_LIBRARY_PATH and $ldso.
65650
65651 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
65652 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
65653 $(rtld-installed-name).
65654 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
65655 (rtld_installed_name): Likewise.
65656 (library_path): Likewise.
65657 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
65658 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
65659 $(run-program-prefix) to tst-tables.sh.
65660 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
65661 it to run tst-table-from and tst-table-to.
65662 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
65663 Pass it to tst-table.sh.
65664 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
65665 $(run-program-prefix) to tst-gettext.sh.
65666 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
65667 tst-translit.sh.
65668 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
65669 tst-gettext2.sh.
65670 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
65671 to run tst-gettext.
65672 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
65673 to run tst-gettext2.
65674 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
65675 to run tst-translit.
65676 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
65677 $(run-program-prefix) to tst-mtrace.sh.
65678 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
65679 to run tst-mtrace.
65680 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
65681 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
65682 $(rtld-installed-name).
65683 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
65684 (rtld_installed_name): Likewise.
65685 (run_program_prefix): New variable. Use it to run wordexp-test.
65686
65687 * Makeconfig (ARCH): Remove all definitions.
65688 (machine): Likewise.
65689 [ARCH]: Remove conditional code.
65690 [!objdir]: Give error.
65691 [!objdir] (objpfx): Remove.
65692 [!objdir] (common-objpfx): Likewise.
65693 [!objdir] (common-objdir): Likewise.
65694 * configure.in (config_makefile): Remove. Hardcode Makefile in
65695 AC_CONFIG_FILES call.
65696 * configure: Regenerated.
65697
65698 [BZ #13888]
65699 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
65700 or TMPDIR.
65701 (testout): Likewise.
65702
65703 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
65704 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
65705 $(rtld-installed-name).
65706 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
65707 (rtld_installed_name): Likewise.
65708 (runit): Remove function.
65709 (run_getconf): New variable, Use it for running getconf binary.
65710
65711 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
65712
65713 [BZ #14716]
65714 * string/test-memmem.c (check_result): New function.
65715 (do_one_test): Use it.
65716 (check1): New function.
65717 (test_main): Use it.
65718
65719 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
65720
65721 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
65722
65723 2012-10-18 Joseph Myers <joseph@codesourcery.com>
65724
65725 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
65726 (_G_LSEEK64): Likewise.
65727 (_G_MMAP64): Likewise.
65728 (_G_FSTAT64): Likewise.
65729 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
65730 (_G_LSEEK64): Likewise.
65731 (_G_MMAP64): Likewise.
65732 (_G_FSTAT64): Likewise.
65733 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
65734 unconditional. Call __mmap64 directly.
65735 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
65736 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
65737 __lseek64 directly.
65738 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
65739 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
65740 __mmap64 directly.
65741 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
65742 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
65743 __lseek64 directly.
65744 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
65745 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
65746 __lseek64 directly.
65747 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
65748 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
65749 __lseek64 directly.
65750 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
65751 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
65752 __fxstat64 directly.
65753 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
65754 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
65755 unconditional.
65756 (freopen64) [!_G_OPEN64]: Remove conditional code.
65757 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
65758 unconditional.
65759 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
65760 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
65761 unconditional.
65762 (ftello64) [!_G_LSEEK64]: Remove conditional code.
65763 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
65764 unconditional.
65765 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65766 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
65767 unconditional.
65768 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
65769 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
65770 unconditional.
65771 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65772 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
65773 unconditional.
65774 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65775 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
65776 unconditional.
65777 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65778
65779 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
65780
65781 [BZ #12140]
65782 * manual/memory.texi (Malloc Tunable Parameters): Add note
65783 about free list pointers overwriting some perturb bytes.
65784 Wording suggested by Roland McGrath.
65785
65786 2012-10-17 Joseph Myers <joseph@codesourcery.com>
65787
65788 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
65789 (lgamma_test): Likewise.
65790 (tgamma_test): Likewise.
65791
65792 2012-10-16 Florian Weimer <fweimer@redhat.com>
65793
65794 [BZ #14700]
65795 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
65796 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
65797
65798 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
65799
65800 * NEWS: Mention BZ #14716.
65801 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
65802 when removing AVAILABLE1_USES_J macro.
65803
65804 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
65805
65806 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
65807 (__bswap_64): __uint64_t for unsigned 64-bit int.
65808
65809 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
65810
65811 * include/string.h (memmem): Declare libc hidden alias.
65812 * string/memmem.c (memmem): Define libc hidden alias.
65813 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
65814 __read, __close instead of open, read, close.
65815
65816 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
65817
65818 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
65819 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
65820 global and hidden.
65821 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
65822 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
65823 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
65824 Likewise.
65825 (__rawmemchr_sse2): Likewise.
65826 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
65827 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
65828 (__strchr_sse2): Likewise.
65829 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
65830 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
65831 (__strcasecmp_sse2): Likewise.
65832 (__strncasecmp_sse2): Likewise.
65833 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
65834 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
65835 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
65836 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
65837 (__strrchr_sse2): Likewise.
65838 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
65839 ifunc-impl-list.c.
65840 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
65841 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
65842 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
65843 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65844 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
65845 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
65846 * sysdeps/x86_64/multiarch/memset.S: Likewise.
65847 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65848 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
65849 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
65850 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
65851 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
65852 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
65853 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
65854 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
65855 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
65856 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
65857 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
65858 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
65859 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
65860 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
65861 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
65862 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
65863 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65864 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
65865 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65866 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
65867 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65868 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
65869 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
65870
65871 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
65872 global and hidden.
65873 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
65874 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
65875 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
65876 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
65877 Likewise.
65878 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
65879 Likewise.
65880 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65881 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65882 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65883 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65884 ifunc-impl-list.c.
65885 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65886 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65887 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65888 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65889 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65890 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65891 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65892 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65893 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65894 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65895 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65896 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65897 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65898 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65899 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65900 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65901 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65902 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65903 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65904 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65905 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65906 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65907 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65908 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65909 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65910 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65911 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65912 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65913 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65914 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65915 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65916 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65917 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65918 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65919 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65920 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65921 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65922 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65923 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65924 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65925 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65926
65927 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65928 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65929 * include/ifunc-impl-list.h: New file.
65930 * misc/ifunc-impl-list.c: Likewise.
65931 * misc/Makefile (routines): Add ifunc-impl-list.
65932 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65933 * string/test-string.h: Include <ifunc-impl-list.h>.
65934 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65935 TEST_NAME]: New variables.
65936 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65937 are defined.
65938 (test_init): Call __libc_ifunc_impl_list to initialize
65939 func_list if TEST_IFUNC and TEST_NAME are defined.
65940
65941 * string/Makefile (strop-tests): Add bcopy and bzero.
65942 * string/test-bcopy.c: New file.
65943 * string/test-bzero.c: Likewise.
65944 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65945 defined.
65946 * string/test-memset.c: Support bzero test if TEST_BZERO is
65947 defined.
65948 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65949 __libc_memmove.
65950 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65951 __libc_memset.
65952 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65953 of memset.
65954
65955 2012-10-10 Joseph Myers <joseph@codesourcery.com>
65956
65957 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65958 * configure: Regenerated.
65959
65960 * Makeconfig (+link-static-before-libc): Don't include
65961 $(link-static-libc).
65962
65963 * libio/libio.h (_IO_pos_t): Remove.
65964
65965 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65966
65967 * NEWS: Add note about FIPS mode. Wording suggested by Roland
65968 McGrath.
65969
65970 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65971
65972 * crypt/crypt-entry.c: Include fips-private.h.
65973 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65974 * crypt/md5c-test.c (main): Tolerate disabled MD5.
65975 * sysdeps/unix/sysv/linux/fips-private.h: New file.
65976 * sysdeps/generic/fips-private.h: New file, dummy fallback.
65977
65978 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65979
65980 * crypt/crypt-private.h: Include stdbool.h.
65981 (_ufc_setup_salt_r): Return bool.
65982 * crypt/crypt-entry.c: Include errno.h.
65983 (__crypt_r): Return NULL with EINVAL for bad salt.
65984 * crypt/crypt_util.c (bad_for_salt): New.
65985 (_ufc_setup_salt_r): Check that salt is long enough and within
65986 the specified alphabet.
65987 * crypt/badsalttest.c: New file.
65988 * crypt/Makefile (tests): Add it.
65989 ($(objpfx)badsalttest): New.
65990
65991 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
65992
65993 * NEWS: Add entry for BZ #14602.
65994
65995 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65996
65997 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65998 type-generic.
65999 * math/libm-test.inc: Update comment listing what functions and
66000 macros are tested.
66001 (isgreater_test): New function.
66002 (isgreaterequal_test): Likewise.
66003 (isless_test): Likewise.
66004 (islessequal_test): Likewise.
66005 (islessgreater_test): Likewise.
66006 (isunordered_test): Likewise.
66007 (main): Call the new functions.
66008
66009 2012-10-09 Roland McGrath <roland@hack.frob.com>
66010
66011 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
66012 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
66013 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
66014 * sysdeps/i386/configure: Regenerated.
66015 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
66016 * sysdeps/mach/configure: Regenerated.
66017 * sysdeps/mach/hurd/configure: Regenerated.
66018 * sysdeps/powerpc/configure: Regenerated.
66019 * sysdeps/powerpc/powerpc32/configure: Regenerated.
66020 * sysdeps/powerpc/powerpc64/configure: Regenerated.
66021 * sysdeps/s390/s390-32/configure: Regenerated.
66022 * sysdeps/s390/s390-64/configure: Regenerated.
66023 * sysdeps/sh/configure: Regenerated.
66024 * sysdeps/sparc/configure: Regenerated.
66025 * sysdeps/unix/sysv/linux/configure: Regenerated.
66026 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
66027 * sysdeps/x86_64/configure: Regenerated.
66028
66029 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
66030 defined. Don't check if MAP is NULL.
66031
66032 2012-10-09 Joseph Myers <joseph@codesourcery.com>
66033
66034 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
66035 (_G_stat64): Likewise.
66036 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
66037 (_G_stat64): Likewise.
66038 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
66039 instead of struct _G_stat64.
66040 * libio/fileops.c (mmap_remap_check): Likewise.
66041 (decide_maybe_mmap): Likewise.
66042 (_IO_new_file_seekoff): Likewise.
66043 (_IO_file_stat): Likewise.
66044 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
66045 _G_off64_t.
66046 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
66047 instead of struct _G_stat64.
66048 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66049
66050 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
66051
66052 [BZ #14602]
66053 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66054 Replace with ...
66055 (CHECK_EOL): New macro.
66056 (two_way_short_needle): Check beginning of haystack for EOL. Use
66057 CHECK_EOL.
66058 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66059 Replace with CHECK_EOL.
66060 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66061 Replace with CHECK_EOL.
66062
66063 2012-10-08 Joseph Myers <joseph@codesourcery.com>
66064
66065 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
66066 type-generic.
66067 * math/libm-test.inc: Update comment listing what functions and
66068 macros are tested.
66069 (finite_test): New function.
66070 (isinf_test): Likewise.
66071 (isnan_test): Likewise.
66072 (fpclassify_test): Test subnormal input.
66073 (isfinite_test): Likewise.
66074 (isnormal_test): Likewise.
66075 (main): Call the new functions.
66076
66077 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
66078
66079 [BZ #14660]
66080 * Makerules (%.dynsym): Force C locale when running
66081 $(OBJDUMP) --dynamic-syms.
66082
66083 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
66084
66085 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
66086 <stdint.h>.
66087
66088 2012-10-06 David S. Miller <davem@davemloft.net>
66089
66090 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
66091 upper 32-bits of the length value in %o2 since we use branch-on-register
66092 tests which consider the entire 64-bit register.
66093
66094 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
66095
66096 * string/test-strstr.c (check2): Add a test for page boundary.
66097
66098 2012-10-05 David S. Miller <davem@davemloft.net>
66099
66100 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
66101 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
66102 file.
66103 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66104 sysdep_routines.
66105 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66106 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
66107 and bzero when HWCAP_SPARC_CRYPTO is present.
66108
66109 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
66110
66111 [BZ #14602]
66112 * string/test-strstr.c (check2): New function.
66113 (test_main): Call check2.
66114
66115 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
66116 and bug-strchr1.
66117 * string/bug-strcasestr1.c (do_test): Moved to ...
66118 * string/test-strcasestr.c (check1): Here. New function.
66119 (do_one_test): Break out result checking code into ...
66120 (check_result): This. New function.
66121 (do_one_test): Call check_result.
66122 (test_main): Call check1.
66123 * string/bug-strchr1.c (do_test): Moved to ...
66124 * string/test-strchr.c (check1): Here. New function.
66125 (do_one_test): Break out result checking code into ...
66126 (check_result): This. New function.
66127 (do_one_test): Call check_result.
66128 (test_main): Call check1.
66129 * string/bug-strstr1.c (main): Moved to ...
66130 * string/test-strstr.c (check1): Here. New function.
66131 (do_one_test): Break out result checking code into ...
66132 (check_result): This. New function.
66133 (do_one_test): Call check_result.
66134 (test_main): Call check1.
66135 * string/bug-strcasestr1.c: Removed.
66136 * string/bug-strchr1.c: Likewise.
66137 * string/bug-strstr1.c: Likewise.
66138
66139 * elf/Makefile (dl-routines): Add hwcaps.
66140 * elf/dl-support.c (_dl_important_hwcaps): Removed.
66141 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
66142 (_dl_important_hwcaps): Moved to ...
66143 * elf/dl-hwcaps.c: Here. New file.
66144 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
66145
66146 [BZ #14557]
66147 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
66148 if IS_IN_rtld isn't defined.
66149
66150 * elf/dl-support.c (_dl_sysinfo_map): New.
66151 Include "get-dynamic-info.h" and "setup-vdso.h".
66152 (_dl_non_dynamic_init): Call setup_vdso.
66153 * elf/dynamic-link.h: Don't include <assert.h>.
66154 (elf_get_dynamic_info): Moved to ...
66155 * elf/get-dynamic-info.h: Here. New file.
66156 * elf/dynamic-link.h: Include "get-dynamic-info.h".
66157 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
66158 * elf/setup-vdso.h: Here. New file.
66159 * elf/rtld.c: Include "setup-vdso.h".
66160 (dl_main): Call setup_vdso.
66161
66162 2012-10-05 Joseph Myers <joseph@codesourcery.com>
66163
66164 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
66165 creal in comment listing functions tested. List finite, isinf,
66166 isnan, isless, islessequal, isgreater, isgreaterequal,
66167 islessgreater, isunordered, lgamma_r and pow10 as functions and
66168 macros not tested. Mention which functions not tested are aliases
66169 for other functions. Fix typo. Note that signs of NaNs are not
66170 tested.
66171
66172 * scripts/config.guess: Update from config.git.
66173 * scripts/config.sub: Likewise.
66174
66175 2012-10-04 Roland McGrath <roland@hack.frob.com>
66176
66177 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
66178 * misc/madvise.c (madvise): Renamed to __madvise.
66179 Make madvise a weak alias.
66180 * include/sys/mman.h: Declare __madvise.
66181 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
66182 * sysdeps/unix/syscalls.list
66183 (madvise): Make __madvise the strong name, and madvise a weak alias.
66184 * sysdeps/unix/sysv/linux/syscalls.list
66185 (madvise, mmap): Remove redundant entries.
66186 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
66187 * malloc/malloc.c (mtrim): Likewise.
66188 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
66189
66190 2012-10-03 Roland McGrath <roland@hack.frob.com>
66191
66192 * sysdeps/mach/hurd/dl-cache.c: File removed.
66193 * config.h.in (USE_LDCONFIG): New #undef.
66194 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
66195 * configure: Regenerated.
66196 * elf/Makefile (dl-routines): Add dl-cache only under
66197 [$(use-ldconfig) = yes].
66198 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
66199 cache on [USE_LDCONFIG].
66200 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
66201 [USE_LDCONFIG].
66202 * elf/rtld.c (dl_main): Likewise.
66203
66204 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
66205
66206 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
66207 _SC_LEVEL4_CACHE_LINESIZE.
66208
66209 2012-10-03 Roland McGrath <roland@hack.frob.com>
66210
66211 * sysdeps/unix/bsd/confstr.h: File removed.
66212
66213 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
66214
66215 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
66216 sys/sdt-config.h.
66217
66218 2012-10-02 Roland McGrath <roland@hack.frob.com>
66219
66220 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
66221 Make 'mapoff' field ElfW(Off) rather than off_t.
66222
66223 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
66224
66225 * nscd/Makefile: Remove nscd-cflags and all its users.
66226 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
66227 (CFLAGS-nonlib): Add compiler flags for nscd modules.
66228
66229 [BZ #10631]
66230 * malloc.c (malloc_printerr): Clarify error message.
66231
66232 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
66233
66234 [BZ #14648]
66235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66236 Set bit_FMA_Usable if FMA is supported.
66237 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
66238 macro.
66239 (bit_FMA4_Usable): Updated.
66240 (index_FMA_Usable): New macro.
66241 (CPUID_FMA): Likewise.
66242 (HAS_FMA): Defined with bit_FMA_Usable.
66243
66244 2012-10-01 Roland McGrath <roland@hack.frob.com>
66245
66246 * bits/types.h (__swblk_t): Type removed.
66247 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
66248 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
66249 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66250 (__SWBLK_T_TYPE): Likewise.
66251 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
66252 (__SWBLK_T_TYPE): Likewise.
66253 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66254 (__SWBLK_T_TYPE): Likewise.
66255 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66256 (__SWBLK_T_TYPE): Likewise.
66257
66258 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
66259 Honza Horak <hhorak@redhat.com>
66260
66261 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
66262 (xdr_mapname): Use YPMAXMAP as maxsize.
66263 (xdr_peername): Use YPMAXPEER as maxsize.
66264 (xdr_keydat): Use YPAXRECORD as maxsize.
66265 (xdr_valdat): Use YPMAXRECORD as maxsize.
66266
66267 2012-10-01 Roland McGrath <roland@hack.frob.com>
66268
66269 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
66270
66271 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
66272 * csu/init-first.c: ... here.
66273 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
66274 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
66275 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
66276 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
66277 * sysdeps/i386/init-first.c: File removed.
66278 * sysdeps/sh/init-first.c: File removed.
66279
66280 2012-10-01 Joseph Myers <joseph@codesourcery.com>
66281
66282 [BZ #14645]
66283 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
66284 if x * y might underflow to zero and z is zero.
66285 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66286 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66287 * math/libm-test.inc (min_subnorm_value): New variable.
66288 (fma_test): Add more tests.
66289 (fma_test_towardzero): Likewise.
66290 (fma_test_downward): Likewise.
66291 (fma_test_upward): Likewise.
66292 (initialize): Set min_subnorm_value.
66293
66294 2012-09-29 Joseph Myers <joseph@codesourcery.com>
66295
66296 [BZ #14638]
66297 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
66298 0 + 0.
66299 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
66300 mode for addition resulting in exact zero.
66301 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
66302 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
66303 exact 0 + 0.
66304 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66305 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66306 * math/libm-test.inc (fma_test): Add more tests.
66307 (fma_test_towardzero): New function.
66308 (fma_test_downward): Likewise.
66309 (fma_test_upward): Likewise.
66310 (main): Call the new functions.
66311
66312 2012-09-28 David S. Miller <davem@davemloft.net>
66313
66314 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
66315
66316 2012-09-28 Roland McGrath <roland@hack.frob.com>
66317
66318 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
66319 instead of SIGALRM.
66320
66321 * sysdeps/gnu/_G_config.h: Moved to ...
66322 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
66323 * sysdeps/mach/hurd/_G_config.h: Moved to ...
66324 * sysdeps/generic/_G_config.h: ... here.
66325
66326 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
66327
66328 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
66329
66330 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
66331 Conditionalize target on [libnss_test1.so-version].
66332
66333 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
66334
66335 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
66336 (elfobjdir): Move out of conditionals.
66337
66338 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
66339 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
66340 (__nss_lookup_function): Conditionalize label remove_from_tree on
66341 [!DO_STATIC_NSS || SHARED], matching its only use.
66342
66343 2012-09-28 David S. Miller <davem@davemloft.net>
66344
66345 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
66346 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
66347 file.
66348 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66349 sysdep_routines.
66350 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66351 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
66352 when HWCAP_SPARC_CRYPTO is present.
66353
66354 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66355
66356 * io/tst-mknodat.c: Create a FIFO instead of a socket.
66357
66358 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
66359
66360 [BZ #6530]
66361 * stdio-common/vfprintf.c (process_string_arg): Revert
66362 2000-07-22 change.
66363
66364 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
66365
66366 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
66367 for testcase.
66368 * stdio-common/tst-sprintf.c: Include <locale.h>
66369 (main): Test sprintf's handling of incomplete multibyte
66370 characters.
66371
66372 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
66373
66374 * elf/dl-runtime.c (VERSYMIDX): Removed.
66375 * elf/dl-version.c (VERSYMIDX): Likewise.
66376 * elf/do-rel.h (VERSYMIDX): Likewise.
66377 (VALIDX): Likewise.
66378 * elf/dynamic-link.h (VERSYMIDX): Likewise.
66379 * elf/rtld.c (VALIDX): Likewise.
66380 (ADDRIDX): Likewise.
66381 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
66382 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
66383 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
66384 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
66385 (VALIDX): Likewise.
66386 (ADDRIDX): Likewise.
66387
66388 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66389
66390 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
66391
66392 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
66393
66394 [BZ #11438]
66395 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
66396 to global scope.
66397 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
66398 addresses are in the same scope as 192.0.2/24.
66399 * posix/gai.conf: Document new scope table defaults.
66400
66401 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66402
66403 [BZ #5298]
66404 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
66405 for ftell. Compute offsets from write pointers instead.
66406 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66407
66408 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66409
66410 [BZ #14543]
66411 * libio/Makefile (tests): New test case tst-fseek.
66412 * libio/tst-fseek.c: New test case to verify that fseek/ftell
66413 combination works in wide mode.
66414 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
66415 state when the external buffer state changes.
66416
66417 2012-09-27 David S. Miller <davem@davemloft.net>
66418
66419 [BZ #14376]
66420 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
66421 pass reloc->r_addend in as the 'high' argument to
66422 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
66423
66424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66425
66426 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66427
66428 * rt/tst-aio2.c: Include <pthread.h>.
66429 * rt/tst-aio3.c: Likewise.
66430
66431 2012-09-27 Steve Ellcey <sellcey@mips.com>
66432
66433 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
66434
66435 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
66436
66437 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
66438 contents on [SHARED].
66439
66440 2012-09-26 Marek Polacek <polacek@redhat.com>
66441
66442 [BZ #14530]
66443 [BZ #13741]
66444 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
66445 for C++ and GCC <4.3 as well as for non GCC compilers.
66446
66447 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
66448
66449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66450
66451 2012-09-25 Roland McGrath <roland@hack.frob.com>
66452
66453 * Makefile.in (all, install): Declare with .PHONY.
66454 Reported by Michael Hope <michael.hope@linaro.org>.
66455
66456 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66457
66458 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
66459 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
66460 system header.
66461 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
66462 Likewise.
66463 (sydep_routines): Add the new and the internal functions.
66464 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
66465 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
66466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
66467 (GLIBC_2.17): Add the new function.
66468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66469 (GLIBC_2.17): Likewise.
66470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
66471 (GLIBC_2.17): Likewise.
66472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
66473 (GLIBC_2.17): Likewise.
66474 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
66475
66476 2012-09-25 Alan Modra <amodra@gmail.com>
66477
66478 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
66479 Add release barrier before setting once_control to say
66480 initialisation is done. Add hints on lwarx. Use macro in
66481 place of isync.
66482 (clear_once_control): Add release barrier.
66483
66484 2012-09-25 Joseph Myers <joseph@codesourcery.com>
66485
66486 [BZ #13629]
66487 * math/s_clog.c (__clog): Handle more values close to |z| = 1
66488 specially.
66489 * math/s_clog10.c (__clog10): Likewise.
66490 * math/s_clog10f.c (__clog10f): Likewise.
66491 * math/s_clog10l.c (__clog10l): Likewise.
66492 * math/s_clogf.c (__clogf): Likewise.
66493 * math/s_clogl.c (__clogl): Likewise.
66494 * math/Makefile (libm-calls): Add x2y2m1.
66495 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
66496 (__x2y2m1): Likewise.
66497 (__x2y2m1l): Likewise.
66498 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
66499 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
66500 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
66501 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
66502 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
66503 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
66504 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
66505 * sysdeps/i386/fpu/libm-test-ulps: Update.
66506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66507
66508 [BZ #14621]
66509 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
66510 int as type of variable DEPTH.
66511 (glob): Use size_t instead of int as type of variables NEWCOUNT
66512 and OLD_PATHC.
66513
66514 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66515
66516 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66517 Add s_sincosf-sse2.
66518 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
66519 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
66520 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
66521 macros for using routine as __sincosf_ia32.
66522 Use macro for function declaration and weak_alias.
66523 * sysdeps/i386/fpu/libm-test-ulps: Update.
66524
66525 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
66526 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66527
66528 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
66529 subnormal argument.
66530 * math/s_cexpf.c (__cexpf): Likewise.
66531 * math/s_csinf.c (__csinf): Likewise.
66532 * math/s_csinhf.c (__csinhf): Likewise.
66533 * math/s_ctanf.c (__ctanf): Likewise.
66534 * math/s_ctanhf.c (__ctanhf): Likewise.
66535 * math/s_ccosh.c (__ccoshf): Likewise.
66536 * math/s_cexp.c (__cexpl): Likewise.
66537 * math/s_csin.c (__csin): Likewise.
66538 * math/s_csinh.c (__csinh): Likewise.
66539 * math/s_ctan.c (__ctan): Likewise.
66540 * math/s_ctanh.c (ctanh): Likewise.
66541 * math/s_ccoshl.c (__ccoshl): Likewise.
66542 * math/s_cexpl.c (__cexpl): Likewise.
66543 * math/s_csinl.c (__csinl): Likewise.
66544 * math/s_csinhl.c (__csinhl): Likewise.
66545 * math/s_ctanl.c (__ctanl): Likewise.
66546 * math/s_ctanhl.c (__ctanhl): Likewise.
66547
66548 2012-09-25 Joseph Myers <joseph@codesourcery.com>
66549
66550 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
66551 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
66552 (_IO_off_t): Define to __off_t, not _G_off_t.
66553 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
66554 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
66555 (_IO_wint_t): Define to wint_t, not _G_wint_t.
66556 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
66557 type of __dummy and __dummy2 fields.
66558 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
66559 (_G_ssize_t): Likewise.
66560 (_G_off_t): Likewise.
66561 (_G_pid_t): Likewise.
66562 (_G_uid_t): Likewise.
66563 (_G_wchar_t): Likewise.
66564 (_G_wint_t): Likewise.
66565 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
66566 (_G_ssize_t): Likewise.
66567 (_G_off_t): Likewise.
66568 (_G_pid_t): Likewise.
66569 (_G_uid_t): Likewise.
66570 (_G_wchar_t): Likewise.
66571 (_G_wint_t): Likewise.
66572 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
66573 (_G_ssize_t): Likewise.
66574 (_G_off_t): Likewise.
66575 (_G_pid_t): Likewise.
66576 (_G_uid_t): Likewise.
66577 (_G_wchar_t): Likewise.
66578 (_G_wint_t): Likewise.
66579
66580 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66581
66582 * malloc/arena.c: Include malloc-sysdep.h.
66583 (shrink_heap): Use check_may_shrink_heap to decide if madvise
66584 is sufficient to shrink the heap or an unmap is needed.
66585 * sysdeps/generic/malloc-sysdep.h: New file. Define
66586 new function check_may_shrink_heap.
66587 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
66588 new function check_may_shrink_heap.
66589
66590 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66591
66592 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
66593 comments.
66594
66595 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
66596
66597 * catgets/test-gencat.sh: Add "set -e".
66598 * elf/tst-pathopt.sh: Likewise.
66599 * grp/tst_fgetgrent.sh: Likewise.
66600 * iconvdata/run-iconv-test.sh: Likewise.
66601 * intl/tst-gettext.sh: Likewise.
66602 * intl/tst-gettext2.sh: Likewise.
66603 * intl/tst-gettext4.sh: Likewise.
66604 * intl/tst-gettext6.sh: Likewise.
66605 * intl/tst-translit.sh: Likewise.
66606 * io/ftwtest-sh: Likewise.
66607 * libio/test-freopen.sh: Likewise.
66608 * malloc/tst-mtrace.sh: Likewise.
66609 * posix/globtest.sh: Likewise.
66610 * posix/tst-getconf.sh: Likewise.
66611 * posix/wordexp-tst.sh: Likewise.
66612 * stdio-common/tst-printf.sh: Likewise.
66613 * stdio-common/tst-unbputc.sh: Likewise.
66614 * stdlib/tst-fmtmsg.sh: Likewise.
66615 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66616 * catgets/Makefile: Do not specify -e option when running
66617 testsuite shell scripts.
66618 * elf/Makefile: Likewise.
66619 * grp/Makefile: Likewise.
66620 * iconvdata/Makefile: Likewise.
66621 * intl/Makefile: Likewise.
66622 * io/Makefile: Likewise.
66623 * libio/Makefile: Likewise.
66624 * malloc/Makefile: Likewise.
66625 * posix/Makefile: Likewise.
66626 * stdio-common/Makefile: Likewise.
66627 * stdlib/Makefile: Likewise.
66628 * sysdeps/x86_64/Makefile: Likewise.
66629
66630 * io/ftwtest-sh: Add copyright header.
66631 * posix/globtest.sh: Likewise.
66632 * posix/tst-getconf.sh: Likewise.
66633 * posix/wordexp-tst.sh: Likewise.
66634 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66635
66636 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
66637
66638 [BZ #13679]
66639 * Makeconfig (+link): Defined as $(+link-static) if
66640 $(build-shared) isn't yes.
66641 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
66642 isn't yes.
66643 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
66644
66645 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
66646
66647 [BZ #14562]
66648 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
66649 new chunk size with MALLOC_ALIGN_MASK.
66650
66651 2012-09-24 Joseph Myers <joseph@codesourcery.com>
66652
66653 [BZ #5044]
66654 * stdio-common/printf_fphex.c: Include <stdbool.h> and
66655 <rounding-mode.h>.
66656 (__printf_fphex): Determine rounding using get_rounding_mode and
66657 round_away.
66658 * stdio-common/tst-printf-round.c (struct hex_test): New
66659 structure.
66660 (hex_tests): New variable.
66661 (test_hex_in_one_mode): New function.
66662 (do_test): Also run tests for hex float output.
66663
66664 2012-09-21 Joseph Myers <joseph@codesourcery.com>
66665
66666 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66667 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66668 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
66669 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66670 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66671 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
66672 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66673 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66674
66675 2012-09-20 Joseph Myers <joseph@codesourcery.com>
66676
66677 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
66678 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
66679 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
66680 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
66681
66682 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
66683
66684 [BZ #14579]
66685 * elf/rtld.c (dl_main): Limit the check for self loading to normal
66686 mode only.
66687 * elf/tst-rtld-load-self.sh: New test.
66688 * elf/Makefile: Run it.
66689
66690 2012-09-18 Joseph Myers <joseph@codesourcery.com>
66691
66692 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
66693 (tst-writev-ENV): Remove.
66694 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
66695
66696 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
66697
66698 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
66699
66700 2012-09-17 Joseph Myers <joseph@codesourcery.com>
66701
66702 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
66703 unconditional.
66704 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
66705 Likewise.
66706 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
66707 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
66708 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
66709 Likewise.
66710
66711 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
66712
66713 [BZ #14587]
66714 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
66715 * config.make.in (have-cpp-asm-debuginfo): Removed.
66716 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
66717 * configure: Regenerated.
66718
66719 2012-09-14 Joseph Myers <joseph@codesourcery.com>
66720
66721 [BZ #5044]
66722 * stdio-common/printf_fp.c: Include <stdbool.h> and
66723 <rounding-mode.h>.
66724 (___printf_fp): Determine rounding using get_rounding_mode and
66725 round_away.
66726 * stdio-common/tst-printf-round.c: New file.
66727 * stdio-common/Makefile (tests): Add tst-printf-round.
66728 (link-libm): New variable.
66729 ($(objpfx)tst-printf-round): Depend in $(link-libm).
66730
66731 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
66732
66733 [BZ #14576]
66734 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
66735 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
66736 Likewise.
66737 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
66738 Likewise.
66739
66740 2012-09-13 Joseph Myers <joseph@codesourcery.com>
66741
66742 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
66743 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66744 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66745 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66746
66747 2012-09-12 Joseph Myers <joseph@codesourcery.com>
66748
66749 [BZ #14518]
66750 * include/rounding-mode.h: New file.
66751 * sysdeps/generic/get-rounding-mode.h: Likewise.
66752 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
66753 * stdlib/strtod_l.c: Include <rounding-mode.h>.
66754 (MAX_VALUE): New macro.
66755 (MIN_VALUE): Likewise.
66756 (overflow_value): New function.
66757 (underflow_value): Likewise.
66758 (round_and_return): Use overflow_value and underflow_value to
66759 determine return values in overflow and underflow cases. Use
66760 round_away to determine rounding depending on rounding mode.
66761 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
66762 determine return values in overflow and underflow cases.
66763 * stdlib/tst-strtod-round.c: Include <fenv.h>.
66764 (struct test_results): New structure.
66765 (struct test): Use struct test_results to store expected results
66766 for all rounding modes.
66767 (TEST): Include expected results for all rounding modes.
66768 (test_in_one_mode): New function.
66769 (do_test): Use test_in_one_mode to compute and check results.
66770 Check results for all rounding modes.
66771 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
66772 $(link-libm).
66773
66774 2012-12-09 Allan McRae <allan@archlinux.org>
66775
66776 * sysdeps/i386/fpu/libm-test-ulps: Update
66777
66778 2012-09-11 Joseph Myers <joseph@codesourcery.com>
66779
66780 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
66781 (_G_int32_t): Likewise.
66782 (_G_uint16_t): Likewise.
66783 (_G_uint32_t): Likewise.
66784 (_G_HAVE_BOOL): Likewise.
66785 (_G_HAVE_ATEXIT): Likewise.
66786 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66787 (_G_HAVE_IO_FILE_OPEN): Likewise.
66788 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
66789 (_G_int32_t): Likewise.
66790 (_G_uint16_t): Likewise.
66791 (_G_uint32_t): Likewise.
66792 (_G_HAVE_BOOL): Likewise.
66793 (_G_HAVE_ATEXIT): Likewise.
66794 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66795 (_G_HAVE_IO_FILE_OPEN): Likewise.
66796 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
66797 (_G_int32_t): Likewise.
66798 (_G_uint16_t): Likewise.
66799 (_G_uint32_t): Likewise.
66800 (_G_HAVE_BOOL): Likewise.
66801 (_G_HAVE_ATEXIT): Likewise.
66802 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66803 (_G_HAVE_IO_FILE_OPEN): Likewise.
66804
66805 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
66806
66807 * csu/libc-tls.c: Update copyright years.
66808
66809 2012-09-10 Joseph Myers <joseph@codesourcery.com>
66810
66811 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
66812 [!_G_USING_THUNKS]: Remove conditional code.
66813 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
66814 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
66815
66816 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
66817 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
66818 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66819 (_G_VTABLE_LABEL_PREFIX): Likewise.
66820 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66821 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66822 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66823 (_G_VTABLE_LABEL_PREFIX): Likewise.
66824 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66825 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66826 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66827 (_G_VTABLE_LABEL_PREFIX): Likewise.
66828 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66829
66830 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
66831
66832 * libio/Makefile: Include ../Makeconfig before tests.
66833 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
66834 only if $(build-shared) is yes.
66835
66836 * iconv/gconv_db.c: Update copyright years.
66837
66838 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66839
66840 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
66841 unwind info if defined PIC. Fix special cases description.
66842 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
66843
66844 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
66845 DP_HI_MASK entry.
66846 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
66847
66848 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
66849
66850 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
66851
66852 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
66853 is NULL.
66854
66855 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
66856 (LDLIBS-tst-chk4): This.
66857 (LDFLAGS-tst-chk5): Renamed to ...
66858 (LDLIBS-tst-chk5): This.
66859 (LDFLAGS-tst-chk6): Renamed to ...
66860 (LDLIBS-tst-chk6): This.
66861 (LDFLAGS-tst-lfschk4): Renamed to ...
66862 (LDLIBS-tst-lfschk4): This.
66863 (LDFLAGS-tst-lfschk5): Renamed to ...
66864 (LDLIBS-tst-lfschk5): This.
66865 (LDFLAGS-tst-lfschk6): Renamed to ...
66866 (LDLIBS-tst-lfschk6): This.
66867
66868 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
66869 on $(common-objpfx)soversions.mk.
66870
66871 2012-09-07 Joseph Myers <joseph@codesourcery.com>
66872
66873 [BZ #10014]
66874 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
66875 example host name.
66876
66877 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
66878
66879 * malloc/arena.c (arena_get_retry): New function that gets
66880 another arena for the caller to try its request on.
66881 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66882 current arena cannot fulfill the request.
66883 (__libc_memalign): Likewise.
66884 (__libc_memalign): Likewise.
66885 (__libc_pvalloc): Likewise.
66886 (__libc_calloc): Likewise.
66887
66888 2012-09-05 John Tobey <john.tobey@gmail.com>
66889
66890 [BZ #13542]
66891 * manual/arith.texi (Operations on Complex): Fix description
66892 of carg branch cut.
66893
66894 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66895
66896 [BZ #10014]
66897 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66898 host name.
66899
66900 [BZ #10038]
66901 * manual/memory.texi (Memory): Make order of menu items match
66902 order of sections.
66903
66904 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66905
66906 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66907 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
66908 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66909
66910 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66911
66912 * csu/libc-tls.c (static_dtv): Renamed to ...
66913 (_dl_static_dtv): This. Make it global.
66914 (_dl_initial_dtv): Removed.
66915 (__libc_setup_tls): Updated.
66916 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66917 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66918 DL_INITIAL_DTV.
66919
66920 2012-09-06 Petr Machata <pmachata@redhat.com>
66921
66922 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66923 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66924 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66925 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66926
66927 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66928
66929 [BZ #14545]
66930 * csu/libc-tls.c (_dl_initial_dtv): New variable.
66931 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66932 freeing dtv[-1].
66933
66934 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66935
66936 [BZ #14544]
66937 * Makeconfig (link-static-before-libc): Replace $(+prector)
66938 with $(+prectorT).
66939 (link-static-after-libc): Replace $(+postctor) with
66940 $(+postctorT).
66941 (link-bounded): Replace $(+prector)/$(+postctor) with
66942 $(+prectorT)/$(+postctorT).
66943 (+prectorT): New macro.
66944 (+postctorT): Likewise.
66945
66946 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66947
66948 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66949 (round_str): Handle values above the maximum for IBM long double
66950 as inexact.
66951 * stdlib/tst-strtod-round.c (tests): Regenerated.
66952
66953 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66954
66955 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66956 assembler flag.
66957 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66958 zarch_nohighgprs around the zarch optimized routines.
66959 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66960 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66961 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66962 for zarch.
66963
66964 2012-09-05 David S. Miller <davem@davemloft.net>
66965
66966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66967
66968 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66969 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66970 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66971 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66972 entries.
66973
66974 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66975
66976 * malloc/arena.c: Fold copyright years.
66977 * malloc/mcheck.c, malloc/memusage.c: Likewise.
66978
66979 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66980
66981 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66982
66983 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66984
66985 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
66986
66987 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66988
66989 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66990 change internal state upon failure.
66991
66992 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66993
66994 * malloc/mcheck.c (mcheck_check_all): Fix typo.
66995 * malloc/memusage.c (mmap): Likewise.
66996 (mmap64, mremap): Likewise. Adjust name in comment.
66997
66998 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66999
67000 * libio/fileops.c: Fix typos in comments.
67001 * libio/oldfileops.c: Likewise.
67002 * libio/wfileops.c: Likewise.
67003
67004 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
67005
67006 [BZ #1349]
67007 * malloc/Makefile (tests): Add tst-malloc-usable test case.
67008 (tst-malloc-usable-ENV): Set environment for test case.
67009 * malloc/hooks.c (malloc_check_get_size): New function to get
67010 requested size.
67011 * malloc/malloc.c (musable): Use malloc_check_get_size.
67012 * malloc/tst-malloc-usable.c: New test case.
67013
67014 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
67015
67016 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
67017
67018 2012-09-05 Allan McRae <allan@archlinux.org>
67019
67020 [BZ #13966]
67021 * configure.in (CXX_SYSINCLUDES): Use compiler output to
67022 determine header location.
67023 * configure: Regenerated.
67024
67025 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
67026
67027 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
67028 float format.
67029 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
67030 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
67031 format.
67032 (test): Regenerate.
67033
67034 2012-09-04 David S. Miller <davem@davemloft.net>
67035
67036 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
67037 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
67038 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
67039
67040 2012-09-04 Florian Weimer <fweimer@redhat.com>
67041
67042 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
67043 failures.
67044
67045 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
67046
67047 2012-09-04 Joseph Myers <joseph@codesourcery.com>
67048
67049 [BZ #9914]
67050 * libio/iogetdelim.c: Include <limits.h>.
67051 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
67052 + len + 1 would overflow.
67053
67054 2012-09-03 Andreas Jaeger <aj@suse.de>
67055
67056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67057 * sysdeps/i386/fpu/libm-test-ulps: Update.
67058
67059 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67060
67061 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
67062 Add s_sinf-sse2, s_conf-sse2.
67063
67064 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
67065 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
67066 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
67067 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
67068
67069 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
67070 for using routine as __sinf_ia32.
67071 Use macro for function declaration and weak_alias.
67072 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
67073 for using routine as __cosf_ia32.
67074 Use macro for function declaration and weak_alias.
67075
67076 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
67077 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
67078
67079 * sysdeps/x86_64/fpu/s_sinf.S: New file.
67080 * sysdeps/x86_64/fpu/s_cosf.S: New file.
67081 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67082
67083 * math/libm-test.inc (cos_test): Add more test cases.
67084 (sin_test): Likewise.
67085 (sincos_test): Likewise.
67086
67087 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67088
67089 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
67090 (IFUNC_RESOLVE): Make pointers to the specialized implementations
67091 hidden.
67092 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
67093
67094 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
67095
67096 [BZ #14538]
67097 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
67098 first element of the GOT.
67099 (elf_machine_load_address): Return the difference between
67100 the runtime address of _DYNAMIC and elf_machine_dynamic ().
67101
67102 2012-09-01 Allan McRae <allan@archlinux.org>
67103
67104 [BZ #13412]
67105 * configure.in (AWK): Require gawk version 3.0 or later.
67106 * configure: Regenerated.
67107
67108 2012-09-01 Joseph Myers <joseph@codesourcery.com>
67109
67110 * sysdeps/unix/sysv/linux/kernel-features.h
67111 (__ASSUME_POSIX_CPU_TIMERS): Remove.
67112 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67113 [__NR_clock_getres]: Make code unconditional.
67114 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
67115 (clock_getcpuclockid): Remove code left unreachable by removal of
67116 conditionals.
67117 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
67118 code unconditional.
67119 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67120 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67121 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
67122 Make code unconditional.
67123 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67124 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67125 * sysdeps/unix/sysv/linux/clock_settime.c
67126 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
67127 conditional code.
67128 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
67129 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67130
67131 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
67132
67133 [BZ #14476]
67134 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
67135 scripts/test-installation.pl.
67136
67137 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
67138 and $ld_so_version if it is set.
67139
67140 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
67141
67142 [BZ #14516]
67143 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
67144 failure if reading from procfs failed.
67145 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
67146
67147 2012-08-27 Joseph Myers <joseph@codesourcery.com>
67148
67149 * sysdeps/unix/sysv/linux/kernel-features.h
67150 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
67151 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67152 Remove conditional code.
67153 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67154 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
67155 Remove conditional code.
67156 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67157 * sysdeps/unix/sysv/linux/i386/fxstat.c
67158 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67159 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67160 * sysdeps/unix/sysv/linux/i386/fxstatat.c
67161 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67162 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67163 * sysdeps/unix/sysv/linux/i386/lxstat.c
67164 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67165 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67166 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
67167 Remove conditional code.
67168 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67169 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67170 Remove conditional code.
67171 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67172 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
67173 <kernel-features.h>.
67174 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
67175 Remove.
67176 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
67177 Remove conditional code.
67178 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67179 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
67180 Remove conditional.
67181
67182 2012-08-27 Mike Frysinger <vapier@gentoo.org>
67183
67184 [BZ #5400]
67185 * NEWS: Add fixed bug number.
67186
67187 2012-08-27 Joseph Myers <joseph@codesourcery.com>
67188
67189 [BZ #14519]
67190 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
67191 underflowing exponent in case of negative sign.
67192 * stdlib/tst-strtod-round-data: Add more tests.
67193 * stdlib/tst-strtod-round.c (tests): Regenerated.
67194
67195 [BZ #3479]
67196 * stdlib/strtod_l.c (NDIG): Remove.
67197 (HEXNDIG): Likewise.
67198 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
67199 smallest representable value.
67200 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
67201 lie within an exact representation of 1/2 ulp of the result.
67202 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
67203 unconditionally.
67204 (TENS_P9_IDX): Define unconditionally.
67205 (TENS_P9_SIZE): Likewise.
67206 (TENS_P10_IDX): Likewise.
67207 (TENS_P10_SIZE): Likewise.
67208 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
67209 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
67210 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
67211 entries for 10^2^13 and 10^2^14.
67212 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
67213 (TENS_P13_IDX): Define.
67214 (TENS_P13_SIZE): Likewise.
67215 (TENS_P14_IDX): Likewise.
67216 (TENS_P14_SIZE): Likewise.
67217 (_fpioconst_pow10): Change array size to
67218 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
67219 unconditional.
67220 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
67221 1024]: Add entries for 10^2^13 and 10^2^14.
67222 [LAST_POW10 > _LAST_POW10]: Remove #error.
67223 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
67224 (_fpioconst_pow10): Change array size to
67225 FPIOCONST_POW10_ARRAY_SIZE.
67226 * stdlib/gen-fpioconst.c: New file.
67227 * stdlib/gen-tst-strtod-round.c: Likewise.
67228 * stdlib/tst-strtod-round-data: Likewise.
67229 * stdlib/tst-strtod-round.c: Likewise.
67230 * stdlib/Makefile (tests): Add tst-strtod-round.
67231
67232 [BZ #14459]
67233 * stdlib/strtod_l.c: Include <stdint.h>.
67234 (NDEBUG): Do not define.
67235 (round_and_return): Change EXPONENT parameter to type intmax_t.
67236 Rearrange calculations to avoid internal overflow possibilities.
67237 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
67238 Rearrange calculations to avoid internal overflow possibilities.
67239 Assert that number fits inside MPNSIZE limbs.
67240 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
67241 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
67242 calculations and add assertions to avoid internal overflow
67243 possibilities. Add casts to avoid signed/unsigned operations.
67244 * stdlib/tst-strtod-overflow.c: New file.
67245 * stdlib/Makefile (tests): Add tst-strtod-overflow.
67246
67247 2012-08-25 Marek Polacek <polacek@redhat.com>
67248
67249 * time/time.h: Fix some typos in comments.
67250
67251 2012-08-23 Roland McGrath <roland@hack.frob.com>
67252
67253 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
67254 * posix/tst-rfc3484-2.c: Likewise.
67255 * posix/tst-rfc3484-3.c: Likewise.
67256
67257 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
67258
67259 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
67260 (EF_ARM_ABI_FLOAT_HARD): Likewise.
67261
67262 2012-08-23 Joseph Myers <joseph@codesourcery.com>
67263
67264 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
67265 #include of fxstatat64.c.
67266
67267 2012-08-22 Roland McGrath <roland@hack.frob.com>
67268
67269 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
67270 * shadow/getspent_r.c: Likewise.
67271 * shadow/getspnam.c: Likewise.
67272 * shadow/getspnam_r.c: Likewise.
67273 * gshadow/getsgent.c: Likewise.
67274 * gshadow/getsgent_r.c: Likewise.
67275 * gshadow/getsgnam.c: Likewise.
67276 * gshadow/getsgnam_r.c: Likewise.
67277 * inet/getnetbyad.c: Likewise.
67278 * inet/getnetbyad_r.c: Likewise.
67279 * inet/getnetbynm.c: Likewise.
67280 * inet/getnetbynm_r.c: Likewise.
67281 * inet/getnetent.c: Likewise.
67282 * inet/getnetent_r.c: Likewise.
67283 * inet/getproto.c: Likewise.
67284 * inet/getproto_r.c: Likewise.
67285 * inet/getprtent.c: Likewise.
67286 * inet/getprtent_r.c: Likewise.
67287 * inet/getprtname.c: Likewise.
67288 * inet/getprtname_r.c: Likewise.
67289 * inet/getrpcbyname.c: Likewise.
67290 * inet/getrpcbyname_r.c: Likewise.
67291 * inet/getrpcbynumber.c: Likewise.
67292 * inet/getrpcbynumber_r.c: Likewise.
67293 * inet/getrpcent.c: Likewise.
67294 * inet/getrpcent_r.c: Likewise.
67295 * inet/getaliasent.c: Likewise.
67296 * inet/getaliasent_r.c: Likewise.
67297 * inet/getaliasname.c: Likewise.
67298 * inet/getaliasname_r.c: Likewise.
67299 * nscd/getgrgid_r.c: Likewise.
67300 * nscd/getgrnam_r.c: Likewise.
67301 * nscd/gethstbyad_r.c: Likewise.
67302 * nscd/gethstbynm3_r.c: Likewise.
67303 * nscd/getpwnam_r.c: Likewise.
67304 * nscd/getpwuid_r.c: Likewise.
67305 * nscd/getsrvbynm_r.c: Likewise.
67306 * nscd/getsrvbypt_r.c: Likewise.
67307 * nscd/gai.c: Likewise.
67308
67309 * configure.in (build_nscd): New substituted variable, set
67310 by --disable-build-nscd and defaults to $use_nscd.
67311 * configure: Regenerated.
67312 * config.make.in (build-nscd): New substituted variable.
67313 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
67314 Change conditional to require [$(build-nscd) = yes] as well.
67315 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
67316
67317 [BZ# 13696]
67318 * configure.in (use_nscd): New substituted variable, set by
67319 --disable-nscd. If enabled, define USE_NSCD.
67320 * configure: Regenerated.
67321 * config.h.in: Add USE_NSCD.
67322 * config.make.in (use-nscd): New substituted variable.
67323 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
67324 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
67325 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
67326 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
67327 (CFLAGS-getgrnam_r.c): Likewise.
67328 (CFLAGS-initgroups.c): Likewise.
67329 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
67330 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
67331 Variables removed.
67332 * inet/getnetgrent_r.c
67333 (nscd_setnetgrent): New function, broken out of ...
67334 (setnetgrent): ... here. Call it.
67335 (innetgr): Conditionalize nscd bits on [USE_NSCD].
67336 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
67337 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
67338 * nscd/Makefile (routines, aux): Move definitions after include of
67339 Makeconfig. Conditionalize on [$(use-nscd) != no].
67340 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
67341 Conditionalize on [USE_NSCD].
67342 (is_nscd, nscd_init_cb): Likewise.
67343 (nss_load_library): Conditionalize init callback on [USE_NSCD].
67344 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
67345 * nss/nss_db/db-init.c: Likewise.
67346 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
67347 [USE_NSCD].
67348 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
67349 (make_request): Use it.
67350 (cache_valid_p): New function.
67351 (__check_pf): Use it.
67352 * NEWS: Add item for --disable-nscd.
67353
67354 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
67355
67356 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
67357 to support sed >= 4.2.1-20-ga9bf076.
67358 * configure: Regenerated.
67359
67360 2012-08-22 Roland McGrath <roland@hack.frob.com>
67361
67362 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
67363 Conditionalize whole body on [IREL].
67364
67365 2012-08-22 Jeff Law <law@redhat.com>
67366
67367 [BZ #14505]
67368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
67369 if the family is PF_UNSPEC.
67370
67371 2012-08-22 Mike Frysinger <vapier@gentoo.org>
67372
67373 * Makerules (lib-version): Rename from V.
67374 (install-lib-nosubdir): Change V to lib-version.
67375
67376 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
67377
67378 [BZ #14252]
67379 * powerpc32/power6/wcschr.c: New file.
67380 * powerpc32/power6/wcscpy.c: New file.
67381 * powerpc32/power6/wcsrchr.c: New file.
67382 * powerpc64/power6/wcschr.c: New file.
67383 * powerpc64/power6/wcscpy.c: New file.
67384 * powerpc64/power6/wcsrchr.c: New file.
67385
67386 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
67387
67388 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
67389 (two_way_short_needle): Use it.
67390 * string/strstr.c (AVAILABLE1_USES_J): Define.
67391 * string/strcasestr.c: Likewise.
67392
67393 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
67394 array references.
67395 * string/strcasestr.c (TOLOWER): Make side-effect safe.
67396
67397 [BZ #11607]
67398 * NEWS: Add an entry.
67399 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
67400 define their defaults.
67401 (two_way_short_needle): Detect end-of-string on-the-fly.
67402 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
67403 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
67404 * string/bug-strcasestr1.c: New test.
67405 * string/Makefile: Run it.
67406
67407 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
67408
67409 [BZ #11607]
67410 * string/str-two-way.h (two_way_short_needle): Optimize matching of
67411 the first character.
67412
67413 2012-08-21 Roland McGrath <roland@hack.frob.com>
67414
67415 * csu/elf-init.c (__libc_csu_irel): Function removed.
67416 * csu/libc-start.c (apply_irel): New function.
67417 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
67418
67419 2012-08-21 Joseph Myers <joseph@codesourcery.com>
67420
67421 * sysdeps/unix/sysv/linux/kernel-features.h
67422 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
67423 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67424 <kernel-features.h>.
67425 [__NR_fadvise64_64]: Make code unconditional.
67426 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
67427 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67428 !__NR_fadvise64_64)]: Likewise.
67429 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67430 !__NR_fadvise64_64))]: Likewise.
67431 [__NR_fadvise64]: Make code unconditional.
67432 [!__NR_fadvise64]: Remove conditional code.
67433 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
67434 <kernel-features.h>.
67435 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67436 unconditional.
67437 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67438 conditional code.
67439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
67440 not include <kernel-features.h>.
67441 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67442 unconditional.
67443 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67444 conditional code.
67445 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
67446 include <kernel-features.h>.
67447 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67448 unconditional.
67449 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67450 conditional code.
67451
67452 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
67453
67454 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
67455 slight instruction rearrangements per scrollpipe analysis.
67456 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67457
67458 2012-08-20 Roland McGrath <roland@hack.frob.com>
67459
67460 * manual/syslog.texi (syslog; vsyslog, closelog):
67461 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
67462 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
67463
67464 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
67465 DSOCAPS to match condition on defining it.
67466
67467 2012-08-20 Joseph Myers <joseph@codesourcery.com>
67468
67469 * sysdeps/unix/sysv/linux/kernel-features.h
67470 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
67471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
67472 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67473 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
67475 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67476 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
67478 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67479 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67480
67481 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
67482 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
67483
67484 * sysdeps/unix/sysv/linux/kernel-features.h
67485 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
67486 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
67487 unconditional.
67488 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67489 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
67490 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67491 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67492 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
67493 Make code unconditional.
67494 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67495 (__mmap64) [!__NR_mmap2]: Likewise.
67496 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
67497 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67498 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67499 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
67500 [__NR_mmap2]: Make code unconditional.
67501 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67502 (__mmap64) [!__NR_mmap2]: Likewise.
67503
67504 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67505
67506 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
67507
67508 2012-08-18 Andreas Jaeger <aj@suse.de>
67509
67510 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
67511
67512 2012-08-18 Mike Frysinger <vapier@gentoo.org>
67513
67514 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
67515 * include/unistd.h (__have_sock_cloexec): Likewise.
67516 (__have_pipe2): Likewise.
67517 (__have_dup3): Likewise.
67518
67519 2012-08-18 Mike Frysinger <vapier@gentoo.org>
67520
67521 [BZ #9685]
67522 * include/unistd.h (__have_pipe2): Change define into an extern int.
67523 (__have_dup3): Likewise.
67524 * socket/have_sock_cloexec.c: Include fcntl.h.
67525 (__have_pipe2): New variable.
67526 (__have_dup3): Likewise.
67527
67528 2012-08-17 Mike Frysinger <vapier@gentoo.org>
67529
67530 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
67531
67532 2012-08-17 Marek Polacek <polacek@redhat.com>
67533
67534 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
67535 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
67536
67537 2012-08-17 Roland McGrath <roland@hack.frob.com>
67538
67539 * configure.in: Add AC_SUBST for sysheaders.
67540 * configure: Regenerated.
67541 * config.make.in (sysheaders): New substituted variable.
67542
67543 * sysdeps/unix/mkfifo.c: Moved ...
67544 * sysdeps/posix/mkfifo.c: ... here.
67545 * sysdeps/unix/mkfifoat.c: Moved ...
67546 * sysdeps/posix/mkfifoat.c: ... here.
67547
67548 * sysdeps/unix/utime.c: Moved ...
67549 * sysdeps/posix/utime.c: ... here.
67550
67551 * sysdeps/unix/time.c: Moved ...
67552 * sysdeps/posix/time.c: ... here.
67553 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
67554 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
67555
67556 * sysdeps/unix/nice.c: Moved ...
67557 * sysdeps/posix/nice.c: ... here.
67558
67559 * sysdeps/unix/alarm.c: Moved ...
67560 * sysdeps/posix/alarm.c: ... here.
67561
67562 * intl/Makefile ($(codeset_mo)): Depend on the input file.
67563
67564 2012-08-17 Jeff Law <law@redhat.com>
67565
67566 * intl/Makefile (codeset_mo): New variable.
67567 ($(codeset_mo)): New target.
67568 (tst-codeset.out): Depend on that. Remove explicit rule.
67569 (tst-gettext3.out, tst-gettext5.out): Likewise.
67570 (LOCPATH-ENV, tst-codeset-ENV): New variables.
67571 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
67572 * intl/tst-codeset.sh: Remove.
67573 * intl/tst-gettext3.sh: Likewise.
67574 * intl/tst-gettext5.sh: Likewise.
67575
67576 2012-08-17 Roland McGrath <roland@hack.frob.com>
67577
67578 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
67579 * sysdeps/unix/syscalls.list: ... here.
67580
67581 * sysdeps/posix/getaddrinfo.c
67582 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
67583 (gaiconf_init, gaiconf_reload): Use them.
67584 [!_STATBUF_ST_NSEC]
67585 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
67586 Define using time_t rather than struct timespec.
67587
67588 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
67589 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
67590 Macros removed.
67591 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
67592 [!NO_THREADS].
67593 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
67594 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
67595 Likewise.
67596
67597 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
67598 __libc_cleanup_push argument.
67599
67600 * bits/param.h: New file.
67601 * misc/sys/param.h: New file.
67602 * include/sys/param.h: New file.
67603 * misc/Makefile (headers): Add bits/param.h.
67604 * sysdeps/generic/sys/param.h: File removed.
67605 * sysdeps/unix/sysv/linux/bits/param.h: New file.
67606 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
67607 * sysdeps/mach/hurd/bits/param.h: New file.
67608 * sysdeps/mach/hurd/sys/param.h: File removed.
67609
67610 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
67611 last change.
67612
67613 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
67614 [_IO_MTSAFE_IO].
67615 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
67616 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
67617 New macros.
67618
67619 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
67620 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
67621 rather than -D_IO_MTSAFE_IO conditionally.
67622 * stdio-common/Makefile (CPPFLAGS): Likewise.
67623 * wcsmbs/Makefile (CPPFLAGS): Likewise.
67624 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
67625 Use $(libio-mtsafe).
67626 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
67627 of -D_IO_MTSAFE_IO.
67628 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
67629 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
67630 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
67631 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
67632 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
67633 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
67634 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
67635 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
67636 (CFLAGS-fread_u_chk.c): Likewise.
67637 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
67638 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
67639 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
67640 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
67641 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
67642 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
67643 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
67644 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
67645 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
67646
67647 * libio/Makefile: Test [$(libc-reentrant) = yes]
67648 instead of [$(filter %REENTRANT, $(defines)) nonempty].
67649
67650 * Makeconfig
67651 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
67652 * sysdeps/pthread/configure: File removed.
67653 * sysdeps/pthread/Makeconfig: New file.
67654 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
67655 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
67656
67657 2012-08-16 Gary Benson <gbenson@redhat.com>
67658
67659 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
67660 unmapping the first object in a namespace.
67661
67662 2012-08-16 Roland McGrath <roland@hack.frob.com>
67663
67664 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
67665 (__internal_setnetgrent): ... this. Add internal_function to
67666 definition. Add libc_hidden_def.
67667 (setnetgrent): Update caller.
67668 (internal_endnetgrent): Renamed to ...
67669 (__internal_endnetgrent): ... this. Add internal_function to
67670 definition. Add libc_hidden_def.
67671 (endnetgrent): Update caller.
67672 (internal_getnetgrent_r): Renamed to ...
67673 (__internal_getnetgrent_r): ... this. Add internal_function to
67674 definition. Add libc_hidden_def.
67675 (__getnetgrent_r): Update caller.
67676 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
67677
67678 2012-08-16 Joseph Myers <joseph@codesourcery.com>
67679
67680 * stdlib/longlong.h: Update from GCC.
67681
67682 2012-08-16 Roland McGrath <roland@hack.frob.com>
67683
67684 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
67685 on _QL, which is set by umul_ppmm but never used.
67686 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
67687 variables, which are set by GMP macros but never used.
67688 * stdio-common/_itowa.c (_itowa): Likewise.
67689 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
67690 * stdlib/mod_1.c (mpn_mod_1): Likewise.
67691
67692 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
67693
67694 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
67695 struct La_sh_regs is not constant.
67696 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
67697 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
67698 and struct La_sparc64_regs are not constant.
67699
67700 2012-08-16 Joseph Myers <joseph@codesourcery.com>
67701
67702 * sysdeps/unix/sysv/linux/kernel-features.h
67703 (__ASSUME_POSIX_TIMERS): Remove.
67704 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67705 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67706 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
67707 Make code unconditional.
67708 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67709 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
67710 Make code unconditional.
67711 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67712 * sysdeps/unix/sysv/linux/clock_nanosleep.c
67713 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
67714 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67715 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
67716 Make code unconditional.
67717 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67718 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
67719 (__libc_missing_posix_timers): Remove.
67720
67721 2012-08-15 Roland McGrath <roland@hack.frob.com>
67722
67723 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
67724 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
67725
67726 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
67727
67728 * elf/dl-sym.c: Include <stdlib.h>.
67729
67730 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
67731 constants, which avoids warnings in 32-bit builds.
67732
67733 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
67734 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
67735
67736 * misc/lseek.c: File moved to ...
67737 * io/lseek.c: ... here.
67738
67739 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
67740
67741 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
67742 shifting LEN more than 31 bits at once.
67743
67744 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67745
67746 [BZ #14195]
67747 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
67748 segmentation fault for a case of two empty input strings.
67749 * string/test-strncasecmp.c (check1): Renamed to...
67750 (bz12205): ...this.
67751 (bz14195): Add new testcase for two empty input strings and N > 0.
67752 (test_main): Call new testcase, adapt for renamed function.
67753
67754 2012-08-15 Andreas Jaeger <aj@suse.de>
67755
67756 [BZ #14090]
67757 * crypt/md5test2.c: New test, based on test supplied by Serge
67758 Belyshev <belyshev@depni.sinp.msu.ru>.
67759 * crypt/Makefile (xtests): Add md5test-giant..
67760 * crypt/Makefile ($(objpfx)md5test-giant): Add.
67761
67762 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
67763
67764 [BZ #14090]
67765 * crypt/md5.c (md5_process_block): Don't assume the buffer
67766 length is less than 2**32.
67767 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
67768 length is less than 2**64.
67769
67770 2012-08-15 Roland McGrath <roland@hack.frob.com>
67771
67772 * string/str-two-way.h: Include <sys/param.h>.
67773 (MAX): Macro removed.
67774
67775 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
67776 Move #define and #undef of memmove to just before and after
67777 including <string.h>.
67778
67779 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
67780 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
67781 and after including <string.h>. Move declarations of
67782 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
67783 to before #include "string/memmove.c".
67784
67785 * include/dirent.h: Declare __getdirentries.
67786
67787 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
67788 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
67789
67790 2012-08-14 Mike Frysinger <vapier@gentoo.org>
67791
67792 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
67793 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
67794 * sysdeps/i386/configure: Regenerated.
67795 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
67796 STABS_CURRENT_FILE, and STABS_FUN.
67797 (END): Remove call to STABS_FUN_END.
67798 (STABS_CURRENT_FILE1): Delete.
67799 (STABS_CURRENT_FILE): Likewise.
67800 (STABS_FUN): Likewise.
67801 (STABS_FUN_END): Likewise.
67802 (STABS_FUN2): Likewise.
67803 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
67804 * sysdeps/x86_64/configure: Regenerated.
67805
67806 2012-08-14 Roland McGrath <roland@hack.frob.com>
67807
67808 * elf/dl-open.c: Include <atomic.h>.
67809 * elf/dl-lookup.c: Likewise.
67810
67811 2012-08-14 Joseph Myers <joseph@codesourcery.com>
67812
67813 * sysdeps/unix/sysv/linux/kernel-features.h
67814 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
67815 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
67816 unconditionally.
67817 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
67818 unconditionally.
67819 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
67820 condition on __ASSUME_CLONE_THREAD_FLAGS.
67821
67822 2012-08-14 Andreas Jaeger <aj@suse.de>
67823
67824 * sysdeps/i386/fpu/libm-test-ulps: Update.
67825
67826 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
67827
67828 * include/atomic.h (atomic_exchange_and_add): Split into ...
67829 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
67830 New atomic macros.
67831
67832 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
67833
67834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67835
67836 2012-08-13 Jeff Law <law@redhat.com>
67837
67838 * manual/stdio.texi (snprintf): Clarify handling of the trailing
67839 null byte in the output string.
67840
67841 2012-08-10 Joseph Myers <joseph@codesourcery.com>
67842
67843 * sysdeps/unix/sysv/linux/kernel-features.h
67844 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
67845 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
67846 (__ASSUME_ARG_MAX_STACK_BASED): Define.
67847 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
67848 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
67849 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
67850 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
67851
67852 2012-08-09 Jeff Law <law@redhat.com>
67853
67854 [BZ #13939]
67855 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
67856 When avoid_arena is set, don't retry in the that arena. Pick the
67857 next one, whatever it might be.
67858 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
67859 (arena_lock): Pass in new parameter to arena_get2.
67860 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
67861 arena_get2.
67862 (__libc_malloc): Unify retrying after main arena failure with
67863 __libc_memalign version.
67864 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
67865
67866 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
67867
67868 [BZ #14166]
67869 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
67870 to __redirect_strstr.
67871 (__strstr_sse42): Use typeof __redirect_strstr.
67872 (__strstr_ia32): Likewise.
67873 (__libc_strstr): New prototype.
67874 (strstr): Renamed to ...
67875 (__libc_strstr): This.
67876 (strstr): New strong alias of __libc_strstr.
67877 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67878 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
67879 __redirect_time.
67880 Include <time.h>.
67881 (__libc_time): New prototype.
67882 (time_ifunc): Replace time with __libc_time.
67883 (time): New strong alias and hidden definition of __libc_time.
67884 (__GI_time): Remove strong alias.
67885 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67886 Include <stddef.h>.
67887 (memmove): Redefined to __redirect_memmove.
67888 (__memmove_sse2): Use typeof __redirect_memmove.
67889 (__memmove_ssse3): Likewise.
67890 (__memmove_ssse3_back): Likewise.
67891 (__libc_memmove): New prototype.
67892 (memmove): Renamed to ...
67893 (__libc_memmove): This.
67894 (memmove): New strong alias of __libc_memmove.
67895
67896 2012-08-08 Mark Salter <msalter@redhat.com>
67897
67898 * elf/elf.h
67899 (R_MN10300_TLS_GD): Define.
67900 (R_MN10300_TLS_LD): Likewise.
67901 (R_MN10300_TLS_LDO): Likewise.
67902 (R_MN10300_TLS_GOTIE): Likewise.
67903 (R_MN10300_TLS_IE): Likewise.
67904 (R_MN10300_TLS_LE): Likewise.
67905 (R_MN10300_TLS_DTPMOD): Likewise.
67906 (R_MN10300_TLS_DTPOFF): Likewise.
67907 (R_MN10300_TLS_TPOFF): Likewise.
67908 (R_MN10300_SYM_DIFF): Likewise.
67909 (R_MN10300_ALIGN): Likewise.
67910 (R_MN10300_NUM): Update.
67911
67912 2012-08-08 Joseph Myers <joseph@codesourcery.com>
67913
67914 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67915 Remove.
67916
67917 2012-08-08 Roland McGrath <roland@hack.frob.com>
67918
67919 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67920
67921 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67922 sysdeps/unix -> sysdeps/posix move.
67923 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67924
67925 2012-08-07 Allan McRae <allan@archlinux.org>
67926
67927 [BZ #14303]
67928 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67929 (SUNOS_CPP): Likewise.
67930 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67931 not found.
67932 (open_input): Call CPP using execvp.
67933
67934 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67935
67936 * sysdeps/unix/sysv/linux/kernel-features.h
67937 (__ASSUME_PROT_GROWSUPDOWN): Remove.
67938 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67939 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67940 (__ASSUME_WAITID_SYSCALL): Likewise.
67941 * sysdeps/unix/sysv/linux/dl-execstack.c
67942 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67943 code unconditional.
67944 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67945 conditional code.
67946 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67947 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67948 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67949 code.
67950 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67951 unconditional.
67952 [__ASSUME_WAITID_SYSCALL]: Likewise.
67953 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67954
67955 2012-08-07 Roland McGrath <roland@hack.frob.com>
67956
67957 * sysdeps/unix/closedir.c: Renamed to ...
67958 * sysdeps/posix/closedir.c: ... here.
67959 * sysdeps/unix/dirfd.c: Renamed to ...
67960 * sysdeps/posix/dirfd.c: ... here.
67961 * sysdeps/unix/dirstream.h: Renamed to ...
67962 * sysdeps/posix/dirstream.h: ... here.
67963 * sysdeps/unix/fdopendir.c: Renamed to ...
67964 * sysdeps/posix/fdopendir.c: ... here.
67965 * sysdeps/unix/opendir.c: Renamed to ...
67966 * sysdeps/posix/opendir.c: ... here.
67967 * sysdeps/unix/readdir.c: Renamed to ...
67968 * sysdeps/posix/readdir.c: ... here.
67969 * sysdeps/unix/readdir_r.c: Renamed to ...
67970 * sysdeps/posix/readdir_r.c: ... here.
67971 * sysdeps/unix/rewinddir.c: Renamed to ...
67972 * sysdeps/posix/rewinddir.c: ... here.
67973 * sysdeps/unix/seekdir.c: Renamed to ...
67974 * sysdeps/posix/seekdir.c: ... here.
67975 * sysdeps/unix/telldir.c: Renamed to ...
67976 * sysdeps/posix/telldir.c: ... here.
67977 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67978 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67979 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67980 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67981
67982 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67983 * bits/fcntl.h: ... here.
67984
67985 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67986 not 0.
67987 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67988 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67989 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67990 (struct flock): Move l_start, l_len to the beginning.
67991 Use __pid_t for l_pid.
67992 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67993 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67994 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67995 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67996 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67997 [__USE_LARGEFILE64] (struct flock64): New type.
67998 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67999
68000 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
68001 * bits/dirent.h: ... here.
68002
68003 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
68004 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
68005
68006 2012-08-07 Joseph Myers <joseph@codesourcery.com>
68007
68008 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68009 Change from 2.6.0 to 2.6.16.
68010 * sysdeps/unix/sysv/linux/configure: Regenerated.
68011 * sysdeps/unix/sysv/linux/kernel-features.h
68012 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
68013 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
68014 version.
68015 (__ASSUME_UTIMES): Likewise.
68016 (__ASSUME_CLONE_STOPPED): Remove.
68017 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
68018 architectures, not kernel version.
68019 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
68020 (__ASSUME_NO_CLONE_DETACHED): Likewise.
68021 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
68022 (__ASSUME_WAITID_SYSCALL): Likewise.
68023 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
68024 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
68025 * README: State 2.6.16 as minimum Linux kernel version. Do not
68026 refer to older versions.
68027
68028 2012-08-06 Roland McGrath <roland@hack.frob.com>
68029
68030 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
68031 Define alphasort64 as an alias.
68032 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
68033 Define versionsort64 as an alias.
68034 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
68035 Define scandir64 as an alias.
68036 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
68037 Define scandirat64 as an alias.
68038 * dirent/alphasort64.c (alphasort64):
68039 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
68040 * dirent/versionsort64.c: Likewise.
68041 * dirent/scandir64.c: Likewise.
68042 * dirent/scandirat64.c: Likewise.
68043 * sysdeps/wordsize-64/alphasort.c: File removed.
68044 * sysdeps/wordsize-64/alphasort64.c: File removed.
68045 * sysdeps/wordsize-64/scandir.c: File removed.
68046 * sysdeps/wordsize-64/scandir64.c: File removed.
68047 * sysdeps/wordsize-64/scandirat.c: File removed.
68048 * sysdeps/wordsize-64/scandirat64.c: File removed.
68049 * sysdeps/wordsize-64/versionsort.c: File removed.
68050 * sysdeps/wordsize-64/versionsort64.c: File removed.
68051 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
68052 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
68053 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
68054 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
68055 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
68056 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
68057 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
68058 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
68059
68060 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
68061 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
68062 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
68063 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68064 [defined __arch64__ || defined __sparcv9]
68065 (__INO_T_MATCHES_INO64_T): New macro.
68066 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68067 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
68068 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
68069 * sysdeps/unix/sysv/linux/bits/dirent.h
68070 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
68071 (_DIRENT_MATCHES_DIRENT64): New macro.
68072
68073 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
68074 Define lockf64 as an alias.
68075 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
68076 Define fseeko64 as an alias.
68077 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
68078 Define ftello64 as an alias.
68079 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
68080 Define _IO_fgetpos64 and fgetpos64 as aliases.
68081 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
68082 Define _IO_fsetpos64 and fsetpos64 as aliases.
68083 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
68084 Conditionalize body on this.
68085 * libio/fseeko64.c: Likewise.
68086 * libio/ftello64.c: Likewise.
68087 * libio/iofgetpos64.c: Likewise.
68088 * libio/iofsetpos64.c: Likewise.
68089 * sysdeps/wordsize-64/lockf.c: File removed.
68090 * sysdeps/wordsize-64/lockf64.c: File removed.
68091 * sysdeps/wordsize-64/fseeko.c: File removed.
68092 * sysdeps/wordsize-64/fseeko64.c: File removed.
68093 * sysdeps/wordsize-64/ftello.c: File removed.
68094 * sysdeps/wordsize-64/ftello64.c: File removed.
68095 * sysdeps/wordsize-64/iofgetpos.c: File removed.
68096 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
68097 * sysdeps/wordsize-64/iofsetpos.c: File removed.
68098 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
68099 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
68100 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
68101 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
68102 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
68103 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
68104 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
68105 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
68106 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
68107 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
68108 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
68109
68110 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68111 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
68112 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
68113 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68114 [defined __arch64__ || defined __sparcv9]
68115 (__OFF_T_MATCHES_OFF64_T): New macro.
68116 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68117 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68118 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68119 (__OFF_T_MATCHES_OFF64_T): New macro.
68120
68121 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
68122
68123 * stdlib/secure-getenv.c (__secure_getenv): Replace
68124 GLIBC_2_16 with GLIBC_2_17.
68125
68126 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
68127
68128 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
68129 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68130
68131 2012-08-03 David S. Miller <davem@davemloft.net>
68132
68133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68134
68135 2012-08-03 Joseph Myers <joseph@codesourcery.com>
68136
68137 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
68138 Remove.
68139 (__ASSUME_CORRECT_SI_PID): Likewise.
68140 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
68141 (__ASSUME_TMPFS_NAME): Likewise.
68142 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
68143 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
68144 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
68145 (HAVE_AUX_SECURE): Make definition unconditional.
68146 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
68147 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
68148
68149 2012-08-03 Roland McGrath <roland@hack.frob.com>
68150
68151 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
68152 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
68153 * sysdeps/mach/hurd/eloop-threshold.h: New file.
68154 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
68155 __eloop_threshold instead of SYMLOOP_MAX.
68156
68157 * sysdeps/generic/eloop-threshold.h: New file.
68158 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
68159 of MAXSYMLINKS.
68160 * elf/chroot_canon.c (chroot_canon): Likewise.
68161
68162 2012-08-03 Joseph Myers <joseph@codesourcery.com>
68163
68164 [BZ #13717]
68165 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68166 Change to 2.6.0 everywhere.
68167 * sysdeps/unix/sysv/linux/configure: Regenerated.
68168 * sysdeps/unix/sysv/linux/kernel-features.h
68169 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
68170 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
68171 kernel versions.
68172 (__ASSUME_POSIX_TIMERS): Define unconditionally.
68173 (__ASSUME_FUTEX_REQUEUE): Remove.
68174 (__ASSUME_STATFS64): Define unconditionally.
68175 (__ASSUME_AT_SECURE): Likewise.
68176 (__ASSUME_CORRECT_SI_PID): Likewise.
68177 (__ASSUME_TGKILL): Define without depending on kernel version for
68178 i386.
68179 (__ASSUME_UTIMES): Likewise.
68180 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
68181 kernel version.
68182 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
68183 (__ASSUME_TMPFS_NAME): Likewise.
68184 * README: Update reference to Linux kernel versions.
68185
68186 2012-08-02 Marek Polacek <polacek@redhat.com>
68187
68188 [BZ# 14150]
68189 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
68190 libc_cv_asm_type_prefix with %.
68191 * configure: Regenerated.
68192 * include/libc-symbols.h: Remove comment about
68193 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68194 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
68195 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
68196 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
68197 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
68198 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68199 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
68200 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
68201 * elf/tst-unique2mod1.c: Likewise.
68202 * elf/tst-unique1mod2.c: Likewise.
68203 * elf/tst-unique1mod1.c: Likewise.
68204 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
68205 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
68206 Replace ASM_TYPE_DIRECTIVE with .type.
68207 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68208 * sysdeps/i386/sysdep.h: Likewise.
68209 * sysdeps/x86_64/sysdep.h: Likewise.
68210 * sysdeps/sh/sysdep.h: Likewise.
68211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68212 Do not define ASM_TYPE_DIRECTIVE.
68213 * sysdeps/powerpc/sysdep.h: Likewise.
68214 * sysdeps/powerpc/powerpc32/sysdep.h:
68215 Replace ASM_TYPE_DIRECTIVE with .type.
68216 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68217 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68218 * sysdeps/i386/fpu/e_powf.S: Likewise.
68219 * sysdeps/i386/fpu/e_expl.S: Likewise.
68220 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68221 * sysdeps/i386/fpu/e_acosh.S: Likewise.
68222 * sysdeps/i386/fpu/e_pow.S: Likewise.
68223 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68224 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68225 * sysdeps/i386/fpu/s_expm1.S: Likewise.
68226 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68227 * sysdeps/i386/fpu/e_log2.S: Likewise.
68228 * sysdeps/i386/fpu/e_log2l.S: Likewise.
68229 * sysdeps/i386/fpu/e_scalb.S: Likewise.
68230 * sysdeps/i386/fpu/e_powl.S: Likewise.
68231 * sysdeps/i386/fpu/e_log10f.S: Likewise.
68232 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68233 * sysdeps/i386/fpu/e_logl.S: Likewise.
68234 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68235 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68236 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68237 * sysdeps/i386/fpu/e_log2f.S: Likewise.
68238 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68239 * sysdeps/i386/fpu/e_log.S: Likewise.
68240 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68241 * sysdeps/i386/fpu/e_logf.S: Likewise.
68242 * sysdeps/i386/fpu/e_log10l.S: Likewise.
68243 * sysdeps/i386/fpu/e_atanh.S: Likewise.
68244 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68245 * sysdeps/i386/fpu/e_log10.S: Likewise.
68246 * sysdeps/i386/fpu/s_frexp.S: Likewise.
68247 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68248 * sysdeps/i386/fpu/s_asinh.S: Likewise.
68249 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68250 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68251 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
68252 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68253 * sysdeps/i386/i686/strtok.S: Likewise.
68254 * sysdeps/i386/i386-mcount.S: Likewise.
68255 * sysdeps/i386/strtok.S: Likewise.
68256 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
68257 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68258 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68259 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68260 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68261 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68262 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68263 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68264 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68265 * sysdeps/x86_64/_mcount.S: Likewise.
68266 * sysdeps/x86_64/strtok.S: Likewise.
68267 * sysdeps/sh/_mcount.S: Likewise.
68268
68269 2012-08-01 Roland McGrath <roland@hack.frob.com>
68270
68271 * libio/iofopen.c: Include <fcntl.h>.
68272 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
68273 (_IO_fopen64, fopen64): Define as aliases.
68274 * libio/iofopen64.c: Include <fcntl.h>.
68275 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
68276 Conditionalize body on this.
68277 * sysdeps/wordsize-64/iofopen.c: File removed.
68278 * sysdeps/wordsize-64/iofopen64.c: File removed.
68279
68280 2012-08-01 Marek Polacek <polacek@redhat.com>
68281
68282 * libc/Makeconfig: Use elf in place of binfmt-subdir.
68283 Use dlfcn directly instead of a variable.
68284 (binfmt-subdir): Do not define.
68285 (dlfcn): Likewise.
68286
68287 2012-08-01 Joseph Myers <joseph@codesourcery.com>
68288
68289 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
68290 Remove all definitions.
68291 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
68292 <kernel-features.h>.
68293 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68294 (miss_F_GETOWN_EX): Remove all definitions.
68295 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
68296 macro definition.
68297 [!__ASSUME_FCNTL64]: Remove conditional code.
68298 [__ASSUME_FCNTL64]: Make code unconditional.
68299 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
68300 <kernel-features.h>.
68301 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68302 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
68303 (lockf64) [__NR_fcntl64]: Make code unconditional.
68304 (lockf64) [__ASSUME_FCNTL64]: Likewise.
68305
68306 * sysdeps/unix/sysv/linux/kernel-features.h
68307 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
68308 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
68309 Make code unconditional.
68310 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68311 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
68313 [__NR_vfork]: Make code unconditional.
68314 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68315 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
68317 [__NR_vfork]: Make code unconditional.
68318 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68319 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68320
68321 2012-08-01 Roland McGrath <roland@hack.frob.com>
68322
68323 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
68324 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
68325
68326 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68327 Define mkstemp64 as an alias.
68328 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68329 Define mkstemps64 as an alias.
68330 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68331 Define mkostemp64 as an alias.
68332 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68333 Define mkostemps64 as an alias.
68334 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
68335 Conditionalize body on this.
68336 * misc/mkostemp64.c: Likewise.
68337 * misc/mkostemps64.c: Likewise.
68338 * misc/mkstemps64.c: Likewise.
68339 * sysdeps/wordsize-64/mkstemp64.c: File removed.
68340 * sysdeps/wordsize-64/mkostemp64.c: File removed.
68341 * sysdeps/wordsize-64/mkostemp.c: File removed.
68342 * sysdeps/wordsize-64/mkstemp.c: File removed.
68343 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
68344 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
68345 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
68346 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
68347
68348 [BZ #14138]
68349 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
68350 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
68351 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
68352 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
68353
68354 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
68355 compat_symbol macros from <shlib-compat.h> rather than the underlying
68356 default_symbol_version and symbol_version macros, so that DEFAULT
68357 lines in shlib-versions are respected.
68358 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
68359
68360 2012-08-01 Florian Weimer <fweimer@redhat.com>
68361
68362 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
68363 Declare with warn_unused_result.
68364 (setgid, setregid, setegid, setresgid): Likewise.
68365 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
68366 Likewise.
68367 * WUR-REPORT: Remove set*id functions.
68368
68369 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
68370
68371 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
68372
68373 2012-07-31 Roland McGrath <roland@hack.frob.com>
68374
68375 [BZ #10191]
68376 * include/sys/socket.h (__libc_accept, __libc_accept4):
68377 Add attribute_hidden.
68378 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
68379
68380 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
68381 use of PTR_MANGLE.
68382 * inet/getnetgrent_r.c (setup): Likewise.
68383
68384 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
68385
68386 2012-07-31 David S. Miller <davem@davemloft.net>
68387
68388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68389
68390 2012-07-31 Joseph Myers <joseph@codesourcery.com>
68391
68392 [BZ #13629]
68393 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
68394 value between 1.0 and 2.0 and smaller part has absolute value less
68395 than 1.0.
68396 * math/s_clog10.c (__clog10): Likewise.
68397 * math/s_clog10f.c (__clog10f): Likewise.
68398 * math/s_clog10l.c (__clog10l): Likewise.
68399 * math/s_clogf.c (__clogf): Likewise.
68400 * math/s_clogl.c (__clogl): Likewise.
68401 * math/libm-test.inc (clog_test): Add more tests.
68402 (clog10_test): Likewise.
68403 * sysdeps/i386/fpu/libm-test-ulps: Update.
68404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68405
68406 2012-07-31 Florian Weimer <fweimer@redhat.com>
68407
68408 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
68409 Exit with zero in case no suitable GID is found, and write a
68410 message to standard error.
68411
68412 2012-07-30 Roland McGrath <roland@hack.frob.com>
68413
68414 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
68415 rather than to 1.
68416 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
68417 (MAXPATHLEN): Removed.
68418 (NOGROUP, NODEV): New macros.
68419 (setbit, clrbit, isset, isclr): New macros.
68420 (howmany, roundup, powerof2): New macros.
68421 (DEV_BSIZE): New macro.
68422
68423 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
68424 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
68425
68426 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
68427 definition on [!__NO_LONG_DOUBLE_MATH].
68428
68429 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
68430 PTR_MANGLE and PTR_DEMANGLE.
68431
68432 * socket/accept4.c (accept4): Rename to __libc_accept4.
68433 Define accept4 as a weak alias.
68434
68435 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
68436 on [_DIRENT_HAVE_D_TYPE].
68437 * io/ftw.c (ftw_dir): Likewise.
68438
68439 * io/xmknod.c (__xmknod): Don't check PATH for being null.
68440
68441 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
68442
68443 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
68444 Use the BSD numbers rather than the arbitrary ones we had.
68445 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
68446 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
68447 (SIGXCPU, SIGXFSZ): New macros.
68448 (_NSIG): Now 32.
68449
68450 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
68451 initializer on [_LIBC_REENTRANT].
68452
68453 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
68454 definitions inside [_POSIX_MAPPED_FILES].
68455
68456 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
68457
68458 * dirent/opendir.c: Include <fcntl.h>.
68459
68460 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
68461 (__libc_getspecific): Likewise.
68462 (__libc_key_create): Likewise.
68463
68464 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
68465 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
68466 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
68467 (tmpfile64): Define as alias.
68468 * sysdeps/wordsize-64/tmpfile.c: File removed.
68469 * sysdeps/wordsize-64/tmpfile64.c: File removed.
68470 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
68471 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
68472
68473 * stdio-common/vfscanf.c: Include <stdbool.h>.
68474 * nss/makedb.c: Likewise.
68475 * stdio-common/_i18n_number.h: Likewise.
68476 * argp/argp-help.c: Likewise.
68477 * posix/wordexp.c: Likewise.
68478 * sysdeps/posix/spawni.c: Likewise.
68479 * nss/nss_files/files-initgroups.c: Likewise.
68480 * stdio-common/reg-modifier.c: Include <stdlib.h>.
68481 * nss/nss_files/files-initgroups.c: Likewise.
68482 * nss/nss_db/db-netgrp.c: Likewise.
68483 * nss/nss_db/db-initgroups.c: Likewise.
68484 * io/fchmodat.c: Include <sys/stat.h>.
68485
68486 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
68487 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
68488
68489 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
68490 [HAVE_MMAP].
68491
68492 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
68493 Add multiple inclusion protection.
68494
68495 2012-07-27 David S. Miller <davem@davemloft.net>
68496
68497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68498
68499 2012-07-27 Gary Benson <gbenson@redhat.com>
68500
68501 [BZ #14298]
68502 * elf/rtld.c: Include <stap-probe.h>.
68503 (dl_main): Added static probes "init_start" and "init_complete".
68504 * elf/dl-load.c: Include <stap-probe.h>.
68505 (lose): Take new parameter "nsid".
68506 Added static probe "map_failed".
68507 (_dl_map_object_from_fd): Pass namespace id to lose.
68508 Added static probe "map_start".
68509 (open_verify): Pass namespace id to lose.
68510 * elf/dl-open.c: Include <stap-probe.h>.
68511 (dl_open_worker) Added static probes "map_complete", "reloc_start"
68512 and "reloc_complete".
68513 * elf/dl-close.c: Include <stap-probe.h>.
68514 (_dl_close_worker): Added static probes "unmap_start" and
68515 "unmap_complete".
68516 * elf/rtld-debugger-interface.txt: New file documenting the above.
68517
68518 2012-07-26 Roland McGrath <roland@hack.frob.com>
68519
68520 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
68521 rather than a string variable.
68522 * sunrpc/rpc_main.c (h_output): Likewise.
68523 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
68524
68525 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
68526
68527 * inet/check_native.c: New file.
68528
68529 2012-07-26 Joseph Myers <joseph@codesourcery.com>
68530
68531 [BZ #13629]
68532 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
68533 if larger part has absolute value 1.0.
68534 * math/s_clog10.c (__clog10): Likewise.
68535 * math/s_clog10f.c (__clog10f): Likewise.
68536 * math/s_clog10l.c (__clog10l): Likewise.
68537 * math/s_clogf.c (__clogf): Likewise.
68538 * math/s_clogl.c (__clogl): Likewise.
68539 * math/libm-test.inc (clog_test): Add more tests.
68540 (clog10_test): Likewise.
68541 * sysdeps/i386/fpu/libm-test-ulps: Update.
68542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68543
68544 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
68545 (pltexit): Likewise.
68546 (La_regs): Likewise.
68547 (La_retval): Likewise.
68548 (int_retval): Likewise.
68549 Update #error for removed macros to refer only to definitions in
68550 tst-audit.h.
68551 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
68552 macro.
68553 (pltexit): Likewise.
68554 (La_regs): Likewise.
68555 (La_retval): Likewise.
68556 (int_retval): Likewise.
68557 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
68558 macro.
68559 (pltexit): Likewise.
68560 (La_regs): Likewise.
68561 (La_retval): Likewise.
68562 (int_retval): Likewise.
68563 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
68564 macro.
68565 (pltexit): Likewise.
68566 (La_regs): Likewise.
68567 (La_retval): Likewise.
68568 (int_retval): Likewise.
68569 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
68570 macro.
68571 (pltexit): Likewise.
68572 (La_regs): Likewise.
68573 (La_retval): Likewise.
68574 (int_retval): Likewise.
68575 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
68576 macro.
68577 (pltexit): Likewise.
68578 (La_regs): Likewise.
68579 (La_retval): Likewise.
68580 (int_retval): Likewise.
68581 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
68582 macro.
68583 (pltexit): Likewise.
68584 (La_regs): Likewise.
68585 (La_retval): Likewise.
68586 (int_retval): Likewise.
68587 * sysdeps/generic/tst-audit.h: Update comment to refer only to
68588 macro definitions in tst-audit.h.
68589 * sysdeps/i386/tst-audit.h: New file.
68590 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
68591 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
68592 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
68593 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
68594 * sysdeps/sh/tst-audit.h: Likewise.
68595 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
68596 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
68597 * sysdeps/x86_64/tst-audit.h: Likewise.
68598
68599 2012-07-26 Andreas Jaeger <aj@suse.de>
68600
68601 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
68602 ptrace.
68603
68604 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
68605 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
68606 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
68607 PTRACE_O_MASK.
68608 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
68609 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
68610 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
68611
68612 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
68613 value.
68614
68615 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
68616 _sigsys.
68617 (si_call_addr, si_syscall, si_arch): Define new macro.
68618 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
68619 _sigsys.
68620 (si_call_addr, si_syscall, si_arch): Define new marcro.
68621 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
68622 _sigsys.
68623 (si_call_addr, si_syscall, si_arch): Define new macro.
68624 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
68625 _sigsys.
68626 (si_call_addr, si_syscall, si_arch): Define new macro.
68627
68628 2012-07-25 Joseph Myers <joseph@codesourcery.com>
68629
68630 [BZ #13717]
68631 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68632 Change to 2.4.21 where previously 2.4.1.
68633 * sysdeps/unix/sysv/linux/configure: Regenerated.
68634 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
68635 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
68636 Linux kernel version.
68637 (__ASSUME_STD_AUXV): Remove.
68638 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
68639 kernel version.
68640 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
68641 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
68642 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
68643 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
68644 (__ASSUME_NETLINK_SUPPORT): Likewise.
68645 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
68646 (__no_netlink_support): Remove conditional definition.
68647 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
68648 Remove.
68649 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68650 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
68651 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
68652 (if_nameindex_ioctl): Remove.
68653 (if_nameindex_netlink): Do not handle __no_netlink_support.
68654 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68655 code.
68656 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
68657 Remove conditional code.
68658 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68659 code.
68660 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
68661 unconditional.
68662 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68663 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
68664 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
68665 Remove.
68666 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
68667 [!__ASSUME_STD_AUXV]: Remove conditional code.
68668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
68669 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
68670 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
68671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
68672 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
68673 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68674 code.
68675 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
68677 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
68678 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68679 conditional code.
68680 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
68682 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68683 code.
68684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
68685 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68686 conditional code.
68687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
68688 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68689 code unconditional.
68690 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68691 conditional code.
68692 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68693 unconditional.
68694 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68695 conditional code.
68696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68697 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68698 unconditional.
68699 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68700 conditional code.
68701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
68702 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68703 code unconditional.
68704 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68705 conditional code.
68706 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68707 unconditional.
68708 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68709 conditional code.
68710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
68711 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68712 code unconditional.
68713 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68714 conditional code.
68715 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68716 unconditional.
68717 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68718 conditional code.
68719
68720 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
68721
68722 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
68723 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
68724 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
68725 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
68726 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
68727 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
68728 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
68729 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
68730 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
68731 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
68732 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
68733 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
68734 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
68735 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
68736 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
68737 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
68738 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
68739 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
68740 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
68741 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
68742 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
68743 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
68744 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68745
68746 2012-07-25 Florian Weimer <fweimer@redhat.com>
68747
68748 * Versions.def: Add GLIBC_2.17.
68749 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
68750 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
68751 Introduce __libc_secure_getenv.
68752 * stdlib/Versions (2.17): Add secure_getenv
68753 (GLIBC_PRIVATE): Add __libc_secure_getenv.
68754 * stdlib/secure-getenv.c: Rename __secure_getenv to
68755 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
68756 symbol __secure_getenv for GLIBC_2.0.
68757 * stdlib/tst-secure-getenv.c: New.
68758 * stdlib/Makefile (tests): Add testcase.
68759 * manual/startup.texi (Environment Access): Document
68760 secure_getenv.
68761 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
68762 __libc_secure_getenv.
68763 * inet/ruserpass.c (ruserpass): Likewise.
68764 * malloc/mtrace.c (mtrace): Likewise.
68765 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
68766 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
68767 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
68768 * sysdeps/posix/tempname.c: Likewise. Evaluate
68769 HAVE_SECURE_GETENV.
68770 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
68771 __secure_getenv to __libc_secure_getenv.
68772 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
68773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68774 Likewise.
68775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68776 Likewise.
68777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68779 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68784
68785 2012-07-25 Joseph Myers <joseph@codesourcery.com>
68786
68787 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
68788 (struct La_i86_retval): Likewise.
68789 (struct La_x86_64_regs): Likewise.
68790 (struct La_x86_64_retval): Likewise.
68791 (struct La_x32_regs): Likewise.
68792 (struct La_x32_retval): Likewise.
68793 (struct La_ppc32_regs): Likewise.
68794 (struct La_ppc32_retval): Likewise.
68795 (struct La_ppc64_regs): Likewise.
68796 (struct La_ppc64_retval): Likewise.
68797 (struct La_sh_regs): Likewise.
68798 (struct La_sh_retval): Likewise.
68799 (struct La_s390_32_regs): Likewise.
68800 (struct La_s390_32_retval): Likewise.
68801 (struct La_s390_64_regs): Likewise.
68802 (struct La_s390_64_retval): Likewise.
68803 (struct La_sparc32_regs): Likewise.
68804 (struct La_sparc32_retval): Likewise.
68805 (struct La_sparc64_regs): Likewise.
68806 (struct La_sparc64_retval): Likewise.
68807 (struct audit_ifaces): Remove architecture-specific pltenter and
68808 pltexit members.
68809 * sysdeps/i386/ldsodefs.h: New file.
68810 * sysdeps/powerpc/ldsodefs.h: Likewise.
68811 * sysdeps/s390/ldsodefs.h: Likewise.
68812 * sysdeps/sh/ldsodefs.h: Likewise.
68813 * sysdeps/sparc/ldsodefs.h: Likewise.
68814 * sysdeps/x86_64/ldsodefs.h: Likewise.
68815
68816 2012-07-25 Marek Polacek <polacek@redhat.com>
68817
68818 [BZ #6808]
68819 * math/libm-test.inc (yn_test): Add another test.
68820 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
68821 to ERANGE when the result is +-Inf.
68822 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
68823 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
68824 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
68825 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
68826
68827 2012-07-24 Joseph Myers <joseph@codesourcery.com>
68828
68829 * conform/data/time.h-data (NULL): Use macro-constant. Require
68830 equal to 0.
68831 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
68832 clock_t.
68833 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
68834
68835 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
68836
68837 * configure.in <sysdeps resolving>: Correct printing
68838 Implies_before.
68839 * configure: Regenerate.
68840
68841 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
68842
68843 * math/w_ilogb.c: Include <limits.h>.
68844 * math/w_ilogbl.c: Likewise.
68845
68846 2012-07-20 Joseph Myers <joseph@codesourcery.com>
68847
68848 * manual/lang.texi (__va_copy): Document primarily as ISO C99
68849 va_copy. Document allowing for unavailable va_copy only as
68850 pre-C99 compatibility.
68851 * manual/string.texi (Copying and Concatenation): Use va_copy
68852 instead of __va_copy in concat example.
68853
68854 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
68855
68856 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
68857 (__sendto): Use create_address_port. Initialize APORT and deallocate
68858 it if not null.
68859
68860 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
68861 with O_NOLINK passed to __file_name_lookup.
68862
68863 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
68864 with O_NOLINK passed to __file_name_lookup.
68865
68866 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
68867 negative N or less than NGIDS.
68868
68869 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
68870 type to string_t. Set ERANGE as errno and return it if NAME is not big
68871 enough. Use memcpy instead of strncpy.
68872
68873 2012-07-20 Joseph Myers <joseph@codesourcery.com>
68874
68875 * elf/Makefile (check-data): Remove.
68876 (localplt.data): New vpath directive.
68877 ($(objpfx)check-localplt.out): Use localplt.data from vpath
68878 instead of $(check-data).
68879 * scripts/data/localplt-generic.data: Move to ...
68880 * sysdeps/generic/localplt.data: ... here.
68881 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68882 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68883 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68885 ... here.
68886 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68888 ... here.
68889 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68891 ... here.
68892 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68894 ... here.
68895 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68897 ... here.
68898 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68900 ... here.
68901
68902 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68903
68904 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68905 PPC32 and PPC64 files.
68906 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68907 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68908
68909 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68910
68911 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68912 __makecontext_ret to ...
68913 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68914 ... here and call exit if uc_link is NULL. New file.
68915 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68916 __makecontext_ret.S.
68917 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68918 __makecontext_ret to ...
68919 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68920 ... here and call exit if uc_link is NULL. New file.
68921 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68922 __makecontext_ret.S.
68923
68924 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68925
68926 * elf/elf.h (R_390_IRELATIVE): New definition.
68927 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68928 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
68929 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68930 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68931 (elf_machine_lazy_rel): Likewise.
68932 * sysdeps/s390/dl-irel.h: New file.
68933 * sysdeps/s390/s390-64/memcpy.S: New asm code.
68934 * sysdeps/s390/s390-64/memset.S: New asm code.
68935 * sysdeps/s390/s390-64/memcmp.S: New asm code.
68936 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68937 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68938 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68939 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68940 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68941 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68942 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68943 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68944 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68945 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68946 * sysdeps/s390/s390-32/memcpy.S: New asm code.
68947 * sysdeps/s390/s390-32/memset.S: New asm code.
68948 * sysdeps/s390/s390-32/memcmp.S: New asm code.
68949
68950 2012-07-17 Marek Polacek <polacek@redhat.com>
68951
68952 [BZ #14349]
68953 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68954 * sysdeps/s390/s390-64/configure.in: Likewise.
68955 * sysdeps/sparc/configure.in: Likewise.
68956 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68957 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68958 * sysdeps/i386/configure.in: Likewise.
68959 * sysdeps/x86_64/configure.in: Likewise.
68960 * sysdeps/sh/configure.in: Likewise.
68961 * sysdeps/s390/s390-32/configure: Regenerated.
68962 * sysdeps/s390/s390-64/configure: Likewise.
68963 * sysdeps/x86_64/configure: Likewise.
68964 * sysdeps/sh/configure: Likewise.
68965 * sysdeps/powerpc/powerpc64/configure: Likewise.
68966 * sysdeps/powerpc/powerpc32/configure: Likewise.
68967 * sysdeps/sparc/configure: Likewise.
68968 * sysdeps/i386/configure: Likewise.
68969
68970 * elf/dl-open.c: Comment fixes.
68971
68972 2012-07-17 Joseph Myers <joseph@codesourcery.com>
68973
68974 * Makefile [CXX] (check-data): Remove.
68975 [CXX] (c++-types.data): New vpath directive.
68976 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68977 vpath. Do not allow for C++ type data being missing.
68978 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68979 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68980 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68981 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68982 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68983 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68984 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68986 ... here.
68987 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68989 ... here.
68990 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68992 ... here.
68993 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68995 ... here.
68996 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68998 ... here.
68999 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
69000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
69001 ... here.
69002 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
69003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
69004 ... here.
69005 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
69006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
69007
69008 * elf/tls-macros.h (TLS_LE): Move architecture-specific
69009 definitions to architecture-specific files.
69010 (TLS_IE): Likewise.
69011 (TLS_LD): Likewise.
69012 (TLS_GD): Likewise.
69013 * sysdeps/i386/tls-macros.h: New file.
69014 * sysdeps/powerpc/tls-macros.h: Likewise.
69015 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
69016 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
69017 * sysdeps/sh/tls-macros.h: Likewise.
69018 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
69019 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
69020 * sysdeps/x86_64/tls-macros.h: Likewise.
69021
69022 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
69023
69024 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
69025 zero value for regular exit case.
69026
69027 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
69028 (__start_context): Preserve zero value for regular exit case.
69029
69030 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
69031 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69032
69033 * manual/setjmp.texi (setcontext): Clarify normal process
69034 termination when uc_link is the null pointer.
69035 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
69036 exit call.
69037
69038 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
69039
69040 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
69041 preprocessor. Test for each exception mask separately.
69042
69043 2012-07-16 Andreas Jaeger <aj@suse.de>
69044
69045 * po/ru.po: Update from translation team.
69046
69047 2012-07-15 Joseph Myers <joseph@codesourcery.com>
69048
69049 * conform/data/string.h-data (NULL): Use macro-constant. Require
69050 equal to 0.
69051 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
69052 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
69053 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
69054 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
69055 [ISO || ISO99 || ISO11] (*_t): Do not allow.
69056
69057 2012-07-13 Andreas Jaeger <aj@suse.de>
69058
69059 * po/fr.po: Update from translation team.
69060
69061 2012-07-12 Marek Polacek <polacek@redhat.com>
69062
69063 [BZ #14173]
69064 * math/libm-test.inc (yn_test): Add test for BZ #14173.
69065 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
69066 loop condition.
69067
69068 2012-07-12 Joseph Myers <joseph@codesourcery.com>
69069
69070 [BZ #13717]
69071 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69072 Change to 2.4.1 where previously 2.4.0.
69073 * sysdeps/unix/sysv/linux/configure: Regenerated.
69074 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
69075 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
69076 version.
69077 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
69078 (__ASSUME_AT_CLKTCK): Remove.
69079 (__ASSUME_AT_PAGESIZE): Likewise.
69080 (__ASSUME_AT_XID): Likewise.
69081 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
69082 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
69083 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
69084 unconditionally.
69085 (HAVE_AUX_PAGESIZE): Likewise.
69086 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
69087 [__ASSUME_AT_CLKTCK]: Make code unconditional.
69088 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
69089
69090 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
69091
69092 [BZ #14307]
69093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
69094 the temporary buffer used to invoke __gethostbyname2_r,
69095 __gethostbyaddr_r and gethostbyname4_r to make room for struct
69096 host_data / struct gaih_addrtuple.
69097 * resolv/nss_dns/dns-host.c (global scope): Move definition of
69098 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
69099 header file nss/nsswitch.h.
69100 * nss/nsswitch.h (global scope): Add definition of implementation
69101 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
69102 resolv/nss_dns/dns-host.c).
69103
69104 2012-07-11 Andreas Jaeger <aj@suse.de>
69105
69106 * po/fr.po: Update from translation team.
69107
69108 * po/sv.po: Update from translation team
69109 * po/fr.po: Another update from translation team.
69110
69111 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69112
69113 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
69114 for subnormals or multiply small sinh result by itself.
69115 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69117
69118 2012-07-11 David S. Miller <davem@davemloft.net>
69119
69120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69121
69122 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
69123
69124 [BZ #14347]
69125 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
69126 (INTERNAL_MARK): Shift it here.
69127
69128 2012-07-10 Marek Polacek <polacek@redhat.com>
69129
69130 [BZ #14151]
69131 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
69132 libc_cv_asm_global_directive with .globl.
69133 * configure: Regenerated.
69134 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
69135 with .globl.
69136 * sysdeps/i386/configure: Regenerated.
69137 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
69138 with .globl.
69139 * sysdeps/x86_64/configure: Regenerated.
69140 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
69141 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
69142 * elf/tst-unique2mod2.c: Likewise.
69143 * elf/tst-unique2mod1.c: Likewise.
69144 * elf/tst-unique1mod2.c: Likewise.
69145 * elf/tst-unique1mod1.c: Likewise.
69146 * sysdeps/s390/s390-32/sysdep.h: Likewise.
69147 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
69148 * sysdeps/s390/s390-64/sysdep.h: Likewise.
69149 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
69150 * sysdeps/mach/sysdep.h: Likewise.
69151 * sysdeps/i386/sysdep.h: Likewise.
69152 * sysdeps/i386/i386-mcount.S: Likewise.
69153 * sysdeps/x86_64/_mcount.S: Likewise.
69154 * sysdeps/x86_64/sysdep.h: Likewise.
69155 * sysdeps/sh/_mcount.S: Likewise.
69156 * sysdeps/sh/sysdep.h: Likewise.
69157 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
69158 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
69159 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
69160 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69161 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
69162 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
69163 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
69164 * locale/localeinfo.h: Likewise.
69165 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
69166 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
69167
69168 2012-07-09 Roland McGrath <roland@hack.frob.com>
69169
69170 [BZ #14336]
69171 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
69172 system".
69173 * manual/message.texi (The Uniforum approach): Likewise.
69174 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
69175 (glibc iconv Implementation): Likewise.
69176
69177 2012-07-09 Joseph Myers <joseph@codesourcery.com>
69178
69179 [BZ #14337]
69180 * math/s_clog.c (__clog): Avoid scaling a value down where that
69181 could result in underflow.
69182 * math/s_clog10.c (__clog10): Likewise.
69183 * math/s_clog10f.c (__clog10f): Likewise.
69184 * math/s_clog10l.c (__clog10l): Likewise.
69185 * math/s_clogf.c (__clogf): Likewise.
69186 * math/s_clogl.c (__clogl): Likewise.
69187 * math/libm-test.inc (clog_test): Add more tests.
69188 (clog10_test): Likewise.
69189 * sysdeps/i386/fpu/libm-test-ulps: Update.
69190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69191
69192 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
69193
69194 [BZ #14283]
69195 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
69196 by 7 not 8 to examine high bit of fractional part.
69197
69198 [BZ #14042]
69199 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
69200 for call to __mcount_internal.
69201 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
69202 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
69203 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
69204
69205 2012-07-06 Joseph Myers <joseph@codesourcery.com>
69206
69207 [BZ #14154]
69208 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
69209 approximation for values within 0x1p-13f of an odd multiple of
69210 pi/4.
69211 * math/libm-test.inc (tan_test): Do not allow spurious underflow
69212 exception. Add more tests.
69213 * sysdeps/i386/fpu/libm-test-ulps: Update.
69214
69215 [BZ #6778]
69216 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
69217 inputs and return -1 for them. Do not check for +Inf in case not
69218 reachable for +Inf.
69219 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
69220 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
69221 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69222 and return -1 for them. Do not check for +Inf in case not
69223 reachable for +Inf.
69224 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
69225 define.
69226 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69227 and return -1 for them. Do not check for +Inf in case not
69228 reachable for +Inf.
69229 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
69230 spurious underflow.
69231 * sysdeps/i386/fpu/libm-test-ulps: Update.
69232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69233
69234 2012-07-06 Mike Frysinger <vapier@gentoo.org>
69235
69236 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
69237
69238 2012-07-05 Joseph Myers <joseph@codesourcery.com>
69239
69240 [BZ #14157]
69241 [BZ #14331]
69242 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
69243 could result in spurious underflow. Scale down values above
69244 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
69245 * math/s_csqrtf.c (__csqrtf): Likewise.
69246 * math/s_csqrtl.c (__csqrtl): Likewise.
69247 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
69248 spurious underflow.
69249 * sysdeps/i386/fpu/libm-test-ulps: Update.
69250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69251
69252 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
69253
69254 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
69255 xopen-msg.sed.
69256 * catgets/xopen-msg.awk: New file.
69257 * catgets/xopen-msg.sed: Removed.
69258
69259 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
69260 po2text.sed.
69261 * intl/po2test.awk: New file.
69262 * intl/po2test.sed: Removed.
69263
69264 2012-07-04 Joseph Myers <joseph@codesourcery.com>
69265
69266 [BZ #14328]
69267 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
69268 or multiply small sinh result by itself.
69269 * math/s_ctanf.c (__ctanf): Likewise.
69270 * math/s_ctanh.c (__ctanh): Likewise.
69271 * math/s_ctanhf.c (__ctanhf): Likewise.
69272 * math/s_ctanhl.c (__ctanhl): Likewise.
69273 * math/s_ctanl.c (__ctanl): Likewise.
69274 * math/libm-test.inc (ctan_test_tonearest): New function.
69275 (ctan_test_towardzero): Likewise.
69276 (ctan_test_downward): Likewise.
69277 (ctan_test_upward): Likewise.
69278 (ctanh_test_tonearest): Likewise.
69279 (ctanh_test_towardzero): Likewise.
69280 (ctanh_test_downward): Likewise.
69281 (ctanh_test_upward): Likewise.
69282 (main): Call these new functions.
69283 * sysdeps/i386/fpu/libm-test-ulps: Update.
69284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69285
69286 2012-07-03 Mike Frysinger <vapier@gentoo.org>
69287
69288 * .gitignore: Delete /ports entry.
69289
69290 2012-07-03 Andreas Jaeger <aj@suse.de>
69291
69292 * po/bg.po: Update from translation team.
69293 * po/cs.po: Likewise.
69294 * po/de.po: Likewise.
69295 * po/hr.po: Likewise.
69296 * po/nl.pl: Likewise.
69297 * po/pl.po: Likewise.
69298 * po/vi.po: Likewise.
69299
69300 2012-07-03 Joseph Myers <joseph@codesourcery.com>
69301
69302 * Makeconfig [!+link] (+link-before-libc): New variable.
69303 [!+link] (+link-after-libc): Likewise.
69304 [!+link] (+link-tests): Likewise.
69305 [!+link] (+link): Define in terms of $(+link-before-libc) and
69306 $(+link-after-libc).
69307 [!+link-static] (+link-static-before-libc): New variable.
69308 [!+link-static] (+link-static-after-libc): Likewise.
69309 [!+link-static] (+link-static-tests): Likewise.
69310 [!+link-static] (+link-static): Define in terms of
69311 $(+link-static-before-libc) and $(+link-static-after-libc).
69312 [build-shared] (link-libc-before-gnulib): New variable.
69313 [build-shared] (link-libc-tests): Likewise.
69314 [build-shared] (link-libc): Define in terms of
69315 $(link-libc-before-gnulib).
69316 [!build-shared] (link-libc-tests): New variable.
69317 (link-libc-static-tests): New variable.
69318 [!gnulib] (gnulib-arch): New variable.
69319 [!gnulib] (gnulib-tests): Likewise.
69320 [!gnulib] (static-gnulib-arch): Likewise.
69321 [!gnulib] (static-gnulib-tests): Likewise.
69322 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
69323 Define with "=" instead of ":=".
69324 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
69325 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
69326 * Rules (binaries-all-notests): New variable.
69327 (binaries-all-tests): Likewise.
69328 (binaries-static-notests): Likewise.
69329 (binaries-static-tests): Likewise.
69330 (binaries-all): Define using $(binaries-all-notests) and
69331 $(binaries-all-tests).
69332 (binaries-static): Define using $(binaries-static-notests) and
69333 $(binaries-static-tests).
69334 (binaries-shared-tests): New variable.
69335 (binaries-shared-notests): Likewise.
69336 (binaries-shared): Remove variable.
69337 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
69338 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
69339 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
69340 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
69341 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
69342 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
69343 * elf/Makefile (sln-modules): New variable.
69344 (extra-objs): Add $(sln-modules:=.o).
69345 (ldconfig-modules): Add static-stubs.
69346 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
69347 * elf/static-stubs.c: New file.
69348
69349 [BZ #14283]
69350 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
69351 by 7 not 8 to examine high bit of fractional part. Use volatile
69352 variables when splitting into final array of floats if
69353 __FLT_EVAL_METHOD__ != 0.
69354 * math/libm-test.inc (cos_test): Add another test.
69355 (sin_test): Likewise.
69356 * sysdeps/i386/fpu/libm-test-ulps: Update.
69357
69358 [BZ #14273]
69359 * math/libm-test.inc (cosh_test): Add more tests.
69360
69361 * version.h (RELEASE): Set to "development".
69362 (VERSION): Set to "2.16.90".
69363
69364 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
69365
69366 * NEWS: Update copyright. Remove last-updated date.
69367 Mention math library bug fixes and timezone data changes.
69368 * README: Mention GNU/Hurd, x32, and HPPA support status.
69369
69370 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
69371
69372 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
69373
69374 2012-06-27 Andreas Jaeger <aj@suse.de>
69375
69376 * manual/contrib.texi (Contributors): Add Samuel Thibault.
69377
69378 2012-06-25 Andreas Jaeger <aj@suse.de>
69379
69380 * sysdeps/s390/fpu/libm-test-ulps: Update.
69381
69382 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
69383 Thomas Schwinge <thomas@codesourcery.com>
69384
69385 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
69386 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
69387 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
69388 fanotify_mark.
69389
69390 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
69391
69392 * sysdeps/mach/start.c: Remove file.
69393 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
69394 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
69395 * sysdeps/sh/init-first.c: Likewise.
69396
69397 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
69398 registers for frame unwinding purposes, add CFI directives.
69399 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69400 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
69401 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
69402 Likewise.
69403
69404 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
69405 __fortify_fail returning.
69406 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69407
69408 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
69409 sysdeps/sh/____longjmp_chk.S.
69410 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
69411 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
69412 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
69413 (gen-as-const-headers): Append sigaltstack-offsets.sym.
69414
69415 * sysdeps/sh/abort-instr.h: New file.
69416 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
69417 process in case exit returns.
69418
69419 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
69420 initialize the GOT register before use.
69421
69422 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
69423 calculation of ARGC > 4.
69424
69425 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
69426 meaningful names to some local labels.
69427
69428 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
69429 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69430
69431 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
69432 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
69433 (__arch_compare_and_exchange_val_16_acq): Likewise.
69434 (__arch_compare_and_exchange_val_32_acq): Likewise.
69435 (atomic_exchange_and_add): Fix gUSA sequence.
69436 (atomic_add): Likewise.
69437 (atomic_add_negative): Likewise.
69438 (atomic_add_zero): Likewise.
69439 (atomic_bit_test_set): Likewise.
69440
69441 2012-06-22 Andreas Schwab <schwab@redhat.com>
69442
69443 [BZ #13579]
69444 * include/link.h (struct link_map): Add l_free_initfini.
69445 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
69446 l_initfini.
69447 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
69448 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
69449 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
69450 set.
69451
69452 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
69453
69454 * configure.in: Use AC_LANG_SOURCE.
69455 * configure: Regenerate.
69456
69457 2012-06-22 Roland McGrath <roland@hack.frob.com>
69458
69459 * configure.in (libc_cv_localstatedir): New substituted variable.
69460 * configure: Regenerated.
69461 * config.make.in (localstatedir): New variable, substituted from
69462 libc_cv_localstatedir.
69463 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
69464 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
69465 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
69466 * sysdeps/gnu/configure: Regenerated.
69467
69468 2012-06-21 Jeff Law <law@redhat.com>
69469
69470 [BZ #14277]
69471 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
69472 free. Simplify list management for _LIBC case.
69473
69474 2012-06-21 Joseph Myers <joseph@codesourcery.com>
69475
69476 [BZ #14273]
69477 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
69478 Clear sign bit of 64-bit integer value before comparing against
69479 overflow value.
69480
69481 * sysdeps/mach/configure: Regenerated.
69482
69483 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
69484
69485 [BZ #14278]
69486 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
69487
69488 2012-06-21 Jeff Law <law@redhat.com>
69489
69490 [BZ #13882]
69491 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
69492 uint16_t for elements in the "seen" array to avoid char overflows.
69493 * elf/dl-fini.c (_dl_sort_fini): Likewise.
69494 * elf/dl-open.c (dl_open_worker): Likewise.
69495
69496 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
69497
69498 * scripts/list-sources.sh: Scan PORTS for translations.
69499 * po/libc.pot: Regenerated.
69500
69501 2012-06-21 Andreas Jaeger <aj@suse.de>
69502
69503 [BZ #12194]
69504 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
69505 warning.
69506 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
69507 * bits/byteswap-16.h (__bswap_16): Likewise.
69508 * bits/byteswap.h (__bswap_constant_16): Likewise.
69509
69510 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
69511
69512 [BZ #14117]
69513 * sysdeps/i386/fpu_control.h: Removed.
69514 * sysdeps/x86_64/fpu_control.h: Moved to ...
69515 * sysdeps/x86/fpu_control.h: Here.
69516
69517 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
69518 (_FPU_SETCW): Likewise.
69519
69520 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
69521
69522 [BZ #14117]
69523 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
69524 * sysdeps/x86/fpu/bits/mathinline.h: This.
69525 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
69526
69527 [BZ #14050]
69528 [BZ #14117]
69529 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
69530 functions if __x86_64__ is defined.
69531
69532 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
69533
69534 * string/endian.h: Add !__ASSEMBLER__ condition for including
69535 conversion interfaces.
69536
69537 2012-06-15 Joseph Myers <joseph@codesourcery.com>
69538
69539 [BZ #14241]
69540 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
69541 of ABS(x) in calculating zero to negative powers other than odd
69542 integers.
69543 * math/libm-test.inc (pow_test): Add more tests.
69544
69545 2012-06-15 Andreas Jaeger <aj@suse.de>
69546
69547 * manual/contrib.texi (Contributors): Update entry of Liubov
69548 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
69549 Machado Filho.
69550
69551 2012-06-15 Cyril Hrubis <metan@ucw.cz>
69552
69553 * string/string.h: Add __wur to GNU version of strerror_r.
69554
69555 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
69556
69557 [BZ #14229]
69558 * string/Makefile (tests): Add tst-strtok_r.
69559 * string/tst-strtok_r.c: New file.
69560 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
69561 RAX_LP/RDX_LP on SAVE_PTR.
69562
69563 2012-06-14 Roland McGrath <roland@hack.frob.com>
69564
69565 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
69566
69567 2012-06-14 Joseph Myers <joseph@codesourcery.com>
69568
69569 * libm_test.inc (csqrt_test): Allow more spurious underflow
69570 exceptions.
69571 (j0_test): Likewise.
69572 (j1_test): Likewise.
69573 (y0_test): Likewise.
69574 (y1_test): Likewise.
69575
69576 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
69577
69578 * po/Makefile (libc.pot): Use UTF-8 charset.
69579
69580 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
69581
69582 [BZ #14210]
69583 Suppress sign-conversion warning from FD_SET.
69584 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
69585 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
69586 not unsigned long int.
69587 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
69588
69589 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
69590
69591 [BZ #14050]
69592 [BZ #14117]
69593 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
69594 __extern_always_inline instead of __extern_inline.
69595 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
69596 (__signbit): Likewise.
69597 (__signbitl): Support C++ namespace.
69598 (lrintf): New inline function.
69599 (lrint): Likewise.
69600 (llrintf): Likewise.
69601 (llrint): Likewise.
69602 (fmaxf): Likewise.
69603 (fmax): Likewise.
69604 (fminf): Likewise.
69605 (fmin): Likewise.
69606 (rint): Likewise.
69607 (rintf): Likewise.
69608 (ceil): Likewise.
69609 (ceilf): Likewise.
69610 (floor): Likewise.
69611 (floorf): Likewise.
69612 (nearbyint): Likewise.
69613 (nearbyintf): Likewise.
69614
69615 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
69616
69617 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
69618 non-default versions.
69619
69620 2012-06-11 Roland McGrath <roland@hack.frob.com>
69621
69622 [BZ #14218]
69623 * manual/argp.texi (Argp): Reword argp_parse description slightly.
69624
69625 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
69626
69627 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
69628 (FE_UPWARD, FE_DOWNWARD): Don't define.
69629 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
69630 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69631
69632 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
69633 reading it.
69634 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69635 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69636
69637 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69638
69639 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69640 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
69641 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
69642 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
69643
69644 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
69645
69646 [BZ #14117]
69647 * sysdeps/i386/fpu/bits/fenv.h: Removed.
69648 * sysdeps/i386/fpu/Implies: New file.
69649 * sysdeps/x86_64/fpu/Implies: Likewise.
69650 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
69651 * sysdeps/x86/fpu/bits/fenv.h: This.
69652
69653 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
69654 __SSE_MATH__.
69655
69656 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
69657
69658 [BZ #14134]
69659 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
69660 character 0xffff that matches the last element of the
69661 conversion table.
69662
69663 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69664
69665 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
69666 fmodl commit.
69667
69668 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69669
69670 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
69671 values higher than 25.6283.
69672
69673 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69674
69675 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
69676 subnormal exponent extraction and add some __builtin_expect.
69677 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
69678 Fix for subnormal mantissa calculation.
69679
69680 2012-06-04 Mike Frysinger <vapier@gentoo.org>
69681
69682 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
69683 cpu2 is -1 and errno is not ENOSYS.
69684
69685 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
69686
69687 [BZ #14117]
69688 * sysdeps/i386/i486/bits/string.h: Renamed to ...
69689 * sysdeps/x86/bits/string.h: This.
69690 * sysdeps/x86_64/bits/string.h: Removed.
69691
69692 * sysdeps/i386/i486/bits/string.h: Define inline functions only
69693 if not compiling for x86-64, but compiling for >= i486.
69694
69695 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
69696 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
69697
69698 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
69699 New macro from Linux kernel 3.4.0.
69700 (FP_XSTATE_MAGIC2): Likewise.
69701 (FP_XSTATE_MAGIC2_SIZE): Likewise.
69702 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
69703 (struct _fpx_sw_bytes): New struct.
69704 (struct _xsave_hdr): Likewise.
69705 (struct _ymmh_state): Likewise.
69706 (struct _xstate): Likewise.
69707
69708 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
69709 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
69710 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
69711 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
69712 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
69713 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
69714
69715 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
69716 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
69717 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
69718 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
69719 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
69720 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
69721
69722 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69723
69724 [BZ #13743]
69725 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
69726 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
69727 (sysdep_headers): Include sys/platform/ppc.h.
69728 * sysdeps/powerpc/test-gettimebase.c: Test for
69729 __ppc_get_timebase() to catch future ISA opcode/insn changes.
69730 * manual/Makefile (appendices): Include platform.texi.
69731 * manual/contrib.texi (Contributors): Update @node pointers.
69732 * manual/maint.texi (Maintenance): Likewise.
69733 (Platform): New node.
69734 * manual/platform.texi: New file. Document the new features.
69735
69736 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
69737 Jakub Jelinek <jakub@redhat.com>
69738
69739 [BZ #14188]
69740 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
69741 where __builtin_expect is unavailable.
69742
69743 2012-06-03 David S. Miller <davem@davemloft.net>
69744
69745 * stdlib/longlong.h: Updated from GCC.
69746
69747 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
69748
69749 [BZ #14042]
69750 * sysdeps/powerpc/powerpc32/mcount.c: New file.
69751 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
69752 __mcount_internal.
69753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69754 (GLIBC_2.16): Likewise.
69755
69756 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69757
69758 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
69759
69760 2012-06-01 Joseph Myers <joseph@codesourcery.com>
69761
69762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
69763 (default-abi): New variable.
69764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
69765 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
69766 variable.
69767 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
69768 Likewise.
69769 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
69770 Likewise.
69771 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
69772 Likewise.
69773
69774 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
69775 definition. Document in comment.
69776
69777 2012-06-01 David S. Miller <davem@davemloft.net>
69778
69779 * stdlib/longlong.h: Updated from GCC.
69780
69781 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69782
69783 [BZ #14117]
69784 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
69785 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
69786 sys/debugreg.h sys/io.h here.
69787 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
69788 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
69789 sys/io.h.
69790 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
69791 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
69792 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
69793 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
69794 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
69795 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
69796
69797 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
69798 Define only if __x86_64__ is defined.
69799
69800 2012-06-01 Joseph Myers <joseph@codesourcery.com>
69801
69802 [BZ #14048]
69803 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
69804 Use int64_t for variable i.
69805 * math/libm-test.inc (fmod_test): Add more tests.
69806
69807 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
69808 z computation is not scheduled after fetestexcept.
69809 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
69810 Use math_force_eval instead of asm to ensure calculation scheduled
69811 before exception test.
69812 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
69813 Ensure a1 + u.d computation is not scheduled after fetestexcept.
69814
69815 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
69816
69817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
69818 computation is not scheduled after fetestexcept.
69819
69820 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69821
69822 [BZ #14117]
69823 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
69824 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
69825
69826 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69827
69828 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
69829 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69830
69831 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
69832
69833 [BZ #14117]
69834 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
69835 <bits/wordsize.h>.
69836 (__WCHAR_MIN): Support __WORDSIZE == 64.
69837 (__WCHAR_MAX): Likewise.
69838
69839 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
69840 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
69841
69842 [BZ #14183]
69843 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
69844 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
69845
69846 [BZ #14117]
69847 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
69848 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
69849
69850 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
69851 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
69852
69853 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
69854 Defined to 1 if __x86_64__ isn't defined.
69855 (_STAT_VER_LINUX_OLD): New.
69856 (st_atime): Remove duplicate.
69857 (st_mtime): Likewise.
69858 (st_ctime): Likewise.
69859
69860 2012-05-31 David S. Miller <davem@davemloft.net>
69861
69862 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
69863 entries.
69864
69865 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
69866
69867 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
69868 gen-libm-test.pl.
69869
69870 [BZ #14132]
69871 * elf/dl-reloc.c: Include <_itoa.h>.
69872 (_dl_reloc_bad_type): Remove use of INTUSE.
69873 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
69874 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
69875 * stdio-common/psiginfo.c (psiginfo): Likewise.
69876 * stdio-common/psignal.c (psignal): Likewise.
69877 * string/strsignal.c (strsignal): Likewise.
69878 * include/signal.h (_sys_siglist): Declare hidden proto.
69879 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
69880 INTVARDEF with libc_hidden_data_def.
69881 * stdio-common/itoa-udigits.c: Likewise.
69882 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69883 (_itoa_lower_digits_internal): Remove declaration.
69884 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69885 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69886 (_sys_sigabbrev_internal): Remove aliases.
69887 (_sys_siglist): Define hidden alias.
69888
69889 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
69890
69891 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69892 bits/sysctl.h.
69893
69894 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
69895
69896 [BZ #14117]
69897 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69898 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69899
69900 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69901 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69902 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69903 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69904 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69905 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69906
69907 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69908 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69909 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69910
69911 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69912 with __addr.
69913 (insw): Likewise.
69914 (insl): Likewise.
69915 (outsb): Likewise.
69916 (outsw): Likewise.
69917 (outsl): Likewise.
69918
69919 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69920 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69921 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69922
69923 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69924 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69925 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69926 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69927 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69928 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69929
69930 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69931 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69932
69933 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69934 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69935
69936 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69937 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69938 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69939
69940 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69941 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69942 to ...
69943 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69944
69945 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69946 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69947 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69948
69949 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69950 for x86-64.
69951 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69952
69953 2012-05-31 Joseph Myers <joseph@codesourcery.com>
69954
69955 * math/math.h (M_El): Use two more decimal places.
69956 (M_LOG2El): Likewise.
69957 (M_LOG10El): Likewise.
69958 (M_LN2l): Likewise.
69959 (M_LN10l): Likewise.
69960 (M_PIl): Likewise.
69961 (M_PI_2l): Likewise.
69962 (M_PI_4l): Likewise.
69963 (M_1_PIl): Likewise.
69964 (M_2_PIl): Likewise.
69965 (M_2_SQRTPIl): Likewise.
69966 (M_SQRT2l): Likewise.
69967 (M_SQRT1_2l): Likewise.
69968
69969 2012-05-31 David S. Miller <davem@davemloft.net>
69970
69971 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69972 values between float registers.
69973 * sysdeps/sparc/sparc64/memset.S: Likewise.
69974 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69975
69976 2012-05-31 Mike Frysinger <vapier@gentoo.org>
69977
69978 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69979 -D_FORTIFY_SOURCE=1.
69980 (CPPFLAGS-tst-longjmp_chk.c): Define.
69981 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69982 (CPPFLAGS-tst-longjmp_chk2.c): Define.
69983 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69984 CFLAGS-tst-wchar-h.c.
69985
69986 2012-05-31 Marek Polacek <polacek@redhat.com>
69987
69988 [BZ #14132]
69989 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69990 __endmntent_internal): Remove declaration.
69991 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69992 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69993 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69994
69995 2012-05-30 David S. Miller <davem@davemloft.net>
69996
69997 * sysdeps/sparc/sparc32/soft-fp/q_util.c
69998 (___Q_simulate_exceptions): Use real FP ops rather than writing
69999 into the %fsr.
70000 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
70001 Likewise.
70002
70003 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
70004
70005 [BZ #14117]
70006 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
70007 * sysdeps/x86/bits/xtitypes.h: This.
70008
70009 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
70010 * sysdeps/x86/bits/wordsize.h: This.
70011
70012 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
70013 * sysdeps/x86/bits/huge_vall.h: This.
70014
70015 * sysdeps/i386/bits/select.h: Removed.
70016 * sysdeps/x86_64/bits/select.h: Renamed to ...
70017 * sysdeps/x86/bits/select.h: This.
70018
70019 * sysdeps/i386/bits/setjmp.h: Removed.
70020 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
70021 * sysdeps/x86/bits/setjmp.h: This.
70022
70023 * sysdeps/i386/bits/mathdef.h: Removed.
70024 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
70025 * sysdeps/x86/bits/mathdef.h: This.
70026
70027 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
70028
70029 [BZ #14132]
70030 * include/sys/socket.h (__connect_internal)
70031 (__libc_sa_len_internal): Remove declaration.
70032 (__connect, __libc_sa_len): Declare hidden_proto.
70033 (SA_LEN): Remove use of INTUSE.
70034 * socket/connect.c: Add libc_hidden_def.
70035 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
70036 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
70037 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
70038 alias.
70039 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
70040 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
70041 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
70042 of adding _internal alias.
70043
70044 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
70045
70046 [BZ #14117]
70047 * sysdeps/i386/bits/link.h: Removed.
70048 * sysdeps/i386/bits/linkmap.h: Likewise.
70049 * sysdeps/x86_64/bits/link.h: Renamed to ...
70050 * sysdeps/x86/bits/link.h: This.
70051 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
70052 * sysdeps/x86/bits/linkmap.h: This.
70053
70054 * sysdeps/i386/bits/endian.h: Removed.
70055 * sysdeps/x86_64/bits/endian.h: Renamed to ...
70056 * sysdeps/x86/bits/endian.h: This.
70057
70058 * sysdeps/i386/bits/byteswap.h: Removed.
70059 * sysdeps/i386/bits/byteswap-16.h: Likewise.
70060 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
70061 * sysdeps/x86/bits/byteswap.h: This.
70062 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
70063 * sysdeps/x86/bits/byteswap-16.h: This.
70064 * sysdeps/i386/Implies: Add x86.
70065 * sysdeps/x86_64/Implies: Likewise.
70066
70067 2012-05-30 David S. Miller <davem@davemloft.net>
70068
70069 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
70070 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
70071 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
70072 (FP_TRAPPING_EXCEPTIONS): Define.
70073 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
70074 (FP_TRAPPING_EXCEPTIONS): Define.
70075 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
70076 subnormals only when inexact has been signalled or underflow
70077 exceptions are enabled.
70078 (_FP_PACK_CANONICAL): Likewise.
70079
70080 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
70081
70082 [BZ #14183]
70083 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
70084 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
70085
70086 2012-05-30 Richard Henderson <rth@twiddle.net>
70087
70088 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
70089 with #ifndef NOT_IN_libc.
70090
70091 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
70092 marked to avoid plt entry.
70093
70094 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
70095
70096 [BZ #14112]
70097 * Makeconfig (default-abi): New macro.
70098 (abi-includes): Likewise.
70099 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
70100 $(abi-$(default-abi)-lib-soname) for soname if defined.
70101 ($(common-objpfx)gnu/lib-names.stmp): Generate from
70102 abi-variants.
70103 * Makefile (installed-stubs): Likewise.
70104 * include/stubs-biarch.h: Removed.
70105 * scripts/lib-names.awk: Only handle one library at a time.
70106 * scripts/soversions.awk: Remove WORDSIZE support.
70107 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
70108 entries.
70109 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
70110 Removed.
70111 (syscall-list-default-condition): Likewise.
70112 (syscall-list-default-condition): Likewise.
70113 (syscall-list-includes): Likewise.
70114 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
70115 syscall-list-* with abi-*. Handle undefined abi-variants.
70116 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
70117 * sysdeps/unix/sysv/linux/i386/Implies: New file.
70118 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
70119 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
70120 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
70121 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
70122 Removed.
70123 (syscall-list-32-options): Likewise.
70124 (syscall-list-32-condition): Likewise.
70125 (syscall-list-64-options): Likewise.
70126 (syscall-list-64-condition): Likewise.
70127 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
70128 macro.
70129 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
70130 Renamed to ...
70131 (abi-*): This.
70132 (abi-64-ld-soname): New macro.
70133 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
70134 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
70135 Renamed to ...
70136 (abi-*): This.
70137 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
70138 * sysdeps/x86_64/x32/shlib-versions: Likewise.
70139
70140 2012-05-30 Joseph Myers <joseph@codesourcery.com>
70141
70142 * sysdeps/unix/sysv/linux/kernel-features.h
70143 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
70144 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
70145 include <kernel-features.h>.
70146 [!__NR_ftruncate64]: Remove conditional code.
70147 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70148 [__NR_ftruncate64]: Make code unconditional.
70149 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70150 * sysdeps/unix/sysv/linux/truncate64.c: Do not
70151 include <kernel-features.h>.
70152 [!__NR_ftruncate64]: Remove conditional code.
70153 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70154 [__NR_ftruncate64]: Make code unconditional.
70155 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
70157 include <kernel-features.h>.
70158 [!__NR_ftruncate64]: Remove conditional code.
70159 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70160 [__NR_ftruncate64]: Make code unconditional.
70161 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
70163 include <kernel-features.h>.
70164 [!__NR_ftruncate64]: Remove conditional code.
70165 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70166 [__NR_ftruncate64]: Make code unconditional.
70167 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70168
70169 * configure.in (libc_cv_fpie): Weaken to a compile test using
70170 LIBC_TRY_CC_OPTION.
70171 * configure: Regenerated.
70172
70173 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70174
70175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
70176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
70177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
70178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70179 Refreshed.
70180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
70181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
70182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
70183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
70184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
70185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
70186 Refreshed.
70187
70188 2012-05-27 David S. Miller <davem@davemloft.net>
70189
70190 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
70191 (___Q_zero): New.
70192 (__Q_simulate_exceptions): Return void. Change to simulate
70193 exceptions by writing into the %fsr.
70194 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
70195 (__Qp_handle_exceptions): Likewise.
70196 (numbers): Delete.
70197 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
70198 __Qp_handle_exceptions.
70199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
70200 __Qp_handle_exceptions.
70201 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70202 as unused and give dummy FP_RND_NEAREST initializer.
70203 (FP_INHIBIT_RESULTS): Define.
70204 (___Q_simulate_exceptions): Update declaration.
70205 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
70206 formatting.
70207 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70208 as unused and give dummy FP_RND_NEAREST initializer.
70209 (__Qp_handle_exceptions): Update declaration.
70210 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
70211 formatting.
70212
70213 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
70214
70215 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
70216 the temporary FPU control word.
70217 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
70218 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
70219 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
70220 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
70221 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
70222 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
70223 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
70224 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
70225 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
70226 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
70227 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70228
70229 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
70230
70231 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
70232 fields.
70233
70234 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
70235
70236 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
70237 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
70238 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
70239 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
70240 Likewise.
70241 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
70242 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
70243 Likewise.
70244
70245 2012-05-27 Ulrich Drepper <drepper@gmail.com>
70246
70247 * po/h.po: Update from translation team.
70248
70249 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
70250
70251 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
70252
70253 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
70254 handling of denormals.
70255 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
70256 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
70257 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
70258 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
70259 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70260 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
70261 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
70262 Likewise.
70263
70264 2012-05-26 Marek Polacek <polacek@redhat.com>
70265
70266 [BZ #14152]
70267 * math/libm-test.inc (fma_test): Don't always expect underflow
70268 exception.
70269
70270 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70271
70272 [BZ #12416]
70273 * elf/tst-execstack.c: Include stackinfo.h.
70274 (do_test): Adjust test case to ensure that pthread_getattr_np
70275 behaviour remains the same after marking stack executable.
70276
70277 2012-05-25 Joseph Myers <joseph@codesourcery.com>
70278
70279 * sysdeps/unix/sysv/linux/kernel-features.h
70280 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
70281 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
70282 kernel-features.h.
70283 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70284 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70285 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
70286 kernel-features.h.
70287 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70288 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70289
70290 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
70291
70292 * configure.in: Define the default includes to being none.
70293 * configure: Regenerated.
70294
70295 2012-05-25 Roland McGrath <roland@hack.frob.com>
70296
70297 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
70298 * sysdeps/x86_64/setjmp.S: Likewise.
70299 * sysdeps/i386/bsd-setjmp.S: Likewise.
70300 * sysdeps/i386/bsd-_setjmp.S: Likewise.
70301 * sysdeps/i386/setjmp.S: Likewise.
70302 * sysdeps/i386/__longjmp.S: Likewise.
70303 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70304 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
70305
70306 * include/stap-probe.h: New file.
70307 * configure.in: Handle --enable-systemtap.
70308 * configure: Regenerated.
70309 * config.h.in (USE_STAP_PROBE): New #undef.
70310 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
70311 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
70312 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
70313
70314 2012-05-25 Joseph Myers <joseph@codesourcery.com>
70315
70316 [BZ #13717]
70317 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
70318 to 2.4.0 where earlier.
70319 * sysdeps/unix/sysv/linux/configure: Regenerated.
70320 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
70321 <kernel-features.h>.
70322 [__ASSUME_32BITUIDS]: Make code unconditional.
70323 [!__ASSUME_32BITUIDS]: Remove conditional code.
70324 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
70325 <kernel-features.h>.
70326 [__ASSUME_32BITUIDS]: Make code unconditional.
70327 [!__ASSUME_32BITUIDS]: Remove conditional code.
70328 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
70329 [__ASSUME_32BITUIDS]: Make code unconditional.
70330 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
70331 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/i386/msgctl.c: Do not include
70364 <kernel-features.h>.
70365 [__ASSUME_32BITUIDS]: Make code unconditional.
70366 [!__ASSUME_32BITUIDS]: Remove conditional code.
70367 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
70368 <kernel-features.h>.
70369 [__ASSUME_32BITUIDS]: Make code unconditional.
70370 [!__ASSUME_32BITUIDS]: Remove conditional code.
70371 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
70372 <kernel-features.h>.
70373 [__NR_setresgid] (__setresgid): Do not declare.
70374 [__ASSUME_32BITUIDS]: Make code unconditional.
70375 [!__ASSUME_32BITUIDS]: Remove conditional code.
70376 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
70377 <kernel-features.h>.
70378 [__NR_setresuid] (__setresuid): Do not declare.
70379 [__ASSUME_32BITUIDS]: Make code unconditional.
70380 [!__ASSUME_32BITUIDS]: Remove conditional code.
70381 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
70382 <kernel-features.h>.
70383 [__ASSUME_32BITUIDS]: Make code unconditional.
70384 [!__ASSUME_32BITUIDS]: Remove conditional code.
70385 * sysdeps/unix/sysv/linux/i386/setfsuid.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/i386/setgid.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/i386/setgroups.c: Do not include
70394 <kernel-features.h>.
70395 [__ASSUME_32BITUIDS]: Make code unconditional.
70396 [!__ASSUME_32BITUIDS]: Remove conditional code.
70397 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
70398 <kernel-features.h>.
70399 [__ASSUME_32BITUIDS]: Make code unconditional.
70400 [!__ASSUME_32BITUIDS]: Remove conditional code.
70401 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
70402 <kernel-features.h>.
70403 [__ASSUME_32BITUIDS]: Make code unconditional.
70404 [!__ASSUME_32BITUIDS]: Remove conditional code.
70405 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
70406 <kernel-features.h>.
70407 [__ASSUME_32BITUIDS]: Make code unconditional.
70408 [!__ASSUME_32BITUIDS]: Remove conditional code.
70409 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
70410 <kernel-features.h>.
70411 [__ASSUME_32BITUIDS]: Make code unconditional.
70412 [!__ASSUME_32BITUIDS]: Remove conditional code.
70413 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
70414 <kernel-features.h>.
70415 [__ASSUME_32BITUIDS]: Make code unconditional.
70416 [!__ASSUME_32BITUIDS]: Remove conditional code.
70417 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70418 <kernel-features.h>.
70419 [__ASSUME_32BITUIDS]: Make code unconditional.
70420 [!__ASSUME_32BITUIDS]: Remove conditional code.
70421 * sysdeps/unix/sysv/linux/kernel-features.h
70422 (__ASSUME_SETRESUID_SYSCALL): Remove.
70423 (__ASSUME_SETRESGID_SYSCALL): Likewise.
70424 (__ASSUME_32BITUIDS): Likewise.
70425 (__ASSUME_LDT_WORKS): Likewise.
70426 (__ASSUME_O_DIRECTORY): Likewise.
70427 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
70428 architecture but not kernel version.
70429 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
70430 (__ASSUME_MMAP2_SYSCALL): Likewise.
70431 (__ASSUME_STAT64_SYSCALL): Likewise.
70432 (__ASSUME_IPC64): Likewise.
70433 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
70434 <kernel-features.h>.
70435 [__ASSUME_32BITUIDS]: Make code unconditional.
70436 [!__ASSUME_32BITUIDS]: Remove conditional code.
70437 * sysdeps/unix/sysv/linux/opendir.c: Do not include
70438 <kernel-features.h>.
70439 [__ASSUME_O_DIRECTORY]: Make code unconditional.
70440 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
70441 132096]: Remove conditional code.
70442 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
70443 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70444 <kernel-features.h>.
70445 [__ASSUME_32BITUIDS]: Make code unconditional.
70446 [!__ASSUME_32BITUIDS]: Remove conditional code.
70447 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70448 <kernel-features.h>.
70449 [__ASSUME_32BITUIDS]: Make code unconditional.
70450 [!__ASSUME_32BITUIDS]: Remove conditional code.
70451 * sysdeps/unix/sysv/linux/setegid.c: Do not include
70452 <kernel-features.h>.
70453 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
70454 unconditional.
70455 (__setresgid): Do not declare.
70456 [__ASSUME_32BITUIDS]: Make code unconditional.
70457 [!__ASSUME_32BITUIDS]: Remove conditional code.
70458 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
70459 <kernel-features.h>.
70460 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
70461 unconditional.
70462 (__setresuid): Do not declare.
70463 [__ASSUME_32BITUIDS]: Make code unconditional.
70464 [!__ASSUME_32BITUIDS]: Remove conditional code.
70465 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70466 <kernel-features.h>.
70467 [__ASSUME_32BITUIDS]: Make code unconditional.
70468 [!__ASSUME_32BITUIDS]: Remove conditional code.
70469 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
70470 <kernel-features.h>.
70471 [__ASSUME_32BITUIDS]: Make code unconditional.
70472 [!__ASSUME_32BITUIDS]: Remove conditional code.
70473
70474 2012-05-25 Richard Henderson <rth@twiddle.net>
70475
70476 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
70477 dl_hwcap to ifunc resolver.
70478 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
70479 elf_ifunc_invoke.
70480 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
70481 dl_hwcap to ifunc resolver.
70482 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
70483
70484 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70485
70486 [BZ #14153]
70487 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
70488 for |x| <= 2**-26, not 2**-57.
70489 * math/libm-test.inc (acos_test): Do not allow spurious underflow
70490 exception.
70491
70492 2012-05-24 Jeff Law <law@redhat.com>
70493
70494 * stdio-common/Makefile (tests): Add bug25.
70495 * stdio-common/bug25.c: New test.
70496
70497 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
70498
70499 [BZ #13576]
70500 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
70501 multiple of MALLOC_ALIGNMENT in size.
70502 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
70503
70504 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70505
70506 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
70507 Require >= 256.
70508 (FILENAME_MAX): Use macro-int-constant.
70509 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
70510 (_IOFBF): Use macro-int-constant.
70511 (_IOLBF): Likewise.
70512 (_IONBF): Likewise.
70513 (SEEK_CUR): Likewise.
70514 (SEEK_END): Likewise.
70515 (SEEK_SET): Likewise.
70516 (TMP_MAX): Likewise.
70517 (EOF): Use macro-int-constant. Require < 0.
70518 (NULL): Use macro-constant. Require == 0.
70519 (stdin): Require type to be FILE *.
70520 (stdout): Likewise.
70521 (stderr): Likewise.
70522 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
70523 macro-int-constant.
70524 (EXIT_SUCCESS): Likewise.
70525 (NULL): Use macro-constant. Require == 0.
70526 (RAND_MAX): Use macro-int-constant.
70527 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
70528 [C99-based standards] (strtof): Require function.
70529 [C99-based standards] (strtold): Likewise.
70530 [C99-based standards] (strtoll): Likewise.
70531 [C99-based standards] (strtoull): Likewise.
70532 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70533 [ISO || ISO99 || ISO11] (limits.h): Likewise.
70534 [ISO || ISO99 || ISO11] (math.h): Likewise.
70535 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
70536 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70537 [ISO || ISO99 || ISO11] (*_t): Do not allow.
70538
70539 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
70540
70541 [BZ #14132]
70542 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
70543 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
70544 * intl/dgettext.c (DCGETTEXT): Likewise.
70545 * intl/gettext.c (DCGETTEXT): Likewise.
70546 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
70547 * posix/regex_internal.h (gettext): Likewise.
70548 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
70549 Remove declaration.
70550 * include/argz.h (__argz_count_internal)
70551 (__argz_stringify_internal): Remove declaration.
70552 (__argz_count, __argz_stringify): Declare hidden proto.
70553 * intl/dcgettext.c: Remove use of INTDEF.
70554 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
70555 * string/argz-stringify.c: Likewise.
70556 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70557 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70558 Declare hidden proto.
70559 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70560 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70561 Declare hidden proto.
70562 * include/stdio.h (__asprintf_internal): Don't declare.
70563 (__asprintf): Don't define as macro. Declare hidden proto.
70564 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
70565 (__fsetlocking): Declare hidden proto.
70566 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
70567 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
70568 hidden proto.
70569 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
70570 (_IO_setlinebuf): Remove use of INTUSE.
70571 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
70572 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
70573 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
70574 Remove declaration.
70575 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
70576 (_IO_do_flush): Remove use of INTUSE.
70577 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
70578 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
70579 (_IO_adjust_column, _IO_least_wmarker)
70580 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
70581 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
70582 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
70583 (_IO_default_doallocate, _IO_wdefault_doallocate)
70584 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
70585 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
70586 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
70587 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
70588 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
70589 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
70590 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
70591 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
70592 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
70593 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
70594 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
70595 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
70596 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
70597 proto.
70598 (_IO_flush_all_internal, _IO_adjust_column_internal)
70599 (_IO_default_uflow_internal, _IO_default_finish_internal)
70600 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
70601 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
70602 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
70603 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
70604 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
70605 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
70606 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
70607 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
70608 (_IO_file_close_internal, _IO_file_close_it_internal)
70609 (_IO_file_underflow_internal, _IO_file_overflow_internal)
70610 (_IO_file_init_internal, _IO_file_attach_internal)
70611 (_IO_file_fopen_internal, _IO_file_read_internal)
70612 (_IO_file_sync_internal, _IO_file_seek_internal)
70613 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
70614 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
70615 (_IO_str_underflow_internal, _IO_str_overflow_internal)
70616 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
70617 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
70618 (_IO_list_all_internal, _IO_link_in_internal)
70619 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
70620 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
70621 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
70622 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
70623 (_IO_do_write_internal, _IO_padn_internal)
70624 (_IO_getline_info_internal, _IO_getline_internal)
70625 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
70626 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
70627 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
70628 (_IO_vfscanf_internal, _IO_vfprintf_internal)
70629 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
70630 (_IO_init_internal, _IO_un_link_internal): Don't declare.
70631 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
70632 with libc_hidden_ver, remove use of INTUSE.
70633 * libio/genops.c: Likewise.
70634 * libio/freopen.c: Likewise.
70635 * libio/freopen64.c: Likewise.
70636 * libio/iofclose.c: Likewise.
70637 * libio/iofdopen.c: Likewise.
70638 * libio/iofflush.c: Likewise.
70639 * libio/iofflush_u.c: Likewise.
70640 * libio/iofgets.c: Likewise.
70641 * libio/iofgets_u.c: Likewise.
70642 * libio/iofopen.c: Likewise.
70643 * libio/iofopncook.c: Likewise.
70644 * libio/iofread.c: Likewise.
70645 * libio/iofread_u.c: Likewise.
70646 * libio/ioftell.c: Likewise.
70647 * libio/iofwrite.c: Likewise.
70648 * libio/iogetline.c: Likewise.
70649 * libio/iogets.c: Likewise.
70650 * libio/iogetwline.c: Likewise.
70651 * libio/iopadn.c: Likewise.
70652 * libio/iopopen.c: Likewise.
70653 * libio/ioseekoff.c: Likewise.
70654 * libio/ioseekpos.c: Likewise.
70655 * libio/iosetbuffer.c: Likewise.
70656 * libio/iosetvbuf.c: Likewise.
70657 * libio/ioungetc.c: Likewise.
70658 * libio/ioungetwc.c: Likewise.
70659 * libio/iovdprintf.c: Likewise.
70660 * libio/iovsprintf.c: Likewise.
70661 * libio/iovsscanf.c: Likewise.
70662 * libio/memstream.c: Likewise.
70663 * libio/obprintf.c: Likewise.
70664 * libio/oldfileops.c: Likewise.
70665 * libio/oldiofclose.c: Likewise.
70666 * libio/oldiofdopen.c: Likewise.
70667 * libio/oldiofopen.c: Likewise.
70668 * libio/oldiopopen.c: Likewise.
70669 * libio/oldstdfiles.c: Likewise.
70670 * libio/putc.c: Likewise.
70671 * libio/setbuf.c: Likewise.
70672 * libio/setlinebuf.c: Likewise.
70673 * libio/stdfiles.c: Likewise.
70674 * libio/strops.c: Likewise.
70675 * libio/vasprintf.c: Likewise.
70676 * libio/vscanf.c: Likewise.
70677 * libio/vsnprintf.c: Likewise.
70678 * libio/vswprintf.c: Likewise.
70679 * libio/wfiledoalloc.c: Likewise.
70680 * libio/wfileops.c: Likewise.
70681 * libio/wgenops.c: Likewise.
70682 * libio/wmemstream.c: Likewise.
70683 * libio/wstrops.c: Likewise.
70684 * libio/__fpurge.c: Likewise.
70685 * libio/__fsetlocking.c: Likewise.
70686 * assert/assert.c: Likewise.
70687 * debug/fgets_chk.c: Likewise.
70688 * debug/fgets_u_chk.c: Likewise.
70689 * debug/fread_chk.c: Likewise.
70690 * debug/fread_u_chk.c: Likewise.
70691 * debug/gets_chk.c: Likewise.
70692 * debug/obprintf_chk.c: Likewise.
70693 * debug/vasprintf_chk.c: Likewise.
70694 * debug/vdprintf_chk.c: Likewise.
70695 * debug/vsnprintf_chk.c: Likewise.
70696 * debug/vsprintf_chk.c: Likewise.
70697 * malloc/mtrace.c: Likewise.
70698 * misc/error.c: Likewise.
70699 * misc/syslog.c: Likewise.
70700 * stdio-common/asprintf.c: Likewise.
70701 * stdio-common/fxprintf.c: Likewise.
70702 * stdio-common/getw.c: Likewise.
70703 * stdio-common/isoc99_fscanf.c: Likewise.
70704 * stdio-common/isoc99_scanf.c: Likewise.
70705 * stdio-common/isoc99_vfscanf.c: Likewise.
70706 * stdio-common/isoc99_vscanf.c: Likewise.
70707 * stdio-common/isoc99_vsscanf.c: Likewise.
70708 * stdio-common/printf-prs.c: Likewise.
70709 * stdio-common/printf_fp.c: Likewise.
70710 * stdio-common/printf_fphex.c: Likewise.
70711 * stdio-common/printf_size.c: Likewise.
70712 * stdio-common/putw.c: Likewise.
70713 * stdio-common/scanf.c: Likewise.
70714 * stdio-common/sprintf.c: Likewise.
70715 * stdio-common/tmpfile.c: Likewise.
70716 * stdio-common/vfprintf.c: Likewise.
70717 * stdio-common/vfscanf.c: Likewise.
70718 * stdlib/strfmon_l.c: Likewise.
70719 * sunrpc/openchild.c: Likewise.
70720 * sunrpc/xdr_stdio.c: Likewise.
70721 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
70722 * sysdeps/mach/hurd/tmpfile.c: Likewise.
70723
70724 2012-05-24 Roland McGrath <roland@hack.frob.com>
70725
70726 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70727
70728 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
70729 in the third column, to generate for the shared library an IFUNC
70730 that uses _dl_vdso_vsym.
70731 * Makerules (COMPILE.c, compile-stdin.c): New variables.
70732 * Makeconfig (object-suffixes-noshared): New variable.
70733
70734 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
70735 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
70736 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
70737 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
70738
70739 [BZ #14132]
70740 * include/sys/time.h (__gettimeofday): Remove macro.
70741 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
70742 * time/gettimeofday.c (__gettimeofday): Remove #undef.
70743 Remove INTDEF.
70744 (__gettimeofday): Add libc_hidden_def.
70745 (gettimeofday): Add libc_hidden_weak.
70746 * sysdeps/mach/gettimeofday.c: Likewise.
70747 * sysdeps/posix/gettimeofday.c: Likewise.
70748 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
70749 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
70750 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
70751 (__gettimeofday_internal): Remove strong_alias.
70752 (__gettimeofday): Add libc_hidden_def.
70753 (gettimeofday): Add libc_hidden_weak.
70754 * sysdeps/unix/syscalls.list (gettimeofday):
70755 Remove __gettimeofday_internal alias.
70756
70757 2012-05-24 Daniel Jacobowitz <drow@false.org>
70758 H.J. Lu <hongjiu.lu@intel.com>
70759
70760 [BZ #12495]
70761 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
70762 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
70763 (largebin_index_32_big): New.
70764 (largebin_index): Use it for 16-byte alignment.
70765 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
70766 correction with front_misalign.
70767
70768 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
70769
70770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
70771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
70772 Likewise.
70773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
70774 Likewise.
70775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70776 Likewise.
70777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
70778 Likewise.
70779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
70780 Likewise.
70781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
70782 Likewise.
70783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
70784 Likewise.
70785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
70786 Likewise.
70787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
70788 Likewise.
70789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
70790 Likewise.
70791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
70792 Likewise.
70793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
70794 Likewise.
70795
70796 * scripts/data/c++-types-x32-linux-gnu.data: New file.
70797 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
70798
70799 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70800
70801 [BZ #10846]
70802 [BZ #14036]
70803 * math/libm-test.inc (exp_test): Add test from bug 14036.
70804 (pow_test): Add test from bug 10846.
70805
70806 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
70807 and other flags.
70808 (special_function): Do not include flags in test name.
70809 (parse_args): Likewise.
70810 * sysdeps/i386/fpu/libm-test-ulps: Update.
70811 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70812 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
70813 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
70814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70815
70816 * math/gen-libm-test.pl (%beautify): Add entries for underflow
70817 exceptions.
70818 * math/libm-test.inc ("Philosophy"): Update comment about
70819 exception testing.
70820 (UNDERFLOW_EXCEPTION): New macro.
70821 (UNDERFLOW_EXCEPTION_OK): Likewise.
70822 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
70823 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
70824 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
70825 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
70826 (INVALID_EXCEPTION_OK): Update value.
70827 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70828 (OVERFLOW_EXCEPTION_OK): Likewise.
70829 (IGNORE_ZERO_INF_SIGN): Likewise.
70830 (test_exceptions): Handle underflow exceptions.
70831 (acos_test): Update for underflow exception expectations.
70832 (cexp_test): Likewise.
70833 (clog_test): Likewise.
70834 (clog10_test): Likewise.
70835 (csqrt_test): Likewise.
70836 (ctan_test): Likewise.
70837 (ctanh_test): Likewise.
70838 (exp_test): Likewise.
70839 (exp10_test): Likewise.
70840 (exp2_test): Likewise.
70841 (expm1_test): Likewise.
70842 (fma_test): Likewise.
70843 (j0_test): Likewise.
70844 (jn_test): Likewise.
70845 (nexttoward_test): Likewise.
70846 (pow_test): Likewise.
70847 (scalbn_test): Likewise.
70848 (scalbln_test): Likewise.
70849 (tan_test): Likewise.
70850 (y1_test): Likewise.
70851 * sysdeps/i386/fpu/libm-test-ulps: Update.
70852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70853
70854 2012-05-23 David S. Miller <davem@davemloft.net>
70855
70856 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70857 (__libc_sigaction): Remove unused local variables.
70858
70859 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70860
70861 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
70862
70863 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
70864
70865 mktime: avoid signed integer overflow
70866 * time/mktime.c (__mktime_internal): Do not mishandle the case
70867 where diff == INT_MIN.
70868
70869 mktime: simplify computation of average
70870 * time/mktime.c (ranged_convert): Use new time_t_avg function
70871 instead of rolling our own (probably-slower) code.
70872
70873 mktime: do not assume signed right shift propagates sign bit
70874 * time/mktime.c (isdst_differ): New static function.
70875 (__mktime_internal): No need to normalize tm_isdst now.
70876 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
70877 tm_isdst values.
70878
70879 mktime: merge another wrapv change from gnulib
70880 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70881 from some compilers.
70882
70883 mktime: remove incorrect attempt at unusual arithmetics
70884 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70885 The code didn't really work on such machines anyway.
70886 (TYPE_MINIMUM): Assume two's complement.
70887 (twos_complement_arithmetic): Verify that long_int and time_t
70888 are two's complement (or unsigned, in the latter case).
70889
70890 mktime: check signed shifts on long_int and time_t, too
70891 * time/mktime.c (SHR): Check that shifts work as desired
70892 on the types long_int and time_t too, as SHR is used on
70893 such types.
70894
70895 mktime: do not assume 'long' is wide enough
70896 * time/mktime.c (verify): Move decl up.
70897 (long_int): New type.
70898 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70899 to remove assumption in the code that 'long' is wide enough to
70900 store year values. This assumption is not true on x32 and on
70901 some non-glibc platforms.
70902
70903 mktime: merge wrapv change from gnulib
70904 * time/mktime.c (WRAPV): New macro.
70905 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70906 (guess_time_tm, __mktime_internal): Do not assume that signed
70907 integer overflow wraps around; modern compilers generate code
70908 where this assumption is no longer valid.
70909
70910 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70911
70912 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70913 Replace "jmp L(pseudo_end)" with "ret".
70914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70915 Likewise.
70916
70917 2012-05-23 Andreas Jaeger <aj@suse.de>
70918
70919 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70920 * sysdeps/unix/sysv/linux/poll.c: Remove file.
70921
70922 2012-05-23 Andreas Jaeger <aj@suse.de>
70923 Maximilian Attems <max@stro.at>
70924
70925 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70926 New macros.
70927
70928 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70929
70930 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70931 code so that pseudo_end is just ret and the stack pointer is
70932 correct also for static library in error case.
70933
70934 2012-05-23 Joseph Myers <joseph@codesourcery.com>
70935
70936 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70937 move to syscalls.list.
70938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70942
70943 * manual/install.texi (Running make install): Do not mention Linux
70944 kernel version for which pt_chown is not needed.
70945 (Linux): Do not mention problems with nscd with 2.0 kernels.
70946 * INSTALL: Regenerated.
70947
70948 2012-05-23 Andreas Jaeger <aj@suse.de>
70949
70950 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70951 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70952 macro.
70953 * sysdeps/unix/sysv/linux/s390/bits/mman.h
70954 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70955 * sysdeps/unix/sysv/linux/sh/bits/mman.h
70956 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70957 * sysdeps/unix/sysv/linux/i386/bits/mman.h
70958 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70959 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70960 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70961 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70962 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70963 * sysdeps/unix/sysv/linux/bits/in.h
70964 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70965
70966 2012-05-22 Roland McGrath <roland@hack.frob.com>
70967
70968 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70969 (PREPARE_VERSION): Just use assert instead, it will be elided
70970 under [NDEBUG] anyway.
70971
70972 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70973
70974 * sysdeps/unix/sysv/linux/Makefile: Include
70975 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70976 (sysdep_routines): Remove sysctl.
70977 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70978 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70979 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70980 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70981 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70982
70983 2012-05-22 Andreas Jaeger <aj@suse.de>
70984
70985 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70986 that pseudo_end is just ret and the stack pointer is correct also
70987 for static library in error case.
70988
70989 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
70990
70991 [BZ #14122]
70992 * nss/nsswitch.c (defconfig_entries): New variable.
70993 (__nss_database_lookup): Don't leak defconfig entries.
70994 (nss_parse_service_list): Don't leak on error paths.
70995 (free_database_entries): New function.
70996 (free_defconfig): New function.
70997 (free_mem): Move common code to free_database_entries.
70998
70999 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
71000
71001 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
71002 Add arch_prctl.
71003 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
71004
71005 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
71006 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
71007 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
71008 New macro.
71009 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
71010 (INTERNAL_SYSCALL_TYPES): Likewise.
71011 (LOAD_ARGS_TYPES_[1-6]): Likewise.
71012 (LOAD_REGS_TYPES_[1-6]): Likewise.
71013 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
71014 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
71015
71016 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71017
71018 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
71019 copysignl for GLIBC_2_0.
71020 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
71021 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
71022 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
71023 logbl for GLIBC_2_0.
71024 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
71025 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
71026
71027 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
71028
71029 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
71030 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
71031
71032 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
71033 Use "neg %eax".
71034
71035 * time/mktime.c: Update copyright years.
71036
71037 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
71038
71039 mktime: merge comment-quoting-style change from gnulib
71040 * time/mktime.c: Quote 'like this' in comments.
71041 The GNU coding standards suggest that we no longer quote `like this',
71042 as "`" and "'" are typically rendered asymmetrically nowadays.
71043 The typical gnulib style is to quote 'like this' when quoting
71044 code, and "like this" when quoting English.
71045
71046 * time/mktime.c (compile-command): Add "-I.".
71047
71048 mktime: merge mktime-internal.h change from gnulib
71049 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
71050
71051 mktime: merge time_r change from gnulib
71052 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
71053
71054 mktime: merge DEBUG change from gnulib
71055 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
71056 case system <time.h> has a #define.
71057
71058 mktime: merge <sys/types.h> change from gnulib
71059 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
71060 since <time.t> is now guaranteed to define time_t.
71061
71062 mktime: merge HAVE_CONFIG_H change from gnulib
71063 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
71064
71065 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
71066
71067 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
71068 Use "neg %eax".
71069
71070 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
71071 __rlim_t cast.
71072 (struct rusage): Use anonymous union to pad each field to
71073 __syscall_slong_t.
71074
71075 2012-05-21 David S. Miller <davem@davemloft.net>
71076
71077 * Makefules (o-iterator): Remove .s cases.
71078 (compile-command.s): Delete.
71079 (COMPILE.s): Delete.
71080 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
71081
71082 2012-05-21 Joseph Myers <joseph@codesourcery.com>
71083
71084 * configure.in (libc_cv_predef_stack_protector): Only consider
71085 "foobar" and "__stack_chk_fail" lines in libc_undefs.
71086 * configure: Regenerated.
71087
71088 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
71089
71090 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
71091 New macro. Use R*LP on int and pointer.
71092 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
71093 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
71094 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
71095 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
71096
71097 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
71098 [__WORDSIZE_TIME64_COMPAT32] instead of
71099 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
71100 (struct utmp): Likewise.
71101 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
71102 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
71103 Renamed to ...
71104 (__WORDSIZE_TIME64_COMPAT32): This.
71105 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
71106 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
71107 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
71108 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
71109 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
71110 (__WORDSIZE_TIME64_COMPAT32): New macro.
71111
71112 2012-05-21 Andreas Jaeger <aj@suse.de>
71113
71114 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
71115 only if [SHARED]. Add prototype for __wcschr_ia32.
71116
71117 2012-05-21 Roland McGrath <roland@hack.frob.com>
71118
71119 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
71120 of %rbp unmolested in the jmp_buf while mangling the low bits.
71121 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
71122 unmolested high bits of %rbp while demangling the low bits.
71123 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
71124
71125 2012-05-21 Andreas Jaeger <aj@suse.de>
71126
71127 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
71128 * sunrpc/svc_simple.c: Use it for registerrpc.
71129 * sunrpc/xcrypt.c: Use it for passwd2des.
71130
71131 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
71132
71133 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
71134
71135 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
71136 Don't define if [__SYSCALL_WORDSIZE != 32].
71137 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
71138 New macro.
71139
71140 2012-05-21 Bruno Haible <bruno@clisp.org>
71141 Andreas Jaeger <aj@suse.de>
71142
71143 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
71144 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
71145 inptr and inend for must_buffer_ch.
71146 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
71147 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
71148 * stdio-common/Makefile (tests): Remove bug15.
71149 (bug15-ENV): Remove macro.
71150 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
71151 anymore.
71152
71153 2012-05-19 Andreas Jaeger <aj@suse.de>
71154 Roland McGrath <roland@hack.frob.com>
71155
71156 * manual/contrib.texi: Completely rewritten. It contains now an
71157 alphabetical list of contributors and their contributions.
71158
71159 2012-05-21 Richard Henderson <rth@twiddle.net>
71160
71161 * misc/getauxval.c (__getauxval): Use unsigned long int.
71162 * misc/sys/auxv.h: Include <sys/cdefs.h>.
71163 (getauxval): Use unsigned long int.
71164
71165 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
71166
71167 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
71168
71169 2012-05-21 Roland McGrath <roland@hack.frob.com>
71170
71171 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
71172 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
71173 __alignof__ (long double).
71174
71175 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71176
71177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71178
71179 2012-05-20 Richard Henderson <rth@twiddle.net>
71180
71181 * misc/getauxval.c: New file.
71182 * misc/sys/auxv.h: New file.
71183 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
71184 (routines): Add getauxval.
71185 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
71186 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
71187 * elf/dl-sysdep.c (_dl_auxv): Remove.
71188 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
71189 * elf/dl-support.c (_dl_auxv): New variable.
71190 (_dl_aux_init): Initialize it.
71191 * manual/startup.texi (Auxiliary Vector): New node.
71192 * sysdeps/generic/bits/hwcap.h: New file.
71193 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
71194 * sysdeps/powerpc/sysdep.h: ... here. Include it.
71195 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
71196 * sysdeps/sparc/sysdep.h: ... here. Include it.
71197 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
71198 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
71199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71200 Update.
71201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
71202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
71203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
71204 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
71205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
71208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
71209
71210 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71211
71212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71213
71214 2012-05-19 David S. Miller <davem@davemloft.net>
71215
71216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71217
71218 2012-05-19 Joseph Myers <joseph@codesourcery.com>
71219
71220 [BZ #14123]
71221 * math/s_ccosh.c: Include <float.h>
71222 (__ccosh): Avoid internal overflow calculating sinh and cosh
71223 values before multiplying by sin and cos values.
71224 * math/s_ccoshf.c: Likewise.
71225 * math/s_ccoshl.c: Likewise.
71226 * math/s_csin.c: Likewise.
71227 * math/s_csinf.c: Likewise.
71228 * math/s_csinl.c: Likewise.
71229 * math/s_csinh.c: Likewise.
71230 * math/s_csinhf.c: Likewise.
71231 * math/s_csinhl.c: Likewise.
71232 * math/libm-test.inc (ccos_test): Add more tests.
71233 (ccosh_test): Likewise.
71234 (csin_test): Likewise.
71235 (csinh_test): Likewise.
71236 * sysdeps/i386/fpu/libm-test-ulps: Update.
71237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71238
71239 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
71240
71241 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
71242 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
71243
71244 * sysdeps/x86_64/x32/_itoa.h: Add comment.
71245
71246 2012-05-19 Joseph Myers <joseph@codesourcery.com>
71247
71248 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
71249 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
71250 * sysdeps/powerpc/soft-fp/Versions: Likewise.
71251 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
71252 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
71253 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
71254 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
71255 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
71256 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
71257 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
71258 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
71259 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
71260 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
71261 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
71262 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
71263 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
71264 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
71265 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
71266 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
71267 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
71268 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
71269 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
71270 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
71271 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
71272 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
71273 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
71274 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
71275 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
71276 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
71277 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
71278 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
71279
71280 2012-05-18 Andreas Jaeger <aj@suse.de>
71281
71282 * csu/.gitignore: Delete.
71283
71284 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71285
71286 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
71287 (timex): Use __syscall_slong_t.
71288
71289 2012-05-18 Andreas Jaeger <aj@suse.de>
71290 Carlos O'Donell <carlos_odonell@mentor.com>
71291
71292 * manual/install.texi (Configuring and compiling): Update
71293 description about files modified in the source directory.
71294 * INSTALL: Regenerated.
71295
71296 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71297
71298 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
71299 value. Use "or" to set return value to -1.
71300 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
71301 negate return value.
71302
71303 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71304
71305 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
71306 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
71307 failure if the compiler has Graphite support disabled.
71308 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
71309 Likewise.
71310 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
71311 (CFLAGS-memmove.c): Likewise.
71312 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
71313 Likewise.
71314
71315 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71316
71317 * sysdeps/x86_64/x32/_itoa.h: New file.
71318
71319 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
71320 getdents system call only if kernel and user dirents have the
71321 same d_ino and d_off.
71322
71323 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71324 LLONG_MAX != LONG_MAX.
71325 (_itoa_word): Use _ITOA_WORD_TYPE on value.
71326 (_fitoa_word): Likewise.
71327
71328 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
71329 years.
71330 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
71331 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
71332 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
71333
71334 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
71335 include <bits/wordsize.h>. Check __x86_64__ instead of
71336 __WORDSIZE.
71337 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
71338 if __x86_64__ is defined. Use anonymous union on fpstate.
71339
71340 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
71341 anonymous union.
71342
71343 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
71344
71345 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
71346 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
71347 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
71348 Refer to _rtld_local_ro instead of _rtld_global_ro.
71349 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
71350 Likewise.
71351 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
71352 Likewise.
71353 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
71354 Likewise.
71355 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
71356 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
71357 of _rtld_global, and rtld_progname instead of _dl_argv[0].
71358
71359 [BZ #10882]
71360 * sysdeps/powerpc/powerpc32/dl-machine.c
71361 (__elf_machine_runtime_setup) [PROF]: Don't reference
71362 _dl_prof_resolve.
71363
71364 2012-05-18 Andreas Jaeger <aj@suse.de>
71365
71366 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
71367 function only available for GCCs before 3.4 since GCC 3.4
71368 introduced a builtin.
71369 (lrint): Likewise.
71370 (llrintf): Likewise.
71371 (llrint): Likewise.
71372 (fmaxf): Likewise.
71373 (fmax): Likewise.
71374 (fminf): Likewise.
71375 (fmin): Likewise.
71376 (rint): Likewise.
71377 (rintf): Likewise.
71378 (nearbyint): Likewise.
71379 (nearbyintf): Likewise.
71380 (ceil): Likewise.
71381 (ceilf): Likewise.
71382 (floor): Likewise.
71383 (floorf): Likewise.
71384
71385 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71386
71387 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
71388 on both fields and cast pointer to __syscall_ulong_t.
71389
71390 * bits/types.h (__fsword_t): New type.
71391 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
71392 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
71393 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71394 (__FSWORD_T_TYPE): Likewise.
71395 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71396 (__FSWORD_T_TYPE): Likewise.
71397 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71398 (__FSWORD_T_TYPE): Likewise.
71399 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
71400 (__FSWORD_T_TYPE): Likewise.
71401 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
71402 __SWORD_TYPE with __fsword_t.
71403 (statfs64): Likewise.
71404
71405 2012-05-17 David S. Miller <davem@davemloft.net>
71406
71407 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
71408
71409 2012-05-17 Andreas Jaeger <aj@suse.de>
71410
71411 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
71412 warning.
71413
71414 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71415
71416 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
71417
71418 2012-05-17 Andreas Jaeger <aj@suse.de>
71419
71420 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
71421 when it is used.
71422
71423 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
71424
71425 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
71426
71427 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71428
71429 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
71430 * sysdeps/x86_64/tst-mallocalign1.c: New file.
71431
71432 2012-05-17 Andreas Jaeger <aj@suse.de>
71433 Carlos O'Donell <carlos_odonell@mentor.com>
71434
71435 [BZ #14059]
71436 * sysdeps/x86_64/multiarch/init-arch.h
71437 (bit_YMM_Usable): Rename to...
71438 (bit_AVX_Usable): ... this.
71439 (bit_FMA4_Usable): New macro.
71440 (bit_XMM_state): New macro.
71441 (bit_YMM_state): New macro.
71442 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
71443 [__ASSEMBLER__] (index_AVX_Usable): ... this.
71444 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
71445 (CPUID_OSXSAVE): New macro.
71446 (CPUID_AVX): New macro.
71447 (CPUID_FMA4): New macro.
71448 (index_YMM_Usable): Rename to...
71449 (index_AVX_Usable): ... this.
71450 (HAS_AVX): Use HAS_ARCH_FEATURE.
71451 (HAS_FMA4): Likewise.
71452 (HAS_YMM_USABLE): Remove.
71453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71454 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
71455 are present.
71456 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
71457 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
71458 * sysdeps/x86_64/multiarch/Makefile: Likewise.
71459 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
71460 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
71461
71462 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
71463
71464 * math/libm-test.c: Support platforms without multiple rounding modes.
71465 * math/bug-nextafter.c: Support platforms without FP exceptions.
71466 * math/bug-nexttoward.c: Likewise.
71467 * math/test-fenv.c: Likewise.
71468 * math/test-misc.c: Likewise.
71469 * stdlib/bug-getcontext.c: Likewise.
71470
71471 2012-05-17 Andreas Jaeger <aj@suse.de>
71472
71473 * manual/examples/search.c (critter_cmp): Change signature to
71474 avoid warnings.
71475 * manual/string.texi (Collation Functions): Likewise.
71476
71477 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71478
71479 * bits/types.h: Fold copyright years.
71480 * bits/typesizes.h: Likewise.
71481 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
71482 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
71483 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
71484 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
71485 * time/time.h: Likewise.
71486
71487 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
71488
71489 [BZ #208]
71490 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
71491 in instead of returning them. Return void.
71492 (__libc_mallinfo): Accumulate over all arenas.
71493 (__malloc_stats): Adjust for change in int_mallinfo interface.
71494
71495 2012-05-16 Roland McGrath <roland@hack.frob.com>
71496
71497 [BZ #10375]
71498 * configure.in (NM): Add AC_CHECK_TOOL for it.
71499 (libc_extra_cflags): New substituted variable.
71500 Check for -fstack-protector being used implicitly.
71501 * configure: Regenerated.
71502 * config.make.in (config-extra-cflags): New variable,
71503 gets @libc_extra_cflags@.
71504 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
71505
71506 [BZ #10375]
71507 * configure.in: Check for _FORTIFY_SOURCE being predefined.
71508 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
71509 * configure: Regenerated.
71510 * config.make.in (CPPUNDEFS): New substituted variable.
71511 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
71512 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
71513 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
71514
71515 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71516
71517 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
71518 (mq_attr): Use __syscall_slong_t.
71519
71520 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71521
71522 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
71523 Check __x86_64__ instead of __WORDSIZE.
71524 (_STAT_VER_LINUX): Likewise.
71525 (stat): Check __x86_64__ instead of __WORDSIZE. Use
71526 __syscall_ulong_t and __syscall_slong_t.
71527 (stat64): Likewise.
71528
71529 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71530
71531 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
71532
71533 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71534
71535 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
71536
71537 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71538
71539 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
71540 __syscall_ulong_t.
71541
71542 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
71543 include <bits/wordsize.h>. Check __x86_64__ instead of
71544 __WORDSIZE.
71545 (greg_t): Use "__extension__ long long int" if __x86_64__ is
71546 defined.
71547 (mcontext_t): Replace "unsigned long" with "unsigned long long".
71548
71549 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
71550 include <bits/wordsize.h>. Check __x86_64__ instead of
71551 __WORDSIZE.
71552 (user_regs_struct): Use "__extension__ unsigned long long"
71553 instead of "unsigned long" if __x86_64__ is defined.
71554 (user): Likewise. Pad after pointer field if __ILP32__ is
71555 defined.
71556
71557 2012-05-16 Joseph Myers <joseph@codesourcery.com>
71558
71559 * configure.in (makeinfo): Require version 4.5 or later. Allow
71560 versions 5 to 9.
71561 * configure: Regenerated.
71562 * manual/install.texi (texinfo): Increase version requirement to
71563 4.5 or later.
71564 * INSTALL: Regenerated.
71565
71566 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
71567
71568 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71569
71570 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
71571
71572 * sysdeps/x86_64/x32/ffs.c: New file.
71573
71574 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
71575 __syscall_ulong_t.
71576 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
71577 defined. Use __syscall_ulong_t.
71578 (shminfo): Use __syscall_ulong_t.
71579 (shm_info): Likewise.
71580
71581 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
71582 __syscall_ulong_t.
71583
71584 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
71585 <bits/wordsize.h>.
71586 (msgqnum_t): Use __syscall_ulong_t.
71587 (msglen_t): Likewise.
71588 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
71589 __syscall_ulong_t.
71590
71591 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
71592 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
71593
71594 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
71595
71596 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
71597 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
71598
71599 * sysvipc/sys/msg.h (msgbuf): Replace long int with
71600 __syscall_slong_t.
71601
71602 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
71603 include <bits/wordsize.h>. Check __x86_64__ instead of
71604 __WORDSIZE.
71605
71606 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
71607 "unsigned long long int" if __x86_64__ is defined.
71608 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
71609
71610 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
71611 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
71612 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
71613
71614 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
71615 <stdint.h>.
71616 (GET_PC): Cast to uintptr_t first.
71617 (GET_FRAME): Likewise.
71618 (GET_STACK): Likewise.
71619
71620 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
71621 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
71622 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
71623 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
71624 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
71625 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
71626 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
71627 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
71628 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
71629 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
71630 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
71631 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
71632 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71633 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
71634 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
71635 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
71636 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
71637 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
71638 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
71639 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
71640 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
71641 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
71642 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
71643 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
71644 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
71645 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
71646 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
71647 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
71648 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
71649
71650 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
71651
71652 * Makerules (+depfiles): Also collect depfiles from .oS in
71653 $(extra-objs).
71654 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
71655 .oS, $(libnldbl-routines)).
71656
71657 * Makerules (native-compile-mkdep-flags): Define.
71658 * sunrpc/Makefile (extra-objs): Add $(addprefix
71659 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
71660 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
71661 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
71662 calling $(make-target-directory).
71663
71664 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71665
71666 * bits/types.h (__snseconds_t): Removed.
71667 * time/time.h (struct timespec): Replace __snseconds_t with
71668 __syscall_slong_t.
71669 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
71670 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
71671 Likewise.
71672 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71673 (__SNSECONDS_T_TYPE): Likewise.
71674 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71675 (__SNSECONDS_T_TYPE): Likewise.
71676 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71677 (__SNSECONDS_T_TYPE): Likewise.
71678
71679 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71680
71681 * sysdeps/mach/hurd/bits/typesizes.h
71682 (__SYSCALL_SLONG_TYPE): New macro.
71683 (__SYSCALL_ULONG_TYPE): Likewise.
71684
71685 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71686
71687 * bits/types.h (__syscall_slong_t): New type.
71688 (__syscall_ulong_t): Likewise.
71689
71690 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
71691 (__SYSCALL_ULONG_TYPE): Likewise.
71692 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71693 (__SYSCALL_SLONG_TYPE): Likewise.
71694 (__SYSCALL_ULONG_TYPE): Likewise.
71695 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71696 (__SYSCALL_SLONG_TYPE): Likewise.
71697 (__SYSCALL_ULONG_TYPE): Likewise.
71698 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71699 (__SYSCALL_SLONG_TYPE): Likewise.
71700 (__SYSCALL_ULONG_TYPE): Likewise.
71701
71702 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71703
71704 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
71705 Add sigaltstack-offsets.sym.
71706 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
71707 <sigaltstack-offsets.h>.
71708 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
71709 longjmp_msg pointer.
71710 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
71711 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
71712 signal stack.
71713 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
71714
71715 2012-05-15 Joseph Myers <joseph@codesourcery.com>
71716
71717 * elf/stackguard-macros.h: Remove file.
71718 * sysdeps/generic/stackguard-macros.h: New file.
71719 * sysdeps/i386/stackguard-macros.h: Likewise.
71720 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
71721 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
71722 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
71723 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
71724 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
71725 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
71726 * sysdeps/x86_64/stackguard-macros.h: Likewise.
71727 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
71728 <elf/stackguard-macros.h>.
71729
71730 [BZ #14109]
71731 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
71732 __aligned__ in attribute.
71733 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
71734 (gregset_t): Likewise.
71735
71736 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71737
71738 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
71739 * sysdeps/x86_64/64/Implies-after: Here. New file.
71740 * sysdeps/x86_64/x32/Implies-after: New file.
71741
71742 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71743
71744 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
71745 and access return value for _dl_profile_fixup. Use R10_LP to
71746 load frame size.
71747
71748 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71749
71750 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
71751
71752 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71753
71754 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
71755 * sysdeps/x86_64/x32/sysdep.h: New file.
71756
71757 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71758
71759 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
71760 * sysdeps/x86_64/setjmp.S: Likewise.
71761
71762 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71763
71764 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
71765 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
71766 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
71767 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
71768 remove unused global constant.
71769
71770 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
71771
71772 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
71773 include of <not-cancel.h>.
71774
71775 2012-05-15 Roland McGrath <roland@hack.frob.com>
71776
71777 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
71778
71779 2012-05-15 Jeff Law <law@redhat.com>
71780 Andreas Jaeger <aj@suse.de>
71781
71782 [BZ #13594]
71783 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
71784 out from...
71785 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
71786 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
71787 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
71788 code changing __hst_map_handle.map.
71789
71790 2012-05-15 Roland McGrath <roland@hack.frob.com>
71791
71792 * configure.in (sysnames): Look for Implies-before and Implies-after
71793 files.
71794 * configure: Regenerated.
71795
71796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71797
71798 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
71799 8-byte data alignment with LP_SIZE alignment.
71800
71801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71802
71803 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
71804 into R10_LP.
71805
71806 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71807
71808 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
71809
71810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71811
71812 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
71813 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
71814 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
71815 Likewise.
71816 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71817
71818 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71819
71820 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
71821 (stackinfo_sub_sp): Likewise.
71822
71823 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71824
71825 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
71826 RAX_LP.
71827
71828 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71829
71830 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
71831 into R*_LP.
71832
71833 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71834
71835 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
71836 sizes into R*_LP.
71837
71838 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71839
71840 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
71841
71842 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71843
71844 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
71845 into R11_LP and load __x86_64_shared_cache_size_half into
71846 R8_LP.
71847
71848 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71849
71850 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
71851 R8_LP.
71852
71853 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71854
71855 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
71856 logb for POWER7.
71857 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
71858 logbf for POWER7.
71859 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
71860 logbl for POWER7.
71861 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
71862 powerpc32/power7/fpu/s_logb.c via #include.
71863 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
71864 powerpc32/power7/fpu/s_logbf.c via #include.
71865 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
71866 powerpc32/power7/fpu/s_logbl.c via #include.
71867
71868 2012-05-15 Joseph Myers <joseph@codesourcery.com>
71869
71870 * README.libm: Remove file.
71871
71872 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71873
71874 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
71875 count for x32. Use R*_LP and omit operand-size suffix.
71876
71877 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71878
71879 * shlib-versions: Move x86_64-.*-linux.* entries to ...
71880 * sysdeps/x86_64/64/shlib-versions: Here. New file.
71881 * sysdeps/x86_64/x32/shlib-versions: New file.
71882
71883 2012-05-14 Roland McGrath <roland@hack.frob.com>
71884
71885 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71886 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71887 Use _dl_fatal_printf instead.
71888
71889 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71890
71891 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71892 set if not set by the user. Do not allow for being unset.
71893 * sysdeps/unix/sysv/linux/configure: Regenerated.
71894
71895 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71896
71897 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71898 the `q' suffix from lea and replace .quad with ASM_ADDR.
71899
71900 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71901
71902 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71903 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
71904 instead of $17.
71905 (PTR_DEMANGLE): Likewise.
71906
71907 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71908
71909 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71910 (LP_OP): Likewise.
71911 (ASM_ADDR): Likewise.
71912 (RAX_LP): Likewise.
71913 (RBP_LP): Likewise.
71914 (RBX_LP): Likewise.
71915 (RCX_LP): Likewise.
71916 (RDI_LP): Likewise.
71917 (RSI_LP): Likewise.
71918 (RSP_LP): Likewise.
71919 (R8_LP): Likewise.
71920 (R9_LP): Likewise.
71921 (R10_LP): Likewise.
71922 (R10_LP): Likewise.
71923 (R11_LP): Likewise.
71924 (R12_LP): Likewise.
71925 (R13_LP): Likewise.
71926 (R14_LP): Likewise.
71927 (R15_LP): Likewise.
71928
71929 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71930
71931 * sysdeps/x86_64/x32/dl-machine.h: New file.
71932
71933 2012-05-14 Andreas Jaeger <aj@suse.de>
71934
71935 * manual/Makefile (subdir): Remove export of subdir.
71936 (all): Remove target.
71937 (.PHONY): Remove all from list.
71938 (mkinstalldirs): Remove.
71939 (.PHONY): Remove installdirs from list.
71940 ($(inst_infodir)/libc.info): Use make-target-directory.
71941 (installdirs): Remove.
71942 (subdir_%): Remove.
71943 (glibc-targets): Remove.
71944 (lib): Remove.
71945 (stubs): Remove.
71946 ($(objpfx)stubs ../po/manual.pot): Remove.
71947 ($(objpfx)stamp%): Remove.
71948 (make-target-directory): Remove.
71949 (subdir_install): Remove.
71950 (routines): Remove.
71951 (aux): Remove.
71952 (sources): Remove.
71953 (objects): Remove.
71954 (headers): Remove.
71955
71956 [BZ #13750]
71957 * manual/.gitignore: Remove, it's not needed anymore.
71958 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71959 all files in it.
71960 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71961 directory.
71962 (texis): Renamed to $(objpfx)texis.
71963 (texis-path): New, contains path to generated files.
71964 (chapters.%): Use texis-path for complete path, add extra argument
71965 libc-texinfo.sh.
71966 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71967 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71968 (summary,texi, stamp-summary): Use complete path of
71969 files. Generate files in build dir.
71970 (dir-add.texi): Build in build dir.
71971 (libm-err.texi,stamp-libm-err): Likewise.
71972 (version.texi, stamp-version): Likewise.
71973 (.%c.texi): Likewise.
71974 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71975 (mostlyclean): Remove target.
71976 (realclean): Remove target.
71977 (generated): Add new variable with contents from mostlyclean and
71978 realclean, remove entries duplicated in common-mostlyclean, add
71979 stamp-libm-err and stamp-version.
71980 (generated-dirs): Add libc directory.
71981 ($(inst_infodir)/libc.info): Install files from build dir.
71982
71983 * manual/install.texi (Configuring and compiling): Adjust since
71984 the info files are not part of the tar ball anymore.
71985
71986 2012-05-14 Andreas Jaeger <aj@suse.de>
71987
71988 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71989 variable.
71990
71991 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71992
71993 [BZ #13717]
71994 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71995 to 2.2.0 where earlier.
71996 * sysdeps/unix/sysv/linux/configure: Regenerated.
71997 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71998 Remove conditional code.
71999 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
72000 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
72001 Remove conditional code.
72002 [!__NR_lchown]: Likewise.
72003 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
72004 [__NR_lchown]: Likewise.
72005 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
72006 comment referencing __ASSUME_LCHOWN_SYSCALL.
72007 * sysdeps/unix/sysv/linux/i386/sigaction.c
72008 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72009 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72010 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
72011 Remove conditional code.
72012 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
72013 (__protocol_available): Remove #if 0 code.
72014 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
72015 conditional code.
72016 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
72017 * sysdeps/unix/sysv/linux/kernel-features.h
72018 (__ASSUME_GETCWD_SYSCALL): Don't define.
72019 (__ASSUME_REALTIME_SIGNALS): Likewise.
72020 (__ASSUME_PREAD_SYSCALL): Likewise.
72021 (__ASSUME_PWRITE_SYSCALL): Likewise.
72022 (__ASSUME_POLL_SYSCALL): Likewise.
72023 (__ASSUME_LCHOWN_SYSCALL): Likewise.
72024 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
72025 non-SPARC.
72026 (__ASSUME_SIOCGIFNAME): Don't define.
72027 (__ASSUME_MSG_NOSIGNAL): Likewise.
72028 (__ASSUME_SENDFILE): Define unconditionally.
72029 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
72030 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
72031 conditional code.
72032 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
72033 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
72034 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
72035 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
72036 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
72037 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
72038 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
72039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
72040 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72041 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
72043 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72044 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
72046 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72047 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
72049 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72050 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
72052 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72053 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
72055 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72056 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
72058 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72059 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
72061 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72062 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72063 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
72064 Remove conditional code.
72065 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72066 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
72067 Remove conditional code.
72068 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72069 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
72070 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
72071 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
72072 Remove conditional code.
72073 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72074 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
72075 Remove conditional code.
72076 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72077 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
72078 Remove conditional code.
72079 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72080 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
72081 Remove conditional code.
72082 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72083 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
72084 Remove conditional code.
72085 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72086 * sysdeps/unix/sysv/linux/sh/pwrite64.c
72087 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72088 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72089 * sysdeps/unix/sysv/linux/sigaction.c
72090 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72091 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72092 * sysdeps/unix/sysv/linux/sigpending.c
72093 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72094 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72095 * sysdeps/unix/sysv/linux/sigprocmask.c
72096 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72097 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72098 * sysdeps/unix/sysv/linux/sigsuspend.c
72099 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72100 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72101 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
72102 (__libc_missing_rt_sigs): Remove.
72103 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
72104 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
72105 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
72106 Remove conditional code.
72107 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
72108 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
72109 return 1.
72110 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
72111 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
72112 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
72113 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
72114
72115 2012-05-14 Andreas Jaeger <aj@suse.de>
72116
72117 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
72118 it's not used in glibc.
72119 (__coshm1): Likewise.
72120 (__acosh1p): Likewise.
72121 (__sgn): Likewise.
72122
72123 * manual/string.texi (Copying and Concatenation): Add missing
72124 variable in concat example.
72125 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
72126
72127 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72128
72129 [BZ #14103]
72130 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
72131 __builtin_clzl with __builtin_clzll.
72132
72133 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72134
72135 [BZ #14104]
72136 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
72137 libc_freeres_ptr.
72138
72139 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72140
72141 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
72142 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
72143 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
72144 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
72145
72146 2012-05-14 Mike Frysinger <vapier@gentoo.org>
72147
72148 * NEWS: Update ia64 info.
72149
72150 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
72151
72152 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
72153 used as bcopy.
72154
72155 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
72156
72157 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
72158 * sysdeps/unix/syscalls.list (dup3): Likewise.
72159 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
72160 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
72161
72162 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
72163
72164 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
72165 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
72166
72167 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
72168
72169 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
72170 thread pointer.
72171 (TLS_IE): Use mov/add instead of movq/addq to load thread
72172 pointer.
72173 (TLS_GD_PREFIX): New.
72174 (TLS_GD): Use it.
72175
72176 2012-05-11 David S. Miller <davem@davemloft.net>
72177
72178 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
72179 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
72180 (_FPU_SETCW): Likewise.
72181
72182 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72183
72184 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
72185 is 32-byte aligned.
72186
72187 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
72188
72189 [BZ #11837]
72190 * iconvdata/gb18030.c: Update tables.
72191 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
72192 characters specially.
72193 (BODY for TO_LOOP): Add encoding of missing ranges.
72194
72195 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
72196
72197 [BZ #13673]
72198 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
72199 * sysdeps/mach/hurd/dup3.c: Likewise.
72200 * sysdeps/mach/hurd/readlinkat.c: Likewise.
72201 * sysdeps/powerpc/memmove.c:: Likewise.
72202
72203 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72204
72205 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
72206 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
72207
72208 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72209
72210 * elf/elf.h (R_X86_64_RELATIVE64): New.
72211 (R_X86_64_NUM): Updated.
72212 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72213 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
72214 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
72215 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
72216 tst-quad1pie tst-quad2pie
72217 (modules-names): Add tst-quadmod1 tst-quadmod2.
72218 ($(objpfx)tst-quad1): New dependency.
72219 ($(objpfx)tst-quad2): Likewise.
72220 ($(objpfx)tst-quad1pie): Likewise.
72221 ($(objpfx)tst-quad2pie): Likewise.
72222 * sysdeps/x86_64/tst-quad1.c: New file.
72223 * sysdeps/x86_64/tst-quad1pie.c: New file.
72224 * sysdeps/x86_64/tst-quad2.c: Likewise.
72225 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
72226 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
72227 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
72228 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
72229 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
72230
72231 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72232
72233 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
72234 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
72235 * streams/stropts.h (t_scalar_t): Define type.
72236
72237 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
72238 (_PATH_PRESERVE): Set to "/var/lib".
72239 (_PATH_RWHODIR): Set to "/var/spool/rwho".
72240
72241 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
72242 instead of int.
72243
72244 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
72245 if __dir_mkfile succeeded.
72246
72247 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
72248 checking for _hurd_dtablesize. Unlock it right after having
72249 finished _hurd_dtable allocation.
72250
72251 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72252
72253 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
72254 * sysdeps/mach/hurd/configure: Regenerated.
72255 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
72256 special-casing to...
72257 * sysdeps/gnu/configure.in: ... this new file.
72258 * sysdeps/unix/sysv/linux/configure: Regenerated.
72259 * sysdeps/gnu/configure: New generated file.
72260
72261 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
72262 for Linux: use nsec instead of usec, as well as:
72263 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
72264 members of type struct timespec.
72265 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
72266 New macros.
72267 (struct stat64): Likewise.
72268 (_STATBUF_ST_NSEC): New macro.
72269 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
72270
72271 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72272 __strtoul_internal rather than strtoul.
72273
72274 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72275
72276 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
72277 and reject them.
72278
72279 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72280
72281 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
72282 which preserves existing values.
72283 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
72284
72285 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72286
72287 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
72288 TIMEOUT values. Return EINVAL for NFDS values either negative or
72289 greater than FD_SETSIZE.
72290
72291 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72292
72293 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
72294 allocated, call __vm_protect to finish enabling the existing space, and
72295 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
72296 allocate the remainder.
72297
72298 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72299
72300 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
72301 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
72302
72303 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72304
72305 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
72306 sysdeps/mach/hurd/readlink.c.
72307
72308 * posix/tst-sysconf.c (posix_options): Only use
72309 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
72310 _POSIX_SYNCHRONIZED_IO when they are defined
72311 * sysdeps/mach/hurd/bits/posix_opt.h:
72312 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
72313 (_XOPEN_REALTIME): Undefine macro.
72314 (_XOPEN_REALTIME_THREADS): Undefine macro.
72315 (_XOPEN_SHM): Undefine macro.
72316 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
72317 macro to -1.
72318 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
72319 macro to -1.
72320 (_POSIX_ASYNC_IO): Undefine macro.
72321 (_POSIX_PRIORITIZED_IO): Undefine macro.
72322 (_POSIX_SPIN_LOCKS): Define macro to -1.
72323
72324 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
72325 SA_NODEFER, SA_RESETHAND.
72326 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
72327 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
72328 F_DUPFD_CLOEXEC.
72329
72330 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72331
72332 * elf/Makefile (pldd-modules): Define unconditionally.
72333
72334 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72335
72336 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
72337
72338 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72339
72340 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
72341 Return ENOENT when name is empty.
72342 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
72343
72344 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72345
72346 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
72347
72348 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
72349
72350 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72351
72352 Fix mlock in all cases except non-readable pages.
72353 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
72354 instead of VM_PROT_ALL as parameter to __vm_wire function.
72355
72356 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
72357 (__mkdir): When path is `/', just fail with EEXIST.
72358 * sysdeps/mach/hurd/mkdirat.c: Likewise.
72359
72360 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72361
72362 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
72363 <sys/uio.h> (for writev).
72364 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
72365 and <sys/param.h> (for MIN).
72366
72367 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72368
72369 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
72370 REQUESTED_TIME. Properly set the remaining time and return EINTR
72371 if interrupted.
72372
72373 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72374
72375 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
72376 Depend on against $(link-rpcuserlibs).
72377
72378 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72379
72380 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
72381 (__libc_stack_end): Do not use attribute_relro.
72382 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
72383 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
72384 to libthread-provided value.
72385 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
72386 attribute_relro.
72387
72388 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72389
72390 [BZ #3748]
72391 * bits/libc-lock.h (__libc_once_get): New macro.
72392 * sysdeps/mach/bits/libc-lock.h: Likewise.
72393 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
72394 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
72395 instead of using implementation details.
72396
72397 * libio/fileops.c: Unconditionally include <kernel-features.h>.
72398 * libio/freopen.c: Likewise.
72399 * libio/freopen64.c: Likewise.
72400 * misc/syslog.c: Likewise.
72401 * nscd/connections.c: Likewise.
72402 * nscd/netgroupcache.c: Likewise.
72403 * sysdeps/posix/getcwd.c: Likewise.
72404
72405 2012-05-10 Roland McGrath <roland@hack.frob.com>
72406
72407 * math/w_ilogbf.c: Add #include <limits.h>.
72408
72409 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72410
72411 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
72412 path instead of returning without unlocking.
72413
72414 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
72415 immediate-write ioctls.
72416 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
72417
72418 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72419
72420 * sysdeps/mach/hurd/i386/init-first.c (init): Use
72421 __builtin_frame_address instead of making assumptions about the
72422 location of the return address relative to DATA. Force early load of
72423 the return address.
72424 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
72425 __builtin_frame_address.
72426
72427 dup3 for GNU Hurd.
72428 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
72429 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
72430 implement dup3 and do some further code clean-ups.
72431 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
72432 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
72433
72434 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72435
72436 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
72437
72438 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
72439 HURD_CRITICAL_END around holding _hurd_dtable_lock.
72440 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
72441 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
72442 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
72443 d->port.lock.
72444
72445 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
72446 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
72447 when handler == SIG_ERR, not when handler != SIG_ERR.
72448
72449 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72450
72451 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
72452 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
72453 definitions.
72454
72455 accept4 for GNU Hurd.
72456 * include/sys/socket.h (__libc_accept4): New prototype.
72457 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
72458 to implement __libc_accept4.
72459 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
72460 __libc_accept4.
72461 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
72462
72463 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
72464 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
72465 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
72466 signal-defines.sym.
72467
72468 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72469
72470 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
72471
72472 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72473
72474 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
72475 assertion on O_CLOEXEC flag.
72476 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
72477 * hurd/intern-fd.c: Likewise.
72478 * hurd/port2fd.c: Likewise.
72479
72480 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72481
72482 [BZ #3906]
72483 * bits/in.h (IPV6_PKTINFO): Define new macro.
72484 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
72485
72486 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72487
72488 [BZ #13954]
72489 [BZ #13955]
72490 [BZ #13956]
72491 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
72492 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72493 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
72494 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72495 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72496 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72497 * math/libm-test.inc (logb_test) : Additional logb tests.
72498
72499 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
72500 Andreas Jaeger <aj@suse.de>
72501
72502 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
72503 * configure: Regenerated.
72504 * config.h.in (LINK_OBSOLETE_RPC): New macro.
72505 * config.make.in (link-obsolete-rpc): New substituted variable.
72506 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
72507 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
72508 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72509 (shared-only-routines): Don't set it under [link-obsolete-rpc],
72510 so that libc.a contains the symbols.
72511 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72512 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
72513 * sunrpc/auth_none.c: Likewise.
72514 * sunrpc/auth_unix.c: Likewise.
72515 * sunrpc/authdes_prot.c: Likewise.
72516 * sunrpc/authuxprot.c: Likewise.
72517 * sunrpc/clnt_gen.c: Likewise.
72518 * sunrpc/clnt_perr.c: Likewise.
72519 * sunrpc/clnt_raw.c: Likewise.
72520 * sunrpc/clnt_simp.c: Likewise.
72521 * sunrpc/clnt_tcp.c: Likewise.
72522 * sunrpc/clnt_udp.c: Likewise.
72523 * sunrpc/clnt_unix.c: Likewise.
72524 * sunrpc/des_crypt.c: Likewise.
72525 * sunrpc/des_soft.c: Likewise.
72526 * sunrpc/get_myaddr.c: Likewise.
72527 * sunrpc/key_call.c: Likewise.
72528 * sunrpc/key_prot.c: Likewise.
72529 * sunrpc/netname.c: Likewise.
72530 * sunrpc/pm_getmaps.c: Likewise.
72531 * sunrpc/pm_getport.c: Likewise.
72532 * sunrpc/pmap_clnt.c: Likewise.
72533 * sunrpc/pmap_prot.c: Likewise.
72534 * sunrpc/pmap_prot2.c: Likewise.
72535 * sunrpc/pmap_rmt.c: Likewise.
72536 * sunrpc/publickey.c: Likewise.
72537 * sunrpc/rpc_cmsg.c: Likewise.
72538 * sunrpc/rpc_common.c: Likewise.
72539 * sunrpc/rpc_dtable.c: Likewise.
72540 * sunrpc/rpc_prot.c: Likewise.
72541 * sunrpc/rpc_thread.c: Likewise.
72542 * sunrpc/rtime.c: Likewise.
72543 * sunrpc/svc.c: Likewise.
72544 * sunrpc/svc_auth.c: Likewise.
72545 * sunrpc/svc_raw.c: Likewise.
72546 * sunrpc/svc_run.c: Likewise.
72547 * sunrpc/svc_tcp.c: Likewise.
72548 * sunrpc/svc_udp.c: Likewise.
72549 * sunrpc/svc_unix.c: Likewise.
72550 * sunrpc/svcauth_des.c: Likewise.
72551 * sunrpc/xcrypt.c: Likewise.
72552 * sunrpc/xdr.c: Likewise.
72553 * sunrpc/xdr_array.c: Likewise.
72554 * sunrpc/xdr_float.c: Likewise.
72555 * sunrpc/xdr_intXX_t.c: Likewise.
72556 * sunrpc/xdr_mem.c: Likewise.
72557 * sunrpc/xdr_rec.c: Likewise.
72558 * sunrpc/xdr_ref.c: Likewise.
72559 * sunrpc/xdr_sizeof.c: Likewise.
72560 * sunrpc/xdr_stdio.c: Likewise.
72561
72562 2012-05-10 Roland McGrath <roland@hack.frob.com>
72563
72564 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
72565 change. Update copyright years.
72566
72567 2012-05-10 Joseph Myers <joseph@codesourcery.com>
72568
72569 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
72570
72571 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
72572 Joseph Myers <joseph@codesourcery.com>
72573 Paul Pluzhnikov <ppluzhnikov@google.com>
72574
72575 [BZ #14012]
72576 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
72577 requiring rpcgen.
72578 [cross-compiling] (extra-libs): Likewise.
72579 [cross-compiling] (extra-libs-others): Likewise.
72580 [cross-compiling] (librpcsvc-routines): Likewise.
72581 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
72582 [cross-compiling] (omit-deps): Likewise.
72583 (sunrpc-CPPFLAGS): New variable.
72584 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
72585 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
72586 (cross-rpcgen-objs): New variable.
72587 (extra-objs): Append $(cross-rpcgen-objs).
72588 ($(cross-rpcgen-objs)): New rule.
72589 ($(objpfx)cross-rpcgen): Likewise.
72590 (rpcgen-cmd): Define to use $(built-program-file). Expand
72591 comment.
72592 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
72593 ($(objpfx)x%.stmp): Likewise.
72594 * sunrpc/proto.h [IS_IN_build] (_): Define.
72595 [IS_IN_build] (_libc_intl_domainname): Likewise.
72596
72597 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72598
72599 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
72600 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
72601 and R_X86_64_TPOFF64.
72602
72603 2012-05-10 Joseph Myers <joseph@codesourcery.com>
72604
72605 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
72606 sysdeps/unix/sysv/syscalls.list.
72607 (stime): Likewise.
72608 (utime): Likewise.
72609 * sysdeps/unix/sysv/syscalls.list: Remove file.
72610
72611 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
72612
72613 [BZ #3440]
72614 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
72615 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
72616 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
72617 (__LC_IDENTIFICATION): Make these macros useful in #if
72618 expressions, as required by C99.
72619
72620 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
72621
72622 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
72623 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
72624 after this.
72625
72626 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
72627
72628 * stdlib/longlong.h: Updated from GCC.
72629
72630 2012-05-09 Andreas Jaeger <aj@suse.de>
72631
72632 * nscd/nscd.c (run_modes): Make named enum, reorder so that
72633 default is first entry.
72634 (run_mode): Set type.
72635 (main): Remove informal message about syslog.
72636 (options): Fix typo.
72637
72638 [BZ #14053]
72639 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
72640 to asm.
72641 (lrint): Likewise.
72642 (llrintf): Likewise.
72643 (llrint): Likewise.
72644 (rint): Likewise.
72645 (rintf): Likewise.
72646 (nearbyint): Likewise.
72647 (nearbyintf): Likewise.
72648
72649 2012-05-09 Andreas Jaeger <aj@suse.de>
72650 Pedro Alves <palves@redhat.com>
72651
72652 * nscd/nscd.c (run_mode): Use enum.
72653 (main): Cleanup coding style issue.
72654
72655 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
72656 Andreas Jaeger <aj@suse.de>
72657
72658 * nscd/nscd.c (go_background): Replaced with...
72659 (run_mode): ... this.
72660 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
72661 (options): Add -F --foreground.
72662 (main): Implement it.
72663 (parse_opt): Parse it.
72664
72665 2012-05-09 Andreas Jaeger <aj@suse.de>
72666
72667 [BZ #14083]
72668 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
72669 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
72670 -Wconversion warning.
72671 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
72672 Likewise.
72673
72674 2012-05-09 Joseph Myers <joseph@codesourcery.com>
72675
72676 * conform/data/locale.h-data (NULL): Use macro-constant. Require
72677 == 0.
72678 (LC_ALL): Use macro-int-constant.
72679 (LC_COLLATE): Likewise.
72680 (LC_CTYPE): Likewise.
72681 (LC_MESSAGES): Likewise.
72682 (LC_MONETARY): Likewise.
72683 (LC_NUMERIC): Likewise.
72684 (LC_TIME): Likewise.
72685 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
72686 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72687 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72688 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
72689 Specify type.
72690 [C99-based standards] (float_t): Expect type.
72691 [C99-based standards] (double_t): Expect type.
72692 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
72693 type.
72694 [C99-based standards] (HUGE_VALL): Likewise.
72695 [C99-based standards] (INFINITY): Likewise.
72696 [C99-based standards] (NAN): Likewise.
72697 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
72698 [C99-based standards] (FP_NAN): Likewise.
72699 [C99-based standards] (FP_NORMAL): Likewise.
72700 [C99-based standards] (FP_SUBNORMAL): Likewise.
72701 [C99-based standards] (FP_ZERO): Likewise.
72702 [C99-based standards] (FP_FAST_FMA): Use
72703 optional-macro-int-constant. Specify type. Require == 1.
72704 [C99-based standards] (FP_FAST_FMAF): Likewise.
72705 [C99-based standards] (FP_FAST_FMAL): Likewise.
72706 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
72707 [C99-based standards] (FP_ILOGBNAN): Likewise.
72708 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
72709 Specify type.
72710 [C99-based standards] (MATH_ERREXCEPT): Likewise.
72711 [C99-based standards] (math_errhandling): Specify type.
72712 [ISO99 || ISO11] (signgam): Do not allow.
72713 [non-C99-based standards] (copysignf): Do not allow.
72714 [non-C99-based standards] (exp2f): Likewise.
72715 [non-C99-based standards] (log2f): Likewise.
72716 [non-C99-based standards] (modff): Allow.
72717 [non-C99-based standards] (erff): Do not allow.
72718 [non-C99-based standards] (erfcf): Likewise.
72719 [non-C99-based standards] (gammaf): Likewise.
72720 [non-C99-based standards] (hypotf): Likewise.
72721 [non-C99-based standards] (j0f): Likewise.
72722 [non-C99-based standards] (j1f): Likewise.
72723 [non-C99-based standards] (jnf): Likewise.
72724 [non-C99-based standards] (lgammaf): Likewise.
72725 [non-C99-based standards] (tgammaf): Likewise.
72726 [non-C99-based standards] (y0f): Likewise.
72727 [non-C99-based standards] (y1f): Likewise.
72728 [non-C99-based standards] (ynf): Likewise.
72729 [non-C99-based standards] (isnanf): Likewise.
72730 [non-C99-based standards] (acoshf): Likewise.
72731 [non-C99-based standards] (asinhf): Likewise.
72732 [non-C99-based standards] (atanhf): Likewise.
72733 [non-C99-based standards] (cbrtf): Likewise.
72734 [non-C99-based standards] (expm1f): Likewise.
72735 [non-C99-based standards] (ilogbf): Likewise.
72736 [non-C99-based standards] (log1pf): Likewise.
72737 [non-C99-based standards] (logbf): Likewise.
72738 [non-C99-based standards] (nextafterf): Likewise.
72739 [non-C99-based standards] (remainderf): Likewise.
72740 [non-C99-based standards] (rintf): Likewise.
72741 [non-C99-based standards] (scalbf): Likewise.
72742 [non-C99-based standards] (copysignl): Likewise.
72743 [non-C99-based standards] (exp2l): Likewise.
72744 [non-C99-based standards] (log2l): Likewise.
72745 [non-C99-based standards] (modfl): Allow.
72746 [non-C99-based standards] (erfl): Do not allow.
72747 [non-C99-based standards] (erfcl): Likewise.
72748 [non-C99-based standards] (gammal): Likewise.
72749 [non-C99-based standards] (hypotl): Likewise.
72750 [non-C99-based standards] (j0l): Likewise.
72751 [non-C99-based standards] (j1l): Likewise.
72752 [non-C99-based standards] (jnl): Likewise.
72753 [non-C99-based standards] (lgammal): Likewise.
72754 [non-C99-based standards] (tgammal): Likewise.
72755 [non-C99-based standards] (y0l): Likewise.
72756 [non-C99-based standards] (y1l): Likewise.
72757 [non-C99-based standards] (ynl): Likewise.
72758 [non-C99-based standards] (isnanl): Likewise.
72759 [non-C99-based standards] (acoshl): Likewise.
72760 [non-C99-based standards] (asinhl): Likewise.
72761 [non-C99-based standards] (atanhl): Likewise.
72762 [non-C99-based standards] (cbrtl): Likewise.
72763 [non-C99-based standards] (expm1l): Likewise.
72764 [non-C99-based standards] (ilogbl): Likewise.
72765 [non-C99-based standards] (log1pl): Likewise.
72766 [non-C99-based standards] (logbl): Likewise.
72767 [non-C99-based standards] (nextafterl): Likewise.
72768 [non-C99-based standards] (remainderl): Likewise.
72769 [non-C99-based standards] (rintl): Likewise.
72770 [non-C99-based standards] (scalbl): Likewise.
72771 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72772 [non-C99-based standards] (FP_*): Do not allow.
72773 [C99-based standards] (FP_*): Change to
72774 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72775 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72776 allow.
72777 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
72778 (SIG_ERR): Likewise.
72779 [X/Open-based standards] (SIG_HOLD): Likewise.
72780 (SIG_IGN): Likewise.
72781 (SIGABRT): Use macro-int-constant. Specify type. Require
72782 positive value.
72783 (SIGFPE): Likewise.
72784 (SIGILL): Likewise.
72785 (SIGINT): Likewise.
72786 (SIGSEGV): Likewise.
72787 (SIGTER): Likewise.
72788 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
72789 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
72790 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
72791 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
72792 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
72793 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
72794 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
72795 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
72796 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
72797 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
72798 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
72799 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
72800 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
72801 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
72802 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
72803 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
72804 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
72805 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
72806 [X/Open-based standards] (SIGTRAP): Likewise.
72807 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
72808 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
72809 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
72810 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
72811 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72812 allow.
72813
72814 2012-05-08 Ian Wienand <ianw@vmware.com>
72815
72816 [BZ #14080]
72817 * time/tzset.c (__tzset_parse_tz): Update default rules for
72818 daylight time changes in the Energy Policy Act of 2005.
72819
72820 2012-05-09 Andreas Jaeger <aj@suse.de>
72821
72822 [BZ #13983]
72823 * elf/ldconfig.c (parse_conf): Change string to make clear that
72824 ldconfig only issued a warning if ld.so.conf does not exist.
72825
72826 2012-05-08 David S. Miller <davem@davemloft.net>
72827
72828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
72829 movxtod instead of popping the value on the stack.
72830
72831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72832
72833 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
72834
72835 * config.h.in: Add HAVE_ARM_PCS_VFP.
72836
72837 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
72838
72839 [BZ #13979]
72840 * include/features.h: Warn if user requests __FORTIFY_SOURCE
72841 checking but the checks are disabled for any reason.
72842
72843 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
72844
72845 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
72846 and ELF64_R_TYPE with ELFW(R_TYPE).
72847
72848 2012-05-08 Joseph Myers <joseph@codesourcery.com>
72849
72850 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
72851 (ulimit): Likewise.
72852
72853 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
72854 (settimeofday): Likewise.
72855
72856 2012-05-08 Mike Frysinger <vapier@gentoo.org>
72857
72858 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
72859 a struct th_u2 inside the union, and move tu_block/tu_code into
72860 a new th_u3 union of tu_block/tu_code inside of that. Move
72861 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
72862 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
72863 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
72864 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
72865 (th_stuff): Change to th_u1.tu_stuff.
72866 (th_data): Define.
72867 (th_msg): Change to th_u1.th_u2.tu_data.
72868
72869 2012-05-07 David S. Miller <davem@davemloft.net>
72870
72871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72872
72873 [BZ #14074]
72874 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
72875 (SETUP_PIC_REG): Use it.
72876 (SETUP_PIC_REG_LEAF): Use it.
72877
72878 2012-05-07 Joseph Myers <joseph@codesourcery.com>
72879
72880 [BZ #13885]
72881 [BZ #13923]
72882 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72883 USE_AS_EXPM1L.
72884 (EXPL_FINITE): Likewise.
72885 (FLDLOG): Likewise.
72886 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72887 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72888 e_expl.S.
72889 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72890 USE_AS_EXPM1L.
72891 (EXPL_FINITE): Likewise.
72892 (FLDLOG): Likewise.
72893 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72894 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72895 e_expl.S.
72896 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
72897 test of -max_value argument for long double.
72898 * sysdeps/i386/fpu/libm-test-ulps: Update.
72899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72900
72901 2012-05-06 David S. Miller <davem@davemloft.net>
72902
72903 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72904 quad soft-float symbols whose references which are compiler
72905 generated.
72906 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72907
72908 2012-05-06 Joseph Myers <joseph@codesourcery.com>
72909
72910 [BZ #13884]
72911 [BZ #13914]
72912 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72913 USE_AS_EXP10L.
72914 (EXPL_FINITE): Likewise.
72915 (FLDLOG): Likewise.
72916 (c0): Likewise.
72917 (c1): Likewise.
72918 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72919 Adjust comments for base varying.
72920 (__expl_finite): Change alias to EXPL_FINITE.
72921 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72922 e_expl.S.
72923 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72924 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72925 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72926 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72927 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72928 USE_AS_EXP10L.
72929 (EXPL_FINITE): Likewise.
72930 (FLDLOG): Likewise.
72931 (c0): Likewise.
72932 (c1): Likewise.
72933 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72934 Adjust comments for base varying.
72935 (__expl_finite): Change alias to EXPL_FINITE.
72936 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
72937 tests for bugs.
72938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72939
72940 [BZ #14064]
72941 * math/libm-test.inc (check_float_internal): Correct ulp
72942 calculation for subnormal expected results.
72943
72944 2012-05-06 Andreas Jaeger <aj@suse.de>
72945
72946 * Makeconfig (+math-flags): New, set to -frounding-math.
72947 (+cflags): Add +math-flags so that all of glibc gets compiled with
72948 it.
72949
72950 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72951
72952 2012-05-05 Joseph Myers <joseph@codesourcery.com>
72953
72954 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72955 Disable one test.
72956
72957 [BZ #13787]
72958 [BZ #13922]
72959 [BZ #14036]
72960 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72961 (__ieee754_expl): Allow for and saturate large arguments.
72962 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72963 (u_threshold): Likewise.
72964 (__exp): Call __ieee754_exp before checking for overflow and
72965 underflow.
72966 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72967 (u_threshold): Likewise.
72968 (__expf): Call __ieee754_expf before checking for overflow and
72969 underflow.
72970 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72971 (u_threshold): Likewise.
72972 (__expl): Call __ieee754_expl before checking for overflow and
72973 underflow.
72974 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72975 (__ieee754_expl): Allow for and saturate large arguments.
72976 * math/libm-test.inc (exp_test): Add another test. Do not allow
72977 missing overflow exception on overflow.
72978 (expm1_test): Do not allow missing overflow exception on overflow.
72979
72980 * sysdeps/i386/fpu/e_expl.c: Move to ...
72981 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
72982 rather than using inline asm.
72983 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72984 * sysdeps/x86_64/fpu/e_expl.S: Copy from
72985 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72986
72987 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72988 (nice): Likewise.
72989 (poll): Likewise.
72990 (signal): Likewise.
72991 (time): Likewise.
72992 (times): Likewise.
72993
72994 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72995
72996 * sysdeps/unix/syscalls.list (adjtime): Add entry from
72997 sysdeps/unix/common/syscalls.list.
72998 (fchmod): Likewise.
72999 (fchown): Likewise.
73000 (ftruncate): Likewise.
73001 (getrusage): Likewise.
73002 (gettimeofday): Likewise.
73003 (setpgid): Likewise.
73004 (setregid): Likewise.
73005 (setreuid): Likewise.
73006 (sigaction): Likewise.
73007 (truncate): Likewise.
73008 (vhangup): Likewise.
73009 * sysdeps/unix/common/syscalls.list: Remove file.
73010 * sysdeps/unix/bsd/Implies: Don't include unix/common.
73011 * sysdeps/unix/sysv/linux/Implies: Likewise.
73012
73013 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
73014
73015 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
73016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
73017 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
73018 Moved to ...
73019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
73020 Here.
73021 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
73022 to ...
73023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
73024 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
73025 to ...
73026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
73027 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
73028 to ...
73029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
73030 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
73031 to ...
73032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
73033 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
73034 to ...
73035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
73036 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
73037 to ...
73038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
73039 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
73040 to ...
73041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
73042 Here.
73043 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
73044 to ...
73045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
73046 Here.
73047 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
73048 to ...
73049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
73050 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
73051 Moved to ...
73052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
73053 Here.
73054 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
73055 to ...
73056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
73057
73058 2012-05-04 Joseph Myers <joseph@codesourcery.com>
73059
73060 * sysdeps/unix/common/bits/dirent.h: Remove file.
73061 * sysdeps/unix/common/bits/fcntl.h: Likewise.
73062
73063 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
73064 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
73065 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
73066 * sysdeps/unix/bsd/isatty.c: Likewise.
73067 * sysdeps/unix/bsd/tcdrain.c: Likewise.
73068 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
73069 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
73070
73071 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73072
73073 [BZ #13563]
73074 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
73075 long double comparison inaccuracies.
73076 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
73077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73078
73079 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
73080
73081 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
73082 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
73083
73084 2012-05-04 Joseph Myers <joseph@codesourcery.com>
73085
73086 [BZ #14049]
73087 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
73088 nonzero digits before rounding a hex value.
73089 * stdlib/tst-strtod.c (tests): Add another test.
73090
73091 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73092
73093 * sysdeps/s390/fpu/libm-test-ulps: Update.
73094
73095 2012-05-03 Andreas Jaeger <aj@suse.de>
73096
73097 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
73098 does not get optimized out.
73099 (malloc_opt_barrier): New.
73100
73101 2012-05-03 Andreas Jaeger <aj@suse.de>
73102 Roland McGrath <roland@hack.frob.com>
73103
73104 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
73105 intermediate file deletion.
73106 (generated): Add .symlist files.
73107
73108 2012-05-03 Joseph Myers <joseph@codesourcery.com>
73109
73110 [BZ #13775]
73111 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
73112 Redirect under this condition.
73113 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73114 [__USE_GNU] (__dprintf_chk): Not under this condition.
73115 [__USE_GNU] (__vdprintf_chk): Likewise.
73116 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
73117 under this condition.
73118 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73119 [__USE_XOPEN2K8] (dprintf): Define under this condition.
73120 [__USE_XOPEN2K8] (vdprintf): Likewise.
73121 [__USE_GNU] (__dprintf_chk): Not under this condition.
73122 [__USE_GNU] (__vdprintf_chk): Likewise.
73123 [__USE_GNU] (dprintf): Likewise.
73124 [__USE_GNU] (vdprintf): Likewise.
73125
73126 2012-05-03 Roland McGrath <roland@hack.frob.com>
73127
73128 * elf/Makefile (common-generated): Set this instead of generated for
73129 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
73130 $(all-built-dso)-derived lists.
73131
73132 2012-05-03 Andreas Jaeger <aj@suse.de>
73133
73134 * sysdeps/i386/fpu/libm-test-ulps: Update.
73135
73136 * FAQ: Removed.
73137 * FAQ.in: Likewise.
73138 * scripts/gen-FAQ.pl: Likewise.
73139 * manual/install.texi (Installation): Point to online location of
73140 FAQ.
73141 * Makefile (files-for-dist): Remove FAQ.
73142 (FAQ): Remove.
73143
73144 2012-05-02 Allan McRae <allan@archlinux.org>
73145
73146 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
73147 (LDFLAGS-reldepmod5.so): Likewise.
73148 (LDFLAGS-reldep6mod1.so): Likewise.
73149 (LDFLAGS-reldep6mod4.so): Likewise.
73150 (LDFLAGS-reldep8mod3.so): Likewise.
73151 (LDFLAGS-unload4mod1.so): Likewise.
73152 (LDFLAGS-unload4mod2.so): Likewise.
73153 (LDFLAGS-tst-initorder): Likewise.
73154 (LDFLAGS-tst-initordera2.so): Likewise.
73155 (LDFLAGS-tst-initordera3.so): Likewise.
73156 (LDFLAGS-tst-initordera4.so): Likewise.
73157 (LDFLAGS-tst-initorderb2.so): Likewise.
73158 (LDFLAGS-noload): Likewise.
73159 (LDFLAGS-next): Likewise.
73160 (LDFLAGS-order2mod1.so): Likewise.
73161 (LDFLAGS-order2mod2.so): Likewise.
73162 (LDFLAGS-tst-initorder2): Likewise.
73163 (LDFLAGS-tst-initorder2a.so): Likewise.
73164 (LDFLAGS-tst-initorder2b.so): Likewise.
73165 (LDFLAGS-tst-initorder2c.so): Likewise.
73166 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
73167
73168 2012-05-02 David S. Miller <davem@davemloft.net>
73169
73170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73171
73172 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
73173
73174 [BZ #14055]
73175 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
73176
73177 2012-05-02 Andreas Jaeger <aj@suse.de>
73178
73179 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
73180 since we manipulate rounding mode.
73181 (CPPFLAGS-test-idouble.c): Likewise.
73182 (CPPFLAGS-test-ifloat.c): Likewise.
73183 (CFLAGS-test-ldouble.c): Likewise.
73184 (CFLAGS-test-double.c): Likewise.
73185 (CFLAGS-test-float.c): Likewise.
73186 (CFLAGS-test-misc.c): Likewise.
73187 (CFLAGS-test-test-fenv.c): Likewise.
73188
73189 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73190
73191 [BZ #2550]
73192 [BZ #2570]
73193 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
73194 comparisons to determine direction to adjust input.
73195
73196 2012-05-01 Roland McGrath <roland@hack.frob.com>
73197
73198 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
73199 output to the target.
73200
73201 * scripts/localplt.awk: New file.
73202 * elf/Makefile ($(objpfx)check-localplt): Target removed.
73203 (check-localplt-CFLAGS): Variable removed.
73204 ($(all-built-dso:=.jmprel)): New static pattern rule.
73205 (generated): Add those targets.
73206 (localplt-built-dso): New variable.
73207 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
73208
73209 * elf/check-localplt.c: File removed.
73210
73211 * scripts/check-execstack.awk: New file.
73212 * elf/Makefile ($(objpfx)check-execstack): Target removed.
73213 (check-execstack-CFLAGS): Variable removed.
73214 ($(objpfx)check-execstack.h): Target removed.
73215 ($(objpfx)execstack-default): New target.
73216 (generated): Add that instead of check-execstack.h.
73217 ($(all-built-dso:=.phdr)): New static pattern rule.
73218 (generated): Add those targets.
73219 * elf/check-execstack.c: File removed.
73220
73221 * scripts/check-textrel.awk: New file.
73222 * elf/Makefile ($(objpfx)check-textrel): Target removed.
73223 (check-textrel-CFLAGS): Variable removed.
73224 (all-built-dso): Use := to define.o
73225 ($(all-built-dso:=.dyn)): New static pattern rule.
73226 (generated): Add those targets.
73227 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
73228 * config.make.in (READELF): New substituted variable.
73229 * elf/check-textrel.c: File removed.
73230
73231 2012-05-01 Joseph Myers <joseph@codesourcery.com>
73232
73233 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73234 allow.
73235 * conform/data/ctype.h-data [C99-based standards] (isblank):
73236 Expect function.
73237 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
73238 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
73239 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73240 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
73241 Specify type. Require positive value.
73242 (EILSEQ): Likewise.
73243 (ERANGE): Likewise.
73244 [ISO || POSIX] (EILSEQ): Do not expect.
73245 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
73246 Specify type. Require positive value.
73247 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
73248 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
73249 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
73250 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
73251 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
73252 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
73253 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
73254 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
73255 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
73256 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
73257 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
73258 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
73259 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
73260 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
73261 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
73262 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
73263 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
73264 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
73265 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
73266 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
73267 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
73268 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
73269 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
73270 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
73271 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
73272 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
73273 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
73274 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
73275 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
73276 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
73277 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
73278 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
73279 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
73280 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
73281 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
73282 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
73283 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
73284 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
73285 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
73286 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
73287 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
73288 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
73289 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
73290 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
73291 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
73292 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
73293 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
73294 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
73295 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
73296 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
73297 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
73298 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
73299 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
73300 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
73301 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
73302 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
73303 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
73304 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
73305 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
73306 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
73307 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
73308 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
73309 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
73310 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
73311 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
73312 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
73313 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
73314 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
73315 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
73316 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
73317 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
73318 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
73319 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
73320 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
73321 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
73322 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
73323 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
73324 Require >= 2.
73325 (FLT_ROUNDS): Expect as macro, not constant.
73326 (FLT_MANT_DIG): Use macro-int-constant.
73327 (DBL_MANT_DIG): Likewise.
73328 (LDBL_MANT_DIG): Likewise.
73329 (FLT_DIG): Likewise.
73330 (DBL_DIG): Likewise.
73331 (LDBL_DIG): Likewise.
73332 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
73333 (DBL_MIN_EXP): Likewise.
73334 (LDBL_MIN_EXP): Likewise.
73335 (FLT_MAX_EXP): Use macro-int-constant.
73336 (DBL_MAX_EXP): Likewise.
73337 (LDBL_MAX_EXP): Likewise.
73338 (FLT_MAX_10_EXP): Likewise.
73339 (DBL_MAX_10_EXP): Likewise.
73340 (LDBL_MAX_10_EXP): Likewise.
73341 (FLT_MAX): Use macro-constant.
73342 (DBL_MAX): Likewise.
73343 (LDBL_MAX): Likewise.
73344 (FLT_EPSILON): Use macro-constant. Give upper bound.
73345 (DBL_EPSILON): Likewise.
73346 (LDBL_EPSILON): Likewise.
73347 (FLT_MIN): Likewise.
73348 (DBL_MIN): Likewise.
73349 (LDBL_MIN): Likewise.
73350 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
73351 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
73352 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
73353 [ISO11] (FLT_HAS_SUBNORM): Likewise.
73354 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
73355 [ISO11] (DBL_DECIMAL_DIG): Likewise.
73356 [ISO11] (FLT_DECIMAL_DIG): Likewise.
73357 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
73358 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
73359 [ISO11] (FLT_TRUE_MIN): Likewise.
73360 [ISO11] (LDBL_TRUE_MIN): Likewise.
73361 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73362 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
73363 (SCHAR_MIN): Use macro-int-constant. Specify type.
73364 (SCHAR_MAX): Likewise.
73365 (UCHAR_MAX): Likewise.
73366 (CHAR_MIN): Likewise.
73367 (CHAR_MAX): Likewise.
73368 (MB_LEN_MAX): Use macro-int-constant.
73369 (SHRT_MIN): Use macro-int-constant. Specify type.
73370 (SHRT_MAX): Likewise.
73371 (USHRT_MAX): Likewise.
73372 (INT_MAX): Likewise.
73373 (INT_MIN): Use macro-int-constant. Specify type. Make upper
73374 bound negative.
73375 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
73376 bound with "U".
73377 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
73378 bound with "L".
73379 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
73380 bound negative. Suffix upper bound with "L".
73381 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
73382 bound with "UL".
73383 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
73384 Specify type.
73385 [C99-based standards] (LLONG_MAX): Likewise.
73386 [C99-based standards] (ULLONG_MAX): Likewise.
73387 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
73388 == 0.
73389 [ISO11] (max_align_t): Require type.
73390 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73391
73392 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
73393 from $CFLAGS, without defining away __attribute__ calls.
73394 (checknamespace): Use $CFLAGS_namespace.
73395
73396 * conform/conformtest.pl (@keywords): Only include C99 keywords
73397 for standards based on C99 or C11.
73398
73399 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
73400 Disable tests.
73401 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
73402 UNIX98]: Likewise.
73403
73404 * conform/conformtest.pl: Handle "macro-int-constant" and test for
73405 usability of symbols in #if.
73406
73407 * conform/conformtest.pl: If macro or constant types start
73408 "promoted:", expect the symbol to be of the following type
73409 promoted by the integer promotions.
73410
73411 * conform/conformtest.pl: Parse all "constant" and "macro" lines
73412 in one place. Also handle "macro-constant".
73413
73414 * conform/conformtest.pl: Only accept expected macro values with
73415 "==". Parse all "macro" lines in one place.
73416 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
73417
73418 * conform/conformtest.pl: Handle braced types on "constant" lines
73419 instead of handling "typed-constant".
73420 * conform/data/signal.h-data: Use "constant" instead of
73421 "typed-constant".
73422
73423 * conform/conformtest.pl: Handle "optional-" at start of lines in
73424 one place rather than duplicating several cases. Handle each
73425 format of "macro" line with initial "optional-".
73426
73427 * conform/conformtest.pl: Only accept expected constant or
73428 optional-constant values with "==". Parse all "constant" lines in
73429 one place. Parse all "optional-constant" lines in one place.
73430 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
73431 * conform/data/fmtmsg.h-data: Likewise.
73432 * conform/data/netinet/in.h-data: Likewise.
73433 * conform/data/tar.h-data: Likewise.
73434 * conform/data/limits.h-data: Use "==" form on "constant" and
73435 "optional-constant" lines.
73436
73437 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
73438 Use -std=c99 for XOPEN2K.
73439 (@knownproblems): Remove.
73440 (newtoken): Don't check %isknown.
73441
73442 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
73443 Do not expect macro.
73444 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
73445 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
73446 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
73447 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
73448 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
73449 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
73450 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
73451 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
73452 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
73453 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
73454 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
73455 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
73456 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
73457 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
73458 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
73459 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
73460 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
73461 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
73462 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
73463 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
73464 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
73465 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
73466 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
73467 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
73468 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
73469 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
73470 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
73471 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
73472 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
73473 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
73474 [XPG3] (acosh): Likewise.
73475 [XPG3] (asinh): Likewise.
73476 [XPG3] (atanh): Likewise.
73477 [XPG3] (cbrt): Likewise.
73478 [XPG3] (expm1): Likewise.
73479 [XPG3] (ilogb): Likewise.
73480 [XPG3] (log1p): Likewise.
73481 [XPG3] (logb): Likewise.
73482 [XPG3] (nextafter): Likewise.
73483 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
73484 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
73485 [XPG3] (remainder): Likewise.
73486 [XPG3] (rint): Likewise.
73487 [XPG3 || XPG4 || UNIX98] (round): Likewise.
73488 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
73489 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
73490 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
73491 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
73492 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
73493 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
73494 [UNIX98 || XOPEN2K] (scalb): Expect.
73495 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
73496 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
73497 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
73498 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
73499 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
73500 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
73501 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
73502 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
73503 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
73504 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
73505 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
73506 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
73507 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
73508 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
73509 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
73510 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
73511 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
73512 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
73513 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
73514 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
73515 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
73516 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
73517 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
73518 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
73519 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
73520 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
73521 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
73522 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
73523 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
73524 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
73525 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
73526 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
73527 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
73528 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
73529 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
73530 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
73531 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
73532 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
73533 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
73534 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
73535 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
73536 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
73537 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
73538 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
73539 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
73540 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
73541 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
73542 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
73543 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
73544 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
73545 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
73546 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
73547 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
73548 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
73549 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
73550 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
73551 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
73552 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
73553 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
73554 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
73555 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
73556 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
73557 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
73558 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
73559 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
73560 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
73561 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
73562 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
73563 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
73564 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
73565 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
73566 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
73567 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
73568 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
73569 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
73570 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
73571 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
73572 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
73573 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
73574 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
73575 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
73576 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
73577 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
73578 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
73579 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
73580 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
73581 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
73582 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
73583 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
73584 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
73585 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
73586 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
73587 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
73588 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
73589 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
73590 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
73591 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
73592 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
73593 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
73594 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
73595 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
73596 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
73597 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
73598 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
73599 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
73600 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
73601 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
73602 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
73603 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
73604 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
73605 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
73606 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
73607 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
73608 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
73609 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
73610 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
73611 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
73612 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
73613 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
73614 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
73615 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
73616 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
73617 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
73618 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
73619 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
73620 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
73621 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
73622 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
73623 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
73624 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
73625 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
73626 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
73627 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
73628 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
73629 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
73630 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
73631 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
73632
73633 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
73634 _XOPEN_SOURCE_EXTENDED for XPG4.
73635
73636 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
73637
73638 * Makeconfig (localtime): Remove variable.
73639 (inst_localtime-file): Likewise.
73640
73641 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
73642
73643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
73644 Update.
73645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73646 Update.
73647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
73648 Update.
73649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
73650 Update.
73651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
73652 Update.
73653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
73654 Update.
73655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73656 Update.
73657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
73658 Update.
73659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73660 Update.
73661
73662 2012-05-01 Joseph Myers <joseph@codesourcery.com>
73663
73664 [BZ #2550]
73665 [BZ #2570]
73666 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
73667 comparisons to determine direction to adjust input.
73668 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
73669 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
73670 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
73671 Likewise.
73672 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
73673 Likewise.
73674 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
73675 Likewise.
73676 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
73677 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
73678 Likewise.
73679 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
73680 Likewise.
73681 * math/libm-test.inc (nexttoward_test): Add more tests.
73682
73683 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
73684
73685 [BZ #14040]
73686 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
73687 in version GLIBC_2.1, not GLIBC_2.0.
73688 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
73689 Likewise.
73690
73691 2012-04-30 Joseph Myers <joseph@codesourcery.com>
73692
73693 [BZ #13942]
73694 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
73695 (1 - x) * (1 + x).
73696 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73697 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
73698 * math/libm-test.inc (acos_test): Add more tests.
73699 (asin_test): Likewise.
73700 * sysdeps/i386/fpu/libm-test-ulps: Update.
73701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73702
73703 [BZ #14034]
73704 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
73705 of square root.
73706 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
73707 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73708 * math/libm-test.inc (acos_test_tonearest): New function.
73709 (acos_test_towardzero): Likewise.
73710 (acos_test_downward): Likewise.
73711 (acos_test_upward): Likewise.
73712 (asin_test_tonearest): Likewise.
73713 (asin_test_towardzero): Likewise.
73714 (asin_test_downward): Likewise.
73715 (asin_test_upward): Likewise.
73716 (main): Call the new functions.
73717 * sysdeps/i386/fpu/libm-test-ulps: Update.
73718 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73719
73720 [BZ #13884]
73721 [BZ #13924]
73722 * math/e_exp10.c: Include <float.h>.
73723 (__ieee754_exp10): Handle underflow here rather than multiplying
73724 large negative argument by M_LN10.
73725 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
73726 of __ieee754_expf.
73727 * math/e_exp10l.c: Include <float.h>.
73728 (__ieee754_exp10l): Handle underflow here rather than multiplying
73729 large negative argument by M_LN10l.
73730 * math/libm-test.inc (exp10_test): Add another test. Do not allow
73731 spurious overflow exception on underflow.
73732
73733 2012-04-29 Marek Polacek <polacek@redhat.com>
73734
73735 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
73736 (__fortify_function): New macro.
73737 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
73738 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
73739 __extern_always_inline.
73740 * libio/bits/stdio2.h: Likewise.
73741 * libio/bits/stdio.h: Likewise.
73742 * string/string.h: Likewise.
73743 * string/bits/string3.h: Likewise.
73744 * include/stdio.h: Likewise.
73745 * stdlib/bits/stdlib.h: Likewise.
73746 * stdlib/stdlib.h: Likewise.
73747 * rt/bits/mqueue2.h: Likewise.
73748 * rt/mqueue.h: Likewise.
73749 * posix/bits/unistd.h: Likewise.
73750 * posix/unistd.h: Likewise.
73751 * io/bits/poll2.h: Likewise.
73752 * io/bits/fcntl2.h: Likewise.
73753 * io/fcntl.h: Likewise.
73754 * io/sys/poll.h: Likewise.
73755 * misc/bits/syslog.h: Likewise.
73756 * misc/bits/syslog-ldbl.h: Likewise.
73757 * misc/sys/syslog.h: Likewise.
73758 * socket/bits/socket2.h: Likewise.
73759 * socket/sys/socket.h: Likewise.
73760 * debug/tst-chk1.c: Likewise.
73761 * wcsmbs/bits/wchar2.h: Likewise.
73762 * wcsmbs/bits/wchar-ldbl.h: Likewise.
73763 * wcsmbs/wchar.h: Likewise.
73764
73765 2012-04-29 Andreas Jaeger <aj@suse.de>
73766
73767 * Makerules (tests): Remove enable-check-abi protection.
73768 (check-abi-warn): Remove.
73769 (check-abi-%): Remove check-abi-warn usage.
73770
73771 * configure.in: Remove check-abi configure option.
73772 * configure: Regenerated.
73773 * config.make.in (enable-check-abi): Remove.
73774
73775 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
73776
73777 [BZ #14033]
73778 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
73779 double functions to double *_finite functions.
73780
73781 [BZ #13941]
73782 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
73783 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
73784 LDBL_MIN_EXP.
73785 * stdio-common/Makefile (tests): Add tst-sprintf3.
73786 * stdio-common/tst-sprintf3.c: New file.
73787
73788 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
73789 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
73790
73791 2012-04-28 Joseph Myers <joseph@codesourcery.com>
73792
73793 * conform/conformtest.pl: Remove duplicate typed-constant
73794 handling.
73795
73796 2012-04-28 David S. Miller <davem@davemloft.net>
73797
73798 * Makerules (%.abilist): Add vpath on sysdep_dirs.
73799 (check-abi-%): Remove AWK script prerequisite and explicit
73800 abilist directory.
73801 (check-abi): Rewrite to just diff the symlist with the abilist.
73802 (config-tls, config-abi-config): Delete, no longer used.
73803 (update-abi-%): Remove AWK script and explicit abilist directory.
73804 (update-abi): Rewrite to simply compare and conditionally copy the
73805 symlist and the sysdep abilist file. Remove update-abi-config
73806 checks.
73807 * abilist/ld.abilist: Remove.
73808 * abilist/libBrokenLocale.abilist: Remove.
73809 * abilist/libanl.abilist: Remove.
73810 * abilist/libcrypt.abilist: Remove.
73811 * abilist/libdl.abilist: Remove.
73812 * abilist/librt.abilist: Remove.
73813 * abilist/libthread_db.abilist: Remove.
73814 * abilist/libutil.abilist: Remove.
73815 * scripts/extract-abilist.awk: Remove.
73816 * scripts/merge-abilist.awk: Remove.
73817 * sysdeps/generic/libcidn.abilist: New file.
73818 * sysdeps/generic/libnss_compat.abilist: New file.
73819 * sysdeps/generic/libnss_db.abilist: New file.
73820 * sysdeps/generic/libnss_dns.abilist: New file.
73821 * sysdeps/generic/libnss_files.abilist: New file.
73822 * sysdeps/generic/libnss_hesiod.abilist: New file.
73823 * sysdeps/generic/libnss_nis.abilist: New file.
73824 * sysdeps/generic/libnss_nisplus.abilist: New file.
73825 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
73826 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
73827 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
73828 file.
73829 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
73830 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
73831 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
73832 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
73833 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
73834 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
73835 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
73836 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
73837 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
73838 file.
73839 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
73840 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
73841 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
73842 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
73843 file.
73844 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
73845 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
73846 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
73847 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
73848 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
73849 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
73850 file.
73851 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
73852 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
73853 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
73854 file.
73855 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
73856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
73857 New file.
73858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
73859 New file.
73860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
73861 New file.
73862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
73863 New file.
73864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
73865 New file.
73866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
73867 New file.
73868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
73869 New file.
73870 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
73871 New file.
73872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
73873 New file.
73874 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
73875 New file.
73876 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
73877 New file.
73878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
73879 New file.
73880 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73881 New file.
73882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73883 file.
73884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73885 New file.
73886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73887 New file.
73888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73889 file.
73890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73891 New file.
73892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73893 New file.
73894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73895 file.
73896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73897 New file.
73898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73899 New file.
73900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73901 New file.
73902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73903 New file.
73904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73905 New file.
73906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73907 New file.
73908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73910 file.
73911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73912 New file.
73913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73914 file.
73915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73916 file.
73917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73918 file.
73919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73920 file.
73921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73922 file.
73923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73924 New file.
73925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73926 file.
73927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73928 file.
73929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73930 New file.
73931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73932 file.
73933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73935 file.
73936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73937 New file.
73938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73939 file.
73940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73941 file.
73942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73943 file.
73944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73945 file.
73946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73947 file.
73948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73949 New file.
73950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73951 file.
73952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73953 file.
73954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73955 New file.
73956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73957 file.
73958 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73959 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73960 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73961 file.
73962 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73963 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73964 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73965 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73966 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73967 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73968 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73969 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73970 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73971 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73974 file.
73975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73976 New file.
73977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73978 file.
73979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73980 file.
73981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73982 file.
73983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73984 file.
73985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73986 file.
73987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73988 New file.
73989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73990 New file.
73991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73992 file.
73993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73994 New file.
73995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73996 file.
73997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73999 file.
74000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
74001 New file.
74002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
74003 file.
74004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
74005 file.
74006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
74007 file.
74008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
74009 file.
74010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
74011 file.
74012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
74013 New file.
74014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
74015 New file.
74016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
74017 file.
74018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
74019 New file.
74020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
74021 file.
74022
74023 2012-04-28 Joseph Myers <joseph@codesourcery.com>
74024
74025 * conform/conformtest.pl: Fix typo in handling typed-constant from
74026 allow-header.
74027
74028 2012-04-27 Joseph Myers <joseph@codesourcery.com>
74029
74030 * README: Cut down references to pre-2.6 Linux kernels and
74031 Linuxthreads. Update lists of configurations in libc and ports
74032 and sort alphabetically. Say "or newer" with Linux kernel version
74033 requirements.
74034
74035 * config.h.in [IS_IN_build]: Allow compiling without optimization.
74036
74037 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
74038
74039 [BZ #887]
74040 * math/libm-test.inc (logb_test_downward): New test to expose
74041 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
74042 rounding mode.
74043
74044 2012-04-27 Joseph Myers <joseph@codesourcery.com>
74045
74046 [BZ #14027]
74047 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
74048 to be done.
74049 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
74050 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
74051
74052 2012-04-26 Joseph Myers <joseph@codesourcery.com>
74053
74054 * sysdeps/unix/i386/brk.S: Remove file.
74055 * sysdeps/unix/i386/dl-brk.S: Likewise.
74056 * sysdeps/unix/i386/pipe.S: Likewise.
74057 * sysdeps/unix/i386/sigreturn.S: Likewise.
74058 * sysdeps/unix/i386/syscall.S: Likewise.
74059 * sysdeps/unix/i386/vfork.S: Likewise.
74060 * sysdeps/unix/i386/wait.S: Likewise.
74061
74062 * sysdeps/unix/common/tcsendbrk.c: Move to ...
74063 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
74064
74065 * configure.in (arm*-none*): Do not allow without
74066 --enable-hacker-mode.
74067 (netbsd*): Remove case setting base_os.
74068 (386bsd*): Likewise.
74069 (freebsd*): Likewise.
74070 (bsdi*): Likewise.
74071 (osf*): Likewise.
74072 (sunos*): Likewise.
74073 (ultrix*): Likewise.
74074 (newsos*): Likewise.
74075 (dynix*): Likewise.
74076 (*bsd*): Likewise.
74077 (sysv*): Likewise.
74078 (isc*): Likewise.
74079 (esix*): Likewise.
74080 (sco*): Likewise.
74081 (minix*): Likewise.
74082 (irix4*): Likewise.
74083 (irix6*): Likewise.
74084 (solaris[2-9]*): Likewise.
74085 (none): Likewise.
74086 * configure: Regenerated.
74087
74088 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74089
74090 [BZ #11521]
74091 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
74092 overflow or cancellation in calculating denominator.
74093 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
74094 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
74095 down expression to avoid unexpected rounding in newer GCCs.
74096 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
74097
74098 2012-04-26 David S. Miller <davem@davemloft.net>
74099
74100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
74101 long-double compat symbols.
74102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
74103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
74104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
74105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
74106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
74107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
74108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
74109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
74110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
74111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
74112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
74113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
74114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74115
74116 2012-04-25 David S. Miller <davem@davemloft.net>
74117
74118 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
74119 HWCAP_* values only after the memory barriers have been defined.
74120 (atomic_full_barrier): Define.
74121 (atomic_read_barrier): Define.
74122 (atomic_write_barrier): Define.
74123
74124 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
74125
74126 * shlib-versions: Add libgcc_s version information.
74127 * sysdeps/generic/libgcc_s.h: Remove.
74128 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
74129 libgcc_s.h.
74130 * sysdeps/gnu/unwind-resume.c: Likewise.
74131 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
74132
74133 2012-04-25 David S. Miller <davem@davemloft.net>
74134
74135 * sysdeps/unix/sparc/brk.S: Delete.
74136 * sysdeps/unix/sparc/dl-brk.S: Delete.
74137 * sysdeps/unix/sparc/pipe.S: Delete.
74138 * sysdeps/unix/sparc/sysdep.S: Delete.
74139 * sysdeps/unix/sparc/sysdep.h: Delete.
74140 * sysdeps/unix/sparc/vfork.S: Delete.
74141 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
74142 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
74143 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
74144 (ret_ERRVAL, r0, r1, MOVE): Define.
74145 (JUMPTARGET): Remove.
74146 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
74147 sysdeps/unix/sparc/sysdep.h
74148 (ENTRY, END): Remove.
74149 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74150
74151 2012-04-25 Joseph Myers <joseph@codesourcery.com>
74152
74153 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
74154 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
74155 -DIS_IN_build.
74156
74157 * timezone/README: Update upstream location and email address for
74158 tzcode and tzdata.
74159 * timezone/zdump.c: Update from tzcode 2012b.
74160 * timezone/zic.c: Likewise.
74161
74162 * configure.in (libc_cv_as_needed): Remove test.
74163 * configure: Regenerated.
74164 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
74165 conditional definition.
74166 [$(have-as-needed) != yes] (no-as-needed): Likewise.
74167 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
74168 * config.make.in (have-as-needed): Remove variable.
74169
74170 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
74171 Paul Pluzhnikov <ppluzhnikov@google.com>
74172
74173 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
74174 strings correctly.
74175
74176 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
74177
74178 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
74179 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
74180 * sysdeps/sh/strlen.S: Likewise.
74181
74182 2012-04-24 Joseph Myers <joseph@codesourcery.com>
74183
74184 * sysdeps/unix/fork.S: Remove file.
74185 * sysdeps/unix/i386/fork.S: Likewise.
74186 * sysdeps/unix/sparc/fork.S: Likewise.
74187
74188 * sysdeps/unix/system.c: Remove file.
74189 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
74190
74191 * sysdeps/unix/getegid.S: Remove file.
74192 * sysdeps/unix/geteuid.S: Likewise.
74193
74194 2012-04-24 Roland McGrath <roland@hack.frob.com>
74195
74196 * scripts/check-localplt.awk: New file.
74197 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
74198 of diff.
74199 * scripts/data/localplt-generic.data: Add a comment.
74200
74201 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
74202 NODE when __dir_mkfile failed.
74203 * sysdeps/mach/hurd/symlinkat.c: Likewise.
74204 Reported by Ludovic Courtès <ludo@gnu.org>.
74205
74206 2012-04-24 Andreas Jaeger <aj@suse.de>
74207
74208 * Makerules (common-clean): Also remove gen-as-const-headers
74209 files.
74210
74211 2012-04-24 Joseph Myers <joseph@codesourcery.com>
74212
74213 * Makerules (native-compile): Do not change working directory for
74214 build. Use $(OUTPUT_OPTION) in command.
74215 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
74216
74217 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74218
74219 [BZ #13886]
74220 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
74221 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
74222 * math/libm-test.inc (floor_test): Add more tests.
74223 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
74224
74225 2012-04-24 Joseph Myers <joseph@codesourcery.com>
74226
74227 * sysdeps/unix/getdents.c: Remove file.
74228 * sysdeps/unix/sysv/getdents.c: Likewise.
74229 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
74230
74231 * sysdeps/unix/syscalls.list (madvise): Add syscall from
74232 sysdeps/unix/mman/syscalls.list.
74233 (mmap): Likewise.
74234 (mprotect): Likewise.
74235 (msync): Likewise.
74236 (munmap): Likewise.
74237 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
74238 * sysdeps/unix/mman/syscalls.list: Remove.
74239 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
74240
74241 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
74242 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
74243 * configure: Regenerated.
74244 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
74245 $(libgcc_s_suffix).
74246 * config.make.in (libgcc_s_suffix): Remove variable.
74247
74248 2012-04-23 Joseph Myers <joseph@codesourcery.com>
74249
74250 * sysdeps/unix/sysv/gethostname.c: Move to ...
74251 * sysdeps/posix/gethostname.c: ... here.
74252
74253 * sysdeps/unix/execve.S: Remove file.
74254
74255 * sysdeps/unix/_exit.S: Remove file.
74256
74257 2012-04-23 Andreas Jaeger <aj@suse.de>
74258
74259 [BZ #13739]
74260 * manual/Makefile: Remove make dist support, there's no
74261 need for a stand-alone documentation tar ball.
74262 (TEXI2DVI): Define always, it's not in Makeconfig.
74263 (dist): Removed.
74264 (tar-it): Removed.
74265 (edition): Removed.
74266 (glibc-doc-$(edition).tar): Removed
74267 (%.Z): Removed.
74268 (%.gz): Removed.
74269 (%.uu): Removed.
74270 (ETAGS): Remove, it's in Makeconfig.
74271 (move-if-change): Remove, it's in Makeconfig.
74272
74273 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
74274
74275 [BZ #13970]
74276 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
74277 (strtod, strtof, strtold, strtol, strtoul, strtoq)
74278 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
74279 (strtod_l, strtof_l, strtold_l): Remove __wur.
74280 It is not necessarily an error to ignore strtol's return value.
74281 One can reliably look at the stored endptr to decide whether
74282 the number had valid syntax.
74283
74284 2012-04-21 Andreas Jaeger <aj@suse.de>
74285
74286 [BZ #13739]
74287 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
74288
74289 2012-04-21 Joseph Myers <joseph@codesourcery.com>
74290
74291 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
74292 * sysdeps/unix/sysv/Versions: Remove file.
74293
74294 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
74295
74296 [BZ #13927]
74297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74298
74299 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
74300
74301 [BZ #7064]
74302 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
74303 version from __vm86.
74304
74305 2012-04-20 Joseph Myers <joseph@codesourcery.com>
74306
74307 * sysdeps/unix/common/lxstat.c: Remove file.
74308 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
74309
74310 * sysdeps/unix/sysv/Makefile: Remove file.
74311
74312 * sysdeps/unix/sysv/direct.h: Remove file.
74313
74314 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
74315 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
74316 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
74317 * sysdeps/unix/sysv/bits/signum.h: Likewise.
74318 * sysdeps/unix/sysv/bits/stat.h: Likewise.
74319 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
74320 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
74321
74322 * sysdeps/unix/sysv/setrlimit.c: Remove file.
74323
74324 * sysdeps/unix/xmknod.c: Remove file.
74325 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
74326
74327 * sysdeps/unix/sysv/settimeofday.c: Remove file.
74328
74329 * sysdeps/unix/sysv/i386/time.S: Remove file.
74330
74331 * sysdeps/unix/fxstat.c: Remove file.
74332 * sysdeps/unix/xstat.c: Likewise.
74333 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
74334
74335 * sysdeps/unix/sysv/sigaction.c: Remove file.
74336
74337 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
74338 (sysdep_headers): Remove variable.
74339 [termio.h not in sysdep_headers] (generated): Likewise.
74340 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
74341 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
74342 * sysdeps/unix/sysv/tcdrain.c: Likewise.
74343 * sysdeps/unix/sysv/tcflow.c: Likewise.
74344 * sysdeps/unix/sysv/tcflush.c: Likewise.
74345 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
74346 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
74347 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
74348 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
74349 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
74350
74351 * sysdeps/unix/siglist.c: Remove file.
74352
74353 * sysdeps/unix/getppid.S: Remove file.
74354
74355 * sysdeps/unix/mkdir.c: Remove file.
74356 * sysdeps/unix/rmdir.c: Likewise.
74357
74358 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
74359
74360 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
74361 ERR_MAX value.
74362 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
74363 errlist-compat value.
74364
74365 2012-04-18 David S. Miller <davem@davemloft.net>
74366
74367 * sysdeps/generic/memcopy.h (reg_char): Delete.
74368 * debug/strcat_chk.c: Use char, not reg_char.
74369 * debug/strcpy_chk.c: Likewise.
74370 * debug/strncat_chk.c: Likewise.
74371 * debug/strncpy_chk.c: Likewise.
74372 * string/memchr.c: Likewise.
74373 * string/memrchr.c: Likewise.
74374 * string/rawmemchr.c: Likewise.
74375 * string/strcat.c: Likewise.
74376 * string/strchr.c: Likewise.
74377 * string/strchrnul.c: Likewise.
74378 * string/strcmp.c: Likewise.
74379 * string/strcpy.c: Likewise.
74380 * string/strncat.c: Likewise.
74381 * string/strncmp.c: Likewise.
74382 * string/strncpy.c: Likewise.
74383
74384 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74385
74386 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
74387 __builtin_memcopy is called when src and dest ranges are known to not
74388 overlap.
74389
74390 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74391
74392 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
74393 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
74394 fwd_align_merge macro call.
74395 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
74396 bwd_align_merge macro call.
74397 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74398
74399 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74400
74401 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
74402 bwd_align_merge macros.
74403 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
74404 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
74405 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74406
74407 2012-04-18 David S. Miller <davem@davemloft.net>
74408
74409 * sysdeps/sparc/sparc64/memcopy.h: Delete.
74410
74411 2012-04-18 Andreas Jaeger <aj@suse.de>
74412
74413 [BZ# 6794]
74414 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
74415 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
74416 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74417
74418 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
74419 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
74420 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74421
74422 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
74423 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
74424 Adjust for changed ldbl-128 files.
74425
74426 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
74427 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
74428 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74429
74430 2012-04-17 David S. Miller <davem@davemloft.net>
74431
74432 * sysdeps/sparc/sparc32/memcopy.h: Delete.
74433
74434 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
74435
74436 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
74437 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
74438 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
74439 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
74440 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
74441 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
74442
74443 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74444
74445 [BZ #6794]
74446 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
74447 * math/libm-test.inc: Add ilogb errno and exception tests.
74448 * math/w_ilogb.c: New file: ilogb wrapper.
74449 * math/w_ilogbf.c: New file: ilogbf wrapper.
74450 * math/w_ilogbl.c: New file: ilogbl wrapper.
74451 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
74452 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
74453 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
74454 exception being thrown with 0.0 as argument.
74455 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
74456 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
74457 exception being thrown with 0.0 as argument.
74458 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
74459 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74460 exception being thrown with 0.0 as argument.
74461 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
74462 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74463 exception being thrown with 0.0 as argument.
74464 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
74465 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
74466 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
74467 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
74468 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
74469 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
74470 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
74471 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
74472 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
74473
74474 2012-04-17 Petr Baudis <pasky@ucw.cz>
74475
74476 * include/sys/uio.h: Change __vector to __iovec to avoid clash
74477 with altivec.
74478
74479 2012-04-16 Marek Polacek <polacek@redhat.com>
74480
74481 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
74482
74483 2012-04-16 Marek Polacek <polacek@redhat.com>
74484
74485 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
74486 operands of fdivp instruction.
74487
74488 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
74489
74490 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
74491 * elf/tst-auditmod3b.c: Likewise.
74492 * elf/tst-auditmod4b.c: Likewise.
74493 * elf/tst-auditmod5b.c: Likewise.
74494 * elf/tst-auditmod6b.c: Likewise.
74495 * elf/tst-auditmod6c.c: Likewise.
74496 * elf/tst-auditmod7b.c: Likewise.
74497 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
74498 * sysdeps/x86_64/preconfigure.in: Likewise.
74499 * sysdeps/x86_64/preconfigure: Regenerated.
74500
74501 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
74502
74503 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
74504 __ILP32__.
74505
74506 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
74507
74508 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74509 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
74510
74511 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
74512
74513 [BZ #13973]
74514 * locale/iso-639.def: Fix gl language name. Spotted by
74515 Yaron Shahrabani.
74516
74517 2012-04-12 Roland McGrath <roland@hack.frob.com>
74518
74519 [BZ #2074]
74520 * libio/libio.h (__io_write_fn): Update comment.
74521
74522 2012-04-12 Petr Baudis <pasky@ucw.cz>
74523
74524 [BZ #2074]
74525 * stdio.texi (Hook Functions): The user provided writer function
74526 is not allowed to return -1.
74527
74528 2012-04-11 David S. Miller <davem@davemloft.net>
74529
74530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74531
74532 2012-04-11 Mike Frysinger <vapier@gentoo.org>
74533
74534 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
74535 Add a leading slash to rtkaio.
74536
74537 2012-04-11 Jim Meyering <meyering@redhat.com>
74538
74539 [BZ #11959]
74540 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
74541 It is not necessarily an error to ignore fwrite's return
74542 value. One can reliably use ferror to test for errors after
74543 the fact.
74544
74545 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
74546
74547 * bits/types.h (__snseconds_t): New type.
74548 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
74549
74550 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
74551 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74552 (__SNSECONDS_T_TYPE): Likewise.
74553 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74554 (__SNSECONDS_T_TYPE): Likewise.
74555 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74556 (__SNSECONDS_T_TYPE): Likewise.
74557
74558 2012-04-10 Andreas Jaeger <aj@suse.de>
74559
74560 [BZ #2636]
74561 * manual/time.texi (Processor Time): Return type of times is
74562 elapsed real time since an arbitrary point in the past.
74563 (CPU Time): Move CLK_TCK from here...
74564 (Processor Time): ...to here. Correct description.
74565 * manual/conf.texi (Constants for Sysconf): Correct description of
74566 _SC_CLK_TCK.
74567
74568 2012-04-10 David S. Miller <davem@davemloft.net>
74569
74570 [BZ #13967]
74571 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
74572 where the is a gap between DT_REL(A) and DT_JMPREL.
74573
74574 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
74575
74576 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
74577 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74578 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74579
74580 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
74581
74582 * elf/dl-support.c (_dl_inhibit_cache): New variable.
74583 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
74584 (dl_main): Handle --inhibit-cache.
74585 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
74586 _dl_inhibit_cache.
74587 * elf/dl-load.c (_dl_map_object): Use it.
74588 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
74589
74590 2012-04-09 Joseph Myers <joseph@codesourcery.com>
74591
74592 [BZ #13872]
74593 * sysdeps/i386/fpu/e_powl.S (p78): New object.
74594 (__ieee754_powl): Saturate large exponents rather than testing for
74595 overflow of y*log2(x).
74596 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74597 * math/libm-test.inc (pow_test): Do not permit spurious overflow
74598 exceptions.
74599
74600 [BZ #11521]
74601 * math/s_ctan.c: Include <float.h>.
74602 (__ctan): Avoid internal overflow or cancellation in calculating
74603 denominator.
74604 * math/s_ctanf.c: Likewise.
74605 * math/s_ctanl.c: Likewise.
74606 * math/s_ctanh.c: Likewise.
74607 * math/s_ctanhf.c: Likewise.
74608 * math/s_ctanhl.c: Likewise.
74609 * math/libm-test.inc (ctan_test): Add more tests.
74610 (ctanh_test): Likewise.
74611 * sysdeps/i386/fpu/libm-test-ulps: Update.
74612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74613
74614 2012-04-09 Andreas Jaeger <aj@suse.de>
74615
74616 [BZ #6894]
74617 * manual/filesys.texi (Directory Entries): Mention that d_namlen
74618 is an optional BSD extension.
74619
74620 [BZ #10254]
74621 * manual/stdio.texi (Opening Streams): Document additional fopen
74622 parameters.
74623
74624 2012-04-09 Roland McGrath <roland@hack.frob.com>
74625
74626 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
74627 %eax without telling the compiler.
74628
74629 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
74630
74631 [BZ # 13963]
74632 * manual/install.texi: Use sourceware.org.
74633
74634 2012-04-09 Joseph Myers <joseph@codesourcery.com>
74635
74636 [BZ #13873]
74637 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
74638 (__ieee754_pow): Generate overflow and underflow using huge*huge
74639 and tiny*tiny rather than just returning constant infinity or zero
74640 for large exponents.
74641 * math/libm-test.inc (pow_test): Require overflow exceptions for
74642 applicable cases of large exponents.
74643
74644 [BZ #706]
74645 * sysdeps/i386/fpu/e_pow.S (p10): New object.
74646 (__ieee754_pow): Use iterative multiplication algorithm only for
74647 integer exponents with absolute value below 1024. Check for odd
74648 integer exponents when using algorithm for real exponents.
74649 * math/libm-test.inc (pow_test): Add more tests.
74650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74651
74652 2012-04-08 Joseph Myers <joseph@codesourcery.com>
74653
74654 [BZ #13705]
74655 * math/libm-test.inc (exp_test): Do not allow overflow exception
74656 on underflow test.
74657
74658 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
74659
74660 [BZ #13705]
74661 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
74662 instead of __kernel_standard_f.
74663
74664 2012-04-08 Mike Frysinger <vapier@gentoo.org>
74665
74666 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
74667 * sysdeps/x86_64/memset_chk.S: Likewise.
74668
74669 2012-04-08 Andreas Jaeger <aj@suse.de>
74670
74671 [BZ #10153]
74672 * manual/startup.texi (Environment Access): Describe return value
74673 for putenv and setenv.
74674
74675 [BZ #6895]
74676 * manual/filesys.texi (Directory Entries): Add description for
74677 DT_LNK.
74678
74679 [BZ #6890]
74680 * manual/filesys.texi (Directory Entries): Clarify that it's file
74681 system not operating system in the description of DT_UNKNOWN.
74682
74683 [BZ #6578]
74684 * manual/syslog.texi (closelog): Fix reference, it's openlog.
74685
74686 2012-04-08 Stephen Compall <s11@member.fsf.org>
74687
74688 [BZ #6649]
74689 * manual/llio.texi (Opening and Closing Files): Add cross
74690 reference to explain mode argument.
74691
74692 2012-04-07 Mike Frysinger <vapier@gentoo.org>
74693
74694 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
74695 * sysdeps/x86_64/memset_chk.S: Likewise.
74696
74697 2012-04-07 David S. Miller <davem@davemloft.net>
74698
74699 * elf/elf.h (R_SPARC_WDISP10): Define.
74700 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
74701 R_SPARC_SIZE32.
74702 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
74703 R_SPARC_SIZE64 and R_SPARC_H34.
74704
74705 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
74706
74707 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
74708 conditions and remove no longer applicable assertion.
74709
74710 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
74711
74712 * bits/byteswap.h: Include <features.h>.
74713 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74714 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74715
74716 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
74717
74718 * bits/byteswap.h (__bswap_16): Removed.
74719 Include <bits/byteswap-16.h> to get __bswap_16.
74720 * sysdeps/i386/bits/byteswap.h: Likewise.
74721 * sysdeps/s390/bits/byteswap.h: Likewise.
74722 * sysdeps/x86_64/bits/byteswap.h: Likewise.
74723 * bits/byteswap-16.h: New file.
74724 * sysdeps/i386/bits/byteswap-16.h: Likewise.
74725 * sysdeps/s390/bits/byteswap-16.h: Likewise.
74726 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
74727 * string/Makefile (headers): Add bits/byteswap-16.h.
74728
74729 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
74730
74731 [BZ #13895]
74732 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
74733 extra indirection.
74734 * nss/Makefile (tests-static, tests): Add tst-nss-static.
74735 * nss/tst-nss-static.c: New.
74736
74737 2012-04-06 Robert Millan <rmh@gnu.org>
74738
74739 [BZ #6486]
74740 * manual/llio.texi (File Position Primitive): lseek
74741 refers to WHENCE when it really means OFFSET.
74742
74743 2012-04-06 Andreas Jaeger <aj@suse.de>
74744
74745 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
74746 strncmp declarations.
74747
74748 * abilist/libc.abilist: Add __poll and __ppoll.
74749
74750 2012-04-05 David S. Miller <davem@davemloft.net>
74751
74752 * scripts/check-local-headers.sh: Accept a host triplet in the
74753 path matched by the exclude regexp.
74754
74755 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
74756 definition.
74757 * sysdeps/powerpc/powerpc32/dl-machine.h
74758 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
74759 * sysdeps/s390/s390-32/dl-machine.h
74760 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74761 * sysdeps/sparc/sparc32/dl-machine.h
74762 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74763 * sysdeps/sparc/sparc64/dl-machine.h
74764 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74765
74766 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
74767 lazy binding.
74768 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
74769 undefined symbol errors.
74770
74771 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
74772 DT_NEEDED entries.
74773
74774 2012-04-05 Michael Matz <matz@suse.de>
74775
74776 [BZ #13592]
74777 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
74778
74779 2012-04-05 Andreas Jaeger <aj@suse.de>
74780
74781 [BZ #13908]
74782 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
74783 comment.
74784
74785 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74786
74787 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
74788 which ROUND is no valid rounding mode.
74789
74790 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74791
74792 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
74793 read again.
74794 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
74795
74796 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74797
74798 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
74799 an exception using FPU order intentionally.
74800
74801 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74802
74803 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
74804 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
74805 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
74806 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
74807
74808 2012-04-05 Simon Josefsson <simon@josefsson.org>
74809
74810 [BZ #12340]
74811 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
74812 EINVAL when BUFLEN is too smal.
74813
74814 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
74815
74816 [BZ #13553]
74817 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
74818 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
74819
74820 2012-04-03 Andreas Jaeger <aj@suse.de>
74821
74822 [BZ #13938]
74823 * manual/setjmp.texi (System V contexts): Fix sentence.
74824
74825 [BZ #13926]
74826 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
74827 New macro for this case.
74828 [!__GNUC__] (__bswap_64): New inline function for this case.
74829 * sysdeps/x86_64/bits/byteswap.h: Likewise.
74830 * bits/byteswap.h: Likewise.
74831 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
74832 ull, guard with __GLIBC_HAVE_LONG_LONG.
74833
74834 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
74835 __GLIBC_HAVE_LONG_LONG.
74836
74837 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
74838 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
74839
74840 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74841
74842 [BZ #13691]
74843 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
74844 inptr and inend, rather than using last_ch.
74845
74846 2012-04-02 David S. Miller <davem@davemloft.net>
74847
74848 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
74849 * stdio-common/printf-parse.h (read_int): Change return type to
74850 'int', return -1 on INT_MAX overflow.
74851 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
74852 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
74853 overflows INT_MAX. Check for overflow of in-format-string precision
74854 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
74855 SIZE_MAX not INT_MAX for integer overflow test.
74856 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
74857 skip the construct in the format string but do not record anything.
74858 * stdio-common/bug22.c: Adjust to test both width/prevision
74859 INT_MAX overflow as well as total length INT_MAX overflow. Check
74860 explicitly for proper errno values.
74861
74862 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
74863
74864 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
74865 CHAR_MAX.
74866 * string/test-strcmp.c [! WIDE]: Likewise.
74867 * time/tst-mktime2.c: Likewise for INT_MAX.
74868 * string/test-string.h: #include <sys/param.h> for MIN.
74869
74870 * csu/init-first.c (__libc_init_first): Call __ctype_init.
74871 * sysdeps/i386/init-first.c (init): Likewise.
74872 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
74873 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
74874 * sysdeps/sh/init-first.c (init): Likewise.
74875
74876 2012-04-01 Ulrich Drepper <drepper@gmail.com>
74877
74878 * po/ru.po: Update from translation team.
74879 * po/vi.po: Likewise.
74880
74881 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
74882
74883 * resolv/nss_dns/dns-host.c: Merge copyright years.
74884
74885 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74886
74887 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74888 Optimize memcpy with prefetch if
74889 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
74890 src, dst pointers have unequal 16 byte alignments.
74891
74892 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
74893
74894 [BZ #13928]
74895 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74896 from a CNAME entry and return the minimum ttl for the query.
74897 (gaih_getanswer_slice): Likewise.
74898
74899 2012-03-30 Jeff Law <law@redhat.com>
74900
74901 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74902 due to long keys.
74903 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74904 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74905
74906 * resolv/nss_dns/dns-host.c: Update copyright year.
74907
74908 2012-03-30 Ulrich Drepper <drepper@gmail.com>
74909
74910 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74911 requests to save a system call. Fix check that all bytes are sent.
74912
74913 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74914 comments for sendmmsg.
74915
74916 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74917
74918 [BZ #13691]
74919 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74920 with only 1 character between 0x0041 and 0x01b0.
74921 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74922 * wcsmbs/tst-mbsnrtowcs.c: New file.
74923
74924 2012-03-29 David S. Miller <davem@davemloft.net>
74925
74926 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74927 small copies by hand.
74928
74929 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
74930
74931 [BZ #13761]
74932 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74933 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74934 group memberships.
74935
74936 2012-03-28 David S. Miller <davem@davemloft.net>
74937
74938 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74939 that branches into memcpy.
74940 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74941 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74942 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74943 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74944 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74945 bits.
74946 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74947 implementation too.
74948 * sysdeps/sparc/mempcpy.S: New file.
74949
74950 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74951 the IFUNC routine in the libc case.
74952 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74953
74954 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74955 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74956 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74957 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74958 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74959 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74960 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74961 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74962
74963 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74964 loop to 256 bytes instead of 64 bytes and fix test signedness.
74965
74966 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74967 * sysdeps/sparc/sparc32/Makefile: rather than here...
74968 * sysdeps/sparc/sparc64/Makefile: and here.
74969
74970 2012-03-28 Ulrich Drepper <drepper@gmail.com>
74971
74972 * malloc/mallocbug.c: Avoid warnings about unused variables.
74973
74974 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
74975
74976 [BZ #13760]
74977 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74978 in the right place. Discard and retry query if response is
74979 larger than input buffer size.
74980
74981 2012-03-28 Joseph Myers <joseph@codesourcery.com>
74982
74983 [BZ #369]
74984 [BZ #2678]
74985 [BZ #3866]
74986 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74987 x for large integer exponent.
74988 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74989 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
74990 sign of result as needed afterwards.
74991 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74992 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74993 result for underflowing pow the same as for overflow.
74994 (__kernel_standard_l): Handle powl overflow and underflow here
74995 rather than calling __kernel_standard.
74996 * math/libm-test.inc (pow_test): Add more tests.
74997
74998 [BZ #3868]
74999 [BZ #13879]
75000 [BZ #13910]
75001 [BZ #13911]
75002 [BZ #13912]
75003 [BZ #13913]
75004 [BZ #13915]
75005 [BZ #13916]
75006 [BZ #13917]
75007 [BZ #13918]
75008 [BZ #13919]
75009 [BZ #13920]
75010 [BZ #13921]
75011 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
75012 * sysdeps/ieee754/k_standard.c: Include <float.h>.
75013 (__kernel_standard_l): New function.
75014 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
75015 __kernel_standard.
75016 * math/w_acosl.c (__acosl): Likewise.
75017 * math/w_asinl.c (__asinl): Likewise.
75018 * math/w_atan2l.c (__atan2l): Likewise.
75019 * math/w_atanhl.c (__atanhl): Likewise.
75020 * math/w_coshl.c (__coshl): Likewise.
75021 * math/w_exp10l.c (__exp10l): Likewise.
75022 * math/w_exp2l.c (__exp2l): Likewise.
75023 * math/w_fmodl.c (__fmodl): Likewise.
75024 * math/w_hypotl.c (__hypotl): Likewise.
75025 * math/w_j0l.c (__j0l, __y0l): Likewise.
75026 * math/w_j1l.c (__j1l, __y1l): Likewise.
75027 * math/w_jnl.c (__jnl, __ynl): Likewise.
75028 * math/w_lgammal.c (__lgammal): Likewise.
75029 * math/w_log10l.c (__log10l): Likewise.
75030 * math/w_log2l.c (__log2l): Likewise.
75031 * math/w_logl.c (__logl): Likewise.
75032 * math/w_powl.c (__powl): Likewise.
75033 * math/w_remainderl.c (__remainderl): Likewise.
75034 * math/w_scalbl.c (sysv_scalbl): Likewise.
75035 * math/w_sinhl.c (__sinhl): Likewise.
75036 * math/w_sqrtl.c (__sqrtl): Likewise.
75037 * math/w_tgammal.c (__tgammal): Likewise.
75038 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
75039 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
75040 * math/libm-test.inc (acos_test): Add more tests.
75041 (acosh_test): Likewise.
75042 (asin_test): Likewise.
75043 (atanh_test): Likewise.
75044 (exp_test): Likewise.
75045 (exp10_test): Likewise.
75046 (exp2_test): Likewise.
75047 (expm1_test): Likewise.
75048 (lgamma_test): Likewise.
75049 (log_test): Likewise.
75050 (log10_test): Likewise.
75051 (log1p_test): Likewise.
75052 (log2_test): Likewise.
75053 (pow_test): Do not allow some spurious overflow exceptions.
75054 (sqrt_test): Add more tests.
75055 (tgamma_test): Likewise.
75056 (y0_test): Likewise.
75057 (y1_test): Likewise.
75058 (yn_test): Likewise.
75059
75060 2012-03-27 Anton Blanchard <anton@samba.org>
75061
75062 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
75063 MAP_HUGETLB.
75064 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75065 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75066 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75067
75068 2012-03-27 David S. Miller <davem@davemloft.net>
75069
75070 * conform/Makefile: Run run-conformtest.sh using $(BASH).
75071
75072 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
75073 have-as-vis3 check.
75074
75075 2012-03-27 Andreas Jaeger <aj@suse.de>
75076
75077 * sysdeps/x86_64/elf/configure.in: Moved to ...
75078 * sysdeps/x86_64/configure.in: ... here.
75079 * sysdeps/x86_64/elf/start.S: Moved to ...
75080 * sysdeps/x86_64/start.S: ... here.
75081 * sysdeps/x86_64/elf/configure: Delete.
75082
75083 * sysdeps/x86_64/configure.in: Merge contents from
75084 sysdeps/i386/configure.in (without i686 check).
75085
75086 * sysdeps/i386/elf/Versions: Merge into ...
75087 * sysdeps/i386/Versions: ... this.
75088 * sysdeps/i386/elf/Versions: Delete file.
75089 * sysdeps/i386/elf/start.S: Moved to ...
75090 * sysdeps/i386/start.S: ...here.
75091 * sysdeps/i386/elf/configure.in: Merge into...
75092 * sysdeps/i386/configure.in: ...here.
75093 * sysdeps/i386/elf/configure.in: Delete file.
75094 * sysdeps/i386/elf/configure: Delete file.
75095
75096 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
75097 * debug/backtracesyms.c: ... here.
75098 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
75099 * debug/backtracesymsfd.c: ... here.
75100 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
75101 * sysdeps/generic/ifunc-sel.h: ... here.
75102
75103 * sysdeps/unix/i386/start.c: Delete file.
75104 * sysdeps/unix/sparc/start.c: Delete file.
75105 * sysdeps/unix/start.c: Delete file.
75106
75107 * sysdeps/sh/elf/configure.in: Moved to ...
75108 * sysdeps/sh/configure.in: ... here.
75109 * sysdeps/sh/elf/start.S: Moved to ...
75110 * sysdeps/sh/start.S: ... here.
75111 * sysdeps/sh/elf/configure: Delete file.
75112
75113 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
75114 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
75115 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
75116 * sysdeps/powerpc/powerpc64/entry.h: ... here.
75117 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
75118 * sysdeps/powerpc/powerpc64/start.S: here.
75119 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
75120 * sysdeps/powerpc/powerpc64/Makefile: ... this.
75121 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
75122 * sysdeps/powerpc/powerpc64/configure.in: ... this.
75123 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
75124
75125 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
75126 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
75127 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
75128 * sysdeps/powerpc/powerpc32/start.S: ... here.
75129 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
75130 * sysdeps/powerpc/powerpc32/configure.in: ... this.
75131 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
75132
75133 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
75134 * sysdeps/powerpc/ifunc-sel.h: ... here.
75135 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
75136 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
75137
75138 * sysdeps/sparc/elf/configure.in: Moved to ...
75139 * sysdeps/sparc/configure.in: ... here.
75140 * sysdeps/sparc/elf/configure: Delete file.
75141 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
75142 * sysdeps/sparc/sparc32/start.S: ... here.
75143 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
75144 * sysdeps/sparc/sparc64/start.S: ... here.
75145 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
75146 * sysdeps/sparc/sparc32/Makefile: ... this.
75147 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
75148 * sysdeps/sparc/sparc64/Makefile: ... this.
75149
75150 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
75151 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
75152 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
75153 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
75154 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
75155 * sysdeps/s390/s390-32/setjmp.S: ... here.
75156 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
75157 * sysdeps/s390/s390-32/configure.in: ... here.
75158 * sysdeps/s390/s390-32/elf/configure: Delete file.
75159 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
75160 * sysdeps/s390/s390-32/start.S: ... here.
75161
75162 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
75163 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
75164 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
75165 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
75166 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
75167 * sysdeps/s390/s390-64/setjmp.S: ... here.
75168 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
75169 * sysdeps/s390/s390-64/configure.in: ... here
75170 * sysdeps/s390/s390-64/elf/configure: Delete file.
75171 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
75172 * sysdeps/s390/s390-64/start.S: ... here.
75173 * sysdeps/s390/s390-64/elf/configure: Delete.
75174
75175 * configure.in: Remove support for elf directories in sysdeps.
75176
75177 * configure: Regenerated.
75178 * sysdeps/i386/configure: Regenerated.
75179 * sysdeps/powerpc/powerpc32/configure: Regenerated.
75180 * sysdeps/powerpc/powerpc64/configure: Regenerated.
75181 * sysdeps/s390/s390-32/configure: Regenerated.
75182 * sysdeps/s390/s390-64/configure: Regenerated.
75183 * sysdeps/sh/configure: Regenerated.
75184 * sysdeps/sparc/configure: Regenerated.
75185 * sysdeps/x86_64/configure: Regenerated.
75186
75187 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
75188
75189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75190
75191 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
75192 denormal result into account.
75193
75194 2012-03-25 Roland McGrath <roland@hack.frob.com>
75195
75196 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
75197 Reported by Allan McRae <allan@archlinux.org>.
75198
75199 2012-03-23 Jeff Law <law@redhat.com>
75200
75201 * nss/getnssent.c (__nss_getent): Fix typo.
75202
75203 2012-03-23 David S. Miller <davem@davemloft.net>
75204
75205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75206
75207 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
75208
75209 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
75210 to pad to uint64_t for each field.
75211 (dl_tls_index): Replace unsigned long with uint64_t.
75212
75213 2012-03-23 Daniel Jacobowitz <dmj@google.com>
75214 Paul Pluzhnikov <ppluzhnikov@google.com>
75215
75216 [BZ #6528]
75217 * grp/Makefile (otherlibs): Don't set it.
75218 * inet/Makefile (otherlibs): Likewise.
75219 * login/Makefile (otherlibs): Likewise.
75220 * nscd/Makefile (otherlibs): Likewise.
75221 * posix/Makefile (otherlibs): Likewise.
75222 * pwd/Makefile (otherlibs): Likewise.
75223 * rt/Makefile (otherlibs): Likewise.
75224 * sunrpc/Makefile (otherlibs): Likewise.
75225 * nss/Makefile (otherlibs): Likewise.
75226 Add libnss_files to routines and static-only-routines.
75227 ($(objpfx)getent): Remove rule.
75228 * resolv/Makefile: Add libnss_dns and libresolv to routines and
75229 static-only-routines.
75230
75231 2012-03-22 Joseph Myers <joseph@codesourcery.com>
75232
75233 [BZ #13892]
75234 * math/s_cexp.c: Include <float.h>.
75235 (__cexp): Handle exp result overflowing not necessarily
75236 overflowing both real and imaginary parts of result.
75237 * math/s_cexpf.c: Likewise.
75238 * math/s_cexpl.c: Likewise.
75239 * math/libm-test.inc (cexp_test): Add more tests.
75240 * sysdeps/i386/fpu/libm-test-ulps: Update.
75241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75242
75243 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75244
75245 * include/link.h (ELFW): New macro.
75246 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
75247 Replace ELF64_R_TYPE with ELFW(R_TYPE).
75248
75249 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75250
75251 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
75252 with uint64_t.
75253
75254 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75255
75256 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
75257 declaration.
75258 (struct La_x32_retval): Likewise.
75259
75260 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75261
75262 * sysdeps/x86_64/preconfigure.in: New file.
75263 * sysdeps/x86_64/preconfigure: New generated file.
75264
75265 2012-03-22 Joseph Myers <joseph@codesourcery.com>
75266
75267 [BZ #13824]
75268 * math/e_exp2l.c: Include <float.h>.
75269 (__ieee754_exp2l): Handle overflow and underflow cases
75270 separately. Only pass fractional part of argument to
75271 __ieee754_expl.
75272 * math/libm-test.inc (exp2_test): Add more tests.
75273
75274 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
75275 negating x to take absolute value.
75276 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
75277 Likewise.
75278 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
75279 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
75280 Likewise.
75281 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
75282 computing low part if x was negated.
75283 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
75284
75285 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75286
75287 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
75288 la_x32_gnu_pltexit.
75289 (pltexit): Cast int_retval to ptrdiff_t.
75290 * elf/tst-auditmod3b.c: Likewise.
75291 * elf/tst-auditmod4b.c: Likewise.
75292 * elf/tst-auditmod5b.c: Likewise.
75293 * elf/tst-auditmod6b.c: Likewise.
75294 * elf/tst-auditmod6c.c: Likewise.
75295 * elf/tst-auditmod7b.c: Likewise.
75296
75297 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
75298 and x32_gnu_pltexit.
75299
75300 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
75301 __ELF_NATIVE_CLASS.
75302 (La_x32_regs): New macro.
75303 (La_x32_retval): Likewise.
75304 (la_x32_gnu_pltenter): New function prototype.
75305 (la_x32_gnu_pltexit): Likewise.
75306
75307 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
75308
75309 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
75310 exponent.
75311
75312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75313
75314 * configure.in (libc_cv_cc_nofma): Check for option to disable
75315 generation of FMA instructions.
75316 * configure: Regenerate.
75317 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
75318 * sysdeps/ieee754/dbl-64/Makefile: New file.
75319 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
75320 Remove brandred-fma4.
75321 (CFLAGS-brandred-fma4.c): Remove.
75322 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
75323 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
75324 define.
75325 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
75326 define.
75327
75328 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75329
75330 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75331 LLONG_MAX != LONG_MAX.
75332 (_itoa_word): Use _ITOA_WORD_TYPE on value.
75333 (_fitoa_word): Likewise.
75334 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
75335 LLONG_MAX != LONG_MAX.
75336 * stdio-common/_itowa.h: Include <_itoa.h>.
75337 (_itowa_word): Use _ITOA_WORD_TYPE on value.
75338 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
75339 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
75340 only if not defined.
75341 (_ITOA_WORD_TYPE): Likewise.
75342 (_itoa_word): Use _ITOA_WORD_TYPE on value.
75343 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
75344
75345 2012-03-21 David S. Miller <davem@davemloft.net>
75346
75347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75348
75349 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75350
75351 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
75352 of x86_64 when setting libc_cv_slibdir, libdir and
75353 libc_cv_localedir.
75354 * sysdeps/unix/sysv/linux/configure: Regenerated.
75355
75356 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75357
75358 * manual/lang.texi (Old Varargs): Remove section.
75359 (How Variadic): Update menu.
75360 (va_start): Do not mention varargs.h.
75361
75362 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
75363 Joseph Myers <joseph@codesourcery.com>
75364
75365 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
75366 link test.
75367 * configure: Regenerated.
75368
75369 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
75370
75371 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
75372 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
75373 conformtest.pl
75374
75375 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75376
75377 * NOTES: Remove.
75378 * Makefile (files-for-dist): Remove NOTES.
75379 (NOTES): Remove rule.
75380 * README: Don't refer to NOTES.
75381 * manual/creature.texi: Don't include macros.texi.
75382 * manual/intro.texi (creature.texi): Remove comment referring to
75383 NOTES.
75384
75385 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
75386 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
75387 * configure: Regenerated.
75388 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
75389 LIBC_TRY_CC_OPTION.
75390 (libc_cv_as_i686): Likewise.
75391 (libc_cv_cc_avx): Likewise.
75392 (libc_cv_cc_sse2avx): Likewise.
75393 (libc_cv_cc_fma4): Likewise.
75394 (libc_cv_cc_novzeroupper): Likewise.
75395 * sysdeps/i386/configure: Regenerated.
75396
75397 [BZ #13883]
75398 * sysdeps/i386/fpu/s_cexp.S: Remove.
75399 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75400 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75401 * math/libm-test.inc (cexp_test): Add more tests.
75402 * sysdeps/i386/fpu/libm-test-ulps: Update.
75403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75404
75405 2012-03-21 Allan McRae <allan@archlinux.org>
75406
75407 * timezone/Makefile: Do not install iso3166.tab and zone.tab
75408
75409 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75410
75411 [BZ #13871]
75412 * math/w_exp2.c: Do not include <float.h>.
75413 (o_threshold, u_threshold): Remove.
75414 (__exp2): Calculate result before checking finiteness and calling
75415 __kernel_standard.
75416 * math/w_exp2f.c: Likewise.
75417 * math/w_exp2l.c: Likewise.
75418 * math/libm-test.inc (exp2_test): Require overflow exception for
75419 1e6 input.
75420
75421 [BZ #3866]
75422 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
75423 range of signed 64-bit integers before using fistpll. Remove
75424 checks for whether integers fit in mantissa bits.
75425 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
75426 the range of signed 32-bit integers before using fistpl. Remove
75427 checks for whether integers fit in mantissa bits.
75428 * sysdeps/i386/fpu/e_powl.S (p64): New object.
75429 (__ieee754_powl): Test for y outside the range of signed 64-bit
75430 integers before using fistpll. Reduce 64-bit values to 63-bit
75431 ones as needed.
75432 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
75433 divide-by-zero is raised for zero to large negative powers.
75434 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
75435 (__ieee754_powl): Test for y outside the range of signed 64-bit
75436 integers before using fistpll. Reduce 64-bit values to 63-bit
75437 ones as needed.
75438 * math/libm-test.inc (pow_test): Add more tests.
75439
75440 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75441
75442 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
75443 <stdio-common/_itoa.h>.
75444 * debug/segfault.c: Likewise.
75445 * elf/dl-cache.c: Likewise.
75446 * elf/dl-minimal.c: Likewise.
75447 * elf/dl-misc.c: Likewise.
75448 * elf/dl-sysdep.c: Likewise.
75449 * elf/dl-version.c: Likewise.
75450 * elf/rtld.c: Likewise.
75451 * hurd/hurdsock.c: Likewise.
75452 * hurd/lookup-retry.c: Likewise.
75453 * malloc/malloc.c: Likewise.
75454 * malloc/mtrace.c: Likewise.
75455 * nscd/nscd_getgr_r.c: Likewise.
75456 * nscd/nscd_getpw_r.c: Likewise.
75457 * nscd/nscd_getserv_r.c: Likewise.
75458 * posix/getopt_init.c: Likewise.
75459 * posix/wordexp.c: Likewise.
75460 * stdio-common/_itoa.c: Likewise.
75461 * stdio-common/printf_fphex.c: Likewise.
75462 * stdio-common/vfprintf.c: Likewise.
75463 * string/_strerror.c: Likewise.
75464 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
75465 * sysdeps/i386/i686/hp-timing.h: Likewise.
75466 * sysdeps/mach/_strerror.c: Likewise.
75467 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
75468 * sysdeps/mach/hurd/sethostid.c: Likewise.
75469 * sysdeps/mach/hurd/xmknodat.c: Likewise.
75470 * sysdeps/mach/xpg-strerror.c: Likewise.
75471 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
75472 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
75473 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
75474 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
75475 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
75476 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
75477 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
75478 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
75479 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
75480 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
75481 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
75482 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
75483 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
75484 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
75485 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
75486 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
75487 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
75488 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
75489 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
75490 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
75491 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
75492
75493 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
75494
75495 * stdio-common/_itoa.h: Moved to ...
75496 * sysdeps/generic/_itoa.h: Here.
75497
75498 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
75499
75500 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
75501 instead of "_itoa.h" and "_itowa.h".
75502 * stdio-common/vfprintf.: Likewise.
75503
75504 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75505
75506 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
75507 <bits/wordsize.h>.
75508 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
75509 (__signbit): Likewise.
75510 (llrintf): Likewise.
75511 (llrint): Likewise.
75512
75513 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75514
75515 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
75516 __WORDSIZE != 64.
75517
75518 2012-03-20 Joseph Myers <joseph@codesourcery.com>
75519
75520 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
75521 OVERFLOW_EXCEPTION_OK.
75522 * math/libm-test.inc ("Philosophy"): Update comment about
75523 exception testing.
75524 (OVERFLOW_EXCEPTION): Define.
75525 (OVERFLOW_EXCEPTION_OK): Likewise.
75526 (INVALID_EXCEPTION_OK): Renumber.
75527 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75528 (IGNORE_ZERO_INF_SIGN): Likewise.
75529 (test_exceptions): Handle FE_OVERFLOW.
75530 (exp10_test): Expect overflow exceptions.
75531 (exp2_test): Likewise.
75532 (expm1_test): Likewise.
75533 (nextafter_test): Likewise.
75534 (pow_test): Likewise.
75535 (scalbn_test): Likewise.
75536 (scalbln_test): Likewise.
75537
75538 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75539
75540 * sysdeps/x86_64/bits/atomic.h
75541 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
75542 64bit integer.
75543 (atomic_exchange_acq): Likewise.
75544 (__arch_exchange_and_add_body): Likewise.
75545 (__arch_add_body): Likewise.
75546 (atomic_add_negative): Likewise.
75547 (atomic_add_zero): Likewise.
75548
75549 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75550
75551 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
75552 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
75553
75554 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75555
75556 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
75557 Check __x86_64__ instead of __WORDSIZE.
75558
75559 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75560
75561 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
75562
75563 2012-03-19 David S. Miller <davem@davemloft.net>
75564
75565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75566
75567 * sysdeps/sparc/fpu/fenv_private.h: New file.
75568 * sysdeps/sparc/fpu/math_private.h: Use it.
75569 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
75570 Remove.
75571 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
75572 (libc_feholdexcept_setroundl): Remove.
75573 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
75574 Remove.
75575 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
75576 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
75577
75578 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75579
75580 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
75581 int64_t instead of long int.
75582 (INSERT_WORDS64): Likewise.
75583
75584 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75585
75586 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
75587 _Unwind_GetCFA return to _Unwind_Ptr first.
75588
75589 2012-03-19 Joseph Myers <joseph@codesourcery.com>
75590
75591 [BZ #13629]
75592 * math/s_clog.c: Include <float.h>.
75593 (__clog): Scale large or subnormal inputs.
75594 * math/s_clogf.c: Likewise.
75595 * math/s_clogl.c: Likewise.
75596 * math/s_clog10.c: Include <float.h>.
75597 (M_LOG10_2): Define.
75598 (__clog10): Scale large or subnormal inputs.
75599 * math/s_clog10f.c: Likewise.
75600 * math/s_clog10l.c: Likewise.
75601 * math/libm-test.inc (clog_test): Add more tests.
75602 (clog10_test): Likewise.
75603 * sysdeps/i386/fpu/libm-test-ulps: Update.
75604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75605
75606 [BZ #11451]
75607 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
75608 x and y.
75609 * math/libm-test.inc (atan2_test): Add another test.
75610
75611 * Makerules (common-objdir-compile): Remove.
75612 * sysdeps/unix/Makefile (config-generated): Do not add
75613 $(unix-generated) to variable.
75614 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
75615 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
75616 Remove rule.
75617 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
75618 Likewise.
75619 [generic bits/local_lim.h] (before-compile): Do not append to
75620 variable.
75621 [generic bits/local_lim.h] (common-generated): Likewise.
75622 [generic sys/param.h] (before-compile): Do not append to variable.
75623 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
75624 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
75625 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
75626 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
75627 include.
75628 [generic sys/param.h] (sys/param.h-includes): Remove variable.
75629 [generic sys/param.h] (sys/param.h-includes): Remove rule.
75630 [generic sys/param.h] ($(addprefix
75631 $(common-objpfx),$(sys/param.h-includes))): Likewise.
75632 [generic sys/param.h] (common-generated): Do not append to
75633 variable.
75634 [generic sys/param.h] (sysdep_headers): Likewise.
75635 [generic bits/errno.h] (before-compile): Do not append to
75636 variable.
75637 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
75638 rule.
75639 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
75640 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
75641 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
75642 [generic bits/errno.h] (common-generated): Do not append to
75643 variable.
75644 [generic bits/ioctls.h] (before-compile): Do not append to
75645 variable.
75646 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
75647 rule.
75648 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
75649 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
75650 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
75651 rule.
75652 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
75653 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
75654 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
75655 [generic bits/ioctls.h] (common-generated): Do not append to
75656 variable.
75657 [generic sys/syscall.h] (syscall.h): Remove variable.
75658 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
75659 rule.
75660 [generic sys/syscall.h] (before-compile): Do not append to
75661 variable.
75662 [generic sys/syscall.h] (common-generated): Likewise.
75663 * sysdeps/unix/errnos-tmpl.c: Remove file.
75664 * sysdeps/unix/errnos.awk: Likewise.
75665 * sysdeps/unix/ioctls-tmpl.c: Likewise.
75666 * sysdeps/unix/ioctls.awk: Likewise.
75667 * sysdeps/unix/mk-local_lim.c: Likewise.
75668 * sysdeps/unix/snarf-ioctls: Likewise.
75669
75670 2012-03-19 Richard Henderson <rth@twiddle.net>
75671
75672 * sysdeps/i386/fpu/fenv_private.h: New file.
75673 * sysdeps/i386/fpu/math_private.h: Use it.
75674 (math_opt_barrier, math_force_eval): Remove.
75675 (libc_feholdexcept_setround_53bit): Remove.
75676 (libc_feupdateenv_53bit): Remove.
75677 * sysdeps/x86_64/fpu/math_private.h: Likewise.
75678 (math_opt_barrier, math_force_eval): Remove.
75679 (libc_feholdexcept): Remove.
75680 (libc_feholdexcept_setround): Remove.
75681 (libc_fetestexcept, libc_fesetenv): Remove.
75682 (libc_feupdateenv_test): Remove.
75683 (libc_feupdateenv, libc_feholdsetround): Remove.
75684 (libc_feresetround): Remove.
75685
75686 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
75687 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
75688
75689 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
75690 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
75691 (libc_feupdateenv_testl): New.
75692 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
75693 (libc_feupdateenv_testf): New.
75694 (libc_feupdateenv): Use libc_feupdateenv_test.
75695 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
75696 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
75697
75698 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
75699 (libc_feholdsetroundf, libc_feholdsetroundl): New.
75700 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
75701 (libc_feresetround_noex): New.
75702 (libc_feresetround_noexf): New.
75703 (libc_feresetround_noexl): New.
75704 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
75705 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
75706 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
75707 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
75708 SET_RESTORE_ROUND.
75709 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
75710 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
75711 (__cos): Likewise.
75712 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
75713 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
75714 SET_RESTORE_ROUND_NOEX.
75715 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
75716 SET_RESTORE_ROUND_NOEXF.
75717 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
75718 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
75719 (libc_feholdsetroundf): New.
75720 (libc_feresetround, libc_feresetroundf): New.
75721
75722 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
75723 (libc_feholdexcept_setround_53bit): Convert from macro to function.
75724 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
75725
75726 * sysdeps/generic/math_private.h: Include <fenv.h>.
75727 (default_libc_feholdexcept): New.
75728 (default_libc_feholdexcept_setround): New.
75729 (default_libc_fesetenv, default_libc_feupdateenv): New.
75730 (libc_feholdexcept): Only define if undefined.
75731 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
75732 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
75733 (libc_feholdexcept_setroundl): Likewise.
75734 (libc_feholdexcept_setround_53bit): Likewise.
75735 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
75736 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
75737 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
75738 (libc_feupdateenv_53bit): Likewise.
75739 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
75740 (libc_feholdexcept): Convert from macro to inline function.
75741 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
75742 (libc_fesetenv, libc_feupdateenv): Likewise.
75743
75744 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
75745 not previously defined.
75746 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
75747 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
75748 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
75749 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
75750 * sysdeps/ieee754/flt-32/math_private.h: New file.
75751 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
75752 math_private.h below SET_FLOAT_WORD.
75753 (__isnan, __isinf_ns, __finite): Remove.
75754 (__isnanf, __isinf_nsf, __finitef): Remove.
75755
75756 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
75757
75758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75759
75760 2012-03-17 David S. Miller <davem@davemloft.net>
75761
75762 [BZ #6471]
75763 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
75764 for 2.16.
75765
75766 2012-03-16 David S. Miller <davem@davemloft.net>
75767
75768 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
75769 warnings.
75770
75771 [BZ #6471]
75772 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
75773 properly.
75774 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
75775 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
75776 sysdep_routines when subdir is sysvipc.
75777 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
75778 __getshmlba helper.
75779
75780 * sysdeps/sparc/fpu/libm-test/ulps: Update.
75781
75782 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75783
75784 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
75785 [__LP64__].
75786
75787 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75788
75789 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
75790 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
75791 (__lround): Renamed to ...
75792 (__llround): This. Replace long int with long long int.
75793 Define lround functions as aliases of llround functions.
75794 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
75795
75796 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75797
75798 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
75799 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
75800 adresses to uintptr_t. Replace "long int" and "unsigned long
75801 int" with "greg_t" on va_arg.
75802
75803 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75804
75805 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
75806 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
75807
75808 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
75809 Move e_machine check before EI_CLASS check. Handle x32
75810 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
75811 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
75812 SKIP_EM_IA_64 and include
75813 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
75814
75815 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
75816 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
75817 (add_system_dir): New macro.
75818
75819 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
75820 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
75821
75822 2012-03-16 Joseph Myers <joseph@codesourcery.com>
75823
75824 [BZ #2551]
75825 [BZ #2552]
75826 [BZ #2553]
75827 [BZ #2554]
75828 [BZ #2562]
75829 [BZ #2563]
75830 [BZ #2565]
75831 [BZ #2566]
75832 [BZ #2576]
75833 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
75834 (y0): Likewise.
75835 * math/w_j0f.c (j0f): Likewise.
75836 (y0f): Likewise.
75837 * math/w_j0l.c (__j0l): Likewise.
75838 (__y0l): Likewise.
75839 * math/w_j1.c (j1): Likewise.
75840 (y1): Likewise.
75841 * math/w_j1f.c (j1f): Likewise.
75842 (y1f): Likewise.
75843 * math/w_j1l.c (__j1l): Likewise.
75844 (__y1l): Likewise.
75845 * math/w_jn.c (jn): Likewise.
75846 (yn): Likewise.
75847 * math/w_jnf.c (jnf): Likewise.
75848 (ynf): Likewise.
75849 * math/w_jnl.c (__jnl): Likewise.
75850 (__ynl): Likewise.
75851 * math/libm-test.inc (j0_test): Add more tests.
75852 (j1_test): Likewise.
75853 (jn_test): Likewise. Add trailing semicolon to existing test.
75854 (y0_test): Likewise.
75855 (y1_test): Likewise.
75856 * sysdeps/i386/fpu/libm-test-ulps: Update.
75857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75858
75859 [BZ #13851]
75860 [BZ #13854]
75861 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
75862 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
75863 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
75864 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
75865 (__tanl): Set errno for infinite argument.
75866 * sysdeps/i386/fpu/mptan.c: Remove.
75867 * sysdeps/i386/fpu/s_tan.S: Likewise.
75868 * sysdeps/i386/fpu/s_tanl.S: Likewise.
75869 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75870 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
75871 * math/libm-test.inc (tan_test): Add more tests and enable more
75872 tests for double and long double.
75873 * sysdeps/i386/fpu/libm-test-ulps: Update.
75874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75875
75876 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
75877
75878 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
75879 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
75880
75881 2012-03-16 Roland McGrath <roland@hack.frob.com>
75882
75883 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75884 * configure.in: Use it for both main tree and add-ons.
75885 * configure: Regenerated.
75886
75887 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75888
75889 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75890
75891 2012-03-16 Joseph Myers <joseph@codesourcery.com>
75892
75893 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75894 in comment.
75895
75896 [BZ #13851]
75897 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75898 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75899 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75900 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75901 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75902 infinite argument.
75903 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75904 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75905 != 0 for prec == 2.
75906 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75907 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75908 * sysdeps/i386/fpu/s_cosl.S: Likewise.
75909 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75910 * sysdeps/i386/fpu/s_sinl.S: Likewise.
75911 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75912 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75913 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75914 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75915 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75916 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75917 * math/libm-test.inc (cos_test): Add more tests and enable more
75918 tests for long double.
75919 (sin_test): Likewise.
75920 (sincos_test): Likewise.
75921 * sysdeps/i386/fpu/libm-test-ulps: Update.
75922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75923
75924 2012-03-16 David S. Miller <davem@davemloft.net>
75925
75926 * sysdeps/sparc/fpu/math_private.h: New file.
75927
75928 2012-03-15 David S. Miller <davem@davemloft.net>
75929
75930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75931 file.
75932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75934 file.
75935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75940 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75941 sysdep routines.
75942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75943
75944 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75945 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75946
75947 * sysdeps/sparc/sparc-ifunc.h: New file.
75948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75949 sparc-ifunc.h
75950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75952 Likewise.
75953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75954 Likewise.
75955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75959 Likewise.
75960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75965 Likewise.
75966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75967 Likewise.
75968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75972 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75973 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75974 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75975 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75976 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75978 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75981 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75982 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75985 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75986 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75987 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75988 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75989 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75990 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75991 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75992
75993 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75994
75995 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75996 scaling.
75997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75998
75999 2012-03-15 Andreas Jaeger <aj@suse.de>
76000
76001 [BZ #13852]
76002 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
76003 ieee754/flt-32 implementation for sin, cos and sincos.
76004 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
76005 * sysdeps/i386/fpu/s_cosf.S: Likewise.
76006 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
76007 * sysdeps/i386/fpu/s_sinf.S: Likewise.
76008 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
76009 ieee754/flt-32 implementation for tan.
76010
76011 * math/libm-test.inc (cos_test): Enable some large input tests for
76012 float as well
76013 (sin_test): Likewise.
76014 (sincos_test): Likewise.
76015 (tan_test): Add tests for large input.
76016
76017 * sysdeps/i386/fpu/libm-test-ulps: Update.
76018
76019 2012-03-15 Andreas Jaeger <aj@suse.de>
76020
76021 [BZ #13658]
76022 * math/libm-test.inc (cos_test): Add more test cases.
76023 (sin_test): Likewise.
76024 (sincos_test): Likewise.
76025
76026 2012-03-15 Andreas Jaeger <aj@suse.de>
76027
76028 [BZ #13837]
76029 * math/libm-test.inc (cos_test): Add a test case for large input
76030 value.
76031 (sin_test): Likewise.
76032 (sincos_test): Likewise.
76033
76034 2012-03-15 Andreas Jaeger <aj@suse.de>
76035 Joseph Myers <joseph@codesourcery.com>
76036
76037 [BZ #13658]
76038 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
76039 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
76040 * sysdeps/i386/fpu/branred.c: Likewise.
76041 * sysdeps/i386/fpu/dosincos.c: Likewise.
76042 * sysdeps/i386/fpu/mpa.c: Likewise.
76043 * sysdeps/i386/fpu/s_cos.S: Likewise.
76044 * sysdeps/i386/fpu/s_sin.S: Likewise.
76045 * sysdeps/i386/fpu/s_sincos.S: Likewise.
76046 * sysdeps/i386/fpu/sincos32.c: Likewise.
76047
76048 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
76049 Define.
76050 (libc_feupdateenv_53bit): Define.
76051 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
76052 Define.
76053 (libc_feupdateenv_53bit): Define.
76054
76055 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
76056 53 bit (without extend i386 double precision).
76057
76058 * math/libm-test.inc (sincos_test): Add tests for large input.
76059 (sin): Likewise.
76060 (cos): Likewise.
76061
76062 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
76063
76064 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
76065
76066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76067
76068 2012-03-15 David S. Miller <davem@davemloft.net>
76069
76070 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
76071 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
76072 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
76073 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
76074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
76075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
76076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
76077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
76078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
76079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
76080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
76081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
76082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
76083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
76084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
76085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
76086 file.
76087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
76088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
76089 file.
76090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
76091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
76092 file.
76093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
76094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
76095 file.
76096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
76097 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
76098 fmin/fmax sysdep routines.
76099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
76100
76101 2012-03-14 David S. Miller <davem@davemloft.net>
76102
76103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
76104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
76105 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
76106 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
76107 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
76108 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
76109 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
76110 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
76111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
76112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
76113 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
76114 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
76115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
76116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
76117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
76118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
76119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
76120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
76121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
76122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
76123 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
76124 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
76125 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
76126 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
76127 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
76128 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
76129 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
76130 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
76131 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
76132 routines.
76133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
76134 file.
76135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
76136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
76137 file.
76138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
76139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
76140 file.
76141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
76142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
76143 file.
76144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
76145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
76146 file.
76147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
76148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
76149 file.
76150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
76151 file.
76152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
76153 file.
76154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
76155 file.
76156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
76157 New file.
76158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
76159 file.
76160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
76161 file.
76162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
76163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
76164 file.
76165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
76166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
76167 file.
76168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
76169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
76170 file.
76171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
76172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
76173 VIS3 routines.
76174
76175 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
76176 New file.
76177
76178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76179
76180 * sysdeps/sparc/configure.in: New file.
76181 * sysdeps/sparc/configure: Generate.
76182 * configure.in (libc_cv_sparc_as_vis3): Substitute.
76183 * configure: Regenerate.
76184 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
76185 * config.make.in (have-as-vis3): New.
76186 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
76187 available use -Av9d instead of -Av9a.
76188 * sysdeps/sparc/sparc64/Makefile: Likewise.
76189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
76190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
76191 New file.
76192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
76193 file.
76194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
76195 New file.
76196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
76197 file.
76198 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
76199 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
76200 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
76201 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
76202 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
76203
76204 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
76205 fzeros/fnegs to load 0x80000000 into a float register instead of
76206 using the stack.
76207 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
76208
76209 2012-03-14 Joseph Myers <joseph@codesourcery.com>
76210
76211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76212 bits/syscall.h.
76213 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
76214 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
76215 ($(inst_includedir)/bits/syscall.h): Remove rule.
76216 ($(objpfx)bits/syscall.d): Include instead of
76217 $(objpfx)syscall-list.d.
76218 (generated): Change syscall-list.h and syscall-list.d to
76219 bits/syscall.h and bits/syscall.d.
76220
76221 2012-03-14 Roland McGrath <roland@hack.frob.com>
76222
76223 [BZ #13846]
76224 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
76225
76226 2012-03-14 Joseph Myers <joseph@codesourcery.com>
76227
76228 [BZ #13841]
76229 * math/s_csqrt.c: Include <float.h>.
76230 (__csqrt): Scale large or subnormal inputs.
76231 * math/s_csqrtf.c: Likewise.
76232 * math/s_csqrtl.c: Likewise.
76233 * math/libm-test.inc (csqrt_test): Add more tests.
76234 * sysdeps/i386/fpu/libm-test-ulps: Update.
76235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76236
76237 [BZ #13840]
76238 * math/libm-test.inc (hypot_test): Add more tests.
76239
76240 2012-03-13 David S. Miller <davem@davemloft.net>
76241
76242 [BZ #13840]
76243 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
76244 double-precision for the calculation instead of scaling.
76245
76246 2012-03-13 Joseph Myers <joseph@codesourcery.com>
76247
76248 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
76249 manipulate bits before adding and subtracting TWO52[sx].
76250 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
76251 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
76252 Likewise.
76253 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
76254
76255 2012-03-13 David S. Miller <davem@davemloft.net>
76256
76257 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
76258 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
76259 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
76260 rtld-global-offsets.h
76261 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76262
76263 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
76264 large parameters.
76265
76266 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
76267
76268 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
76269 'err' in the ifdef scope in which it is actually used.
76270
76271 * nss/nss_db/db-init.c: Include string.h
76272
76273 2012-03-12 David S. Miller <davem@davemloft.net>
76274
76275 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76276 masking out of the most significant byte of random value used.
76277 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76278 Fix coding style in previous change.
76279
76280 * sysdeps/unix/sysv/linux/kernel-features.h
76281 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
76282 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
76283 expression.
76284 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
76285 later.
76286
76287 2012-03-11 David S. Miller <davem@davemloft.net>
76288
76289 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
76290 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
76291 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
76292 for 'resultvar' otherwise things get truncated on 64-bit.
76293
76294 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76295 Fix masking out of the most significant byte of random value used.
76296
76297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76298
76299 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
76300
76301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76302
76303 2012-03-09 David S. Miller <davem@davemloft.net>
76304
76305 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
76306 variables with appropriate CPP guards.
76307 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
76308 from the frame pointer, not the stack pointer. Correct layout
76309 comments. Fix test on resulting framesize and the management of
76310 the outregs buffer for pltexit. Preserve floating point return
76311 values across _dl_call_pltexit call.
76312 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
76313 framesize and the management of the outregs buffer for pltexit.
76314 Preserve floating point return values across _dl_call_pltexit
76315 call.
76316 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
76317 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
76318 (la_sparc64_gnu_pltexit): New functions.
76319 (print_exit): Fix format string for return register value.
76320
76321 2012-03-10 Joseph Myers <joseph@codesourcery.com>
76322
76323 * sunrpc/Makefile (others): Add rpcgen.
76324 ($(objpfx)rpcgen): Remove special build rule and dependency on
76325 libc.
76326 * sunrpc/rpcgen.c: New file.
76327
76328 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
76329
76330 [BZ #13673]
76331 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
76332 * stdio-common/bug-vfprintf-nargs.c: Likewise.
76333 * sysdeps/i386/crti.S: Likewise.
76334 * sysdeps/i386/crtn.S: Likewise.
76335 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
76336 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
76337 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
76338 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
76339 * sysdeps/sh/crti.S: Likewise.
76340 * sysdeps/sh/crtn.S: Likewise.
76341 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76342
76343 [BZ #13673]
76344 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
76345 with URL.
76346 * locale/programs/locfile-kw.gperf: Likewise.
76347 * locale/programs/charmap-kw.h: Regenerated.
76348 * locale/programs/locfile-kw.h: Likewise.
76349
76350 [BZ #13673]
76351 * intl/plural.y: Replace FSF snail mail address with URL.
76352 * intl/plural.c: Regenerated.
76353
76354 2012-03-09 Richard Henderson <rth@twiddle.net>
76355
76356 * include/math_private.h: Remove file.
76357 * math/math_private.h: Move file ...
76358 * sysdeps/generic/math_private.h: ... here.
76359
76360 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
76361 * sysdeps/powerpc/fpu/math_private.h: Likewise.
76362 * sysdeps/x86_64/fpu/math_private.h: Likewise.
76363
76364 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
76365 and <math_private.h>.
76366 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76367 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76368 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76369 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76370 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76371 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
76372 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76373 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76374 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76375 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76377 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76378 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76379 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76380 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76381 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76382 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76383 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76384 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76385 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76386 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76387 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76388 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76389 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76390 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
76391 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76392 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76393 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76394 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76395 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76396 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76397 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76398 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
76399 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76400 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76401 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76402 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76403 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76404 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76405 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76406 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
76407 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76408 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76409 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
76410 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
76411 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76412 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
76413 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
76414 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76415 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76416 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
76417 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
76418 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
76419 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76420 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
76421 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76422 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76423 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
76424 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
76425 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
76426 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76427 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
76428 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76429 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76430 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
76431 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76432 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76433 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76434 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
76435 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
76436 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
76437 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76438 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
76439 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76440 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
76441 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
76442 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
76443 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76444 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
76445 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
76446 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
76447 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
76448 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
76449 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76450 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76451 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
76452 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
76453 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
76454 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76455 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76456 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76457 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76458 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76459 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76460 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76461 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76462 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76463 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76464 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76465 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76466 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76467 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76468 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76469 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76470 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76471 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76472 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76473 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76474 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76475 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76476 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76477 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76478 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76479 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76480 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
76481 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76482 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76483 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76484 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76485 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76486 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76487 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76488 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76489 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
76490 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76491 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76492 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76493 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
76494 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76495 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
76496 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
76497 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76498 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76499 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
76500 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
76501 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76502 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76503 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76504 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
76505 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76506 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76507 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76508 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76509 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
76510 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
76511 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76512 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76513 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76514 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
76515 * sysdeps/ieee754/k_standard.c: Likewise.
76516 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76517 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76518 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76519 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76520 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76521 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76522 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76523 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76524 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76525 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76526 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76527 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76528 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76529 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76530 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76531 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76532 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
76533 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76534 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76535 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
76536 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
76537 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
76538 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76539 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76540 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
76541 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
76542 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76543 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76544 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76545 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76546 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
76547 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76548 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76549 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76550 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
76551 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76552 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76553 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
76554 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
76555 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76556 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
76557 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
76558 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
76559 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76560 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
76561 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
76562 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76563 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76564 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76565 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76566 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76567 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
76568 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76569 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
76570 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76571 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76572 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
76573 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
76574 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76575 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76576 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76577 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
76578 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76579 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76580 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76581 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76582 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76583 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76584 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76585 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76586 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76587 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76588 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76589 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76590 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76591 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76592 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
76593 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76594 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76595 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
76596 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
76597 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
76598 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76599 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76600 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
76601 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76602 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76603 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
76604 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76605 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76606 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
76607 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76608 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
76609 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
76610 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76611 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76612 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
76613 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
76614 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
76615 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
76616 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76617 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76618 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76619 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76620 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
76621 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76622 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76623 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
76624 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
76625 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76626 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76627 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76628 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76629 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76630 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76631 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76632 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76633 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76634 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76635 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76636 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76637 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76638 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76639 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76640 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76641 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
76642 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76643 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76644 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76645 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76646 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76647 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76648 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76649 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
76650 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76651 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76652 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
76653 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
76654 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76655 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
76656 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
76657 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76658 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
76659 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
76660 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76661 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76662 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76663 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76664 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76665 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
76666 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76667 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76668 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76669 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76670 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
76671 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
76672 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76673 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76674 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76675 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
76676 * sysdeps/ieee754/s_lib_version.c: Likewise.
76677 * sysdeps/ieee754/s_matherr.c: Likewise.
76678 * sysdeps/ieee754/s_signgam.c: Likewise.
76679 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76680 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76681 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
76682 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
76683 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
76684 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76685 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
76686 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
76687 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
76688 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
76689 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
76690 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
76691 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76692 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76693 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
76694 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
76695 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
76696 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
76697 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
76698 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76699 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76700
76701 2012-03-09 Joseph Myers <joseph@codesourcery.com>
76702
76703 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
76704 * sunrpc/rpc_main.c: Likewise.
76705 * sunrpc/rpc_svcout.c: Likewise.
76706
76707 2012-03-09 David S. Miller <davem@davemloft.net>
76708
76709 * include/math_private.h: New file.
76710
76711 2012-03-09 Joseph Myers <joseph@codesourcery.com>
76712
76713 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
76714 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
76715 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
76716 from <bits/socket_type.h>.
76717 (enum __socket_type): Don't define here.
76718 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
76719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76720 bits/socket_type.h.
76721
76722 [BZ #13566]
76723 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
76724 checking __USE_GNU.
76725
76726 * Makerules ($(inst_includedir)/%.h): New rule.
76727 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
76728 (install-others): Remove variable setting.
76729 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
76730
76731 2012-03-08 Richard Henderson <rth@twiddle.net>
76732
76733 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
76734 from macro to inline function; merge with the
76735 !__LIBC_INTERNAL_MATH_INLINES version.
76736 (__ieee754_sqrtf): Likewise.
76737
76738 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
76739 to inline function.
76740 (__rintf, __floor, __floorf): Likewise.
76741
76742 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
76743 macro to inline function.
76744 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
76745
76746 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
76747 not <math/math_private.h>.
76748
76749 2012-03-08 David S. Miller <davem@davemloft.net>
76750
76751 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
76752 copyright year.
76753 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
76754
76755 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
76756
76757 * resolv/gai_misc.c (handle_requests): Fix struct timespec
76758 normalization.
76759 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
76760 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
76761
76762 2012-03-08 Ulrich Drepper <drepper@gmail.com>
76763
76764 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
76765 be defined individually, they must be defined as a block. Define
76766 S for printing a string instead of hidint the different by using a
76767 macro for adding the 'l'.
76768 * stdio-common/tst-fphex-wide.c: Adjust.
76769
76770 2012-03-07 Marek Polacek <polacek@redhat.com>
76771
76772 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
76773
76774 2012-03-08 Marek Polacek <polacek@redhat.com>
76775
76776 [BZ #13806]
76777 * stdio-common/Makefile (tests): Add tst-fphex-wide.
76778 * stdio-common/tst-fphex.c: Define a few macros to make the
76779 test reusable. Use them.
76780 * stdio-common/tst-fphex-wide.c: New file.
76781
76782 2012-03-08 Joseph Myers <joseph@codesourcery.com>
76783
76784 [BZ #6911]
76785 * manual/macros.texi (gnusystems): New macro.
76786 (nongnusystems): Likewise.
76787 (gnulinuxhurdsystems): Likewise.
76788 (gnuhurdsystems): Likewise..
76789 (gnulinuxsystems): Likewise.
76790 * manual/charset.texi: Use new macros or @theglibc{} to refer to
76791 variants of the GNU system, not "GNU system".
76792 * manual/conf.texi: Likewise.
76793 * manual/errno.texi: Likewise. Update example of errno macro
76794 expansion.
76795 * manual/filesys.texi: Likewise.
76796 (getumask): Document as specific to GNU/Hurd.
76797 * manual/install.texi: Likewise. Reword some references to
76798 GNU/Linux.
76799 * manual/intro.texi: Likewise.
76800 * manual/io.texi: Likewise.
76801 (File Name Portability): Detail which constraints are inapplicable
76802 to all GNU systems and which are only inapplicable to GNU/Hurd.
76803 * manual/job.texi: Likewise.
76804 * manual/llio.texi: Likewise.
76805 (O_NOCTTY): Document as present on GNU/Linux.
76806 * manual/maint.texi: Likewise.
76807 * manual/memory.texi: Likewise.
76808 * manual/pattern.texi: Likewise.
76809 * manual/pipe.texi: Likewise.
76810 * manual/process.texi: Likewise.
76811 * manual/resource.texi: Likewise.
76812 (RUSAGE_CHILDREN): Remove statement about specifying a particular
76813 child on GNU/Hurd.
76814 * manual/setjmp.texi: Likewise.
76815 * manual/signal.texi: Likewise.
76816 * manual/startup.texi: Likewise.
76817 * manual/stdio.texi: Likewise.
76818 * manual/terminal.texi: Likewise.
76819 (ONLCR): Document as POSIX.
76820 (OXTABS): Document availability on GNU/Linux as XTABS.
76821 (ONOEOT): Document availability separately from other bits.
76822 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
76823 * manual/time.texi: Likewise.
76824 * manual/users.texi: Likewise.
76825 * INSTALL: Regenerated.
76826 * sysdeps/gnu/errlist.c: Regenerated.
76827
76828 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
76829 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
76830 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
76831 puts.
76832 * configure: Regenerated.
76833
76834 2012-03-07 Joseph Myers <joseph@codesourcery.com>
76835
76836 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
76837 default includes instead of AC_HEADER_CHECK.
76838 * sysdeps/i386/configure: Regenerated.
76839
76840 [BZ #10716]
76841 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
76842 * math/s_cacoshf.c (__cacoshf): Likewise.
76843 * math/s_cacoshl.c (__cacoshl): Likewise.
76844 * math/s_casinh.c (__casinh): Set signs of result from argument.
76845 * math/s_casinhf.c (__casinhf): Likewise.
76846 * math/s_casinhl.c (__casinhl): Likewise.
76847 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
76848 (casinh_test): Add more tests.
76849 * sysdeps/i386/fpu/libm-test-ulps: Update.
76850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76851
76852 2012-03-07 Ulrich Drepper <drepper@gmail.com>
76853
76854 * po/zh_TW.po: Update from translation team.
76855
76856 * login/Makefile (distribute): Remove variable.
76857 * catgets/Makefile: Likewise.
76858 * mach/Makefile: Likewise.
76859 * malloc/Makefile: Likewise.
76860 * misc/Makefile: Likewise.
76861 * iconv/Makefile: Likewise.
76862 * nscd/Makefile: Likewise.
76863 * hurd/Makefile: Likewise.
76864 * manual/Makefile: Likewise.
76865 * locale/Makefile: Likewise.
76866 * intl/Makefile: Likewise.
76867 * conform/Makefile: Likewise.
76868 * nss/Makefile: Likewise.
76869 * time/Makefile: Likewise.
76870 * soft-fp/Makefile: Likewise.
76871 * dirent/Makefile: Likewise.
76872 * gmon/Makefile: Likewise.
76873 * po/Makefile: Likewise.
76874 * rt/Makefile: Likewise.
76875 * socket/Makefile: Likewise.
76876 * math/Makefile: Likewise.
76877 * signal/Makefile: Likewise.
76878 * debug/Makefile: Likewise.
76879 * elf/Makefile: Likewise.
76880 * timezone/Makefile: Likewise.
76881 * stdlib/Makefile: Likewise.
76882 * iconvdata/Makefile: Likewise.
76883 * sunrpc/Makefile: Likewise.
76884 * io/Makefile: Likewise.
76885 * argp/Makefile: Likewise.
76886 * inet/Makefile: Likewise.
76887 * hesiod/Makefile: Likewise.
76888 * grp/Makefile: Likewise.
76889 * csu/Makefile: Likewise.
76890 * wctype/Makefile: Likewise.
76891 * crypt/Makefile: Likewise.
76892 * libio/Makefile: Likewise.
76893 * string/Makefile: Likewise.
76894 * nis/Makefile: Likewise.
76895 * resolv/Makefile: Likewise.
76896 * stdio-common/Makefile: Likewise.
76897 * wcsmbs/Makefile: Likewise.
76898 * dlfcn/Makefile: Likewise.
76899 * posix/Makefile: Likewise.
76900
76901 [BZ #6959]
76902 * timezone/Makefile: Don't install timezone files, just the programs
76903 and scripts.
76904
76905 2012-03-06 Ulrich Drepper <drepper@gmail.com>
76906
76907 * nss/databases.def: Add missing gshadow entry.
76908
76909 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
76910
76911 2012-03-06 Marek Polacek <polacek@redhat.com>
76912
76913 [BZ #13726]
76914 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76915 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76916 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76917 * stdio-common/tst-long-dbl-fphex.c: New file.
76918
76919 2012-03-06 David S. Miller <davem@davemloft.net>
76920
76921 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76922 (set_obp_int): New function.
76923 (get_obp_int): New function.
76924 (__get_clockfreq_via_dev_openprom): Likewise.
76925 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76926 Avoid unused variable warnings on 'val' and use builtin_expect.
76927 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76928 __builtin_expect.
76929 (INLINE_CLONE_SYSCALL): Likewise.
76930
76931 2012-03-05 David S. Miller <davem@davemloft.net>
76932
76933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76934
76935 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
76936
76937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76938
76939 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76940 only for |x| >= 40.
76941 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76942
76943 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
76944
76945 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76946 Replace gettimeofday with __vdso_gettimeofday.
76947
76948 * sysdeps/unix/sysv/linux/x86_64/init-first.c
76949 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76950 __vdso_clock_gettime and __vdso_getcpu.
76951
76952 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76953 time with __vdso_time.
76954
76955 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76956
76957 * manual/lang.texi (size_t): Note types to which size_t may be
76958 equivalent with the GNU C Library, but do not describe when
76959 differences between them are significant.
76960
76961 2012-03-05 Andreas Jaeger <aj@suse.de>
76962
76963 * sysdeps/i386/fpu/libm-test-ulps: Update.
76964
76965 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76966
76967 [BZ #3976]
76968 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76969 (__ieee754_pow): Save and restore rounding mode and use
76970 round-to-nearest for main computations.
76971 * math/libm-test.inc (pow_test_tonearest): New function.
76972 (pow_test_towardzero): Likewise.
76973 (pow_test_downward): Likewise.
76974 (pow_test_upward): Likewise.
76975 (main): Call the new functions.
76976 * sysdeps/i386/fpu/libm-test-ulps: Update.
76977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76978
76979 [BZ #3976]
76980 * math/libm-test.inc (cosh_test_tonearest): New function.
76981 (cosh_test_towardzero): Likewise.
76982 (cosh_test_downward): Likewise.
76983 (cosh_test_upward): Likewise.
76984 (sinh_test_tonearest): Likewise.
76985 (sinh_test_towardzero): Likewise.
76986 (sinh_test_downward): Likewise.
76987 (sinh_test_upward): Likewise.
76988 (main): Call the new functions.
76989 * sysdeps/i386/fpu/libm-test-ulps: Update.
76990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76991
76992 2012-03-05 Tom de Vries <tom@codesourcery.com>
76993
76994 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76995 default stack guard is set in last bytes.
76996 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76997
76998 2012-03-05 Kees Cook <keescook@chromium.org>
76999
77000 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
77001
77002 [BZ #13656]
77003 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
77004 possibly allocate from heap instead of stack.
77005 * stdio-common/bug-vfprintf-nargs.c: New file.
77006 * stdio-common/Makefile (tests): Add nargs overflow test.
77007
77008 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
77009
77010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77011
77012 2012-03-03 Marek Polacek <polacek@redhat.com>
77013
77014 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
77015 * math/math_private.h: Likewise.
77016 * stdlib/tst-strtod.c: Likewise.
77017 * sysdeps/i386/i486/bits/atomic.h: Likewise.
77018 * sysdeps/x86_64/bits/atomic.h: Likewise.
77019
77020 2012-03-02 David S. Miller <davem@davemloft.net>
77021
77022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
77023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
77024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
77025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
77026 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
77027 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
77028 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
77029 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
77030
77031 2012-03-02 Roland McGrath <roland@hack.frob.com>
77032
77033 [BZ #13792]
77034 * manual/examples/README: New file, says the example source files
77035 can be used under GPL>=2.
77036 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
77037 line containing just "*/".
77038 * manual/examples/add.c: Add copyright header (GPL>=2).
77039 * manual/examples/argp-ex1.c: Likewise.
77040 * manual/examples/argp-ex2.c: Likewise.
77041 * manual/examples/argp-ex3.c: Likewise.
77042 * manual/examples/argp-ex4.c: Likewise.
77043 * manual/examples/atexit.c: Likewise.
77044 * manual/examples/db.c: Likewise.
77045 * manual/examples/dir.c: Likewise.
77046 * manual/examples/dir2.c: Likewise.
77047 * manual/examples/execinfo.c: Likewise.
77048 * manual/examples/filecli.c: Likewise.
77049 * manual/examples/filesrv.c: Likewise.
77050 * manual/examples/fmtmsgexpl.c: Likewise.
77051 * manual/examples/genpass.c: Likewise.
77052 * manual/examples/inetcli.c: Likewise.
77053 * manual/examples/inetsrv.c: Likewise.
77054 * manual/examples/isockad.c: Likewise.
77055 * manual/examples/longopt.c: Likewise.
77056 * manual/examples/memopen.c: Likewise.
77057 * manual/examples/memstrm.c: Likewise.
77058 * manual/examples/mkfsock.c: Likewise.
77059 * manual/examples/mkisock.c: Likewise.
77060 * manual/examples/mygetpass.c: Likewise.
77061 * manual/examples/pipe.c: Likewise.
77062 * manual/examples/popen.c: Likewise.
77063 * manual/examples/rprintf.c: Likewise.
77064 * manual/examples/search.c: Likewise.
77065 * manual/examples/select.c: Likewise.
77066 * manual/examples/setjmp.c: Likewise.
77067 * manual/examples/sigh1.c: Likewise.
77068 * manual/examples/sigusr.c: Likewise.
77069 * manual/examples/stpcpy.c: Likewise.
77070 * manual/examples/strdupa.c: Likewise.
77071 * manual/examples/strftim.c: Likewise.
77072 * manual/examples/strncat.c: Likewise.
77073 * manual/examples/subopt.c: Likewise.
77074 * manual/examples/swapcontext.c: Likewise.
77075 * manual/examples/termios.c: Likewise.
77076 * manual/examples/testopt.c: Likewise.
77077 * manual/examples/testpass.c: Likewise.
77078 * manual/examples/timeval_subtract.c: Likewise.
77079
77080 [BZ #13792]
77081 * manual/time.texi (Elapsed Time): Move timeval_subtract example
77082 function to ...
77083 * manual/timeval_subtract.c.texi: ... here, new file.
77084
77085 2012-03-02 David S. Miller <davem@davemloft.net>
77086
77087 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
77088
77089 2012-03-02 Joseph Myers <joseph@codesourcery.com>
77090
77091 [BZ #3976]
77092 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
77093 (__sin): Save and restore rounding mode and use round-to-nearest
77094 for all computations.
77095 (__cos): Save and restore rounding mode and use round-to-nearest
77096 for all computations.
77097 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
77098 <fenv.h>.
77099 (tan): Save and restore rounding mode and use round-to-nearest for
77100 all computations.
77101 * math/libm-test.inc (cos_test_tonearest): New function.
77102 (cos_test_towardzero): Likewise.
77103 (cos_test_downward): Likewise.
77104 (cos_test_upward): Likewise.
77105 (sin_test_tonearest): Likewise.
77106 (sin_test_towardzero): Likewise.
77107 (sin_test_downward): Likewise.
77108 (sin_test_upward): Likewise.
77109 (tan_test_tonearest): Likewise.
77110 (tan_test_towardzero): Likewise.
77111 (tan_test_downward): Likewise.
77112 (tan_test_upward): Likewise.
77113 (main): Call the new functions.
77114 * sysdeps/i386/fpu/libm-test-ulps: Update.
77115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77116
77117 [BZ #10135]
77118 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
77119 small n, then large n, before computing and testing k+n.
77120 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
77121 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
77122 Likewise.
77123 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
77124 Likewise.
77125 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
77126 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
77127 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
77128 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
77129 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
77130 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
77131 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
77132 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
77133 * math/libm-test.inc (scalbn_test): Add more tests.
77134 (scalbln_test): Likewise.
77135
77136 * manual/filesys.texi (mode_t): Describe constraints on size and
77137 signedness, not exact equivalence to a particular type.
77138 (ino_t): Likewise.
77139 (ino64_t): Likewise.
77140 (dev_t): Likewise.
77141 (nlink_t): Likewise.
77142 (blkcnt_t): Likewise.
77143 (blkcnt64_t): Likewise.
77144 * manual/llio.texi (off_t): Likewise.
77145
77146 [BZ #3976]
77147 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
77148 (__ieee754_exp): Save and restore rounding mode and use
77149 round-to-nearest for all computations.
77150 * math/libm-test.inc (exp_test_tonearest): New function.
77151 (exp_test_towardzero): Likewise.
77152 (exp_test_downward): Likewise.
77153 (exp_test_upward): Likewise.
77154 (main): Call the new functions.
77155 * sysdeps/i386/fpu/libm-test-ulps: Update.
77156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77157
77158 2012-03-01 Chris Demetriou <cgd@google.com>
77159
77160 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
77161 have predictable order.
77162
77163 2012-03-01 David S. Miller <davem@davemloft.net>
77164
77165 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
77166
77167 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
77168 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
77169 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
77170 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
77171
77172 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
77173 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
77174 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
77175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
77176 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
77177 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
77178 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
77179 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
77180 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
77181
77182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77183
77184 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
77185 * sysdeps/sparc/fpu/libm-test-ulps: to here.
77186 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
77187
77188 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
77189 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
77190 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77191 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
77192 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
77193 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
77194 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
77195 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
77196 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77197 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
77198 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
77199 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77200 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
77201 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77202 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77203 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77204 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
77205 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
77206 * sysdeps/sparc/elf/configure: Regenerated.
77207
77208 2012-03-01 Joseph Myers <joseph@codesourcery.com>
77209
77210 * configure.in (AS, LD): Require binutils 2.20 or later.
77211 * configure: Regenerated.
77212 * manual/install.texi (Tools for Compilation): Give binutils 2.20
77213 as required minimum version.
77214 * INSTALL: Regenerated.
77215
77216 [BZ #2541]
77217 [BZ #4108]
77218 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
77219 before squaring exponent.
77220 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
77221 bottom long double and 27 bits of top long double before squaring
77222 exponent.
77223 * math/libm-test.inc (erfc_test): Add more tests.
77224 * sysdeps/i386/fpu/libm-test-ulps: Update.
77225 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77227
77228 2012-03-01 Kai Tietz <ktietz@redhat.com>
77229
77230 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
77231 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
77232 containing bit-fields.
77233 * soft-fp/extended.h (_FP_UNION_E): Likewise.
77234 * soft-fp/single.h (_FP_UNION_S): Likewise.
77235 * soft-fp/double.h (_FP_UNION_D): Likewise.
77236
77237 2012-02-29 Joseph Myers <joseph@codesourcery.com>
77238
77239 [BZ #13786]
77240 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
77241 not include ../strcmp.S.
77242 [USE_AS_STRNCASECMP_L]: Likewise.
77243 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
77244 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
77245 * sysdeps/i386/i686/multiarch/strncase_l-c.c
77246 (__strncasecmp_l_ia32): Define as alias to
77247 __strncasecmp_l_nonascii.
77248
77249 [BZ #5794]
77250 * math/libm-test.inc (expm1_test): Add test for bug 5794.
77251 * sysdeps/i386/fpu/libm-test-ulps: Update.
77252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77253
77254 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
77255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77256
77257 2012-02-29 Jeff Law <law@redhat.com>
77258
77259 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
77260 out of bounds read.
77261
77262 2012-02-29 Marek Polacek <polacek@redhat.com>
77263
77264 [BZ #13706]
77265 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
77266 * elf/Makefile: Add rules to run tst-unused-dep.out.
77267
77268 2012-02-28 David S. Miller <davem@davemloft.net>
77269
77270 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
77271 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
77272 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
77273 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
77274 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
77275 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
77276
77277 2012-02-29 Joseph Myers <joseph@codesourcery.com>
77278
77279 * math/libm-test.inc (llround_test): Move one test from
77280 lround_test. Use TEST_f_L in moved test.
77281 (lround_test): Move misplaced test to llround_test. Add testcase
77282 from bug 2561.
77283
77284 2012-02-28 Ulrich Drepper <drepper@gmail.com>
77285
77286 * sysdeps/x86_64/fpu/e_expf.S: New file.
77287 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
77288
77289 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
77290
77291 [BZ #13637]
77292 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
77293 of remain_len that may cause incomplete multi-byte character and
77294 false match.
77295 * posix/bug-regex33.c: New file.
77296 * posix/Makefile (tests): Add bug-regex33.
77297
77298 2012-02-28 Joseph Myers <joseph@codesourcery.com>
77299
77300 * manual/macros.texi: New file.
77301 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
77302 * manual/libc.texinfo: Include macros.texi.
77303 * manual/creatute.texi: Likewise.
77304 * manual/install.texi: Likewise.
77305 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
77306 @glibcadj{} in references to the GNU C Library.
77307 * manual/charset.texi: Likewise.
77308 * manual/conf.texi: Likewise.
77309 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
77310 when not using those macros.
77311 * manual/creature.texi: Likewise.
77312 * manual/crypt.texi: Likewise.
77313 * manual/errno.texi: Likewise.
77314 * manual/filesys.texi: Likewise.
77315 * manual/header.texi: Likewise.
77316 * manual/install.texi: Likewise.
77317 * manual/intro.texi: Likewise.
77318 * manual/io.texi: Likewise.
77319 * manual/job.texi: Likewise.
77320 * manual/lang.texi: Likewise.
77321 * manual/libc.texiinfo: Likewise.
77322 * manual/llio.texi: Likewise.
77323 * manual/locale.texi: Likewise.
77324 * manual/maint.texi: Likewise.
77325 * manual/math.texi: Likewise.
77326 * manual/memory.texi: Likewise.
77327 * manual/message.texi: Likewise.
77328 * manual/nss.texi: Likewise.
77329 * manual/pattern.texi: Likewise.
77330 * manual/process.texi: Likewise.
77331 * manual/resource.texi: Likewise.
77332 * manual/search.texi: Likewise.
77333 * manual/setjmp.texi: Likewise.
77334 * manual/signal.texi: Likewise.
77335 * manual/socket.texi: Likewise.
77336 * manual/startup.texi: Likewise.
77337 * manual/stdio.texi: Likewise.
77338 * manual/string.texi: Likewise.
77339 * manual/sysinfo.texi: Likewise.
77340 * manual/syslog.texi: Likewise.
77341 * manual/terminal.texi: Likewise.
77342 * manual/time.texi: Likewise.
77343 * manual/users.texi: Likewise.
77344 * INSTALL: Regenerated.
77345 * NOTES: Regenerated.
77346 * sysdeps/gnu/errlist.c: Regenerated.
77347
77348 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
77349
77350 * include/dirent.h: Include <dirstream.h> before
77351 <dirent/dirent.h>.
77352
77353 2012-02-28 David S. Miller <davem@davemloft.net>
77354
77355 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
77356 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
77357 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
77358 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
77359
77360 2012-02-27 David S. Miller <davem@davemloft.net>
77361
77362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
77363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
77364 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
77365 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
77366
77367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
77368 frame pointer instead of stack pointer relative arg slot.
77369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77370 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77371 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77372
77373 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
77374
77375 [BZ #3992]
77376 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
77377
77378 2012-02-27 David S. Miller <davem@davemloft.net>
77379
77380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
77381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
77384 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77385 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77386 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
77387 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
77388
77389 2012-02-27 Joseph Myers <joseph@codesourcery.com>
77390
77391 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
77392 later. Allow versions 5-9.
77393 * configure: Regenerated.
77394 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
77395 required minimum version and 4.6 as recommended version. Do not
77396 mention bugs in GCC 2.7 and 2.8.
77397 * INSTALL: Regenerated.
77398
77399 2012-02-27 David S. Miller <davem@davemloft.net>
77400
77401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
77402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
77403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
77404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
77405 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
77406 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
77407 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
77408 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
77409
77410 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
77411 manipulate bits before adding and subtracting TWO112[sx].
77412 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
77413
77414 2012-02-27 Roland McGrath <roland@hack.frob.com>
77415
77416 [BZ #13775]
77417 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
77418 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
77419 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
77420 being in POSIX, because they are in 1003.1-2008.
77421
77422 * rt/tst-aio.c: Include <fcntl.h>.
77423 * rt/tst-aio7.c: Likewise.
77424 * rt/tst-aio64.c: Likewise.
77425
77426 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
77427
77428 2012-02-27 Joseph Myers <joseph@codesourcery.com>
77429
77430 * manual/install.texi (--with-headers): Describe headers as
77431 interface headers, not private headers.
77432 (Specific advice for GNU/Linux systems): Describe use of headers
77433 from "make headers_install", not private headers from older
77434 kernels.
77435 * INSTALL: Regenerated.
77436 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
77437 Change to 2.6.19.
77438 * sysdeps/unix/sysv/linux/configure: Regenerated.
77439
77440 * manual/llio.texi (fclean): Remove documentation.
77441
77442 * manual/Makefile (libc-texi-generated): New variable. Include
77443 version.texi.
77444 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
77445 $(libc-texi-generated), not duplicated list of files.
77446 (version.texi, stamp-version): New rules.
77447 (realclean): Remove $(libc-texi-generated), not individual files
77448 from that list. Do not remove dir-add.texinfo.
77449 * manual/libc.texinfo: Comment out uses of edition numbers and
77450 references to printed manual. Remove last-updated dates.
77451 (EDITION): Comment out.
77452 (ISBN): Likewise.
77453 (VERSION, UPDATED): Remove.
77454 (version.texi): Include.
77455
77456 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
77457
77458 * sysdeps/posix/spawni.c: Include <signal.h>.
77459 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
77460 * sysdeps/pthread/aio_fsync.c: Likewise.
77461
77462 2012-02-26 Ulrich Drepper <drepper@gmail.com>
77463
77464 * conform/Makefile (tests): Run only when not cross-compiling and
77465 when fast-check is not defined.
77466
77467 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
77468 * conform/data/limits.h-data: Fixes for POSIX2008.
77469 * conform/run-conformtest.sh: Run all tests.
77470 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
77471 headers.
77472 * include/bits/dlfcn.h: Likewise.
77473 * include/langinfo.h: Likewise.
77474 * include/monetary.h: Likewise.
77475 * include/sys/poll.h: Likewise.
77476
77477 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
77478 for __USE_GNU.
77479 * posix/spawn.h: Define __need_sigset_t.
77480 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
77481 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
77482 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
77483 to get sigevent_t only.
77484 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
77485 only for __USE_GNU.
77486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77487 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77488 process_vm_writev only for __USE_GNU.
77489 * termios/termios.h: Declare tcgetsid also for POSIX2008.
77490
77491 * conform/Makefile: For now ignore errors from run-conformtest.
77492 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
77493 POSIX to avoid namespace pollution. Don't prepend headers.
77494 * conform/data/aio.h-data: Fixes for POSIX testing.
77495 * conform/data/fcntl.h-data: Likewise.
77496 * conform/data/glob.h-data: Likewise.
77497 * conform/data/grp.h-data: Likewise.
77498 * conform/data/pthread.h-data: Likewise.
77499 * conform/data/pwd.h-data: Likewise.
77500 * conform/data/signal.h-data: Likewise.
77501 * conform/data/spawn.h-data: Likewise.
77502 * conform/data/stdio.h-data: Likewise.
77503 * conform/data/stdlib.h-data: Likewise.
77504 * conform/data/stropts.h-data: Likewise.
77505 * conform/data/sys/mman.h-data: Likewise.
77506 * conform/data/sys/stat.h-data: Likewise.
77507 * conform/data/sys/types.h-data: Likewise.
77508 * conform/data/sys/wait.h-data: Likewise.
77509 * conform/data/time.h-data: Likewise.
77510 * conform/data/unistd.h-data: Likewise.
77511 * conform/data/utime.h-data: Likewise.
77512
77513 * io/sys/stat.h: fchmod was always in POSIX.
77514 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
77515 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
77516 * rt/aio.h: Define __need_timespec before including <time.h>.
77517 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
77518 struct. Add forward declaration of pthread_attr_t and use it in
77519 sigevent.
77520 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77521 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77522 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
77523 always remove CLK_TCK definition.
77524
77525 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
77526
77527 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
77528
77529 2012-02-25 Ulrich Drepper <drepper@gmail.com>
77530
77531 * conform/run-conformtest.sh: New file.
77532 * conform/Makefile: Run run-conformtest for tests.
77533 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
77534 support.
77535
77536 * conform/data/uchar.h-data: New file.
77537 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
77538 * conform/data/arpa/inet.h-data: Likewise.
77539 * conform/data/assert.h-data: Likewise.
77540 * conform/data/complex.h-data: Likewise.
77541 * conform/data/cpio.h-data: Likewise.
77542 * conform/data/ctype.h-data: Likewise.
77543 * conform/data/dirent.h-data: Likewise.
77544 * conform/data/dlfcn.h-data: Likewise.
77545 * conform/data/errno.h-data: Likewise.
77546 * conform/data/fcntl.h-data: Likewise.
77547 * conform/data/float.h-data: Likewise.
77548 * conform/data/fmtmsg.h-data: Likewise.
77549 * conform/data/fnmatch.h-data: Likewise.
77550 * conform/data/ftw.h-data: Likewise.
77551 * conform/data/glob.h-data: Likewise.
77552 * conform/data/grp.h-data: Likewise.
77553 * conform/data/iconv.h-data: Likewise.
77554 * conform/data/inttypes.h-data: Likewise.
77555 * conform/data/langinfo.h-data: Likewise.
77556 * conform/data/libgen.h-data: Likewise.
77557 * conform/data/limits.h-data: Likewise.
77558 * conform/data/locale.h-data: Likewise.
77559 * conform/data/math.h-data: Likewise.
77560 * conform/data/monetary.h-data: Likewise.
77561 * conform/data/mqueue.h-data: Likewise.
77562 * conform/data/ndbm.h-data: Likewise.
77563 * conform/data/net/if.h-data: Likewise.
77564 * conform/data/netdb.h-data: Likewise.
77565 * conform/data/netinet/in.h-data: Likewise.
77566 * conform/data/nl_types.h-data: Likewise.
77567 * conform/data/poll.h-data: Likewise.
77568 * conform/data/pthread.h-data: Likewise.
77569 * conform/data/pwd.h-data: Likewise.
77570 * conform/data/regex.h-data: Likewise.
77571 * conform/data/sched.h-data: Likewise.
77572 * conform/data/search.h-data: Likewise.
77573 * conform/data/semaphore.h-data: Likewise.
77574 * conform/data/setjmp.h-data: Likewise.
77575 * conform/data/signal.h-data: Likewise.
77576 * conform/data/spawn.h-data: Likewise.
77577 * conform/data/stdarg.h-data: Likewise.
77578 * conform/data/stdio.h-data: Likewise.
77579 * conform/data/stdlib.h-data: Likewise.
77580 * conform/data/string.h-data: Likewise.
77581 * conform/data/strings.h-data: Likewise.
77582 * conform/data/stropts.h-data: Likewise.
77583 * conform/data/sys/ipc.h-data: Likewise.
77584 * conform/data/sys/mman.h-data: Likewise.
77585 * conform/data/sys/msg.h-data: Likewise.
77586 * conform/data/sys/resource.h-data: Likewise.
77587 * conform/data/sys/select.h-data: Likewise.
77588 * conform/data/sys/sem.h-data: Likewise.
77589 * conform/data/sys/shm.h-data: Likewise.
77590 * conform/data/sys/socket.h-data: Likewise.
77591 * conform/data/sys/stat.h-data: Likewise.
77592 * conform/data/sys/statvfs.h-data: Likewise.
77593 * conform/data/sys/time.h-data: Likewise.
77594 * conform/data/sys/timeb.h-data: Likewise.
77595 * conform/data/sys/times.h-data: Likewise.
77596 * conform/data/sys/types.h-data: Likewise.
77597 * conform/data/sys/uio.h-data: Likewise.
77598 * conform/data/sys/un.h-data: Likewise.
77599 * conform/data/sys/utsname.h-data: Likewise.
77600 * conform/data/sys/wait.h-data: Likewise.
77601 * conform/data/syslog.h-data: Likewise.
77602 * conform/data/tar.h-data: Likewise.
77603 * conform/data/termios.h-data: Likewise.
77604 * conform/data/utime.h-data: Likewise.
77605 * conform/data/utmpx.h-data: Likewise.
77606 * conform/data/varargs.h-data: Likewise.
77607 * conform/data/wchar.h-data: Likewise.
77608 * conform/data/wctype.h-data: Likewise.
77609 * conform/data/wordexp.h-data: Likewise.
77610
77611 * include/stropts.h: New file.
77612 * include/uchar.h: New file.
77613 * include/aio.h: Changes to allow conformtest.pl to use the headers.
77614 * include/assert.h: Likewise.
77615 * include/ctype.h: Likewise.
77616 * include/dirent.h: Likewise.
77617 * include/dlfcn.h: Likewise.
77618 * include/fcntl.h: Likewise.
77619 * include/fnmatch.h: Likewise.
77620 * include/glob.h: Likewise.
77621 * include/grp.h: Likewise.
77622 * include/libio.h: Likewise.
77623 * include/locale.h: Likewise.
77624 * include/math.h: Likewise.
77625 * include/net/if.h: Likewise.
77626 * include/netdb.h: Likewise.
77627 * include/netinet/in.h: Likewise.
77628 * include/pthread.h: Likewise.
77629 * include/pwd.h: Likewise.
77630 * include/regex.h: Likewise.
77631 * include/sched.h: Likewise.
77632 * include/search.h: Likewise.
77633 * include/setjmp.h: Likewise.
77634 * include/signal.h: Likewise.
77635 * include/stdio.h: Likewise.
77636 * include/stdlib.h: Likewise.
77637 * include/string.h: Likewise.
77638 * include/sys/cdefs.h: Likewise.
77639 * include/sys/mman.h: Likewise.
77640 * include/sys/msg.h: Likewise.
77641 * include/sys/resource.h: Likewise.
77642 * include/sys/select.h: Likewise.
77643 * include/sys/socket.h: Likewise.
77644 * include/sys/stat.h: Likewise.
77645 * include/sys/statvfs.h: Likewise.
77646 * include/sys/time.h: Likewise.
77647 * include/sys/times.h: Likewise.
77648 * include/sys/uio.h: Likewise.
77649 * include/sys/utsname.h: Likewise.
77650 * include/sys/wait.h: Likewise.
77651 * include/termios.h: Likewise.
77652 * include/time.h: Likewise.
77653 * include/ulimit.h: Likewise.
77654 * include/unistd.h: Likewise.
77655 * include/utime.h: Likewise.
77656 * include/wchar.h: Likewise.
77657 * include/wctype.h: Likewise.
77658 * include/wordexp.h: Likewise.
77659
77660 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
77661
77662 * time/time.h: TIME_UTC must be a macro.
77663 Make timespec_get available for ISO C11 only as well.
77664
77665 2012-02-24 Ulrich Drepper <drepper@gmail.com>
77666
77667 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
77668 Reported by Peng Haitao <penght@cn.fujitsu.com>.
77669
77670 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77671
77672 * configure.in: Use -o not -a in test for unsupported multi-arch.
77673
77674 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77675
77676 * manual/texinfo.tex: Update to version 2012-01-19.16.
77677
77678 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77679
77680 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
77681
77682 2012-02-24 Roland McGrath <roland@hack.frob.com>
77683
77684 [BZ #13738]
77685 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
77686 * manual/fdl-1.3.texi: New file.
77687 * manual/fdl-1.1.texi: File removed.
77688
77689 [BZ #13738]
77690 * manual/libc.texinfo (FDL_VERSION): New @set.
77691 Use it for mention of FDL in cover text.
77692 (Documentation License): Use it in @include file name.
77693
77694 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77695 Roland McGrath <roland@hack.frob.com>
77696
77697 [BZ #5461]
77698 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
77699 (not LONG_LONG_MAX and LONG_LONG_MIN.
77700 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
77701 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
77702 name.
77703 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
77704
77705 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77706
77707 [BZ #2547]
77708 [BZ #11365]
77709 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
77710 manipulate bits before adding and subtracting TWO23[sx].
77711 * math/libm-test.inc (nearbyint_test): Add more tests.
77712
77713 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77714
77715 [BZ #2548]
77716 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
77717 bits before adding and subtracting TWO23[sx].
77718 * math/libm-test.inc (rint_test): Add more tests.
77719 (rint_test_tonearest): Likewise.
77720 (rint_test_towardzero): Likewise.
77721 (rint_test_downward): Likewise.
77722 (rint_test_upward: Likewise.
77723
77724 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77725
77726 [BZ #10110]
77727 * include/stdc-predef.h: New file. Extracted from features.h.
77728 * include/features.h: Include stdc-predef.h.
77729 * Makefile (headers): Add stdc-predef.h.
77730 * CONFORMANCE (Compiler limitations): Update.
77731
77732 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77733
77734 * manual/libc.texinfo (VERSION, UPDATED): Revert.
77735
77736 2012-02-21 David S. Miller <davem@davemloft.net>
77737
77738 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
77739 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77740
77741 2012-02-20 David S. Miller <davem@davemloft.net>
77742
77743 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
77744 using a normal save/restore sequence, rather than allocating a
77745 dummy stack frame just to store a frame pointer and restore.
77746 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77747
77748 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77749
77750 * manual/install.texi: Fix stray word in line-wrapped comment.
77751
77752 2012-02-20 David S. Miller <davem@davemloft.net>
77753
77754 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
77755 both binutils and gcc support GOTDATA.
77756
77757 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
77758 "rd %pc" in the PIC register setup sequences.
77759
77760 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
77761 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
77762 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77763 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
77764 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77765 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77766 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77767 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77768 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
77769 (SYSCALL_ERROR_HANDLER): Likewise.
77770 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77771 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77772 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
77773 (SYSCALL_ERROR_HANDLER): Likewise.
77774
77775 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
77776 (HAVE_GCC_GOTDATA): New.
77777 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
77778 relocation support in both binutils and gcc.
77779 * sysdeps/sparc/elf/configure: Regenerate.
77780
77781 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
77782 * sysdeps/sparc/sparc32/elf/configure: Delete.
77783 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
77784 * sysdeps/sparc/sparc64/elf/configure: Delete.
77785 * sysdeps/sparc/elf/configure.in: New file.
77786 * sysdeps/sparc/elf/configure: Generate.
77787
77788 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
77789 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
77790 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77791 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
77792 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
77793
77794 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77795
77796 * manual/install.texi: Do not mention specific glibc version
77797 numbers.
77798 * manual/libc.texinfo (VERSION, UPDATED): Update.
77799 (@copying): Use @copyright{} and range of years.
77800
77801 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77802
77803 [BZ #13695]
77804 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
77805 [crti.S not in sysdirs] (generated): Do not append.
77806 [crti.S not in sysdirs] (omit-deps): Likewise.
77807 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
77808 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
77809 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
77810 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
77811 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
77812 Likewise.
77813 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
77814 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
77815 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
77816 * csu/defs.awk: Remove file.
77817 * sysdeps/generic/initfini.c: Likewise.
77818 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
77819 variable.
77820 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
77821 Likewise.
77822
77823 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77824
77825 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
77826 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
77827 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
77828 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
77829 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77830 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
77831 <bits/epoll.h>.
77832 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
77833 (__EPOLL_PACKED): Define to empty if not defined by
77834 <bits/epoll.h>.
77835 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
77836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77837 bits/epoll.h.
77838
77839 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77840
77841 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
77842 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
77843 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
77844 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
77845 <bits/timerfd.h>.
77846 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
77847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77848 bits/timerfd.h.
77849
77850 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77851
77852 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
77853 in C locale.
77854 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77855 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
77856 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
77857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77858
77859 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
77860
77861 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77862 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77863
77864 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
77865
77866 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
77867 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
77868 defined.
77869 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
77870 Likewise.
77871 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
77872 entry for 2.16.
77873
77874 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
77875
77876 * math/w_acos.c: Use non-signaling floating-point comparisons.
77877 * math/w_acosf.c: Likewise.
77878 * math/w_acosh.c: Likewise.
77879 * math/w_acoshf.c: Likewise.
77880 * math/w_acoshl.c: Likewise.
77881 * math/w_acosl.c: Likewise.
77882 * math/w_asin.c: Likewise.
77883 * math/w_asinf.c: Likewise.
77884 * math/w_asinl.c: Likewise.
77885 * math/w_atanh.c: Likewise.
77886 * math/w_atanhf.c: Likewise.
77887 * math/w_atanhl.c: Likewise.
77888 * math/w_exp2.c: Likewise.
77889 * math/w_exp2f.c: Likewise.
77890 * math/w_exp2l.c: Likewise.
77891 * math/w_j0.c: Likewise.
77892 * math/w_j0f.c: Likewise.
77893 * math/w_j0l.c: Likewise.
77894 * math/w_j1.c: Likewise.
77895 * math/w_j1f.c: Likewise.
77896 * math/w_j1l.c: Likewise.
77897 * math/w_jn.c: Likewise.
77898 * math/w_jnf.c: Likewise.
77899 * math/w_log.c: Likewise.
77900 * math/w_log10.c: Likewise.
77901 * math/w_log10f.c: Likewise.
77902 * math/w_log10l.c: Likewise.
77903 * math/w_log2.c: Likewise.
77904 * math/w_log2f.c: Likewise.
77905 * math/w_log2l.c: Likewise.
77906 * math/w_logf.c: Likewise.
77907 * math/w_logl.c: Likewise.
77908 * math/w_sqrt.c: Likewise.
77909 * math/w_sqrtf.c: Likewise.
77910 * math/w_sqrtl.c: Likewise.
77911 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77912 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77913 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77914 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77915 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77916
77917 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77918
77919 [BZ #9739]
77920 * manual/string.texi (strnlen): Use correct parameter name in
77921 equivalent expression.
77922
77923 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77924
77925 [BZ #11174]
77926 * manual/users.texi (seteuid): Consistently use neweuid for
77927 argument name.
77928
77929 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77930
77931 [BZ #13704]
77932 * manual/nss.texi (Services in the NSS configuration): Correct
77933 list of services in example configuration file.
77934
77935 2012-02-19 Nick Bowler <nbowler@draconx.ca>
77936
77937 [BZ #11322]
77938 * manual/arith.texi: Remove statements about negative zero
77939 behaving identically to zero.
77940
77941 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77942
77943 [BZ #5993]
77944 * manual/install.texi: Do not document upgrading from libc5.
77945
77946 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77947
77948 [BZ #4596]
77949 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77950
77951 2012-02-18 David S. Miller <davem@davemloft.net>
77952
77953 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77954 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77955 %o7 across the call.
77956 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77957 instead.
77958 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77959 SETUP_PIC_REG_LEAF.
77960 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77961 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77962 * sysdeps/sparc/crtn.S: Likewise.
77963
77964 2012-02-17 Ulrich Drepper <drepper@gmail.com>
77965
77966 * aout/Makefile: Remove.
77967
77968 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
77969
77970 [BZ #13058]
77971 * manual/examples/argp-ex1.c (main): Format definition in GNU
77972 style.
77973 * manual/examples/argp-ex2.c (main): Likewise.
77974 * manual/examples/argp-ex3.c (main): Likewise.
77975 * manual/examples/argp-ex4.c (main): Likewise.
77976 * manual/examples/longopt.c (main): Use new-style prototype
77977 definition.
77978 * manual/examples/strncat.c (main): Specify return type and use
77979 (void) for arguments.
77980 * manual/examples/subopt.c (main): Use char **argv argument.
77981
77982 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77983
77984 [BZ #5077]
77985 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77986 rounding modes.
77987
77988 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
77989
77990 [BZ #6907]
77991 * manual/string.texi (strchr): Change when strchrnul is
77992 recommended.
77993
77994 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
77995
77996 [BZ #174]
77997 * manual/locale.texi (setlocale): Document LOCPATH.
77998
77999 2012-02-17 Joseph Myers <joseph@codesourcery.com>
78000
78001 [BZ #10210]
78002 * manual/process.texi (execle): Move @dots{} before last argument.
78003
78004 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
78005
78006 [BZ #12047]
78007 * manual/charset.texi (Generic Charset Conversion): Fix typo
78008 (LC_TYPE -> LC_CTYPE).
78009
78010 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
78011
78012 [BZ #5805]
78013 * manual/arith.texi (scalbn): Use @var{} on parameter names.
78014 (scalbnf): Likewise.
78015 (scalbnl): Likewise.
78016 (scalbln): Likewise.
78017 (scalblnf): Likewise.
78018 (scalblnl): Likewise.
78019 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
78020 (vwarnx): Likewise.
78021 (verr): Likewise.
78022 (verrx): Likewise.
78023 * manual/filesys.texi (telldir): Use braces around return type.
78024 * manual/llio.texi (mmap): Add space after comma.
78025 (mmap64): Likewise.
78026 * manual/math.texi (jn): Use @var{} on parameter names.
78027 (jnf): Likewise.
78028 (jnl): Likewise.
78029 (yn): Likewise.
78030 (ynf): Likewise.
78031 (ynl): Likewise.
78032 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
78033 line.
78034 * manual/resource.texi (ulimit): Use @dots{} instead of literal
78035 "...".
78036 (sched_get_priority_min): Remove semicolon on @deftypefun line.
78037 (sched_get_priority_max): Likewise.
78038 * manual/signal.texi (sigvec): Add space after comma.
78039 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
78040 names.
78041 (if_indextoname): Likewise.
78042 (if_freenameindex): Likewise.
78043 (sendto): Use ',' instead of '.' in prototype.
78044 * manual/startup.texi (syscall): Use @dots{} instead of literal
78045 "...".
78046 * manual/stdio.texi (__fpending): Separate initial words of
78047 paragraph from @deftypefun line.
78048 * manual/syslog.texi (syslog): Use @dots{} instead of literal
78049 "...".
78050 (vsyslog): Use @var{} on parameter names.
78051 * manual/terminal.texi (stty): Use @var{} on parameter names.
78052 * manual/users.texi (getutmp): Use @var{} on parameter names.
78053 (getutmpx): Likewise.
78054
78055 2012-02-17 Joseph Myers <joseph@codesourcery.com>
78056
78057 [BZ #6884]
78058 * manual/stdio.texi (fopen): Fix typos in description of
78059 ",ccs=STRING".
78060
78061 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
78062
78063 [BZ #4026]
78064 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
78065 get clock_id definition.
78066
78067 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
78068
78069 [BZ #4822]
78070 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
78071 (madvise): Cast every argument to void on its own.
78072
78073 2012-02-17 Joseph Myers <joseph@codesourcery.com>
78074
78075 [BZ #9902]
78076 * manual/startup.texi (Exit Status): Fix typo.
78077
78078 2012-02-17 Joseph Myers <joseph@codesourcery.com>
78079
78080 [BZ #10140]
78081 * manual/examples/argp-ex1.c: Include <stdlib.h>.
78082 * manual/examples/argp-ex2.c: Likewise.
78083 * manual/examples/argp-ex3.c: Likewise.
78084
78085 2012-02-16 Richard Henderson <rth@redhat.com>
78086
78087 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
78088 * sysdeps/s390/s390-32/initfini.c: Remove.
78089 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
78090 * sysdeps/s390/s390-64/initfini.c: Remove.
78091
78092 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
78093
78094 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
78095 compiler output for sysdeps/generic/initfini.c.
78096 * sysdeps/sh/elf/initfini.c: Remove file.
78097
78098 2012-02-16 David S. Miller <davem@davemloft.net>
78099
78100 [BZ #11494]
78101 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
78102
78103 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
78104 * sysdeps/sparc/crti.S: New file.
78105 * sysdeps/sparc/crtn.S: New file.
78106 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
78107 * sysdeps/sparc/sparc64/Makefile: Likewise.
78108
78109 2012-02-15 Mike Frysinger <vapier@gentoo.org>
78110
78111 [BZ #3335]
78112 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
78113
78114 2012-02-15 Roland McGrath <roland@hack.frob.com>
78115
78116 [BZ #4822]
78117 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
78118
78119 * mach/devstream.c (cookie_io_functions_t): Macro removed.
78120 (write, read, close): Likewise.
78121 Patch by Aurelien Jarno <aurelien@aurel32.net>.
78122
78123 2012-02-15 Joseph Myers <joseph@codesourcery.com>
78124
78125 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
78126 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
78127 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
78128 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
78129 <bits/signalfd.h>.
78130 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
78131 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78132 bits/signalfd.h.
78133
78134 2012-02-14 Marek Polacek <polacek@redhat.com>
78135
78136 * sysdeps/x86_64/crti.S: New file.
78137 * sysdeps/x86_64/crtn.S: New file.
78138 * sysdeps/x86_64/elf/initfini.c: Remove file.
78139
78140 2012-02-13 Joseph Myers <joseph@codesourcery.com>
78141
78142 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
78143 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
78144 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
78145 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
78146 <bits/inotify.h>.
78147 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
78148 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78149 bits/inotify.h.
78150
78151 2012-02-13 Joseph Myers <joseph@codesourcery.com>
78152
78153 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
78154 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
78155 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
78156 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
78157 <bits/eventfd.h>.
78158 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
78159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78160 bits/eventfd.h.
78161
78162 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
78163
78164 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
78165 __feraiseexcept instead of feraiseexcept.
78166
78167 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
78168 nanosleep invocations.
78169 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
78170 strings, and add error checking for a nanosleep invocations.
78171
78172 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
78173
78174 Replace FSF snail mail address with URLs, as per GNU coding standards.
78175 Most of the snail mail addresses were wrong anyway, and omitting
78176 them makes the source code easier to maintain. Almost all of the
78177 changes are to license notices and to locale LC_IDENTIFICATION
78178 addresses, except for this one:
78179 * manual/libc.texinfo: In "Published by", give the FSF's URL,
78180 not its snail mail address.
78181
78182 2012-02-09 Richard Henderson <rth@twiddle.net>
78183
78184 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
78185 of kernel-features.h.
78186
78187 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
78188
78189 2012-02-08 Marek Polacek <polacek@redhat.com>
78190
78191 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
78192 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
78193 * sysdeps/gnu/_G_config.h: Likewise.
78194 * sysdeps/generic/_G_config.h: Likewise.
78195
78196 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
78197
78198 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
78199 tests.
78200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78201
78202 * sysdeps/powerpc/powerpc32/crti.S: New file.
78203 * sysdeps/powerpc/powerpc32/crtn.S: New file.
78204 * sysdeps/powerpc/powerpc64/crti.S: New file.
78205 * sysdeps/powerpc/powerpc64/crtn.S: New file.
78206
78207 * Makeconfig (have-initfini): Don't set.
78208 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
78209 * configure.in (nopic_initfini): Don't substitute.
78210 * config.h.in (HAVE_INITFINI): Don't #undef.
78211 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
78212 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
78213
78214 2012-02-08 Joseph Myers <joseph@codesourcery.com>
78215
78216 Support crti.S and crtn.S provided directly by architectures.
78217 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
78218 [crti.S in sysdirs] (omit-deps): Likewise.
78219 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
78220 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
78221 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
78222 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
78223 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
78224 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
78225 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
78226 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
78227 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
78228 compiler output for sysdeps/generic/initfini.c.
78229 * sysdeps/i386/elf/Makefile: Remove file.
78230 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
78231
78232 2012-02-07 Marek Polacek <polacek@redhat.com>
78233
78234 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
78235 * sysdeps/gnu/_G_config.h: Likewise.
78236 * sysdeps/mach/hurd/_G_config.h: Likewise.
78237
78238 2012-02-07 Marek Polacek <polacek@redhat.com>
78239
78240 * math/Makefile (tests): Add tst-CMPLX2.
78241 * math/tst-CMPLX2.c: New file.
78242
78243 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
78244
78245 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78246
78247 * math/libm-test.inc (jn_test): Add missing L suffix.
78248
78249 2012-02-06 Marek Polacek <polacek@redhat.com>
78250
78251 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
78252 * sysdeps/i386/fpu/e_powf.S: Likewise.
78253 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78254 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78255 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78256 * sysdeps/i386/fpu/e_pow.S: Likewise.
78257 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78258 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78259 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78260 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78261 * sysdeps/i386/fpu/e_log2.S: Likewise.
78262 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78263 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78264 * sysdeps/i386/fpu/e_powl.S: Likewise.
78265 * sysdeps/i386/fpu/s_log1p.S: Likewise.
78266 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78267 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78268 * sysdeps/i386/fpu/e_logl.S: Likewise.
78269 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78270 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
78271 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78272 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78273 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78274 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78275 * sysdeps/i386/fpu/e_log.S: Likewise.
78276 * sysdeps/i386/fpu/s_cexp.S: Likewise.
78277 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78278 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
78279 * sysdeps/i386/fpu/e_logf.S: Likewise.
78280 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78281 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78282 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
78283 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78284 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78285 * sysdeps/i386/fpu/e_log10.S: Likewise.
78286 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78287 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78288 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78289 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78290 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78291 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78292 * sysdeps/i386/asm-syntax.h: Likewise.
78293 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78294 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78295 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78296 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
78297 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
78298 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78299 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78300 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78301 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78302 * sysdeps/powerpc/sysdep.h: Likewise.
78303 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
78304 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78305
78306 2012-02-06 Joseph Myers <joseph@codesourcery.com>
78307
78308 [BZ #411]
78309 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
78310
78311 2012-02-06 Joseph Myers <joseph@codesourcery.com>
78312
78313 * sysdeps/i386/sysdep.h: Include <features.h>.
78314 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
78315 version.
78316
78317 2012-02-05 Joseph Myers <joseph@codesourcery.com>
78318
78319 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
78320 Define.
78321 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
78322 LOAD_PIC_REG_STR.
78323
78324 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78325
78326 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
78327 (SETUP_PIC_REG): Use GET_PC_THUNK.
78328 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
78329 macro.
78330
78331 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78332
78333 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
78334 for non-PIC compilation.
78335 (SETUP_PIC_REG): Add .p2align directive.
78336 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
78337 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
78338 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
78339 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
78340 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
78341 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
78342 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
78343 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78344 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
78345 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
78346 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
78347 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
78348 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
78349 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
78350 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
78351 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
78352 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
78353 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
78354 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
78355 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
78356 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
78357 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
78358 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
78359 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
78360 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
78361 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
78362 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78363 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
78364 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
78365 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
78366 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
78367 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78368 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
78369 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
78370 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
78371 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
78372 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
78373 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
78374 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
78375 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
78376 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
78377
78378 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78379
78380 * math/tst-CMPLX.c: Include <stdio.h>.
78381
78382 2012-01-31 Joseph Myers <joseph@codesourcery.com>
78383
78384 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
78385 float.
78386 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78387 * sysdeps/sparc/bits/mathdef.h: Likewise.
78388
78389 2012-01-31 Marek Polacek <polacek@redhat.com>
78390
78391 * libio/libio.h: Don't define _PARAMS.
78392 * locale/programs/config.h: Don't define PARAMS.
78393 * stdlib/strtol_l.c: Likewise.
78394 (__strtol_l): Remove PARAMS from the prototype.
78395
78396 2012-01-31 Ulrich Drepper <drepper@gmail.com>
78397
78398 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
78399 names. Just use the correct names. Remove unnecessary wrapper
78400 functions.
78401 * malloc/arena.c: Likewise.
78402 * malloc/hooks.c: Likewise.
78403
78404 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
78405 ARENA_TEST says not to. Simplify test for creation of a new arena.
78406 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
78407
78408 2012-01-30 Ulrich Drepper <drepper@gmail.com>
78409
78410 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
78411 into tail calls.
78412 (update_get_addr): New function.
78413 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
78414 GET_ADDR_MODULE parameter.
78415
78416 2012-01-30 Joseph Myers <joseph@codesourcery.com>
78417
78418 * crypt/cert.c: Remove __STDC__ conditionals.
78419 * crypt/crypt-entry.c: Likewise.
78420 * crypt/crypt_util.c: Likewise.
78421 * libio/filedoalloc.c: Likewise.
78422 * libio/fileops.c: Likewise.
78423 * libio/genops.c: Likewise.
78424 * libio/iofclose.c: Likewise.
78425 * libio/iofdopen.c: Likewise.
78426 * libio/iofopen.c: Likewise.
78427 * libio/iofopen64.c: Likewise.
78428 * libio/iogetdelim.c: Likewise.
78429 * libio/iopopen.c: Likewise.
78430 * libio/obprintf.c: Likewise.
78431 * libio/oldfileops.c: Likewise.
78432 * libio/oldiofclose.c: Likewise.
78433 * libio/oldiofdopen.c: Likewise.
78434 * libio/oldiofopen.c: Likewise.
78435 * libio/oldiopopen.c: Likewise.
78436 * libio/wfiledoalloc.c: Likewise.
78437 * libio/wgenops.c: Likewise.
78438 * locale/programs/xmalloc.c: Likewise.
78439 * misc/syslog.c: Likewise.
78440 * stdio-common/xbug.c: Likewise.
78441 * string/memchr.c: Likewise.
78442 * string/memcmp.c: Likewise.
78443 * string/memrchr.c: Likewise.
78444 * string/rawmemchr.c: Likewise.
78445 * sysdeps/posix/getcwd.c: Likewise.
78446 * time/strftime_l.c: Likewise.
78447
78448 2012-01-30 Joseph Myers <joseph@codesourcery.com>
78449
78450 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
78451 * config.make.in (config-cflags-sse2avx): Define.
78452 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
78453 Fix typo.
78454
78455 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
78456
78457 * scripts/config.guess: Update from upstream config git repository.
78458 * scripts/config.sub: Likewise.
78459
78460 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
78461
78462 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
78463 (EM_NUM): Update.
78464 (R_TILEPRO_*, R_TILEGX_*): New macros.
78465
78466 * scripts/firstversions.awk: Fix bug in version range handling.
78467
78468 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
78469
78470 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
78471
78472 * include/sys/epoll.h: New file.
78473 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
78474 libc_hidden_def.
78475
78476 2012-01-28 Ulrich Drepper <drepper@gmail.com>
78477
78478 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
78479 Avoid unnecessary __WORDSIZE == 64 test.
78480 (fmaxf): Use VEX format if possible.
78481 (fmax): Likewise.
78482 (fminf): Likewise.
78483 (fmin): Likewise.
78484
78485 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
78486 * math/math_private.h: Remove libc_fegetround* and
78487 libc_fesetround*.
78488 * sysdeps/i386/configure.in: Check for -msse2avx.
78489 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
78490 also if SSE2AVX is defined.
78491 Remove libc_fegetround* and libc_fesetround*.
78492 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
78493 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
78494 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
78495 of HAS_YMM_USABLE.
78496 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78497 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78498 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78499 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78500 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78501
78502 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
78503
78504 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78505
78506 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
78507 size is not set.
78508 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78509
78510 2012-01-27 Ulrich Drepper <drepper@gmail.com>
78511
78512 [BZ #13618]
78513 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
78514 relocation.
78515 * Makeconfig (libm): Define.
78516 * elf/Makefile: Add rules to build and run tst-relsort1.
78517 * elf/tst-relsort1.c: New file.
78518 * elf/tst-relsort1mod1.c: New file.
78519 * elf/tst-relsort1mod2.c: New file.
78520
78521 2012-01-27 Joseph Myers <joseph@codesourcery.com>
78522
78523 * math/s_ldexp.c: Remove __STDC__ conditionals.
78524 * math/s_ldexpf.c: Likewise.
78525 * math/s_ldexpl.c: Likewise.
78526 * math/s_nextafter.c: Likewise.
78527 * math/s_nexttowardf.c: Likewise.
78528 * math/s_significand.c: Likewise.
78529 * math/s_significandf.c: Likewise.
78530 * math/s_significandl.c: Likewise.
78531 * math/w_jnl.c: Likewise.
78532 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78533 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78534 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78535 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78536 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78537 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78538 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
78539 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78540 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78541 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78542 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78543 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78544 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78545 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78546 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78547 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78548 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78549 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78550 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78551 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78552 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78553 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78554 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78555 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78556 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78557 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78558 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78559 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78560 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78561 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78562 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78563 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78564 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78565 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78566 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78567 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78568 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78569 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78570 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78571 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78572 * sysdeps/ieee754/k_standard.c: Likewise.
78573 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78574 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78575 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78576 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78577 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78578 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78579 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78580 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78581 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78582 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78583 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78584 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78585 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78586 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78587 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78588 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78589 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78590 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78591 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78592 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78593 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78594 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78595 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78596 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78597 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78598 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78599 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78600 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78601 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78602 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78603 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78604 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
78605 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78606 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78607 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78608 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78609 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
78610 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78611 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78612 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
78613 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
78614 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78615 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
78616 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
78617 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78618 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
78619 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
78620 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78621 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78622 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
78623 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
78624 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78625 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78626 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78627 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78628 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78629 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
78630 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78631 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78632 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78633 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78634 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78635 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78636 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78637 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78638 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78639 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78640 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78641 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78642 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78643 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78644 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78645 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78646 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78647 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78648 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78649 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78650 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78651 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78652 * sysdeps/ieee754/s_matherr.c: Likewise.
78653 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78654 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78655 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78656 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78657
78658 2012-01-26 Joseph Myers <joseph@codesourcery.com>
78659
78660 * crypt/md5.h: Remove __STDC__ conditionals.
78661 * libio/libioP.h: Likewise.
78662 * locale/programs/config.h: Likewise.
78663 * sysdeps/generic/sysdep.h: Likewise.
78664 * sysdeps/i386/asm-syntax.h: Likewise.
78665 * sysdeps/s390/asm-syntax.h: Likewise.
78666 * sysdeps/unix/sysdep.h: Likewise.
78667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
78668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
78669
78670 2012-01-26 Joseph Myers <joseph@codesourcery.com>
78671
78672 * libio/libio.h: Remove __STDC__ conditionals.
78673 * malloc/obstack.h: Likewise.
78674 * math/complex.h: Likewise.
78675 * math/math.h: Likewise.
78676 * sysdeps/generic/_G_config.h: Likewise.
78677 * sysdeps/gnu/_G_config.h: Likewise.
78678 * sysdeps/mach/hurd/_G_config.h: Likewise.
78679 * sysdeps/powerpc/bits/mathdef.h: Likewise.
78680 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78681 * sysdeps/sparc/bits/mathdef.h: Likewise.
78682
78683 2012-01-26 Ulrich Drepper <drepper@gmail.com>
78684
78685 [BZ #13583]
78686 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
78687 Clean up HAS_* macros.
78688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
78689 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
78690 possible.
78691 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
78692 HAS_AVX.
78693 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78694 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78695 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78696 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78697 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78698
78699 2012-01-25 Joseph Myers <joseph@codesourcery.com>
78700
78701 * elf/tst-unique3.cc (gets): Remove declaration.
78702 * elf/tst-unique3lib.cc (gets): Likewise.
78703 * elf/tst-unique3lib2.cc (gets): Likewise.
78704 * elf/tst-unique4.cc (gets): Likewise.
78705
78706 2012-01-24 Ulrich Drepper <drepper@gmail.com>
78707
78708 * include/stdio.h: Add C++ protection. Add gets declarations and
78709 definitions.
78710 * debug/tst-chk1.c: Don't declare gets here.
78711 * stdio-common/tst-gets.c: Likewise.
78712
78713 2012-01-24 Joseph Myers <joseph@codesourcery.com>
78714
78715 * posix/glob: Remove directory.
78716
78717 2012-01-24 Joseph Myers <joseph@codesourcery.com>
78718
78719 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
78720
78721 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
78722
78723 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
78724 of the non-standard EPFNOSUPPORT.
78725
78726 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
78727
78728 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
78729 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
78730 ANYWHERE set to 1 only on KERN_NO_SPACE error.
78731
78732 2012-01-21 Ulrich Drepper <drepper@gmail.com>
78733
78734 * wcsmbs/uchar.h: Test __STDC_VERSION__.
78735
78736 2012-01-20 Ulrich Drepper <drepper@gmail.com>
78737
78738 * nscd/aicache.c (addhstaiX): Do not cache negative results of
78739 transient errors.
78740 * nscd/grpcache.c (cache_addgr): Likewise.
78741 * nscd/hstcache.c (cache_addhst): Likewise.
78742 * nscd/initgrcache.c (addinitgroupsX): Likewise.
78743 * nscd/pwdcache.c (cache_addpw): Likewise.
78744 * nscd/servicescache.c (cache_addserv): Likewise.
78745
78746 2012-01-16 Ulrich Drepper <drepper@gmail.com>
78747
78748 * malloc/malloc.c: Various cleanups.
78749 * malloc/hooks.c: Likewise.
78750
78751 * stdlib/Makefile (tests): Add bug-fmtmsg1.
78752 * stdlib/bug-fmtmsg1.c: New file.
78753
78754 * stdlib/fmtmsg.c (init): Add missing unlock.
78755 Patch by Peng Haitao <penght@cn.fujitsu.com>.
78756
78757 2012-01-12 Marek Polacek <polacek@redhat.com>
78758
78759 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
78760 and _GNU_SOURCE.
78761
78762 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
78763
78764 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
78765 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
78766 macro to ensure uniqueness of label name.
78767 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78768 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78769
78770 2012-01-11 Ulrich Drepper <drepper@gmail.com>
78771
78772 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
78773
78774 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
78775 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78776 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78777 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
78778
78779 2012-01-10 Ulrich Drepper <drepper@gmail.com>
78780
78781 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
78782
78783 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
78784 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78785 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78786
78787 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
78788
78789 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
78790 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78791 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78792 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
78793
78794 * math/bits/math-finite.h: Add ldexp support.
78795
78796 2012-01-10 Marek Polacek <polacek@redhat.com>
78797
78798 * locale/programs/localedef.h (show_archive_content): Add noreturn
78799 attribute.
78800
78801 2012-01-09 Ulrich Drepper <drepper@gmail.com>
78802
78803 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
78804
78805 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78806
78807 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
78808
78809 * io/Makefile (headers): Add bits/poll2.h.
78810
78811 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
78812
78813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
78814 typo #include statement.
78815
78816 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78817
78818 * include/sys/cdefs.h: Define __attribute_alloc_size.
78819 * catgets/gencat.c: Add alloc_size attribute and apply consistently
78820 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
78821 * elf/pldd.c: Likewise.
78822 * iconv/iconv_charmap.c: Likewise.
78823 * iconv/iconvconfig.c: Likewise.
78824 * iconv/strtab.c: Likewise.
78825 * locale/programs/locale.c: Likewise.
78826 * locale/programs/localedef.h: Likewise.
78827 * locale/programs/simple-hash.c: Likewise.
78828 * nscd/nscd.h: Likewise.
78829 * nss/makedb.c: Likewise.
78830 * sysdeps/generic/ldconfig.h: Likewise.
78831 * locale/programs/localedef.c: Remove xmalloc prototype.
78832 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
78833
78834 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
78835
78836 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
78837 appropriate.
78838
78839 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78840
78841 * math/Makefile (tests): Add tst-CMPLX.
78842 * math/tst-CMPLX.c: New file.
78843
78844 * math/complex.h (CMPLXL): Fix typo.
78845
78846 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
78847 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
78848 GLIBC_2.16.
78849 * debug/tst-chk1.c: Add poll and ppoll tests.
78850 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
78851 * include/sys/poll.h: Add hidden proto for ppoll.
78852 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
78853 * sysdeps/mach/hurd/ppoll.c: Likewise.
78854 * io/ppoll.c: Likewise.
78855 * debug/poll_chk.c: New file.
78856 * debug/ppoll_chk.c: New file.
78857 * include/bits/poll2.h: New file.
78858 * io/bits/poll2.h: New file.
78859
78860 [BZ #1350]
78861 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
78862
78863 * configure.in: static is always set to yes. Remove.
78864 * config.make.in: Don't set build-static.
78865 * Makeconfig: Remove use of build-static.
78866 * dlfcn/Makefile: Likewise.
78867 * elf/Makefile: Likewise.
78868 * math/Makefile: Likewise.
78869 * misc/Makefile: Likewise.
78870 * nptl/Makefile: Likewise.
78871 * sysdeps/mach/hurd/Makefile: Likewise.
78872
78873 * configure.in: PWD_P is not used anymore.
78874 * config.make.in: Remove PWD_P entry.
78875
78876 * configure.in: Remove last remnants of RANLIB.
78877 No need to check for signed size_t anymore.
78878 Don't set libc_commonpagesize and libc_relro_required here for Alpha
78879 and IA-64.
78880 Remove __builtin_expect test because we require at least gcc 3.4.
78881 * aclocal.m4: Likewise.
78882
78883 * wcsmbs/mbrtoc16.c: Implement using towc function.
78884 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78885 * wcsmbs/wcsmbsload.c: Likewise.
78886 * iconv/gconv_simple.c: Likewise.
78887 * iconv/gconv_int.h: Likewise.
78888 * iconv/gconv_builtin.h: Likewise.
78889 * iconv/iconv_prog.c: Remove CHAR16 handling.
78890
78891 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78892
78893 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78894
78895 * configure.in: Remove --with-elf and --enable-bounded options.
78896 Dont set base_machine for ia64. More non-ELF conditions removed.
78897 Remove testing and setting of leading underscore information.
78898 * config.make.in (build-bounded): Set to no.
78899 * config.h.in: Remove NO_UNDERSCORES entry.
78900 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
78901 them.
78902 * csu/start.c: Remove !NO_UNDERSCORE code.
78903 * locale/localeinfo.h: Likewise.
78904 * sysdeps/generic/machine-gmon.h: Likewise.
78905 * sysdeps/generic/sysdep.h: Likewise.
78906 * sysdeps/i386/sysdep.h: Likewise.
78907 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78908 * sysdeps/mach/sysdep.h: Likewise.
78909 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78910 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78911 * sysdeps/sh/sysdep.h: Likewise.
78912 * sysdeps/sparc/sparc32/alloca.S: Likewise.
78913 * sysdeps/unix/i386/sysdep.S: Likewise.
78914 * sysdeps/unix/sparc/start.c: Likewise.
78915 * sysdeps/unix/sparc/sysdep.S: Likewise.
78916 * sysdeps/unix/sparc/sysdep.h: Likewise.
78917 * sysdeps/unix/start.c: Likewise.
78918 * sysdeps/unix/x86_64/sysdep.S: Likewise.
78919 * sysdeps/x86_64/sysdep.h: Likewise.
78920
78921 2012-01-07 Ulrich Drepper <drepper@gmail.com>
78922
78923 [BZ #13553]
78924 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78925 for non-gcc.
78926 * argp/argp-fmtstream.h: Use const instead __const.
78927 * argp/argp.h: Likewise.
78928 * assert/assert.h: Likewise.
78929 * bits/fenv.h: Likewise.
78930 * bits/sched.h: Likewise.
78931 * bits/sigset.h: Likewise.
78932 * bits/sigthread.h: Likewise.
78933 * catgets/nl_types.h: Likewise.
78934 * conform/data/pthread.h-data: Likewise.
78935 * crypt/crypt-private.h: Likewise.
78936 * crypt/crypt.h: Likewise.
78937 * crypt/crypt_util.c: Likewise.
78938 * ctype/ctype.h: Likewise.
78939 * debug/execinfo.h: Likewise.
78940 * debug/mbsnrtowcs_chk.c: Likewise.
78941 * debug/mbsrtowcs_chk.c: Likewise.
78942 * debug/wcsnrtombs_chk.c: Likewise.
78943 * debug/wcsrtombs_chk.c: Likewise.
78944 * debug/wcstombs_chk.c: Likewise.
78945 * dirent/dirent.h: Likewise.
78946 * dlfcn/dlfcn.h: Likewise.
78947 * elf/neededtest4.c: Likewise.
78948 * grp/grp.h: Likewise.
78949 * gshadow/gshadow.h: Likewise.
78950 * iconv/gconv.h: Likewise.
78951 * iconv/gconv_int.h: Likewise.
78952 * iconv/gconv_simple.c: Likewise.
78953 * iconv/iconv.h: Likewise.
78954 * iconv/loop.c: Likewise.
78955 * iconv/skeleton.c: Likewise.
78956 * include/aio.h: Likewise.
78957 * include/aliases.h: Likewise.
78958 * include/argz.h: Likewise.
78959 * include/arpa/inet.h: Likewise.
78960 * include/assert.h: Likewise.
78961 * include/dirent.h: Likewise.
78962 * include/dlfcn.h: Likewise.
78963 * include/execinfo.h: Likewise.
78964 * include/fcntl.h: Likewise.
78965 * include/fenv.h: Likewise.
78966 * include/glob.h: Likewise.
78967 * include/grp.h: Likewise.
78968 * include/libintl.h: Likewise.
78969 * include/mntent.h: Likewise.
78970 * include/netdb.h: Likewise.
78971 * include/pwd.h: Likewise.
78972 * include/rpc/netdb.h: Likewise.
78973 * include/sched.h: Likewise.
78974 * include/search.h: Likewise.
78975 * include/shadow.h: Likewise.
78976 * include/signal.h: Likewise.
78977 * include/stdio.h: Likewise.
78978 * include/stdlib.h: Likewise.
78979 * include/string.h: Likewise.
78980 * include/sys/socket.h: Likewise.
78981 * include/sys/stat.h: Likewise.
78982 * include/sys/statfs.h: Likewise.
78983 * include/sys/statvfs.h: Likewise.
78984 * include/sys/syslog.h: Likewise.
78985 * include/sys/time.h: Likewise.
78986 * include/sys/uio.h: Likewise.
78987 * include/time.h: Likewise.
78988 * include/unistd.h: Likewise.
78989 * include/utmp.h: Likewise.
78990 * include/wchar.h: Likewise.
78991 * include/wctype.h: Likewise.
78992 * inet/aliases.h: Likewise.
78993 * inet/arpa/inet.h: Likewise.
78994 * inet/netinet/ether.h: Likewise.
78995 * inet/netinet/in.h: Likewise.
78996 * intl/libintl.h: Likewise.
78997 * io/bits/fcntl2.h: Likewise.
78998 * io/fcntl.h: Likewise.
78999 * io/ftw.h: Likewise.
79000 * io/sys/poll.h: Likewise.
79001 * io/sys/stat.h: Likewise.
79002 * io/sys/statfs.h: Likewise.
79003 * io/sys/statvfs.h: Likewise.
79004 * io/utime.h: Likewise.
79005 * libio/bits/stdio.h: Likewise.
79006 * libio/bits/stdio2.h: Likewise.
79007 * libio/libio.h: Likewise.
79008 * libio/libioP.h: Likewise.
79009 * libio/stdio.h: Likewise.
79010 * locale/lc-ctype.c: Likewise.
79011 * locale/locale.h: Likewise.
79012 * login/utmp.h: Likewise.
79013 * malloc/arena.c: Likewise.
79014 * malloc/malloc.c: Likewise.
79015 * malloc/malloc.h: Likewise.
79016 * malloc/mcheck.c: Likewise.
79017 * malloc/mtrace.c: Likewise.
79018 * math/bits/mathcalls.h: Likewise.
79019 * math/fenv.h: Likewise.
79020 * math/math_private.h: Likewise.
79021 * misc/bits/error.h: Likewise.
79022 * misc/bits/syslog.h: Likewise.
79023 * misc/err.h: Likewise.
79024 * misc/error.h: Likewise.
79025 * misc/fstab.h: Likewise.
79026 * misc/mntent.h: Likewise.
79027 * misc/regexp.h: Likewise.
79028 * misc/search.h: Likewise.
79029 * misc/sgtty.h: Likewise.
79030 * misc/sys/mman.h: Likewise.
79031 * misc/sys/syslog.h: Likewise.
79032 * misc/sys/uio.h: Likewise.
79033 * misc/sys/xattr.h: Likewise.
79034 * misc/ttyent.h: Likewise.
79035 * nis/rpcsvc/ypclnt.h: Likewise.
79036 * nss/nss.h: Likewise.
79037 * posix/bits/unistd.h: Likewise.
79038 * posix/fnmatch.h: Likewise.
79039 * posix/glob.h: Likewise.
79040 * posix/sched.h: Likewise.
79041 * posix/spawn.h: Likewise.
79042 * posix/sys/wait.h: Likewise.
79043 * posix/unistd.h: Likewise.
79044 * posix/wordexp.h: Likewise.
79045 * pwd/pwd.h: Likewise.
79046 * resolv/netdb.h: Likewise.
79047 * resource/sys/resource.h: Likewise.
79048 * rt/aio.h: Likewise.
79049 * rt/bits/mqueue2.h: Likewise.
79050 * rt/mqueue.h: Likewise.
79051 * shadow/shadow.h: Likewise.
79052 * signal/signal.h: Likewise.
79053 * socket/send.c: Likewise.
79054 * socket/sendto.c: Likewise.
79055 * socket/sys/socket.h: Likewise.
79056 * stdio-common/printf.h: Likewise.
79057 * stdlib/bits/stdlib.h: Likewise.
79058 * stdlib/fmtmsg.h: Likewise.
79059 * stdlib/monetary.h: Likewise.
79060 * stdlib/stdlib.h: Likewise.
79061 * stdlib/ucontext.h: Likewise.
79062 * streams/stropts.h: Likewise.
79063 * string/argz.h: Likewise.
79064 * string/bits/string2.h: Likewise.
79065 * string/string.h: Likewise.
79066 * string/strings.h: Likewise.
79067 * sunrpc/rpc/auth.h: Likewise.
79068 * sunrpc/rpc/auth_des.h: Likewise.
79069 * sunrpc/rpc/clnt.h: Likewise.
79070 * sunrpc/rpc/netdb.h: Likewise.
79071 * sunrpc/rpc/pmap_clnt.h: Likewise.
79072 * sunrpc/rpc/xdr.h: Likewise.
79073 * sysdeps/generic/inttypes.h: Likewise.
79074 * sysdeps/generic/net/if.h: Likewise.
79075 * sysdeps/generic/sys/swap.h: Likewise.
79076 * sysdeps/gnu/net/if.h: Likewise.
79077 * sysdeps/gnu/utmpx.h: Likewise.
79078 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
79079 * sysdeps/i386/i486/bits/string.h: Likewise.
79080 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
79081 * sysdeps/s390/bits/string.h: Likewise.
79082 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
79083 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
79084 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
79085 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
79086 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
79087 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
79088 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
79089 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
79090 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
79091 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
79092 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
79093 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
79094 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
79095 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
79096 * sysdeps/unix/sysv/linux/readv.c: Likewise.
79097 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
79098 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
79099 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79100 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
79101 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
79102 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79103 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
79104 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
79105 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
79106 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
79107 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
79108 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
79109 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79110 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
79111 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
79112 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
79113 * sysvipc/sys/ipc.h: Likewise.
79114 * sysvipc/sys/msg.h: Likewise.
79115 * sysvipc/sys/sem.h: Likewise.
79116 * sysvipc/sys/shm.h: Likewise.
79117 * termios/termios.h: Likewise.
79118 * time/sys/time.h: Likewise.
79119 * time/time.h: Likewise.
79120 * wcsmbs/bits/wchar2.h: Likewise.
79121 * wcsmbs/uchar.h: Likewise.
79122 * wcsmbs/wchar.h: Likewise.
79123 * wctype/wctype.h: Likewise.
79124
79125 [BZ #13551]
79126 * Makeconfig: Remove all but ELF support including AIX support.
79127 * Makerules: Likewise.
79128 * config.h.in: Likewise.
79129 * config.make.in: Likewise.
79130 * configure: Likewise.
79131 * configure.in: Likewise.
79132 * csu/Makefile: Likewise.
79133 * csu/version.c: Likewise.
79134 * debug/Makefile: Likewise.
79135 * dlfcn/Makefile: Likewise.
79136 * elf/Makefile: Likewise.
79137 * extra-lib.mk: Likewise.
79138 * iconv/Makefile: Likewise.
79139 * include/libc-symbols.h: Likewise.
79140 * include/shlib-compat.h: Likewise.
79141 * resolv/Makefile: Likewise.
79142 * resolv/res_libc.c: Likewise.
79143 * rt/Makefile: Likewise.
79144 * sysdeps/i386/asm-syntax.h: Likewise.
79145 * sysdeps/i386/sysdep.h: Likewise.
79146 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
79147 * sysdeps/mach/sysdep.h: Likewise.
79148 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
79149 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
79150 * sysdeps/s390/asm-syntax.h: Likewise.
79151 * sysdeps/s390/s390-32/sysdep.h: Likewise.
79152 * sysdeps/s390/s390-64/sysdep.h: Likewise.
79153 * sysdeps/sh/sysdep.h: Likewise.
79154 * sysdeps/unix/sparc/sysdep.h: Likewise.
79155 * sysdeps/wordsize-32/divdi3.c: Likewise.
79156 * sysdeps/x86_64/sysdep.h: Likewise.
79157
79158 * argp/Versions: Remove _argp_unlock_xxx.
79159
79160 [BZ #13559]
79161 * abilist/ld.abilist: Update. Adjust for removal of tls option.
79162 * abilist/libBrokenLocale.abilist: Likewise.
79163 * abilist/libanl.abilist: Likewise.
79164 * abilist/libc.abilist: Likewise.
79165 * abilist/libcrypt.abilist: Likewise.
79166 * abilist/libdl.abilist: Likewise.
79167 * abilist/libm.abilist: Likewise.
79168 * abilist/libnsl.abilist: Likewise.
79169 * abilist/libpthread.abilist: Likewise.
79170 * abilist/libresolv.abilist: Likewise.
79171 * abilist/librt.abilist: Likewise.
79172 * abilist/libthread_db.abilist: Likewise.
79173 * abilist/libutil.abilist: Likewise.
79174 * abilist/libnss_db.abilist: New file.
79175
79176 * scripts/abilist.awk: Add support for indirect functions.
79177
79178 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
79179
79180 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
79181
79182 * shlib-versions: Remove entries for ports architectures.
79183
79184 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
79185 files in ports.
79186 * elf/stackguard-macros.h: Remove support for IA-64.
79187 * elf/tst-auditmod1.c: Likewise.
79188 * sysdeps/generic/ldsodefs.h: Likewise.
79189
79190 * sysdeps/unix/sysv/linux/configure.in: Ports should define
79191 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
79192 configure files.
79193
79194 [BZ #13552]
79195 * configure.in: Remove --enable-omitfp support.
79196 * FAQ.in: Adjust.
79197 * config.make.in: Likewise.
79198 * Makeconfig: Likewise.
79199 * manual/install.texi: Likewise.
79200
79201 In case anyone cares, the IA-64 architecture could move to ports.
79202 * sysdeps/ia64/*: Removed.
79203 * sysdeps/unix/sysv/linux/ia64/*: Removed.
79204 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
79205
79206 [BZ #13555]
79207 * configure.in: Remove entries for unsupported architectures.
79208
79209 [BZ #13533]
79210 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
79211 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
79212 routines.
79213 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
79214 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
79215 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
79216 fall back to using wcrtomb.
79217 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
79218 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
79219 renaming.
79220 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
79221 * wcsmbs/tst-c16c32-1.c: New file.
79222
79223 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
79224 local variable.
79225
79226 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
79227
79228 * elf/tst-unique3.cc: Add explicit declaration of gets.
79229 * elf/tst-unique3lib.cc: Likewise.
79230 * elf/tst-unique3lib2.cc: Likewise.
79231 * elf/tst-unique4.cc: Likewise.
79232
79233 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
79234
79235 2012-01-06 Joseph Myers <joseph@codesourcery.com>
79236
79237 [BZ #13566]
79238 * assert/assert.h (static_assert): Don't define for C++.
79239 * libio/stdio.h (gets): Do declare for C++ <= C++11.
79240 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
79241
79242 2012-01-03 Ulrich Drepper <drepper@gmail.com>
79243
79244 * iconv/loop.c (single loop): Fix assertion in storing of
79245 remaining bytes.
79246
79247 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
79248
79249 2012-01-01 Ulrich Drepper <drepper@gmail.com>
79250
79251 * posix/getconf.c: Update copyright year.
79252 * nss/getent.c: Likewise.
79253 * nss/makedb.c: Likewise.
79254 * iconv/iconvconfig.c: Likewise.
79255 * iconv/iconv_prog.c: Likewise.
79256 * elf/ldconfig.c: Likewise.
79257 * elf/pldd.c: Likewise.
79258 * elf/sotruss.ksh: Likewise.
79259 * catgets/gencat.c: Likewise.
79260 * csu/version.c: Likewise.
79261 * elf/ldd.bash.in: Likewise.
79262 * elf/sprof.c (print_version): Likewise.
79263 * locale/programs/locale.c: Likewise.
79264 * locale/programs/localedef.c: Likewise.
79265 * login/programs/pt_chown.c: Likewise.
79266 * nscd/nscd.c (print_version): Likewise.
79267 * debug/xtrace.sh: Likewise.
79268 * malloc/memusage.sh: Likewise.
79269 * malloc/mtrace.pl: Likewise.
79270 * debug/catchsegv.sh: Likewise.
79271
79272 2011-12-30 Jakub Jelinek <jakub@redhat.com>
79273
79274 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
79275 pure attribute.
79276
79277 2011-12-24 Ulrich Drepper <drepper@gmail.com>
79278
79279 [BZ #13533]
79280 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
79281 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
79282 transformations.
79283 * iconv/gconv_int.h: Likewise.
79284 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
79285 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
79286 from libc for GLIBC_2.16.
79287 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
79288 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
79289 * wcsmbs/uchar.h: Really define mbstate_t.
79290 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
79291 * wcsmbs/c16rtomb.c: New file.
79292 * wcsmbs/mbrtoc16.c: New file.
79293 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
79294 for C/POSIX locale.
79295 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
79296 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
79297
79298 * wcsmbs/wchar.h: Add missing __restrict.
79299
79300 2011-12-23 Ulrich Drepper <drepper@gmail.com>
79301
79302 [BZ #13532]
79303 * time/Makefile (routines): Add timespec_get.
79304 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
79305 * time/time.h: Define TIME_UTC and declare timespec_get. Define
79306 timespec for ISO C11.
79307 * time/timespec_get.c: New file.
79308 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
79309 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
79310
79311 [BZ #13531]
79312 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
79313 * stdlib/stdlib.h: Declare aligned_alloc.
79314 * Versions.def: Add GLIBC_2.16 for libc.
79315 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
79316
79317 [BZ 13527]
79318 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
79319 ISO C11.
79320
79321 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
79322 code.
79323
79324 [BZ #13528]
79325 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
79326
79327 [BZ #13529]
79328 * assert/assert.h (static_assert): Define.
79329
79330 * version.h: Update for 2.16 development version.
79331
79332 [BZ #13526]
79333 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
79334 _ISOC11_SOURCE.
79335
79336 * version.h (RELEASE): Bump for 2.15 release.
79337 * include/features.h (__GLIBC_MINOR__): Bump to 15.
79338
79339 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
79340 Patch by Marek Polacek <mpolacek@redhat.com>.
79341
79342 * bits/byteswap.h: Protect long long constants with __extension__.
79343 * sysdeps/i386/bits/byteswap.h: Likewise.
79344 * sysdeps/ia64/bits/byteswap.h: Likewise.
79345 * sysdeps/s390/bits/byteswap.h: Likewise.
79346 * sysdeps/x86_64/bits/byteswap.h: Likewise.
79347
79348 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79349
79350 [BZ #13540]
79351 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
79352 destination buffer.
79353 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
79354
79355 2011-12-23 Marek Polacek <polacek@redhat.com>
79356
79357 * elf/dl-addr.c (determine_info): Add inline keyword.
79358 * elf/tst-auditmod4b.c (check_avx): Likewise.
79359 * elf/tst-auditmod6b.c (check_avx): Likewise.
79360 * elf/tst-auditmod6c.c (check_avx): Likewise.
79361 * elf/tst-auditmod7b.c (check_avx): Likewise.
79362
79363 2011-12-23 Ulrich Drepper <drepper@gmail.com>
79364
79365 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
79366 !__SSE_MATH__.
79367
79368 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79369
79370 [BZ #13540]
79371 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
79372 processing for last bytes.
79373
79374 2011-08-06 Bruno Haible <bruno@clisp.org>
79375
79376 [BZ #13061]
79377 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
79378 U+0385, not to U+1FEE.
79379
79380 [BZ #13062]
79381 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
79382 entry for U+00A5 U+0301.
79383
79384 2011-12-22 Ulrich Drepper <drepper@gmail.com>
79385
79386 [BZ #13166]
79387 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
79388 buffer for the output is too small.
79389
79390 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
79391 optimization.
79392
79393 [BZ #13185]
79394 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
79395 SSE flags if possible.
79396
79397 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79398
79399 [BZ #13540]
79400 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
79401 processing for last bytes.
79402
79403 2011-12-22 Joseph Myers <joseph@codesourcery.com>
79404
79405 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
79406 (syscall-list-default-options, syscall-list-default-condition)
79407 (syscall-list-includes): Define.
79408 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
79409 list of ABIs and options and #if conditions for each ABI. Do not
79410 handle common syscalls between ABIs specially.
79411 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
79412 Remove.
79413 (syscall-list-variants, syscall-list-32bit-options)
79414 (syscall-list-32bit-condition, syscall-list-64bit-options)
79415 (syscall-list-64bit-condition): Define.
79416 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
79417 (syscall-list-variants, syscall-list-32bit-options)
79418 (syscall-list-32bit-condition, syscall-list-64bit-options)
79419 (syscall-list-64bit-condition): Define.
79420 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
79421 Remove.
79422 (syscall-list-variants, syscall-list-32bit-options)
79423 (syscall-list-32bit-condition, syscall-list-64bit-options)
79424 (syscall-list-64bit-condition): Define.
79425 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
79426 Remove.
79427 (syscall-list-variants, syscall-list-32bit-options)
79428 (syscall-list-32bit-condition, syscall-list-64bit-options)
79429 (syscall-list-64bit-condition): Define.
79430
79431 2011-12-22 Ulrich Drepper <drepper@gmail.com>
79432
79433 * locale/iso-639.def: Add brx entry.
79434
79435 [BZ #13328]
79436 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
79437 Proposed by Mariusz_Cukr <marcukr@op.pl>.
79438
79439 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
79440 __feraiseexcept_renamed.
79441
79442 2011-12-21 Ulrich Drepper <drepper@gmail.com>
79443
79444 [BZ #13538]
79445 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
79446 EPOLLET with unsigned values.
79447 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79448 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79449
79450 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
79451 to large cancellation.
79452 * math/s_cacoshf.c: Likewise.
79453 * math/s_cacoshl.c: Likewise.
79454
79455 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
79456
79457 [BZ #13305]
79458 [BZ #12786]
79459 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
79460 * math/s_cacoshf.c: Likewise.
79461 * math/s_cacoshl.c: Likewise.
79462
79463 2011-12-21 Ulrich Drepper <drepper@gmail.com>
79464
79465 [BZ #13439]
79466 * iconv/gconv.h: Define __GCONV_SWAP.
79467 * iconvdata/unicode.c: The swap bit must be stored in __flags.
79468 * iconvdata/utf-16.c: Likewise.
79469 * iconvdata/utf-32.c: Likewise.
79470
79471 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
79472
79473 [BZ #13524]
79474 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
79475 numerator after shifting it by one limb.
79476
79477 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
79478
79479 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
79480 under [__USE_EXTERN_INLINES].
79481
79482 2011-12-17 Ulrich Drepper <drepper@gmail.com>
79483
79484 [BZ #13446]
79485 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
79486
79487 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79488
79489 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
79490 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
79491 optimized code.
79492 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
79493 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
79494 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
79495 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
79496 for strncasecmp/strncasecmp_l compilation.
79497 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
79498 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
79499
79500 2011-12-08 Marek Polacek <mpolacek@redhat.com>
79501
79502 [BZ #13484]
79503 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
79504 of __asm__.
79505
79506 2011-12-17 Ulrich Drepper <drepper@gmail.com>
79507
79508 [BZ #13506]
79509 * time/tzfile.c (__tzfile_read): Check values from file header.
79510
79511 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
79512
79513 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
79514 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
79515 * powerpc/powerpc32/dl-start.S: Likewise.
79516 * powerpc/powerpc32/elf/start.S: Likewise.
79517 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
79518 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
79519 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
79520 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
79521 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
79522 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
79523 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
79524 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
79525 * powerpc/powerpc32/fpu/s_round.S: Likewise.
79526 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
79527 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
79528 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
79529 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
79530 * powerpc/powerpc32/memset.S: Likewise.
79531 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
79532 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
79533 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
79534 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
79535 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
79536 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
79537 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
79538 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
79539 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
79540 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
79541 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
79542 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79543 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79544
79545 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79546
79547 * math/libm-test.inc: Added more nearbyint tests.
79548 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
79549 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
79550 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
79551 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
79552
79553 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
79554
79555 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
79556 FD_CLOEXEC.
79557
79558 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79559
79560 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
79561 Add wcscpy-ssse3 wcscpy-c.
79562 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
79563 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
79564 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
79565 * sysdeps/x86_64/wcschr.S: New file.
79566 * sysdeps/x86_64/wcsrchr.S: New file.
79567 * string/test-strcmp.c: Remove checking of wcscmp function for
79568 wrong alignments.
79569 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
79570 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
79571 wcsrchr-sse2 wcsrchr-c.
79572 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
79573 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
79574 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
79575 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
79576 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
79577 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
79578 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
79579 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
79580 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
79581 * wcsmbc/wcschr.c (WCSCHR): New macro.
79582
79583 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79584
79585 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
79586 * wcsmbs/test-wcsrchr.c: New file.
79587 * string/test-strrchr.c: Add wcsrchr support.
79588 (WIDE): New macro.
79589 * wcsmbs/test-wcscpy.c: New file.
79590 * string/test-strcpy.c: Add wcscpy support.
79591 (WIDE): New macro.
79592
79593 2011-12-10 Ulrich Drepper <drepper@gmail.com>
79594
79595 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
79596 the inner loop.
79597
79598 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
79599
79600 [BZ #13472]
79601 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
79602
79603 2011-12-04 Ulrich Drepper <drepper@gmail.com>
79604
79605 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
79606 Minor optimizations.
79607
79608 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
79609 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
79610 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
79611
79612 2011-12-03 Ulrich Drepper <drepper@gmail.com>
79613
79614 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
79615 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
79616 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
79617 for gcc to avoid warnings.
79618 * inet/Makefile (tests): Add tst-checks.
79619 * inet/tst-checks.c: New file.
79620
79621 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
79622 warning.
79623
79624 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
79625 __wmemcmp_sse2.
79626
79627 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
79628 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
79629
79630 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
79631
79632 2011-12-02 Ulrich Drepper <drepper@gmail.com>
79633
79634 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
79635 problem.
79636
79637 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
79638
79639 2011-11-29 Joseph Myers <joseph@codesourcery.com>
79640
79641 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
79642 conditional on GCC version.
79643 (__arch_compare_and_exchange_val_8_acq)
79644 (__arch_compare_and_exchange_val_16_acq)
79645 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
79646 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
79647 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
79648
79649 2011-12-02 Joseph Myers <joseph@codesourcery.com>
79650
79651 * sysdeps/sh/backtrace.c: New file.
79652
79653 2011-12-02 Andreas Schwab <schwab@redhat.com>
79654
79655 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
79656 parenthesis.
79657
79658 2011-12-01 Andreas Schwab <schwab@redhat.com>
79659
79660 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
79661 falling back to utime.
79662
79663 2011-11-30 Andreas Schwab <schwab@redhat.com>
79664
79665 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
79666 expectations for float.
79667
79668 2011-11-29 Andreas Schwab <schwab@redhat.com>
79669
79670 * locale/weight.h (findidx): Add parameter len.
79671 * locale/weightwc.h (findidx): Likewise.
79672 * posix/fnmatch_loop.c (FCT): Adjust caller.
79673 * posix/regcomp.c (build_equiv_class): Likewise.
79674 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
79675 * posix/regexec.c (check_node_accept_bytes): Likewise.
79676 * string/strcoll_l.c (STRCOLL): Likewise.
79677 * string/strxfrm_l.c (STRXFRM): Likewise.
79678
79679 2011-11-17 Ulrich Drepper <drepper@gmail.com>
79680
79681 * Makefile.in: Remove CVSOPT handling.
79682 * configure.in: Remove use of AC_REVISION.
79683 * iconvdata/Makefile (distribute): No need to filter out CVS.
79684 * scripts/list-sources.sh: Remove CVS, subversion and monotone
79685 handling.
79686
79687 2011-11-16 Andreas Schwab <schwab@redhat.com>
79688
79689 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
79690 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
79691 [USE_AS_STRNCASECMP_L]: Likewise.
79692 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
79693 NO_TLS_DIRECT_SEG_REFS.
79694 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
79695 Fix argument offsets for non-PIC.
79696 [USE_AS_STRNCASECMP_L]: Likewise.
79697 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
79698 NO_TLS_DIRECT_SEG_REFS.
79699
79700 2011-11-15 Ulrich Drepper <drepper@gmail.com>
79701
79702 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
79703 O_CLOEXEC.
79704 * locale/loadlocale.c (_nl_load_locale): Likewise.
79705
79706 2011-11-15 Andreas Schwab <schwab@redhat.com>
79707
79708 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
79709 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
79710 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
79711 (SYSCALL_GETTIME): Set errno on error.
79712
79713 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
79714 count references to noai6ai_cached.
79715
79716 2011-11-15 Ulrich Drepper <drepper@gmail.com>
79717
79718 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
79719
79720 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
79721 FD_CLOEXEC for /proc/self/maps.
79722
79723 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
79724 FD_CLOEXEC for /proc/meminfo.
79725
79726 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
79727 gai.conf.
79728
79729 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
79730 FD_CLOEXEC for given file.
79731
79732 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
79733
79734 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
79735 FD_CLOEXEC for /etc/hosts.
79736 (_gethtent): Likewise.
79737
79738 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
79739
79740 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
79741 cancellation and set FD_CLOEXEC for /etc/netgroup.
79742
79743 * nss/nss_files/files-key.c (search): Don't allow cancellation when
79744 reading /etc/publickey.
79745
79746 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
79747 allow cancellation when reading /etc/group.
79748
79749 * nss/nss_files/files-alias.c (internal_setent): Don't allow
79750 cancellation.
79751 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
79752
79753 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
79754 when using data file.
79755
79756 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
79757
79758 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
79759 (write_nis_obj): Use "c" and "e" in fopen.
79760
79761 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
79762
79763 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
79764
79765 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
79766
79767 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
79768
79769 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
79770 locale.alias.
79771
79772 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
79773
79774 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
79775
79776 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
79777
79778 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
79779 file parsing and set FD_CLOEXEC.
79780
79781 2011-11-14 Ulrich Drepper <drepper@gmail.com>
79782
79783 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
79784
79785 2011-11-14 Andreas Schwab <schwab@redhat.com>
79786
79787 * malloc/arena.c (arena_get2): Don't call reused_arena when
79788 _int_new_arena failed.
79789
79790 2011-11-14 Ulrich Drepper <drepper@gmail.com>
79791
79792 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
79793 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
79794 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
79795 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
79796 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
79797 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
79798 to compile strcasecmp and strncasecmp.
79799 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
79800 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
79801
79802 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
79803
79804 2011-11-13 Ulrich Drepper <drepper@gmail.com>
79805
79806 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
79807 locale-defines.sym to gen-as-const-headers.
79808 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
79809 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
79810 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
79811 to compile strcasecmp and strncasecmp.
79812 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
79813 strcasecmp_l and strncasecmp_l.
79814 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
79815 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
79816 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
79817 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
79818 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
79819 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
79820 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
79821 * sysdeps/i386/i686/multiarch/strncase.S: New file.
79822 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
79823 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
79824 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
79825
79826 2011-11-12 Ulrich Drepper <drepper@gmail.com>
79827
79828 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
79829 result of SYSDEP_GETTIME_CPU to retval.
79830 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
79831 parameter list to macro. Remove trailing semicolon. Adjust users.
79832
79833 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
79834 variable.
79835
79836 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
79837 mantissa words.
79838 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
79839
79840 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
79841 from unused variable.
79842
79843 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
79844 DWARF definitions.
79845 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
79846 for assembling.
79847
79848 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
79849 over namespaces.
79850
79851 * sunrpc/rpc_prot.c (rejected): Fix case value.
79852
79853 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
79854 unsigned long long int to avoid warnings in shift.
79855
79856 * posix/regex_internal.c (re_string_reconstruct): Actually use result
79857 of use of trans.
79858 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
79859 variable tmp.
79860
79861 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
79862 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
79863 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
79864
79865 * nis/nis_table.c (nis_list): Use variable of correct type for
79866 result of __follow_path call.
79867
79868 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79869
79870 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
79871 of math functions ceil, trunc, floor, round, and sqrt, when
79872 avaliable on the platform.
79873 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
79874 name clash.
79875 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79876 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79877 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79878
79879 2011-10-30 Marek Polacek <mpolacek@redhat.com>
79880
79881 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79882 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79883
79884 2011-11-11 Roland McGrath <roland@hack.frob.com>
79885
79886 * include/unistd.h: Fix __readlink return type.
79887 Reported by Chris Metcalf <cmetcalf@tilera.com>.
79888
79889 2011-11-11 Ulrich Drepper <drepper@gmail.com>
79890
79891 * stdlib/ucontext.h: Undo last change for makecontext.
79892
79893 2011-11-11 Andreas Schwab <schwab@redhat.com>
79894
79895 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79896
79897 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79898 * setjmp/setjmp.h: Mark functions as non-leaf.
79899 * setjmp/bits/setjmp2.h: Likewise.
79900 * stdlib/ucontext.h: Likewise.
79901
79902 2011-11-10 Andreas Schwab <schwab@redhat.com>
79903
79904 * malloc/arena.c (_int_new_arena): Don't increment narenas.
79905 (reused_arena): Don't check arena limit.
79906 (arena_get2): Atomically check arena limit.
79907
79908 2011-11-08 Ulrich Drepper <drepper@gmail.com>
79909
79910 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79911 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79912
79913 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79914 instructions.
79915
79916 2011-11-07 Andreas Schwab <schwab@redhat.com>
79917
79918 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79919 handler when locking.
79920
79921 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79922 Fix size of allocated buffer.
79923
79924 2011-11-04 Andreas Schwab <schwab@redhat.com>
79925
79926 [BZ #10103]
79927 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79928 declarations for long double functions.
79929 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79930
79931 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79932
79933 2011-11-03 Andreas Schwab <schwab@redhat.com>
79934
79935 * nscd/nscd.c (main): Don't start AVC thread until credentials are
79936 installed.
79937
79938 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79939 is disabled.
79940
79941 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
79942
79943 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79944
79945 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
79946
79947 * include/alloca.h (stackinfo_alloca_round): Define.
79948 (extend_alloca): Use it.
79949 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79950 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79951 here.
79952
79953 * scripts/check-local-headers.sh: Ignore libaudit.h.
79954
79955 * nscd/Makefile (extra-objs): Make recursively expanded.
79956
79957 2011-11-01 Ulrich Drepper <drepper@gmail.com>
79958
79959 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79960 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79961
79962 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79963 * posix/tst-rfc3484-2.c: Likewise.
79964 * posix/tst-rfc3484-3.c: Likewise.
79965
79966 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79967 process_vm_writev.
79968 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79969 process_vm_writev.
79970 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79971 process_vm_writev from libc using GLIBC_2.15 version.
79972
79973 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79974
79975 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
79976
79977 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79978 stack usage.
79979
79980 2011-10-31 Ulrich Drepper <drepper@gmail.com>
79981
79982 [BZ #13367]
79983 * nss/getent.c (initgroups_keys): Show error message in case no group
79984 names are given.
79985
79986 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79987 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79988 __bump_nl_timestamp.
79989 * nscd/connections (nscd_init): When host database is served open
79990 netlink socket and request notification about configuration changes.
79991 (main_loop_poll): Track netlink file descriptor and bump timestamp
79992 in case data becomes available.
79993 (main_loop_epoll): Likewise.
79994 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79995 (database_pers_head): Add extra_data fileds.
79996 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79997 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79998 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79999 Adjust caller.
80000 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
80001 in6ai data, call __free_in6ai.
80002 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
80003 Add -DHAVE_NETLINK.
80004 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
80005 interface information. Reuse previous data if netlink timestamp
80006 is not changed.
80007 (__bump_nl_timestamp): New function.
80008 (__free_in6ai): New function.
80009
80010 2011-10-30 Ulrich Drepper <drepper@gmail.com>
80011
80012 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
80013 close_not_cancel_no_status here.
80014 (__check_pf): Reorganize code a bit to not call close twice if OOM.
80015
80016 2011-10-29 Ulrich Drepper <drepper@gmail.com>
80017
80018 [BZ #13276]
80019 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
80020 return value.
80021
80022 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
80023 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
80024 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
80025
80026 2011-07-03 Andreas Jaeger <aj@suse.de>
80027
80028 [BZ #10709]
80029 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
80030 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
80031 * math/libm-test.inc (sin_test): Add test case.
80032
80033 2011-10-29 Ulrich Drepper <drepper@gmail.com>
80034
80035 [BZ #13337]
80036 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
80037 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
80038
80039 * elf/chroot_canon.c (chroot_canon): Cleanups.
80040
80041 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
80042
80043 [BZ #13335]
80044 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
80045 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
80046
80047 * string/test-strchr.c: Make usable for strchrnul testing.
80048 * string/test-strchrnul.c: New file.
80049 * string/Makefile (strop-tests): Add strchrnul.
80050
80051 * po/it.po: Update from translation team.
80052 * po/es.po: Likewise.
80053
80054 2011-10-28 Ulrich Drepper <drepper@gmail.com>
80055
80056 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
80057 the three constants needed as parameters. Drop the others.
80058 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
80059 __m128i_strloadu_tolower.
80060 Create and initialize variable zero and use it in all the places
80061 where _mm_setzero_si128 was used.
80062
80063 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
80064 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
80065 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
80066 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
80067 anymore.
80068 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
80069 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
80070 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
80071 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
80072 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
80073 __mpranred, __mptan.
80074 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
80075 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
80076 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
80077 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
80078 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
80079 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
80080 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
80081 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
80082 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
80083
80084 2011-10-28 Andreas Schwab <schwab@redhat.com>
80085
80086 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
80087 redefine if SHARED.
80088 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
80089
80090 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
80091 wide char related routines to wcsmbs subdir.
80092
80093 2011-10-27 Andreas Schwab <schwab@redhat.com>
80094
80095 [BZ #13344]
80096 * misc/sys/cdefs.h (__THROWNL): Define.
80097 * posix/unistd.h: Use __THREADNL instead of __THREAD
80098 for memory synchronization functions.
80099
80100 2011-10-26 Roland McGrath <roland@hack.frob.com>
80101
80102 [BZ #13349]
80103 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
80104 doesn't exist.
80105 * manual/stdio.texi (Obstack Streams): Node removed.
80106
80107 2011-10-26 Andreas Schwab <schwab@redhat.com>
80108
80109 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
80110 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80111 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80112
80113 * math/math_private.h (math_force_eval): Allow non-addressable
80114 arguments.
80115 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
80116
80117 2011-10-25 Ulrich Drepper <drepper@gmail.com>
80118
80119 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
80120 file is not needed.
80121
80122 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
80123 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
80124 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80125 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80126 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80127 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80128 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80129 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
80130 Add AVX variants.
80131 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
80132 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
80133 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
80134 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
80135 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
80136 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
80137 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
80138 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
80139 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
80140 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
80141 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
80142 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
80143 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
80144 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
80145 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
80146 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
80147 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
80148 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
80149 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
80150
80151 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
80152 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
80153
80154 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
80155 place. Use VEX encoding when compiling for AVX.
80156
80157 2011-10-25 Andreas Schwab <schwab@redhat.com>
80158
80159 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
80160 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
80161
80162 * string/test-strchr.c (do_test): Don't generate NUL bytes.
80163
80164 2011-10-25 Ulrich Drepper <drepper@gmail.com>
80165
80166 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
80167 useless if() expression.
80168 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80169 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80170 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80171 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80172 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80173 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80174 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80175 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80176 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80177 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80178 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80179 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80180 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80181 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80182 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80183 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80184 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80185 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80186 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80187
80188 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
80189
80190 2011-10-25 Andreas Schwab <schwab@redhat.com>
80191
80192 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
80193 condition.
80194 * elf/dl-fini.c (_dl_sort_fini): Likewise.
80195
80196 2011-10-25 Ulrich Drepper <drepper@gmail.com>
80197
80198 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
80199 .text section. Avoid duplicate constants.
80200 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80201 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80202 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80203 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80204 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80205 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80206 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80207 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80208 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
80209 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
80210 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
80211 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
80212 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
80213 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
80214 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
80215 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
80216 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
80217 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
80218 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80219 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80220 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80221 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80222 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80223 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
80224 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
80225 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
80226 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
80227 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
80228 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
80229 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
80230 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
80231 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
80232 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
80233 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
80234 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
80235 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
80236 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
80237 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
80238 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
80239 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
80240 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
80241 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
80242 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
80243 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
80244 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
80245
80246 2011-10-24 Ulrich Drepper <drepper@gmail.com>
80247
80248 * sysdeps/x86_64/dla.h: Move to ...
80249 * sysdeps/x86_64/fpu/dla.h: ...here.
80250 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
80251 situations. Use __builtin_fma only for gcc 4.6 and up.
80252
80253 * config.make.in: Add have-mfma4 entry.
80254 * configure.in: Substitute libc_cv_cc_fma4.
80255 * math/Makefile (dbl-only-routines): Add sincostab.
80256 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
80257 Use __sincostab not sincos.
80258 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
80259 name is a macro.
80260 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80261 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80262 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80263 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
80264 using __copysign.
80265 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
80266 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
80267 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
80268 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
80269 and __inv.
80270 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
80271 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
80272 __copysign.
80273 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
80274 define aliases when function name is a macro.
80275 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
80276 sysdeps/ieee754/dbl-64/sincos.tbl.
80277 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
80278 fma4-enabled routines.
80279 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
80280 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
80281 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
80282 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
80283 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
80284 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
80285 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
80286 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
80287 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
80288 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
80289 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
80290 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
80291 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
80292 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
80293 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
80294 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
80295 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
80296 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
80297 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
80298 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
80299 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
80300 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
80301 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
80302 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
80303 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
80304 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
80305 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
80306 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
80307 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
80308 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
80309
80310 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
80311 rename.
80312 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80313 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80314 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80315 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80316 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80317 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80318 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80319 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80320
80321 2011-10-24 Andreas Schwab <schwab@redhat.com>
80322
80323 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
80324
80325 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80326
80327 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
80328
80329 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
80330 prediction.
80331 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
80332
80333 * string/strnlen.c: Don't define STRNLEN, reverse logic.
80334 Remove unused variable magic_bits.
80335 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
80336
80337 * string/strnlen.c: Define and use STRNLEN macro.
80338 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
80339 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
80340 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
80341 * wcsmbs/wcslen.c: Define and use WCSLEN.
80342 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
80343 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
80344 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
80345 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
80346 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
80347 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
80348 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80349
80350 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80351
80352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80353 strnlen-sse2-no-bsf.
80354 Rename strlen-no-bsf to strlen-sse2-no-bsf.
80355 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
80356 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
80357 Add strnlen support.
80358 (USE_AS_STRNLEN): New macro.
80359 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
80360 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
80361 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
80362 * sysdeps/x86_64/wcslen.S: New file.
80363
80364 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
80365
80366 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
80367 XMM-moves are used for copying on small sizes.
80368
80369 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80370
80371 * wcsmbs/Makefile (strop-tests): Add wcschr.
80372 * wcsmbs/test-wcschr.c: New file.
80373 * string/test-strchr.c: Update.
80374 Add wcschr support.
80375 (WIDE): New macro.
80376
80377 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80378
80379 * wcsmbs/Makefile (strop-tests): Add wcslen.
80380 * wcsmbs/test-wcslen.c: New file.
80381 * string/test-strlen.c: Update.
80382 Add wcslen support.
80383 (WIDE): New macro.
80384
80385 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80386
80387 * po/it.po: Update from translation team.
80388
80389 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80390
80391 * sysdeps/x86_64/wcscmp.S: Update.
80392 Fix wrong comparison semantics.
80393 wcscmp shall use signed comparison not unsigned.
80394 Don't use substraction to avoid overflow bug.
80395 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
80396 * wcsmbc/wcscmp.c: Likewise.
80397 * string/test-strcmp.c: Likewise.
80398 Add new tests to check cases with negative values.
80399
80400 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80401
80402 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
80403 * sysdeps/x86_64/dla.h: ...here. New file.
80404 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
80405 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80406 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80407 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80409 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80410 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80411 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80412 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80413
80414 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
80415
80416 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
80417 __ynl_finite aliases.
80418
80419 2011-10-22 Ulrich Drepper <drepper@gmail.com>
80420
80421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80422
80423 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
80424 define DLA_FMA.
80425 [DLA_FMA] (EMULV): Use DLA_FMA.
80426 [DLA_FMA] (MUL12): Use EMULV.
80427 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
80428 that are not needed.
80429 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80430 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80431 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80432 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80433 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80434 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80435 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80436
80437 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
80438
80439 * math/s_nan.c: Undef __nan.
80440 * math/s_nanf.c: Undef __nanf.
80441 * math/s_nanl.c: Undef __nanl.
80442 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
80443 "math_private.h".
80444
80445 2011-10-22 Ulrich Drepper <drepper@gmail.com>
80446
80447 * math/s_catan.c: Add branch predictions.
80448 * math/s_catanf.c: Likewise.
80449 * math/s_catanh.c: Likewise.
80450 * math/s_catanhf.c: Likewise.
80451 * math/s_catanhl.c: Likewise.
80452 * math/s_catanl.c: Likewise.
80453 * math/s_cexp.c: Likewise.
80454 * math/s_cexpf.c: Likewise.
80455 * math/s_cexpl.c: Likewise.
80456 * math/s_clog.c: Likewise.
80457 * math/s_clog10.c: Likewise.
80458 * math/s_clog10f.c: Likewise.
80459 * math/s_clog10l.c: Likewise.
80460 * math/s_clogf.c: Likewise.
80461 * math/s_clogl.c: Likewise.
80462 * math/s_csqrt.c: Likewise.
80463 * math/s_csqrtf.c: Likewise.
80464 * math/s_csqrtl.c: Likewise.
80465 * math/s_ctanf.c: Likewise.
80466 * math/s_ctanh.c: Likewise.
80467 * math/s_ctanhf.c: Likewise.
80468 * math/s_ctanhl.c: Likewise.
80469 * math/s_ctanl.c: Likewise.
80470
80471 * math/math_private.h: Define __nan, __nanf, __nanl.
80472 * math/s_cacosh.c: Include <math_private.h>.
80473 * math/s_cacoshl.c: Likewise.
80474 * math/s_casinh.c: Likewise.
80475 * math/s_casinhf.c: Likewise.
80476 * math/s_casinhl.c: Likewise.
80477 * math/s_ccos.c: Rely entire on ccosh.
80478 * math/s_ccosf.c: Rely entire on ccoshf.
80479 * math/s_ccosl.c: Rely entirely on ccoshl.
80480 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
80481 Remove tests for FE_INVALID.
80482 * math/s_ccoshf.c: Likewise.
80483 * math/s_ccoshl.c: Likewise.
80484 * math/s_csin.c: Likewise.
80485 * math/s_csinf.c: Likewise.
80486 * math/s_csinh.c Likewise.
80487 * math/s_csinhf.c: Likewise.
80488 * math/s_csinhl.c: Likewise.
80489 * math/s_csinl.c: Likewise.
80490 * math/s_ctan.c: Likewise.
80491 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
80492 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
80493 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
80494
80495 2011-10-21 Ulrich Drepper <drepper@gmail.com>
80496
80497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
80498 compilation problems.
80499
80500 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
80501 __builtin_expect.
80502
80503 2011-10-20 Ulrich Drepper <drepper@gmail.com>
80504
80505 * sysdeps/i386/configure.in: Test for -mfma4 option.
80506 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
80507 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
80508 COMMON_CPUID_INDEX_80000001.
80509 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
80510 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
80511 use it if FMA3 is not supported.
80512 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
80513
80514 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
80515 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80516
80517 2011-10-20 Andreas Schwab <schwab@redhat.com>
80518
80519 [BZ #12892]
80520 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
80521 it would create a cycle with a link time dependency.
80522
80523 2011-10-19 Ulrich Drepper <drepper@gmail.com>
80524
80525 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
80526 instruction.
80527 * string/Makefile (strop-tests): Add rawmemchr.
80528 * string/test-rawmemchr.c: New file.
80529
80530 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
80531 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
80532 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
80533 when compiling str{,n}casecmp and when AVX is available. Hook up
80534 new optimized code in initializers.
80535
80536 2011-10-19 Andreas Schwab <schwab@redhat.com>
80537
80538 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
80539 __feraiseexcept instead of feraiseexcept.
80540
80541 2011-10-18 Ulrich Drepper <drepper@gmail.com>
80542
80543 * math/math_private.h: Define defaults for libc_fetestexcept and
80544 libc_feupdateenv.
80545 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
80546 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
80547 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80548 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80549 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80550 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80551 libc_fetestexcept and libc_feupdateenv.
80552
80553 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
80554 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
80555 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
80556 * sysdeps/x86_64/fpu/math_private.h: Define special version of
80557 libc_feholdexcept_setround.
80558
80559 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
80560 Add s_nearbyint-c and s_nearbyintf-c.
80561 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
80562 nearbyintf inlines.
80563 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
80564 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
80565 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
80566 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
80567
80568 * math/math_private.h: Define defaults for libc_fegetround,
80569 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
80570 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
80571 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
80572 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
80573 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
80574 standard functions.
80575 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80576 Remove comments and hacks for old compiler versions.
80577 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80578 libc_fegetround, libc_fesetround, libc_feholdexcept, and
80579 libc_feholdexceptl.
80580
80581 2011-10-18 Andreas Schwab <schwab@redhat.com>
80582
80583 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
80584 (__feraiseexcept_renamed): Add __NTH.
80585 (feraiseexcept): Add __NTH. Rename local variables to fix
80586 namespace violations.
80587
80588 2011-10-17 Ulrich Drepper <drepper@gmail.com>
80589
80590 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
80591
80592 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
80593
80594 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
80595 recently added interfaces.
80596 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
80597
80598 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
80599 about macro parameter expansion.
80600
80601 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
80602 __NO_MATH_INLINES is defined. Cleanups.
80603
80604 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
80605 and __floorf is target has SSE4.1.
80606 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
80607 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
80608 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
80609 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
80610
80611 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
80612 name.
80613 (floorf): Likewise.
80614
80615 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
80616
80617 2011-10-17 Andreas Schwab <schwab@redhat.com>
80618
80619 * misc/sys/cdefs.h: Fix last change.
80620
80621 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
80622 database lookup.
80623
80624 2011-10-16 Ulrich Drepper <drepper@gmail.com>
80625
80626 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
80627
80628 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
80629 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80630 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80631 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80632 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80633 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80634 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80635 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80636 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80637 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
80638 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
80639 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
80640 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
80641 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
80642 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
80643 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
80644 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
80645 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
80646 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
80647 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
80648 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
80649 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
80650
80651 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
80652 ceil, ceilf, floor, floorf.
80653
80654 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
80655 Perform IRELATIVE relocations last.
80656
80657 * elf/do-rel.h: Add another parameter nrelative, replacing the
80658 local variable with the same name. Change name of the function
80659 to end in Rel or Rela (uppercase).
80660 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
80661 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
80662 elf_dynamic_do_##reloc function.
80663
80664 2011-10-15 Ulrich Drepper <drepper@gmail.com>
80665
80666 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
80667 is sufficient, at least on modern CPUs.
80668
80669 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
80670
80671 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
80672 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
80673
80674 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
80675 __expl_finite.
80676 * math/bits/math-finite.h: Add entries for exp.
80677 * math/e_expl.c: Add __*_finite alias.
80678 * sysdeps/i386/fpu/e_exp.S: Likewise.
80679 * sysdeps/i386/fpu/e_expf.S: Likewise.
80680 * sysdeps/i386/fpu/e_expl.c: Likewise.
80681 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80682 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80683 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
80684 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
80685 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
80686 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80687 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80688
80689 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
80690 is sufficient, at least on modern CPUs.
80691
80692 * ctype/ctype-info.c (__ctype_init): Define.
80693 * include/ctype.h (__ctype_init): Declare.
80694 (__ctype_b_loc): The variable is always initialized.
80695 (__ctype_toupper_loc): Likewise.
80696 (__ctype_tolower_loc): Likewise.
80697 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
80698 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
80699
80700 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
80701
80702 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
80703
80704 * configure.in: Also look in $cxxmachine/include for C++ system
80705 headers.
80706
80707 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80708
80709 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
80710 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
80711 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
80712 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
80713 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
80714 (USE_AS_WMEMCMP): New macro.
80715 Fixing indents.
80716 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
80717 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
80718 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
80719 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
80720 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80721 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
80722 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
80723 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
80724 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
80725 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
80726 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
80727 (USE_AS_WMEMCMP): New macro.
80728 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
80729 * sysdeps/string/test-memcmp.c: Update.
80730 Fix simple_wmemcmp.
80731 Add new tests.
80732 * wcsmbs/wmemcmp.c: Update.
80733 (WMEMCMP): New macro.
80734 Fix overflow bug.
80735
80736 2011-10-12 Andreas Jaeger <aj@suse.de>
80737
80738 [BZ #13268]
80739 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
80740
80741 2011-10-15 Ulrich Drepper <drepper@gmail.com>
80742
80743 * libio/iofwide.c (do_length): Avoid warning.
80744
80745 * ctype/ctype.h (__isctype_f): Add missing __THROW.
80746
80747 2011-10-14 Ulrich Drepper <drepper@gmail.com>
80748
80749 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
80750
80751 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
80752 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
80753 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
80754 * sysdeps/i386/i686/fpu/e_log.S: New file.
80755 * sysdeps/i386/i686/fpu/e_logf.S: New file.
80756 * sysdeps/i386/i686/fpu/e_logl.S: New file.
80757
80758 * ctype/ctype.h: Add support for inlined isXXX functions when
80759 compiling C++ code.
80760
80761 2011-10-14 Andreas Schwab <schwab@redhat.com>
80762
80763 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80764
80765 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
80766
80767 2011-10-13 Roland McGrath <roland@hack.frob.com>
80768
80769 [BZ #13291]
80770 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
80771
80772 2011-10-13 Andreas Schwab <schwab@redhat.com>
80773
80774 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
80775 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
80776 feraiseexcept.
80777
80778 * sysdeps/x86_64/memrchr.S: Check for zero size.
80779
80780 * string/stratcliff.c: Add memrchr tests.
80781
80782 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80783
80784 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80785 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
80786 rawmemchr-sse2 rawmemchr-sse2-bsf.
80787 * sysdeps/i386/i686/multiarch/memchr.S: New file.
80788 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
80789 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
80790 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
80791 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
80792 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
80793 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
80794 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
80795 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
80796 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
80797 * string/memrchr.c (MEMRCHR): New macro.
80798
80799 2011-10-12 Ulrich Drepper <drepper@gmail.com>
80800
80801 Add integration with gcc's -ffinite-math-only and optimize wrapper
80802 functions in libm.
80803 * Versions.def: Define GLIBC_2.15 version for libm.
80804 * math/Makefile (headers): Add bits/math-finite.h.
80805 * math/bits/math-finite.h: New file.
80806 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
80807 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
80808 * math/e_acoshl.c: Add __*_finite alias.
80809 * math/e_acosl.c: Likewise.
80810 * math/e_asinl.c: Likewise.
80811 * math/e_atan2l.c: Likewise.
80812 * math/e_atanhl.c: Likewise.
80813 * math/e_coshl.c: Likewise.
80814 * math/e_exp10.c: Likewise.
80815 * math/e_exp10f.c: Likewise.
80816 * math/e_exp10l.c: Likewise.
80817 * math/e_exp2l.c: Likewise.
80818 * math/e_fmodl.c: Likewise.
80819 * math/e_gammal_r.c: Likewise.
80820 * math/e_hypotl.c: Likewise.
80821 * math/e_j0l.c: Likewise.
80822 * math/e_j1l.c: Likewise.
80823 * math/e_jnl.c: Likewise.
80824 * math/e_lgammal_r.c: Likewise.
80825 * math/e_log10l.c: Likewise.
80826 * math/e_log2l.c: Likewise.
80827 * math/e_logl.c: Likewise.
80828 * math/e_powl.c: Likewise.
80829 * math/e_sinhl.c: Likewise.
80830 * math/e_sqrtl.c: Likewise.
80831 * math/e_scalb.c: Completely rewritten and optimized.
80832 * math/e_scalbf.c: Likewise.
80833 * math/e_scalbl.c: Likewise.
80834 * math/w_acos.c: Likewise.
80835 * math/w_acosf.c: Likewise.
80836 * math/w_acosl.c: Likewise.
80837 * math/w_acosh.c: Likewise.
80838 * math/w_acoshf.c: Likewise.
80839 * math/w_acoshl.c: Likewise.
80840 * math/w_asin.c: Likewise.
80841 * math/w_asinf.c: Likewise.
80842 * math/w_asinl.c: Likewise.
80843 * math/w_atan2.c: Likewise.
80844 * math/w_atan2f.c: Likewise.
80845 * math/w_atan2l.c: Likewise.
80846 * math/w_atanh.c: Likewise.
80847 * math/w_atanhf.c: Likewise.
80848 * math/w_atanhl.c: Likewise.
80849 * math/w_exp10.c: Likewise.
80850 * math/w_exp10f.c: Likewise.
80851 * math/w_exp10l.c: Likewise.
80852 * math/w_fmod.c: Likewise.
80853 * math/w_fmodf.c: Likewise.
80854 * math/w_fmodl.c: Likewise.
80855 * math/w_j0.c: Likewise.
80856 * math/w_j0f.c: Likewise.
80857 * math/w_j0l.c: Likewise.
80858 * math/w_j1.c: Likewise.
80859 * math/w_j1f.c: Likewise.
80860 * math/w_j1l.c: Likewise.
80861 * math/w_jn.c: Likewise.
80862 * math/w_jnf.c: Likewise.
80863 * math/w_log.c: Likewise.
80864 * math/w_logf.c: Likewise.
80865 * math/w_logl.c: Likewise.
80866 * math/w_log10.c: Likewise.
80867 * math/w_log10f.c: Likewise.
80868 * math/w_log10l.c: Likewise.
80869 * math/w_log2.c: Likewise.
80870 * math/w_log2f.c: Likewise.
80871 * math/w_log2l.c: Likewise.
80872 * math/w_pow.c: Likewise.
80873 * math/w_powf.c: Likewise.
80874 * math/w_powl.c: Likewise.
80875 * math/w_remainder.c: Likewise.
80876 * math/w_remainderf.c: Likewise.
80877 * math/w_remainderl.c: Likewise.
80878 * math/w_scalb.c: Likewise.
80879 * math/w_scalbf.c: Likewise.
80880 * math/w_scalbl.c: Likewise.
80881 * math/w_sqrt.c: Likewise.
80882 * math/w_sqrtf.c: Likewise.
80883 * math/w_sqrtl.c: Likewise.
80884 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80885 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
80886 used.
80887 * math/math_private.h: Declare __kernel_standard_f.
80888 * math/w_cosh.c: Remove cruft and optimize a bit.
80889 * math/w_coshf.c: Likewise.
80890 * math/w_coshl.c: Likewise.
80891 * math/w_exp2.c: Likewise.
80892 * math/w_exp2f.c: Likewise.
80893 * math/w_exp2l.c: Likewise.
80894 * math/w_hypot.c: Likewise.
80895 * math/w_hypotf.c: Likewise.
80896 * math/w_hypotl.c: Likewise.
80897 * math/w_lgamma.c: Likewise.
80898 * math/w_lgamma_r.c: Likewise.
80899 * math/w_lgammaf.c: Likewise.
80900 * math/w_lgammaf_r.c: Likewise.
80901 * math/w_lgammal.c: Likewise.
80902 * math/w_lgammal_r.c: Likewise.
80903 * math/w_sinh.c: Likewise.
80904 * math/w_sinhf.c: Likewise.
80905 * math/w_sinhl.c: Likewise.
80906 * math/w_tgamma.c: Likewise.
80907 * math/w_tgammaf.c: Likewise.
80908 * math/w_tgammal.c: Likewise.
80909 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80910 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80911 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80912 Minor optimizations. Pretty printing. Remove cruft.
80913 * sysdeps/i386/fpu/e_acosf.S: Likewise.
80914 * sysdeps/i386/fpu/e_acosh.S: Likewise.
80915 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80916 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80917 * sysdeps/i386/fpu/e_acosl.c: Likewise.
80918 * sysdeps/i386/fpu/e_asin.S: Likewise.
80919 * sysdeps/i386/fpu/e_asinf.S: Likewise.
80920 * sysdeps/i386/fpu/e_atan2.S: Likewise.
80921 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80922 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80923 * sysdeps/i386/fpu/e_atanh.S: Likewise.
80924 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80925 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80926 * sysdeps/i386/fpu/e_exp10.S: Likewise.
80927 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80928 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80929 * sysdeps/i386/fpu/e_exp2.S: Likewise.
80930 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80931 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80932 * sysdeps/i386/fpu/e_fmod.S: Likewise.
80933 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80934 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80935 * sysdeps/i386/fpu/e_hypot.S: Likewise.
80936 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80937 * sysdeps/i386/fpu/e_log.S: Likewise.
80938 * sysdeps/i386/fpu/e_log10.S: Likewise.
80939 * sysdeps/i386/fpu/e_log10f.S: Likewise.
80940 * sysdeps/i386/fpu/e_log10l.S: Likewise.
80941 * sysdeps/i386/fpu/e_log2.S: Likewise.
80942 * sysdeps/i386/fpu/e_log2f.S: Likewise.
80943 * sysdeps/i386/fpu/e_log2l.S: Likewise.
80944 * sysdeps/i386/fpu/e_logf.S: Likewise.
80945 * sysdeps/i386/fpu/e_logl.S: Likewise.
80946 * sysdeps/i386/fpu/e_pow.S: Likewise.
80947 * sysdeps/i386/fpu/e_powf.S: Likewise.
80948 * sysdeps/i386/fpu/e_powl.S: Likewise.
80949 * sysdeps/i386/fpu/e_remainder.S: Likewise.
80950 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80951 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80952 * sysdeps/i386/fpu/e_scalb.S: Likewise.
80953 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80954 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80955 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80956 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80957 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80958 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80959 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80960 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80961 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80962 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80963 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80964 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80965 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80966 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80967 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80968 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80969 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80970 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80971 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80972 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80973 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80974 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80975 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80976 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80977 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80978 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80979 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80980 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80981 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80982 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80983 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80984 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80985 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80986 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80987 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80988 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80989 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80990 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80991 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80992 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80993 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80994 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80995 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80996 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80997 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80998 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80999 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
81000 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
81001 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
81002 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81003 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
81004 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
81005 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
81006 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
81007 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
81008 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
81009 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
81010 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
81011 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81012 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
81013 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
81014 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
81015 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
81016 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
81017 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
81018 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
81019 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
81020 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81021 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81022 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
81023 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
81024 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
81025 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
81026 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
81027 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
81028 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
81029 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
81030 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
81031 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
81032 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
81033 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81034 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
81035 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
81036 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81037 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
81038 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81039 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
81040 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
81041 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81042 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81043 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
81044 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81045 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
81046 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
81047 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
81048 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81049 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
81050 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
81051 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
81052 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
81053 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
81054 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
81055 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
81056 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
81057 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
81058 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
81059 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
81060 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
81061 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
81062 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
81063 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
81064 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
81065 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81066 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
81067 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
81068 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
81069 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
81070 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
81071 (__isnanf): Likewise.
81072 (__isinf_ns): Likewise.
81073 (__isinf_nsf): Likewise.
81074 (__finite): Likewise.
81075 (__finitef): Likewise.
81076 (__ieee754_sqrt): Define as macro.
81077 (__ieee754_sqrtf): Define as macro.
81078 (__ieee754_sqrtl): Define as macro.
81079 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
81080 inlined copy.
81081 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
81082 __FINITE_MATH_ONLY__ consistent.
81083 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
81084
81085 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
81086
81087 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
81088 of rawmemchr.
81089
81090 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
81091
81092 2011-10-09 Ulrich Drepper <drepper@gmail.com>
81093
81094 * po/ja.po: Update from translation team.
81095
81096 2011-10-08 Roland McGrath <roland@hack.frob.com>
81097
81098 * locale/programs/locarchive.c (prepare_address_space): New function.
81099 (create_archive, enlarge_archive, open_archive): Use it.
81100
81101 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
81102 inside [SHARED], where it is used.
81103
81104 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
81105
81106 * nss/getent.c (netgroup_keys): Remove unused variable.
81107 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
81108
81109 2011-10-08 Ulrich Drepper <drepper@gmail.com>
81110
81111 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
81112 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
81113 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
81114 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
81115 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
81116 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
81117 * math/Makefile (libm-calls): Add s_isinf_ns.
81118 * math/divtc3.c: Use __isinf_nsl instead of isinf.
81119 * math/multc3.c: Likewise.
81120 * math/s_casin.c: Likewise.
81121 * math/s_casinf.c: Likewise.
81122 * math/s_casinl.c: Likewise.
81123 * math/s_ccos.c: Likewise.
81124 * math/s_ccosf.c: Likewise.
81125 * math/s_ccosl.c: Likewise.
81126 * math/s_ctan.c: Likewise.
81127 * math/s_ctanf.c: Likewise.
81128 * math/s_ctanh.c: Likewise.
81129 * math/s_ctanhf.c: Likewise.
81130 * math/s_ctanhl.c: Likewise.
81131 * math/s_ctanl.c: Likewise.
81132 * math/w_fmod.c: Likewise.
81133 * math/w_fmodf.c: Likewise.
81134 * math/w_fmodl.c: Likewise.
81135 * math/w_remainder.c: Likewise.
81136 * math/w_remainderf.c: Likewise.
81137 * math/w_remainderl.c: Likewise.
81138 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
81139 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
81140 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
81141 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
81142 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
81143 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
81144 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
81145 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
81146
81147 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
81148 of the number.
81149 * stdio-common/printf_fphex.c: Likewise.
81150 * stdio-common/printf_size.c: Likewise.
81151
81152 * math/e_exp10.c: Include math_private.h using <...> not "...".
81153 * math/e_exp10f.c: Likewise.
81154 * math/e_exp10l.c: Likewise.
81155 * math/e_exp2l.c: Likewise.
81156 * math/e_j0l.c: Likewise.
81157 * math/e_j1l.c: Likewise.
81158 * math/e_jnl.c: Likewise.
81159 * math/e_lgammal_r.c: Likewise.
81160 * math/e_rem_pio2l.c: Likewise.
81161 * math/e_scalb.c: Likewise.
81162 * math/e_scalbf.c: Likewise.
81163 * math/e_scalbl.c: Likewise.
81164 * math/k_cosl.c: Likewise.
81165 * math/k_sinl.c: Likewise.
81166 * math/k_tanl.c: Likewise.
81167 * math/s_cacoshf.c: Likewise.
81168 * math/s_catan.c: Likewise.
81169 * math/s_catanf.c: Likewise.
81170 * math/s_catanh.c: Likewise.
81171 * math/s_catanhf.c: Likewise.
81172 * math/s_catanhl.c: Likewise.
81173 * math/s_catanl.c: Likewise.
81174 * math/s_ccosh.c: Likewise.
81175 * math/s_ccoshf.c: Likewise.
81176 * math/s_ccoshl.c: Likewise.
81177 * math/s_cexp.c: Likewise.
81178 * math/s_cexpf.c: Likewise.
81179 * math/s_cexpl.c: Likewise.
81180 * math/s_clog.c: Likewise.
81181 * math/s_clog10.c: Likewise.
81182 * math/s_clog10f.c: Likewise.
81183 * math/s_clog10l.c: Likewise.
81184 * math/s_clogf.c: Likewise.
81185 * math/s_clogl.c: Likewise.
81186 * math/s_csin.c: Likewise.
81187 * math/s_csinf.c: Likewise.
81188 * math/s_csinh.c: Likewise.
81189 * math/s_csinhf.c: Likewise.
81190 * math/s_csinhl.c: Likewise.
81191 * math/s_csinl.c: Likewise.
81192 * math/s_csqrt.c: Likewise.
81193 * math/s_csqrtf.c: Likewise.
81194 * math/s_csqrtl.c: Likewise.
81195 * math/s_ctan.c: Likewise.
81196 * math/s_ctanf.c: Likewise.
81197 * math/s_ctanh.c: Likewise.
81198 * math/s_ctanhf.c: Likewise.
81199 * math/s_ctanhl.c: Likewise.
81200 * math/s_ctanl.c: Likewise.
81201 * math/s_ldexp.c: Likewise.
81202 * math/s_ldexpf.c: Likewise.
81203 * math/s_ldexpl.c: Likewise.
81204 * math/s_significand.c: Likewise.
81205 * math/s_significandf.c: Likewise.
81206 * math/s_significandl.c: Likewise.
81207 * math/w_acos.c: Likewise.
81208 * math/w_acosf.c: Likewise.
81209 * math/w_acosh.c: Likewise.
81210 * math/w_acoshf.c: Likewise.
81211 * math/w_acoshl.c: Likewise.
81212 * math/w_acosl.c: Likewise.
81213 * math/w_asin.c: Likewise.
81214 * math/w_asinf.c: Likewise.
81215 * math/w_asinl.c: Likewise.
81216 * math/w_atan2.c: Likewise.
81217 * math/w_atan2f.c: Likewise.
81218 * math/w_atan2l.c: Likewise.
81219 * math/w_atanh.c: Likewise.
81220 * math/w_atanhf.c: Likewise.
81221 * math/w_atanhl.c: Likewise.
81222 * math/w_cosh.c: Likewise.
81223 * math/w_coshf.c: Likewise.
81224 * math/w_coshl.c: Likewise.
81225 * math/w_dremf.c: Likewise.
81226 * math/w_exp10.c: Likewise.
81227 * math/w_exp10f.c: Likewise.
81228 * math/w_exp10l.c: Likewise.
81229 * math/w_exp2.c: Likewise.
81230 * math/w_exp2f.c: Likewise.
81231 * math/w_fmod.c: Likewise.
81232 * math/w_fmodf.c: Likewise.
81233 * math/w_fmodl.c: Likewise.
81234 * math/w_hypot.c: Likewise.
81235 * math/w_hypotf.c: Likewise.
81236 * math/w_hypotl.c: Likewise.
81237 * math/w_j0.c: Likewise.
81238 * math/w_j0f.c: Likewise.
81239 * math/w_j0l.c: Likewise.
81240 * math/w_j1.c: Likewise.
81241 * math/w_j1f.c: Likewise.
81242 * math/w_j1l.c: Likewise.
81243 * math/w_jn.c: Likewise.
81244 * math/w_jnf.c: Likewise.
81245 * math/w_jnl.c: Likewise.
81246 * math/w_lgamma.c: Likewise.
81247 * math/w_lgamma_r.c: Likewise.
81248 * math/w_lgammaf.c: Likewise.
81249 * math/w_lgammaf_r.c: Likewise.
81250 * math/w_lgammal.c: Likewise.
81251 * math/w_lgammal_r.c: Likewise.
81252 * math/w_log.c: Likewise.
81253 * math/w_log10.c: Likewise.
81254 * math/w_log10f.c: Likewise.
81255 * math/w_log10l.c: Likewise.
81256 * math/w_log2.c: Likewise.
81257 * math/w_log2f.c: Likewise.
81258 * math/w_log2l.c: Likewise.
81259 * math/w_logf.c: Likewise.
81260 * math/w_logl.c: Likewise.
81261 * math/w_pow.c: Likewise.
81262 * math/w_powf.c: Likewise.
81263 * math/w_powl.c: Likewise.
81264 * math/w_remainder.c: Likewise.
81265 * math/w_remainderf.c: Likewise.
81266 * math/w_remainderl.c: Likewise.
81267 * math/w_scalb.c: Likewise.
81268 * math/w_scalbf.c: Likewise.
81269 * math/w_scalbl.c: Likewise.
81270 * math/w_sinh.c: Likewise.
81271 * math/w_sinhf.c: Likewise.
81272 * math/w_sinhl.c: Likewise.
81273 * math/w_sqrt.c: Likewise.
81274 * math/w_sqrtf.c: Likewise.
81275 * math/w_sqrtl.c: Likewise.
81276 * math/w_tgamma.c: Likewise.
81277 * math/w_tgammaf.c: Likewise.
81278 * math/w_tgammal.c: Likewise.
81279
81280 * po/ja.po: Update from translation team.
81281
81282 2011-09-29 Andreas Jaeger <aj@suse.de>
81283
81284 [BZ #13179]
81285 * sunrpc/netname.c (netname2host): Fix logic.
81286
81287 [BZ #6779]
81288 [BZ #6783]
81289 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
81290 correctly.
81291 * math/w_remainder.c (__remainder): Likewise.
81292 * math/w_remainderf.c (__remainderf): Likewise.
81293 * math/libm-test.inc (remainder_test): Add test cases.
81294
81295 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81296
81297 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
81298 sdiv_qrnnd.
81299
81300 2011-10-07 Ulrich Drepper <drepper@gmail.com>
81301
81302 * string/test-memcmp.c: Avoid unncessary #defines.
81303 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
81304
81305 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81306
81307 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
81308 Use new sse2 version for core i3 - i7 as it's faster
81309 than sse42 version.
81310 (bit_Prefer_PMINUB_for_stringop): New.
81311 * sysdeps/x86_64/rawmemchr.S: Update.
81312 Replace with faster SSE2 version.
81313 * sysdeps/x86_64/memrchr.S: New file.
81314 * sysdeps/x86_64/memchr.S: Update.
81315 Replace with faster SSE2 version.
81316
81317 2011-09-12 Marek Polacek <mpolacek@redhat.com>
81318
81319 * elf/dl-load.c (lose): Add cast to avoid warning.
81320
81321 2011-10-07 Ulrich Drepper <drepper@gmail.com>
81322
81323 * po/ca.po: Update from translation team.
81324
81325 * inet/getnetgrent_r.c: Hook up nscd.
81326 * nscd/Makefile (routines): Add nscd_netgroup.
81327 (nscd-modules): Add netgroupcache.
81328 (CFLAGS-netgroupcache.c): Define.
81329 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
81330 (cache_search): Add const to second parameter.
81331 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
81332 INNETGR.
81333 (dbs): Add netgrdb entry.
81334 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
81335 (verify_persistent_db): Handle netgrdb.
81336 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
81337 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
81338 GETFDNETGR.
81339 (netgroup_response_header): Define.
81340 (innetgroup_response_header): Define.
81341 (datahead): Add netgroup_response_header and innetgroup_response_header
81342 elements.
81343 * nscd/nscd.conf: Add entries for netgroup cache.
81344 * nscd/nscd.h (dbtype): Add netgrdb.
81345 (_PATH_NSCD_NETGROUP_DB): Define.
81346 (netgroup_iov_disabled): Declare.
81347 (xmalloc, xcalloc, xrealloc): Move declarations here.
81348 (cache_search): Adjust prototype.
81349 Add netgroup-related prototypes.
81350 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
81351 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
81352 (__nscd_innetgr): Declare.
81353 * nscd/selinux.c (perms): Use access_vector_t as element type and
81354 add netgroup-related initializers.
81355 * nscd/netgroupcache.c: New file.
81356 * nscd/nscd_netgroup.c: New file.
81357 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
81358 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
81359 For four parameters use innetgr.
81360 * nss/nss_files/files-init.c: Add definition and callback for netgr.
81361 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
81362 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
81363 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
81364
81365 * nscd/connections.c (register_traced_file): Don't register file
81366 for disabled databases.
81367
81368 2011-10-06 Ulrich Drepper <drepper@gmail.com>
81369
81370 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
81371
81372 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
81373 from tree and freeing node.
81374
81375 2011-09-25 Jiri Olsa <jolsa@redhat.com>
81376
81377 * nss/nsswitch.c (__nss_database_lookup): Handle
81378 nss_parse_service_list out of memory case.
81379
81380 2011-09-15 Jiri Olsa <jolsa@redhat.com>
81381
81382 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
81383 out of memory case.
81384
81385 2011-10-04 Andreas Schwab <schwab@redhat.com>
81386
81387 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
81388 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
81389 pass it down.
81390 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
81391 elf_machine_rela, elf_machine_lazy_rel.
81392 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
81393 (ELF_DYNAMIC_DO_REL): Likewise.
81394 (ELF_DYNAMIC_DO_RELA): Likewise.
81395 (ELF_DYNAMIC_RELOCATE): Likewise.
81396 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
81397 to ELF_DYNAMIC_DO_REL.
81398 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
81399 (dl_main): In trace mode always set __RTLD_NOIFUNC.
81400 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
81401 elf_machine_rela.
81402 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
81403 skip_ifunc, don't call ifunc function if non-zero.
81404 (elf_machine_rela): Likewise.
81405 (elf_machine_lazy_rel): Likewise.
81406 (elf_machine_lazy_rela): Likewise.
81407 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
81408 (elf_machine_lazy_rel): Likewise.
81409 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
81410 Likewise.
81411 (elf_machine_lazy_rel): Likewise.
81412 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81413 Likewise.
81414 (elf_machine_lazy_rel): Likewise.
81415 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
81416 (elf_machine_lazy_rel): Likewise.
81417 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
81418 (elf_machine_lazy_rel): Likewise.
81419 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
81420 (elf_machine_lazy_rel): Likewise.
81421 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
81422 (elf_machine_lazy_rel): Likewise.
81423 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
81424 (elf_machine_lazy_rel): Likewise.
81425 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
81426 (elf_machine_lazy_rel): Likewise.
81427
81428 2011-09-28 Ulrich Drepper <drepper@gmail.com>
81429
81430 * nss/nss_files/files-init.c (_nss_files_init): Use static
81431 initialization for all the *_traced_file variables.
81432
81433 2011-09-28 Andreas Schwab <schwab@redhat.com>
81434
81435 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81436
81437 2011-09-27 Roland McGrath <roland@hack.frob.com>
81438
81439 [BZ #13226]
81440 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
81441
81442 2011-09-27 Andreas Schwab <schwab@redhat.com>
81443
81444 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81445 Reread the line before reparsing it.
81446
81447 2011-09-26 Andreas Schwab <schwab@redhat.com>
81448
81449 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
81450
81451 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
81452 Maxim Kuvyrkov <maxim@codesourcery.com>
81453 Joseph Myers <joseph@codesourcery.com>
81454
81455 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
81456 if needed for __stack_chk_guard.
81457
81458 2011-09-19 Roland McGrath <roland@hack.frob.com>
81459
81460 * sysdeps/posix/spawni.c (script_execute): Always define it.
81461 It will be optimized away if unused.
81462 (maybe_script_execute): New function.
81463 (__spawni): Call it.
81464
81465 * Makerules: Don't include tls.make.
81466 (config-tls): Always set to thread.
81467 * tls.make.c: File removed.
81468
81469 2011-09-19 Mike Frysinger <vapier@gentoo.org>
81470
81471 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
81472 * config.make.in (CPPFLAGS-config): New substituted variable.
81473
81474 2011-09-15 Ulrich Drepper <drepper@gmail.com>
81475
81476 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
81477
81478 [BZ #13192]
81479 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
81480 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
81481
81482 2011-09-15 Roland McGrath <roland@hack.frob.com>
81483
81484 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
81485 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
81486 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81487 (CALL_FAIL): Likewise.
81488 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
81489 (CALL_FAIL): Macro removed.
81490 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
81491
81492 2011-09-15 Ulrich Drepper <drepper@gmail.com>
81493
81494 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
81495 for __FINITE_MATH_ONLY__ == 1.
81496
81497 2011-09-15 Andreas Schwab <schwab@redhat.com>
81498
81499 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
81500 __ieee754_sqrt instead of sqrt.
81501 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
81502 __ieee754_sqrtf instead of sqrtf.
81503 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
81504 __floorf instead of floorf.
81505 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
81506 __floorf, __truncf instead of floorf, truncf.
81507
81508 2011-09-14 Ulrich Drepper <drepper@gmail.com>
81509
81510 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
81511
81512 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
81513 __extern_always_inline.
81514 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
81515 32-bit.
81516
81517 2011-09-14 Andreas Schwab <schwab@redhat.com>
81518
81519 * elf/rtld.c (dl_main): Also relocate in dependency order when
81520 doing symbol dependency testing.
81521
81522 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
81523
81524 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81525 Always define `refsym'.
81526
81527 2011-09-13 Andreas Schwab <schwab@redhat.com>
81528
81529 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
81530 (__FD_ELT): Renamed from __FDELT.
81531 * misc/bits/select2.h (__FD_ELT): Likewise.
81532 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
81533 __FD_MASK instead of __FDELT, __FDMASK.
81534 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81535 Likewise.
81536 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81537 Likewise.
81538
81539 * elf/Makefile (gen-ldd): Fix pattern.
81540
81541 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
81542 (init_tls): Likewise.
81543
81544 2011-09-12 Ulrich Drepper <drepper@gmail.com>
81545
81546 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
81547
81548 2011-09-12 Andreas Schwab <schwab@redhat.com>
81549
81550 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
81551 `struct cmsghdr *' instead of `void *'.
81552 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
81553 Likewise.
81554
81555 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
81556
81557 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
81558 if non-absolute.
81559 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
81560 ldd_rewrite_script.
81561
81562 2011-09-11 Ulrich Drepper <drepper@gmail.com>
81563
81564 * configure.in: Remove --with-tls option.
81565 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
81566 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
81567 out in case it is missing.
81568 * sysdeps/ia64/elf/configure.in: Likewise.
81569 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
81570 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
81571 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
81572 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
81573 * sysdeps/sh/elf/configure.in: Likewise.
81574 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
81575 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81576 * sysdeps/x86_64/elf/configure.in: Likewise.
81577 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
81578 * sysdeps/mach/hurd/tls.h: Likewise.
81579
81580 [BZ #13067]
81581 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
81582
81583 [BZ #13090]
81584 * configure.in: Fix use of AC_INIT.
81585
81586 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
81587
81588 2011-09-10 Ulrich Drepper <drepper@gmail.com>
81589
81590 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
81591 __set_errno.
81592 * malloc/hooks.c: Likewise.
81593
81594 [BZ #11929]
81595 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
81596 variables statically.
81597 (narenas): Initialize.
81598 (list_lock): Initialize.
81599 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
81600 initializtion of main_arena and list_lock. Small cleanups.
81601 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
81602 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
81603 Add initializers to main_arena and mp_.
81604 (malloc_state): Remove pagesize member. Change all users to use
81605 GLRO(dl_pagesize).
81606
81607 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
81608 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
81609 is always initialized.
81610
81611 * malloc/malloc.c: Removed unused configurations and dead code.
81612 * malloc/arena.c: Likewise.
81613 * malloc/hooks.c: Likewise.
81614 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
81615
81616 * include/tls.h: Removed. USE___THREAD must always be defined.
81617 * bits/libc-tsd.h: Don't handle !USE___THREAD.
81618 * elf/dl-libc.c: Likewise.
81619 * elf/dl-tsd.c: Likewise.
81620 * include/errno.h: Likewise.
81621 * include/netdb.h: Likewise.
81622 * include/resolv.h: Likewise.
81623 * inet/herrno-loc.c: Likewise.
81624 * inet/herrno.c: Likewise.
81625 * malloc/arena.c: Likewise.
81626 * malloc/hooks.c: Likewise.
81627 * malloc/malloc.c: Likewise.
81628 * resolv/res-state.c: Likewise.
81629 * resolv/res_libc.c: Likewise.
81630 * sysdeps/i386/dl-machine.h: Likewise.
81631 * sysdeps/ia64/dl-machine.h: Likewise.
81632 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
81633 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
81634 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
81635 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
81636 * sysdeps/sh/dl-machine.h: Likewise.
81637 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81638 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81639 * sysdeps/unix/i386/sysdep.S: Likewise.
81640 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
81641 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
81642 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
81643 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
81644 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
81645 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
81646 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
81647 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81648 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81649 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
81650 * sysdeps/unix/x86_64/sysdep.S: Likewise.
81651 * sysdeps/x86_64/dl-machine.h: Likewise.
81652 * tls.make.c: Likewise.
81653
81654 * configure.in: Remove --with-__thread option. Make tests for
81655 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
81656 tls_model attribute fail if no support is available. Remove
81657 USE_IN_LIBIO.
81658 * Makeconfig: Adjust for dropped configure option. All features are
81659 now mandatory.
81660 * Makerules: Likewise.
81661 * Versions.def: Likewise.
81662 * argp/argp-fmtstream.c: Likewise.
81663 * argp/argp-fmtstream.h: Likewise.
81664 * argp/argp-help.c: Likewise.
81665 * assert/assert.c: Likewise.
81666 * config.h.in: Likewise.
81667 * config.make.in: Likewise.
81668 * configure: Likewise.
81669 * configure.in: Likewise.
81670 * csu/Versions: Likewise.
81671 * csu/init.c: Likewise.
81672 * elf/tst-audit2.c: Likewise.
81673 * elf/tst-tls10.c: Likewise.
81674 * elf/tst-tls10.h: Likewise.
81675 * elf/tst-tls11.c: Likewise.
81676 * elf/tst-tls12.c: Likewise.
81677 * elf/tst-tls14.c: Likewise.
81678 * elf/tst-tlsmod11.c: Likewise.
81679 * elf/tst-tlsmod12.c: Likewise.
81680 * elf/tst-tlsmod13.c: Likewise.
81681 * elf/tst-tlsmod13a.c: Likewise.
81682 * elf/tst-tlsmod14a.c: Likewise.
81683 * elf/tst-tlsmod15b.c: Likewise.
81684 * elf/tst-tlsmod16a.c: Likewise.
81685 * elf/tst-tlsmod16b.c: Likewise.
81686 * elf/tst-tlsmod7.c: Likewise.
81687 * elf/tst-tlsmod8.c: Likewise.
81688 * elf/tst-tlsmod9.c: Likewise.
81689 * gmon/gmon.c: Likewise.
81690 * grp/fgetgrent_r.c: Likewise.
81691 * grp/putgrent.c: Likewise.
81692 * hurd/fopenport.c: Likewise.
81693 * include/libc-symbols.h: Likewise.
81694 * include/tls.h: Likewise.
81695 * intl/gettextP.h: Likewise.
81696 * intl/loadinfo.h: Likewise.
81697 * locale/global-locale.c: Likewise.
81698 * locale/localeinfo.h: Likewise.
81699 * mach/devstream.c: Likewise.
81700 * malloc/arena.c: Likewise.
81701 * malloc/set-freeres.c: Likewise.
81702 * misc/err.c: Likewise.
81703 * misc/getttyent.c: Likewise.
81704 * misc/mntent_r.c: Likewise.
81705 * posix/getopt.c: Likewise.
81706 * posix/wordexp.c: Likewise.
81707 * pwd/fgetpwent_r.c: Likewise.
81708 * resolv/Versions: Likewise.
81709 * resolv/res_hconf.c: Likewise.
81710 * shadow/fgetspent_r.c: Likewise.
81711 * shadow/putspent.c: Likewise.
81712 * stdio-common/printf_fphex.c: Likewise.
81713 * stdio-common/tmpfile.c: Likewise.
81714 * stdlib/abort.c: Likewise.
81715 * stdlib/fmtmsg.c: Likewise.
81716 * sunrpc/auth_unix.c: Likewise.
81717 * sunrpc/clnt_perr.c: Likewise.
81718 * sunrpc/clnt_tcp.c: Likewise.
81719 * sunrpc/clnt_udp.c: Likewise.
81720 * sunrpc/clnt_unix.c: Likewise.
81721 * sunrpc/openchild.c: Likewise.
81722 * sunrpc/svc_simple.c: Likewise.
81723 * sunrpc/svc_tcp.c: Likewise.
81724 * sunrpc/svc_udp.c: Likewise.
81725 * sunrpc/svc_unix.c: Likewise.
81726 * sunrpc/xdr.c: Likewise.
81727 * sunrpc/xdr_array.c: Likewise.
81728 * sunrpc/xdr_rec.c: Likewise.
81729 * sunrpc/xdr_ref.c: Likewise.
81730 * sunrpc/xdr_stdio.c: Likewise.
81731
81732 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81733
81734 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81735
81736 2011-07-03 Andreas Jaeger <aj@suse.de>
81737
81738 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
81739 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
81740 regenerate with gen-libm-tests.pl.
81741
81742 2010-05-12 Petr Baudis <pasky@suse.cz>
81743
81744 [BZ #11589]
81745 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
81746 around j0() zero points by switching to j1().
81747 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81748 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81749 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81750 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81751
81752 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81753
81754 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
81755 instead of 0.
81756 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
81757 instead of 0.
81758 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81759 Patch in part by Pavel Roskin <proski@gnu.org>.
81760
81761 [BZ #13138]
81762 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
81763 realloc.
81764 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
81765 Free memory block if necessary.
81766
81767 [BZ #12847]
81768 * libio/genops.c (INTDEF): For string streams the _lock pointer can
81769 be NULL. Don't lock in this case.
81770
81771 2011-09-09 Roland McGrath <roland@hack.frob.com>
81772
81773 * elf/elf.h (ELFOSABI_GNU): New macro.
81774 (ELFOSABI_LINUX): Define to that.
81775
81776 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
81777
81778 * string/strncat.c (strncat): Undef the symbol in case it has been
81779 defined in bits/string.h.
81780
81781 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81782
81783 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
81784
81785 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
81786 link map.
81787
81788 2011-08-17 Andreas Jaeger <aj@suse.de>
81789
81790 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
81791
81792 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
81793 Ian Lance Taylor <iant@google.com>
81794
81795 * math/libm-test.inc (lround_test): New testcase.
81796 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
81797
81798 2011-09-08 Ulrich Drepper <drepper@gmail.com>
81799
81800 * Makefile: Remove support for automatic cvs check-ins.
81801 * Makerules: Likewise.
81802 * config.make.in: Likewise.
81803 * configure.in: Likewise.
81804 * intl/Makefile: Likewise.
81805 * locale/Makefile: Likewise.
81806 * po/Makefile: Likewise.
81807 * posix/Makefile: Likewise.
81808 * sysdeps/gnu/Makefile: Likewise.
81809 * sysdeps/mach/hurd/Makefile: Likewise.
81810 * sysdeps/sparc/sparc32/Makefile: Likewise.
81811
81812 [BZ #13118]
81813 * posix/Makefile (bug-regex32-ENV): Define.
81814 Patch by John Stanley <jpsinthemix@verizon.net>.
81815
81816 * misc/Makefile (headers): Add bits/select2.h.
81817 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
81818 * misc/bits/select2.h: New file.
81819 * include/bits/select2.h: New file.
81820 * debug/Makefile (routines): Add fdelt_chk.
81821 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
81822 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
81823 FD_ISSET.
81824 * debug/fdelt_chk.c: New file.
81825
81826 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
81827 * wcsmbs/test-wmemcmp.c: Likewise.
81828 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
81829 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
81830
81831 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81832
81833 * string/Makefile (strop-tests): Add memcmp.
81834 * string/test-wmemcmp.c: New file.
81835 * string/test-memcmp.c: Add wmemcmp support.
81836
81837 2011-09-08 Roland McGrath <roland@hack.frob.com>
81838
81839 [BZ #13153]
81840 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
81841 2011-07-19 change.
81842
81843 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
81844 garbage value in a __mach_port_mod_refs call in the cases of the
81845 task-self and thread-self ports.
81846
81847 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
81848
81849 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
81850
81851 2011-09-08 Andreas Schwab <schwab@redhat.com>
81852
81853 * elf/dl-load.c (lose): Check for non-null L.
81854
81855 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81856
81857 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
81858
81859 * elf/dl-libc.c (dlerror_run): Pass back error code from
81860 dl_catch_error.
81861
81862 [BZ #13123]
81863 * elf/dl-load.c (lose): Free l_origin if it is valid.
81864
81865 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
81866 names.
81867 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
81868 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81869 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81870 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81871 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
81872 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
81873
81874 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81875
81876 * sysdeps/powerpc/fpu/e_hypot.c: New file.
81877 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
81878 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
81879 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
81880 * sysdeps/powerpc/fpu/k_cosf.c: New file.
81881 * sysdeps/powerpc/fpu/k_sinf.c: New file.
81882 * sysdeps/powerpc/fpu/s_cosf.c: New file.
81883 * sysdeps/powerpc/fpu/s_sinf.c: New file.
81884 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81885 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81886
81887 2011-08-15 Alan Modra <amodra@gmail.com>
81888
81889 [BZ #13092]
81890 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81891 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81892 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
81893 ppc_mcount to static-only-routines.
81894 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81895 __mcount_internal.
81896 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81897 __mcount_internal with usual JUMPTARGET. Remove useless nop.
81898
81899 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
81900
81901 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81902 for finite and infinity parameters.
81903
81904 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
81905
81906 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81907 and add nop instructions for throughput optimization.
81908 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81909
81910 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
81911
81912 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81913 aligned copy for power7 with vector-scalar instructions.
81914 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81915
81916 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
81917
81918 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81919 AVX check.
81920
81921 2011-09-07 Andreas Schwab <schwab@redhat.com>
81922
81923 [BZ #13144]
81924 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81925 last change.
81926
81927 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81928
81929 * sysdeps/unix/sysv/linux/x86_64/init-first.c
81930 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81931 syscall wrapper around clock_gettime in __vdso_clock_gettime.
81932 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81933 clock_gettime.
81934
81935 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81936
81937 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81938 Forgot to demangle the pointer.
81939
81940 * sysdeps/i386/sysdep.h: Define atom_text_section.
81941 * sysdeps/x86_64/sysdep.h: Likewise.
81942 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81943 section with atom_text_section.
81944 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81945 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81946 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81947 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81948 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81949
81950 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81951 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81952 already be defined. Change to take two parameters and don't assign
81953 result to variable. Adjust all users.
81954 Define INTERNAL_GETTIME if not already defined.
81955 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81956 call.
81957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81958 HAVE_CLOCK_GETTIME_VSYSCALL.
81959 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81960
81961 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81962 gettimeofday vsyscall, just use time.
81963
81964 2011-09-06 Andreas Schwab <schwab@redhat.com>
81965
81966 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81967 <errno.h>.
81968
81969 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81970
81971 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81972 syscall on x86-64.
81973 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81974 syscall.
81975 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81976 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81977 syscall if possible.
81978
81979 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81980
81981 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81982 e_ident. Don't pass to find_mapsXX.
81983 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81984
81985 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81986
81987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81988 strchr-sse2-no-bsf strrchr-sse2-no-bsf
81989 * sysdeps/x86_64/multiarch/strchr.S: Update.
81990 Check bit_slow_BSF bit.
81991 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81992 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81993 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81994
81995 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81996
81997 [BZ #13134]
81998 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81999 before glibc 2.15.
82000 (tryshell): Define.
82001 (__spawni): Change last parameter to be flag. Test
82002 SPAWN_XFLAGS_USE_PATH flag to use path or not.
82003 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
82004 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
82005 * posix/spawni.c: Likewise.
82006 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
82007 * posix/spawnp.c: Likewise. Change normal version to use
82008 SPAWN_XFLAGS_USE_PATH.
82009 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
82010 SPAWN_XFLAGS_TRY_SHELL.
82011
82012 [BZ #13150]
82013 * posix/glob.h: Remove gcc 1.x support.
82014
82015 [BZ #13068]
82016 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
82017
82018 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82019
82020 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82021 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
82022 strrchr-sse2-bsf
82023 * sysdeps/i386/i686/multiarch/strchr.S: New file.
82024 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
82025 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
82026 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
82027 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
82028 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
82029
82030 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82031
82032 * sysdeps/x86_64/wcscmp.S: New file.
82033
82034 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
82035 wcscmp-c wcscmp-sse2
82036 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
82037 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
82038 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
82039 * wcsmbs/wcscmp.c: Allow renaming.
82040
82041 2011-09-05 David S. Miller <davem@davemloft.net>
82042
82043 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
82044 stack slot, rather than the struct return pointer slot.
82045 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
82046 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
82047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
82048 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
82049
82050 2011-09-05 Ulrich Drepper <drepper@gmail.com>
82051
82052 * po/ja.po: Update from translation team.
82053
82054 [BZ #13144]
82055 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
82056 kernel in 64-bit binaries.
82057
82058 2011-09-01 David S. Miller <davem@davemloft.net>
82059
82060 * elf/elf.h (HWCAP_SPARC_*): Move to..
82061 * sysdeps/sparc/sysdep.h: this new file and add new values.
82062 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
82063 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
82064 _DL_HWCAP_COUNT to 24.
82065 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
82066 entries.
82067 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
82068 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
82069 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
82070 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
82071 instead of magic constants.
82072 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82073
82074 2011-08-31 David S. Miller <davem@davemloft.net>
82075
82076 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
82077 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
82078 Reimplement to do errno handling inline.
82079 (SYSCALL_ERROR_HANDLER): New macro.
82080 (__SYSCALL_STRING): Do not do errno handling in asm.
82081 (__CLONE_SYSCALL_STRING): Delete.
82082 (__INTERNAL_SYSCALL_STRING): Delete.
82083 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
82084 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
82085 (PSEUDO): Reimplement to do errno handling inline.
82086 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
82087 (SYSCALL_ERROR_HANDLER): New macro.
82088 (__SYSCALL_STRING): Do not do errno handling in asm.
82089 (__CLONE_SYSCALL_STRING): Delete.
82090 (__INTERNAL_SYSCALL_STRING): Delete.
82091 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
82092 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
82093 i386.
82094 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
82095 (inline_syscall*): Add 'err' argument.
82096 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
82097 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
82098 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
82099 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
82100
82101 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
82102 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
82103
82104 2011-08-30 Andreas Schwab <schwab@redhat.com>
82105
82106 * elf/rtld.c (dl_main): Relocate objects in dependency order.
82107
82108 2011-08-29 Jiri Olsa <jolsa@redhat.com>
82109
82110 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
82111 directive.
82112
82113 2011-08-24 David S. Miller <davem@davemloft.net>
82114
82115 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
82116
82117 2011-08-24 Andreas Schwab <schwab@redhat.com>
82118
82119 * elf/Makefile: Add rules to build and run unload8 test.
82120 * elf/unload8.c: New file.
82121 * elf/unload8mod1.c: New file.
82122 * elf/unload8mod1x.c: New file.
82123 * elf/unload8mod2.c: New file.
82124 * elf/unload8mod3.c: New file.
82125
82126 * elf/dl-close.c (_dl_close_worker): Reset private search list if
82127 it wasn't used.
82128
82129 2011-08-23 David S. Miller <davem@davemloft.net>
82130
82131 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
82132 subtract stack bias.
82133 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
82134 %sp not %fp in calculations.
82135 (_JMPBUF_UNWINDS_ADJ): Likewise.
82136
82137 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
82138 (aio_suspend): Call it to force an exception region around the
82139 AIO_MISC_WAIT() invocation.
82140
82141 2011-08-23 Andreas Schwab <schwab@redhat.com>
82142
82143 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
82144 backslash.
82145
82146 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
82147
82148 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
82149 protection macro.
82150 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
82151 and <dl-machine.h>.
82152 (Elf64_FuncDesc): Remove.
82153
82154 2011-08-22 David S. Miller <davem@davemloft.net>
82155
82156 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
82157 sigaltstack check, add missing cfi directives.
82158 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
82159 missing cfi directives, and sigaltstack handling.
82160
82161 2011-08-16 Andreas Schwab <schwab@redhat.com>
82162
82163 [BZ #11724]
82164 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
82165 object is seen twice.
82166 * elf/dl-fini.c (_dl_sort_fini): Likewise.
82167
82168 * elf/Makefile (distribute): Add tst-initorder2.c.
82169 (tests): Add tst-initorder2.
82170 (modules-names): Add tst-initorder2a tst-initorder2b
82171 tst-initorder2c tst-initorder2d. Add rules to build them.
82172 ($(objpfx)tst-initorder2.out): New rule.
82173 * elf/tst-initorder2.c: New file.
82174 * elf/tst-initorder2.exp: New file.
82175
82176 2011-08-22 Andreas Schwab <schwab@redhat.com>
82177
82178 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
82179
82180 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
82181 dependencies back to end of function.
82182
82183 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82184 $(elfobjdir)/ld.so.
82185
82186 2011-08-21 Ulrich Drepper <drepper@gmail.com>
82187
82188 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
82189 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
82190 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
82191 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
82192 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
82193 of __vdso_gettimeofday.
82194 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
82195 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
82196 attribute_hidden.
82197 (_libc_vdso_platform_setup): Remove initialization of
82198 __vdso_gettimeofday and __vdso_time.
82199
82200 2011-08-20 Ulrich Drepper <drepper@gmail.com>
82201
82202 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
82203 and fgetc_unlocked.
82204 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
82205 getc_unlocked.
82206
82207 * elf/dl-open.c (add_to_global): Report additions to the global scope
82208 for LD_DEBUG=scopes.
82209 (dl_open_worker): Also print scope of newly loaded dependencies.
82210 (_dl_show_scope): Indicate if there is no scope.
82211
82212 [BZ #13114]
82213 * stdio-common/Makefile (tests): Add bug24.
82214 * stdio-common/bug24.c: New file.
82215
82216 2011-08-19 Andreas Jaeger <aj@suse.de>
82217
82218 [BZ #13114]
82219 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
82220 non-existant file when using close-on-exec mode.
82221
82222 2011-08-20 Ulrich Drepper <drepper@gmail.com>
82223
82224 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
82225 the very first instruction.
82226
82227 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
82228 the CFI state in the end.
82229 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
82230 inclusion of dl-trampoline.h.
82231 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
82232
82233 2011-08-19 Andreas Schwab <schwab@redhat.com>
82234
82235 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
82236 expectations for long double.
82237
82238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
82239 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
82240
82241 2011-08-14 David S. Miller <davem@davemloft.net>
82242
82243 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
82244 artificual limit depends upon the system page size.
82245
82246 2011-08-17 Ulrich Drepper <drepper@gmail.com>
82247
82248 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
82249 * resolv/Makefile: Define CFLAGS-libresolv.
82250
82251 2011-08-17 Andreas Schwab <schwab@redhat.com>
82252
82253 * nss/makedb.c (compute_tables): Make variables used in nested
82254 function static.
82255
82256 2011-08-17 Ulrich Drepper <drepper@gmail.com>
82257
82258 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
82259 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
82260 if buffer was too small.
82261
82262 * elf/pldd.c (main): Attach to all threads in the process.
82263 Rewrite /proc handling to use *at functions.
82264
82265 2011-08-16 Ulrich Drepper <drepper@gmail.com>
82266
82267 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
82268 specifies first scope to show.
82269 (dl_open_worker): Update callers. Move printing scope of new
82270 object to before the relocation.
82271 * elf/rtld.c (dl_main): Update _dl_show_scope call.
82272 * sysdeps/generic/ldsodefs.h: Update declaration.
82273
82274 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
82275 string for the scope number.
82276
82277 2011-08-14 Ulrich Drepper <drepper@gmail.com>
82278
82279 * nscd/servicescache.c (cache_addserv): Make sure written is always
82280 initialized.
82281
82282 2011-08-14 Roland McGrath <roland@hack.frob.com>
82283
82284 * sysdeps/i386/i486/bits/atomic.h
82285 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
82286 statement expression, so as to suppress "set but not used" warning.
82287 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
82288
82289 * string/strncat.c (STRNCAT): Use prototype definition.
82290
82291 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
82292 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
82293 -Iprograms here.
82294 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
82295 (localedef-modules): Add localedef.
82296 (locale-modules): Add locale.
82297
82298 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
82299 * elf/rtld.c (dl_main): Invert order of assignment in last change,
82300 to avoid a warning.
82301
82302 2011-08-14 David S. Miller <davem@davemloft.net>
82303
82304 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
82305 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
82306
82307 2011-08-13 Ulrich Drepper <drepper@gmail.com>
82308
82309 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
82310 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
82311 * elf/rtld.c (dl_main): Set l_name of vDSO.
82312 Call _dl_show_scope when DL_DEBUG_SCOPES.
82313 (process_dl_debug): Recognize scopes flag and also set it for all.
82314 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
82315 Declare _dl_show_scope.
82316
82317 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
82318 (do_dlopen): Pass caller_dlopen to dl_open.
82319 (__libc_dlopen_mode): Initialize caller_dlopen.
82320
82321 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
82322 of libc. Make tolower call locale-independent. Optimize a bit by
82323 using isdigit instead of isalnum.
82324 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
82325
82326 2011-08-12 Ulrich Drepper <drepper@gmail.com>
82327
82328 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
82329 was a dependency or dynamically loaded.
82330
82331 2011-08-11 Ulrich Drepper <drepper@gmail.com>
82332
82333 * intl/l10nflist.c: Allow architecture-specific pop function.
82334 * sysdeps/x86_64/l10nflist.c: New file.
82335
82336 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
82337 classification.
82338
82339 2011-08-10 Andreas Schwab <schwab@redhat.com>
82340
82341 * include/dirent.h: Add libc_hidden_proto for scandirat and
82342 scandirat64. Don't declare __scandirat64.
82343 * dirent/scandirat.c: Add libc_hidden_def.
82344 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
82345 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
82346
82347 2011-08-10 David S. Miller <davem@davemloft.net>
82348
82349 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
82350 enum.
82351 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82352 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82353 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82354
82355 2011-08-09 Ulrich Drepper <drepper@gmail.com>
82356
82357 * Versions.def [libc]: Add GLIBC_2.15.
82358 * dirent/Makefile (routines): Add scandirat and scandirat64.
82359 * dirent/Versions [libc]: Export scandirat and scandirat64 for
82360 GLIBC_2.15.
82361 * dirent/dirent.h: Declare scandirat and scandirat64.
82362 * dirent/scandirat.c: New file.
82363 * dirent/scandirat64.c: New file.
82364 * sysdeps/wordsize-64/scandirat.c: New file.
82365 * sysdeps/wordsize-64/scandirat64.c: New file.
82366 * dirent/opendir.c: Define opendirat.
82367 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
82368 using scandirat.
82369 * dirent/scandir64.c: Adjust for scandir.c change.
82370 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
82371 __scandirat64, and __scandir_cancel_handler.
82372 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
82373 additional parameter and use openat instead of open (outside of ld.so).
82374 Add new __opendir as wrapper around __opendirat.
82375 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
82376 here without requiring old scandirat implementation.
82377
82378 2011-08-08 Ulrich Drepper <drepper@gmail.com>
82379
82380 * dirent/scandir.c (cancel_handler): Renamed to
82381 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
82382 defined. Adjust users.
82383 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
82384 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
82385
82386 2011-08-04 Ulrich Drepper <drepper@gmail.com>
82387
82388 * string/test-string.h (IMPL): Use __STRING to expand name and then
82389 stringify it.
82390
82391 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
82392 of cleanups.
82393
82394 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82395
82396 * string/Makefile: Update.
82397 (strop-tests): Append strncat.
82398 * string/test-wcscmp.c: New file.
82399 New comprehensive test for wcscmp.
82400 * string/test-strcmp.c: Update.
82401 (WIDE): New define.
82402
82403 2011-07-22 Andreas Schwab <schwab@redhat.com>
82404
82405 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
82406 line.
82407
82408 2011-07-26 Andreas Schwab <schwab@redhat.com>
82409
82410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82411 encoding to ACE if AI_IDN.
82412
82413 2011-08-01 Jakub Jelinek <jakub@redhat.com>
82414
82415 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
82416 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
82417
82418 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82419
82420 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
82421 Fix overflow bug in strncat.
82422 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
82423
82424 * string/test-strncat.c: Update.
82425 Add new tests for checking overflow bugs.
82426
82427 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82428
82429 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82430 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
82431 * sysdeps/i386/i686/multiarch/strcat.S: New file.
82432 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
82433 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
82434 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
82435 * sysdeps/i386/i686/multiarch/strncat.S: New file.
82436 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
82437 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
82438
82439 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
82440 (USE_AS_STRCAT): Define.
82441 Add strcat and strncat support.
82442 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82443
82444 2011-07-25 Andreas Schwab <schwab@redhat.com>
82445
82446 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
82447 __n bigger than INT_MAX+1.
82448 (__strncmp_g): Likewise.
82449
82450 2011-07-23 Ulrich Drepper <drepper@gmail.com>
82451
82452 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
82453 * libio/stido.h: Likewise.
82454
82455 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
82456 (AF_NFC): Define.
82457 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
82458 (AF_NFC): Define.
82459
82460 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
82461 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82462 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82463 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
82464 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82465
82466 [BZ #13021]
82467 * scripts/test-installation.pl: Don't expect libnss_test1 to be
82468 installed.
82469
82470 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
82471 typo.
82472 (_dl_x86_64_save_sse): Likewise.
82473
82474 2011-07-22 Ulrich Drepper <drepper@gmail.com>
82475
82476 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
82477 OSXSAVE.
82478 (_dl_x86_64_save_sse): Likewise.
82479
82480 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
82481
82482 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
82483
82484 2011-07-21 Andreas Schwab <schwab@redhat.com>
82485
82486 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
82487 change.
82488 (_dl_x86_64_save_sse): Use correct AVX check.
82489
82490 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82491
82492 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
82493 bug in strncpy/strncat.
82494 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
82495
82496 2011-07-21 Ulrich Drepper <drepper@gmail.com>
82497
82498 * string/tester.c (test_strcat): Add tests for different alignments
82499 of source and destination.
82500 (test_strncat): Likewise.
82501
82502 2011-07-20 Ulrich Drepper <drepper@gmail.com>
82503
82504 [BZ #12852]
82505 * posix/glob.c (glob): Check passed in values before using them in
82506 expressions to avoid some overflows.
82507 (glob_in_dir): Likewise.
82508
82509 [BZ #13007]
82510 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
82511 check for AVX enablement so that we don't crash with old kernels and
82512 new hardware.
82513 * elf/tst-audit4.c: Add same checks here.
82514 * elf/tst-audit6.c: Likewise.
82515
82516 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
82517
82518 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
82519
82520 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
82521
82522 2011-07-20 Ulrich Drepper <drepper@gmail.com>
82523
82524 * po/cs.po: Update from translation team.
82525 * po/bg.po: Likewise.
82526
82527 2011-07-12 Marek Polacek <mpolacek@redhat.com>
82528
82529 * misc/sys/cdefs.h: Add support for const attribute.
82530 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
82531 to gnu_dev_{major,minor,makedev} functions.
82532
82533 2011-07-20 Marek Polacek <mpolacek@redhat.com>
82534
82535 * intl/dcigettext.c (get_output_charset): Add missing bracket.
82536
82537 2011-07-20 Andreas Schwab <schwab@redhat.com>
82538
82539 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
82540 strlen results.
82541
82542 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82543
82544 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
82545 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
82546 register in order to avoid conflicts with the soft frame pointer
82547 being held in r11 when necessary.
82548 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
82549 (INTERNAL_VSYSCALL_NCS): Likewise.
82550
82551 2011-07-14 Marek Polacek <mpolacek@redhat.com>
82552
82553 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
82554 * elf/dl-fini.c (_dl_fini): Adjust caller.
82555 * elf/dl-close.c (_dl_close_worker): Likewise.
82556 * sysdeps/generic/ldsodefs.h: Adjust declaration.
82557
82558 2011-07-15 Marek Polacek <mpolacek@redhat.com>
82559
82560 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
82561 "aux_cache->nlibs < 0".
82562
82563 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
82564 in the reload-count case.
82565
82566 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82567
82568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82569 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
82570 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
82571 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
82572 * sysdeps/x86_64/multiarch/strcat.S: New file.
82573 * sysdeps/x86_64/multiarch/strncat.S: New file.
82574 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
82575 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
82576 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
82577 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
82578 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
82579 (USE_AS_STRCAT): Define.
82580 Add strcat and strncat support.
82581 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
82582 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
82583 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
82584 * string/strncat.c: Update.
82585 (USE_AS_STRNCAT): Define.
82586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82587 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
82588 and i7.
82589 * sysdeps/x86_64/multiarch/init-arch.h
82590 (bit_Prefer_PMINUB_for_stringop): New.
82591 (index_Prefer_PMINUB_for_stringop): Likewise.
82592 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
82593 bit_Prefer_PMINUB_for_stringop.
82594
82595 2011-07-19 Ulrich Drepper <drepper@gmail.com>
82596
82597 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
82598 buffer64.
82599 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
82600 of casting of buffer.
82601 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
82602 buffer32 and buffer64.
82603 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
82604 writes instead of casting of buffer.
82605 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
82606 buffer32.
82607 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
82608 casting of buffer.
82609
82610 2011-07-19 Andreas Schwab <schwab@redhat.com>
82611
82612 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
82613
82614 2011-07-19 Ulrich Drepper <drepper@gmail.com>
82615
82616 * nscd/nscd.c (termination_handler): Don't do anything for a database
82617 if it has not yet been initialized.
82618
82619 2011-07-18 Ulrich Drepper <drepper@gmail.com>
82620
82621 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82622
82623 2011-07-15 Marek Polacek <mpolacek@redhat.com>
82624
82625 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82626
82627 2011-07-18 Ulrich Drepper <drepper@gmail.com>
82628
82629 * po/nl.po: Update from translation team.
82630 * po/sv.po: Likewise.
82631
82632 2011-07-16 Roland McGrath <roland@hack.frob.com>
82633
82634 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
82635 now disallowed by GCC.
82636
82637 * configure.in (use-default-link): Default to yes if a test -shared
82638 link meets our qualifications.
82639 * configure: Regenerated.
82640
82641 * config.make.in (output-format): New variable.
82642 * configure.in: Check for ld --print-output-format support.
82643 * configure: Regenerated.
82644 * Makerules ($(common-objpfx)format.lds)
82645 [$(output-format) != unknown]: Just use $(output-format),
82646 instead of the linker-script munging.
82647
82648 2011-07-14 Roland McGrath <roland@hack.frob.com>
82649
82650 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
82651 of $(common-objpfx)shlib.lds.
82652 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
82653
82654 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
82655 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
82656
82657 * configure.in (-z relro check): Adjust test code to add a large
82658 writable data section after it.
82659 * configure: Regenerated.
82660
82661 2011-07-11 Roland McGrath <roland@hack.frob.com>
82662
82663 * configure.in (-z relro check): Fix test code to make the variable
82664 truly const.
82665 * configure: Regenerated.
82666
82667 2011-07-11 Ulrich Drepper <drepper@gmail.com>
82668
82669 * nscd/nscd.h (struct traced_file): Define.
82670 (struct database_dyn): Remove inotify_descr, reset_res, and filename
82671 elements. Add traced_files.
82672 (inotify_fd): Declare.
82673 (register_traced_file): Declare.
82674 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
82675 (inotify_fd): Export.
82676 (resolv_conf_descr): Remove.
82677 (nscd_init): Move inotify descriptor creation to main.
82678 Don't register files for notification here.
82679 (register_traced_file): New function.
82680 (invalidate_cache): Don't use reset_res to determine whether to call
82681 res_init, go through the list of registered files.
82682 (main_loop_poll): The inotify descriptors are now stored in the
82683 structures for the traced files.
82684 (main_loop_epoll): Likewise.
82685 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
82686 to __nss_disable_nscd.
82687 * nscd/cache.c (prune_cache): There is no single inotify descriptor
82688 for a database anymore. Check the records for all the registered
82689 files instead.
82690 * nss/Makefile (libnss_files-routines): Add files-init.
82691 (libnss_db-routines): Add db-init.
82692 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
82693 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
82694 * nss/nss_db/db-init.c: New file.
82695 * nss/nss_files/files-init.c: New file.
82696 * nss/nsswitch.c (nss_load_library): New function. Broken out of
82697 __nss_lookup_function.
82698 (__nss_lookup_function): Call nss_load_library.
82699 (nss_load_all_libraries): New function.
82700 (__nss_disable_nscd): Take parameter with callback function for files
82701 to register. Set is_nscd. Load all the DSOs for the NSS modules
82702 used for the cached services.
82703 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
82704 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
82705 options for features to all the files in nscd.
82706
82707 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
82708
82709 2011-07-10 Roland McGrath <roland@hack.frob.com>
82710
82711 * csu/elf-init.c (__libc_csu_init): Comment typo.
82712
82713 2011-07-09 Ulrich Drepper <drepper@gmail.com>
82714
82715 * po/pl.po: Update from translation team.
82716 * po/ja.po: Likewise.
82717 * po/ru.po: Likewise.
82718 * po/ko.po: Likewise.
82719 * po/fr.po: Likewise.
82720
82721 2011-07-09 Roland McGrath <roland@hack.frob.com>
82722
82723 * configure.in (.ctors/.dtors header and trailer check):
82724 Use an empirical test on a built program.
82725 * configure: Regenerated.
82726
82727 * configure.in (-z relro check): Use an empirical test on a built DSO.
82728 Detect, but do not require, on ia64.
82729 * configure: Regenerated.
82730
82731 * configure.in (READELF): Find it with AC_CHECK_TOOL.
82732 Update tests that use readelf to use $READELF instead.
82733 * configure: Regenerated.
82734
82735 2011-07-08 Ulrich Drepper <drepper@gmail.com>
82736
82737 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
82738 if the result is not used.
82739
82740 2011-07-05 Andreas Jaeger <aj@suse.de>
82741
82742 [BZ#9696]
82743 * stdlib/tst-strtod.c: Add testcase.
82744
82745 2011-07-07 Ulrich Drepper <drepper@gmail.com>
82746
82747 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
82748 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
82749 The latter has a higher limit. Take additional parameter to pass to
82750 the new function.
82751 (__pathconf): Pass file to __statfs_link_max.
82752 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
82753 __statfs_link_max.
82754 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
82755 __statfs_link_max.
82756
82757 [BZ #12868]
82758 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
82759 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82760 Handle Lustre.
82761 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
82762 (__statfs_filesize_max): Likewise.
82763 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
82764
82765 2011-07-05 Andreas Jaeger <aj@suse.de>
82766
82767 * resolv/res_comp.c (dn_skipname): Remove unused variable.
82768
82769 2011-07-06 Marek Polacek <mpolacek@redhat.com>
82770
82771 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
82772 `status' variable.
82773 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
82774 Likewise.
82775
82776 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
82777
82778 * Makefile (strop-tests): Add strncat.
82779 * string/test-strncat.c: New file.
82780
82781 2011-06-30 Marek Polacek <mpolacek@redhat.com>
82782
82783 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
82784
82785 2011-06-21 Andreas Jaeger <aj@suse.de>
82786
82787 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
82788 Copy rule from iconvdata/Makefile.
82789
82790 2011-07-06 Ulrich Drepper <drepper@gmail.com>
82791
82792 [BZ #12922]
82793 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
82794 but no long options are defined, just return 'W'.
82795
82796 2011-06-22 Marek Polacek <mpolacek@redhat.com>
82797
82798 [BZ #9696]
82799 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
82800
82801 2011-07-06 Ulrich Drepper <drepper@gmail.com>
82802
82803 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
82804 netgroups to read.
82805 (innetgr): Likewise.
82806
82807 2011-07-05 Roland McGrath <roland@hack.frob.com>
82808
82809 * config.make.in (install_root): Default to $(DESTDIR).
82810
82811 2011-07-05 Ulrich Drepper <drepper@gmail.com>
82812
82813 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
82814
82815 2011-07-02 Roland McGrath <roland@hack.frob.com>
82816
82817 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
82818
82819 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
82820 containing directory rather than embedding absolute directory names.
82821
82822 * scripts/check-local-headers.sh: Rewritten using awk.
82823 Match by word, not by line. Print error messages for matches.
82824 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
82825
82826 * Makerules [shlib-lds-flags empty]:
82827 ($(common-objpfx)libc_pic.opts): New target.
82828 ($(common-objpfx)libc_pic.os.clean): New target.
82829 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
82830
82831 * config.make.in (OBJCOPY): New variable.
82832 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
82833 * configure: Regenerated.
82834
82835 * config.make.in (use-default-link): New variable.
82836 * configure.in (use_default_link): Grok --with-default-link to set it.
82837 * configure: Regenerated.
82838 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
82839 (shlib-lds, shlib-lds-flags): Define to empty.
82840
82841 * Makerules (shlib-lds): New variable.
82842 (shlib-lds-flags): New variable.
82843 (build-shlib, build-moduile, build-module-asneeded): Use it.
82844 ($(common-objpfx)libc.so): Use $(shlib-lds).
82845 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
82846 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
82847
82848 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
82849 DT_FLAGS/DT_FLAGS_1 with zero flags.
82850
82851 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
82852 linker script munging.
82853
82854 2011-07-02 Ulrich Drepper <drepper@gmail.com>
82855
82856 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
82857 as 128-bit value.
82858 * crypt/sha512.c (sha512_process_block): Perform total addition using
82859 128-bit if possible.
82860 (__sha512_finish_ctx): Likewise.
82861 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
82862 as 64-bit value.
82863 * crypt/sha256.c (SWAP64): Define.
82864 (sha256_process_block): Perform total addition using 64-bit if
82865 possible.
82866 (__sha256_finish_ctx): Likewise.
82867
82868 2011-07-01 Ulrich Drepper <drepper@gmail.com>
82869
82870 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
82871 * nscd/initgrcache.c (addinitgroupsX): Likewise.
82872 * nscd/hstcache.c (cache_addhst): Likewise.
82873 * nscd/grpcache.c (cache_addgr): Likewise.
82874 * nscd/aicache.c (addhstaiX): Likewise.
82875 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
82876
82877 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
82878
82879 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
82880 * nscd/initgrcache.c (addinitgroupsX): Likewise.
82881 * nscd/hstcache.c (cache_addhst): Likewise.
82882 * nscd/grpcache.c (cache_addgr): Likewise.
82883 * nscd/aicache.c (addhstaiX): Likewise.
82884
82885 2011-07-01 Andreas Schwab <schwab@redhat.com>
82886
82887 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82888 domain only when needed.
82889
82890 2011-06-30 Andreas Schwab <schwab@redhat.com>
82891
82892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82893 is always restored.
82894
82895 2011-06-29 Ulrich Drepper <drepper@gmail.com>
82896
82897 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82898 are re-adding the entry.
82899 * nscd/servicescache.c (cache_addserv): Likewise.
82900
82901 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
82902
82903 * sysdeps/generic/dl-irel.h: fix protection against multiple
82904 inclusions.
82905 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82906
82907 2011-06-28 Ulrich Drepper <drepper@gmail.com>
82908
82909 [BZ #12935]
82910 * malloc/memusage.sh: Fix quoting in message.
82911 * debug/xtrace.sh: Likewise.
82912
82913 * configure.in: Remove support for --experimental-malloc option, make
82914 it the default.
82915 * config.make.in: Likewise.
82916 * malloc/Makefile: Likewise.
82917
82918 2011-06-27 Andreas Schwab <schwab@redhat.com>
82919
82920 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82921 two-byte characters.
82922
82923 2011-06-27 Roland McGrath <roland@hack.frob.com>
82924
82925 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82926 AC_CACHE_CHECK invocation.
82927 * configure: Regenerated.
82928
82929 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82930
82931 2011-06-27 Ulrich Drepper <drepper@gmail.com>
82932
82933 [BZ #12350]
82934 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
82935 bit from old_res_options.
82936
82937 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82938
82939 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82940 value type for setfct.
82941
82942 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
82943
82944 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82945 __gettimeofday instead of gettimeofday.
82946
82947 2011-06-26 Ulrich Drepper <drepper@gmail.com>
82948
82949 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82950
82951 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
82952
82953 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82954
82955 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82956 info.
82957
82958 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82959
82960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82961 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82962 strcpy-sse2-unaligned strncpy-sse2-unaligned
82963 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82964 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82965 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82966 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82967 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82968 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82969 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82970 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82971 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82972 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82973 (STRCPY): Support SSE2 and SSSE3 versions.
82974
82975 2011-06-24 Ulrich Drepper <drepper@gmail.com>
82976
82977 [BZ #12874]
82978 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82979 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82980 kernels which artificially limit size of requests.
82981
82982 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82983
82984 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82985 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82986 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82987 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82988 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82989 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82990 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82991 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82992 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82993 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82994 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82995 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82996 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82997 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82998 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83000 Enable unaligned load optimization for Intel Core i3, i5 and i7
83001 processors.
83002 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
83003 Define.
83004 (index_Fast_Unaligned_Load): Define.
83005 (HAS_FAST_UNALIGNED_LOAD): Define.
83006
83007 2011-06-23 Marek Polacek <mpolacek@redhat.com>
83008
83009 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
83010
83011 2011-06-22 Ulrich Drepper <drepper@gmail.com>
83012
83013 [BZ #12907]
83014 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
83015 until it is clear that the information is realy needed.
83016 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
83017
83018 2011-06-22 Andreas Schwab <schwab@redhat.com>
83019
83020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
83021
83022 2011-06-22 Ulrich Drepper <drepper@gmail.com>
83023
83024 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
83025 /sys/devices/system/cpu/online if it is usable.
83026
83027 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
83028 reading the information from the /proc filesystem to once a second.
83029
83030 2011-06-21 Andreas Jaeger <aj@suse.de>
83031
83032 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
83033 NULL after inclusion of kernel headers.
83034
83035 2011-06-21 Ulrich Drepper <drepper@gmail.com>
83036
83037 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
83038 calls to internal_setent.
83039
83040 [BZ #12885]
83041 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
83042 addresses using gethostbyname4_r ignore IPv4 addresses.
83043
83044 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
83045 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
83046
83047 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
83048
83049 2011-06-20 David S. Miller <davem@davemloft.net>
83050
83051 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
83052 inclusions.
83053 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
83054
83055 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
83056 (elf_irel): Use it.
83057 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
83058 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
83059 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
83060 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
83061 * sysdeps/x86_64/dl-irel.h: Likewise.
83062
83063 * elf/dl-runtime.c: Use elf_ifunc_invoke.
83064 * elf/dl-sym.c: Likewise.
83065
83066 2011-06-15 Ulrich Drepper <drepper@gmail.com>
83067
83068 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
83069 need to dereference resplen2.
83070
83071 2011-06-14 Andreas Schwab <schwab@redhat.com>
83072
83073 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
83074
83075 2011-06-15 Ulrich Drepper <drepper@gmail.com>
83076
83077 * Makeconfig: Define vardbdir and inst_vardbdir.
83078 * nss/Makefile: Add rules to install db-Makefile.
83079
83080 * nss/nss_db/db-XXX.c: Cleanup.
83081
83082 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
83083 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
83084 GLIBC_PRIVATE.
83085 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
83086 * nss/makedb.c: Implement -g option to specify that value strings
83087 are generated and should not be added to table iterated over for
83088 get*ent calls.
83089 * nss/nss_db/db-initgroups.c: New file.
83090
83091 * nss/getent.c: Add support for initgroups lookups through getgrouplist
83092 interface.
83093
83094 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
83095 (internal_getgrouplist): Adjust to name change.
83096 Update use_initgroups_entry if this is not the first call.
83097 * nss/databases.def: Add initgroups entry.
83098
83099 * nss/makedb.c (compute_tables): Check result of multiple hash table
83100 sizes to minimize maximum chain length.
83101
83102 2011-06-14 Ulrich Drepper <drepper@gmail.com>
83103
83104 * Versions.def: Add entry for libnss_db.
83105 * shlib-versions: Likewise.
83106 * nss/Makefile: Add rules to build libnss_db.
83107 * nss/Versions: Add libnss_db information. Organize libnss_files
83108 entries better.
83109 * nss/db-Makefile: Add gshadow support. Change rules for the new
83110 makedb progra. Some minor improvements to generate smaller files.
83111 * nss/nss_db/nss_db.h: Move NSS database header data structures to
83112 here from...
83113 * nss/makedb.c: ...here.
83114 Improve database format to be smaller and require less memory at
83115 runtime.
83116 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
83117 db anymore.
83118 * nss/nss_db/db-netgrp.c: Likewise.
83119 * nss/nss_db/db-open.c: Likewise.
83120 * nss/nss_files/flies-XXX.x: Adjust comments.
83121 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
83122 * nss/nss_files/files-grp.c: Likewise.
83123 * nss/nss_files/files-hosts.c: Likewise.
83124 * nss/nss_files/files-network.c: Likewise.
83125 * nss/nss_files/files-proto.c: Likewise.
83126 * nss/nss_files/files-pwd.c: Likewise.
83127 * nss/nss_files/files-rpc.c: Likewise.
83128 * nss/nss_files/files-service.c: Likewise.
83129 * nss/nss_files/files-sgrp.c: Likewise.
83130 * nss/nss_files/files-spwd.c: Likewise.
83131 * nss/nss_db/db-alias.c: Removed.
83132 * nss/nss_db/dummy-db.h: Removed.
83133
83134 2011-06-02 Ulrich Drepper <drepper@gmail.com>
83135
83136 * nss/makedb.c: Rewritten to not use database library.
83137 * nss/Makefile: Update to build new makedb program.
83138
83139 2011-06-14 Andreas Jaeger <aj@suse.de>
83140
83141 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
83142 memset declaration.
83143
83144 2011-06-10 Andreas Schwab <schwab@redhat.com>
83145
83146 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
83147 tmpbuf.
83148
83149 2011-06-10 Roland McGrath <roland@hack.frob.com>
83150
83151 * Makerules (shlib.lds): Fail if the linker script comes out empty.
83152 * elf/Makefile ($(objpfx)ld.so): Likewise.
83153
83154 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
83155 Don't list ld.so twice in dependencies.
83156
83157 * posix/bug-regex31.c: Include <stdlib.h>.
83158
83159 * nscd/hstcache.c (cache_addhst): Remove unused variable.
83160
83161 * nis/nss_compat/compat-spwd.c
83162 (getspent_next_nss_netgr): Remove unused variable.
83163 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
83164
83165 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
83166 nonmembers" output to use the right array.
83167
83168 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
83169
83170 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
83171
83172 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
83173 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
83174 * catgets/gencat.c (read_input_file): Likewise.
83175 * locale/programs/locarchive.c (enlarge_archive): Likewise.
83176
83177 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
83178 variable definition inside #if's controlling its use.
83179
83180 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
83181
83182 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
83183
83184 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
83185
83186 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
83187 unreachable code.
83188
83189 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
83190
83191 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
83192 * configure: Regenerated.
83193
83194 * Makerules: Revert last change.
83195 * elf/Makefile: Likewise.
83196
83197 2011-06-09 Roland McGrath <roland@hack.frob.com>
83198
83199 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
83200 * elf/Makefile ($(objpfx)librtld.os): Likewise.
83201 (reloc-link): Likewise.
83202
83203 2011-06-09 Ulrich Drepper <drepper@gmail.com>
83204
83205 * elf/Makefile: Add rules to build pldd.
83206 * elf/pldd.c: New file.
83207 * elf/pldd-xx.c: New file.
83208
83209 2011-06-07 Ulrich Drepper <drepper@gmail.com>
83210
83211 * version.h: Update for 2.15 development version.
83212
83213 2011-06-07 David S. Miller <davem@davemloft.net>
83214
83215 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
83216 ifuncs.
83217 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
83218 elf_machine_lazy_rel): Likewise.
83219 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
83220 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
83221 elf_machine_lazy_rel): Likewise.
83222 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
83223 dl_hwcap via passed in argument.
83224 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
83225 Likewise.
83226
83227 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83228
83229 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
83230
83231 2011-06-06 Roland McGrath <roland@hack.frob.com>
83232
83233 [BZ #12849]
83234 * manual/fdl-1.1.texi: New file, verbatim from:
83235 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
83236 * manual/lgpl-2.1.texi: New file, verbatim from:
83237 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
83238 * manual/Makefile (licenses): New variable, list those new file names.
83239 (texis): Use it.
83240 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
83241
83242 * manual/fdl.texi: File removed.
83243 * manual/lesser.texi: File removed.
83244 * manual/libc.texinfo (Copying, Documentation License):
83245 Use new @include file names, put @appendix directive before @include.
83246
83247 2011-06-04 Jakub Jelinek <jakub@redhat.com>
83248
83249 [BZ #12841]
83250 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
83251 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
83252 (mq_open): Add __NTH.
83253
83254 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
83255
83256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83257 Assume Intel Core i3/i5/i7 processor if AVX is available.
83258
83259 2011-05-31 Ulrich Drepper <drepper@gmail.com>
83260
83261 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83262 typo.
83263
83264 2011-05-31 Andreas Schwab <schwab@redhat.com>
83265
83266 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
83267 memory. Use alloca_account. Fix memory leak when retrying.
83268
83269 2011-05-31 Ulrich Drepper <drepper@gmail.com>
83270
83271 * version.h (RELEASE): Bump for 2.14 release.
83272 * include/features.h (__GLIBC_MINOR__): Bump to 14.
83273
83274 * config.make.in (RANLIB): Remove entry.
83275
83276 2011-05-30 Ulrich Drepper <drepper@gmail.com>
83277
83278 * po/Makefile (po-sed-cmd): Add ksh to extensions.
83279 (libc.pot): Work around missing support for .ksh extension in xgettext.
83280
83281 [BZ #12684]
83282 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
83283 if both request failed.
83284 (send_dg): In case of server errors clear resplen or *resplen2.
83285
83286 [BZ #12454]
83287 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
83288 when there are multiple maps.
83289 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
83290 (_dl_fini): Remove test here.
83291
83292 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
83293
83294 2011-05-29 Ulrich Drepper <drepper@gmail.com>
83295
83296 [BZ #12350]
83297 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
83298 bit from old_res_options.
83299 (gaih_inet): Likewise.
83300
83301 [BZ #11099]
83302 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
83303 as signed.
83304
83305 * resolv/res_init.c (res_setoptions): Make the code more compact.
83306
83307 [BZ #11558]
83308 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
83309 set RES_USEVC.
83310
83311 [BZ #11634]
83312 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
83313
83314 * malloc/malloc.h: Mark malloc hook variables as deprecated.
83315
83316 [BZ #11781]
83317 * malloc/malloc.h: Declare malloc hook variables as volatile.
83318
83319 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
83320 in last patch.
83321
83322 [BZ #11799]
83323 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
83324 raise in the comment.
83325 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83326 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83327 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
83328
83329 2011-05-28 Ulrich Drepper <drepper@gmail.com>
83330
83331 [BZ #12811]
83332 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
83333 grow the buffers more if it already has to be sufficient.
83334 (build_wcs_upper_buffer): Likewise.
83335 * posix/regexec.c (check_matching): Likewise.
83336 (clean_state_log_if_needed): Likewise.
83337 (extend_buffers): Don't enlarge buffers beyond size of the input
83338 buffer.
83339 Patches mostly by Emil Wojak <emil@wojak.eu>.
83340 * posix/bug-regex32.c: New file.
83341 * posix/Makefile (tests): Add bug-regex32.
83342
83343 * locale/findlocale.c (_nl_find_locale): Return right away if
83344 _nl_explode_name failed.
83345 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
83346
83347 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
83348
83349 * debug/xtrace.sh: Unify messages.
83350 * malloc/memusage.sh: Likewise.
83351
83352 [BZ #12813]
83353 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
83354 time symbol from vDSO. Substitute with vsyscall if not available.
83355 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
83356 __vdso_time.
83357
83358 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
83359 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
83360 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
83361 Add sendmmsg and internal_sendmmsg.
83362 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
83363 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
83364 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
83365
83366 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
83367 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
83368 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
83369
83370 2011-05-27 Ulrich Drepper <drepper@gmail.com>
83371
83372 [BZ #12813]
83373 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
83374 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
83375 available.
83376 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
83377 __vdso_getcpu.
83378
83379 [BZ #12814]
83380 * iconvdata/Makefile (tests): Add bug-iconv9.
83381 * iconvdata/bug-iconv9.c: New file.
83382
83383 2011-05-27 Andreas Schwab <schwab@redhat.com>
83384
83385 [BZ #12814]
83386 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
83387
83388 2011-05-25 Jakub Jelinek <jakub@redhat.com>
83389
83390 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83391 (struct user_regs_struct): Change intcs field back to cs.
83392
83393 2011-05-25 Ulrich Drepper <drepper@gmail.com>
83394
83395 * po/ja.po: Update from translation team.
83396
83397 2011-05-23 Ulrich Drepper <drepper@gmail.com>
83398
83399 [BZ #12795]
83400 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
83401 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
83402
83403 2011-05-20 Andreas Schwab <schwab@redhat.com>
83404
83405 * stdlib/longlong.h: Update from GCC.
83406
83407 2011-05-23 Andreas Schwab <schwab@redhat.com>
83408
83409 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
83410 parameter name.
83411 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
83412 Add parameter name.
83413 (__sysconf): Pass it down.
83414
83415 2011-05-22 Ulrich Drepper <drepper@gmail.com>
83416
83417 [BZ #12671]
83418 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
83419 some situations.
83420 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
83421 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
83422 add in in __libc_use_alloca calls. Adjust callers.
83423 (glob): Use malloc in some situations.
83424
83425 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
83426 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
83427 pltexit.
83428
83429 2011-05-21 Ulrich Drepper <drepper@gmail.com>
83430
83431 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
83432 and CLOCK_BOOTTIME_ALARM.
83433
83434 [BZ #12782]
83435 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
83436 is returned.
83437
83438 * string/_strerror.c (__strerror_r): Print negative errors as signed
83439 numbers.
83440
83441 [BZ #12777]
83442 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
83443 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
83444 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
83445
83446 * configure.in: Fix typo in redirection and correct removal of test
83447 files in two cases.
83448
83449 [BZ #12788]
83450 * locale/setlocale.c (new_composite_name): Fix test to check for
83451 identical name of all categories.
83452
83453 [BZ #12792]
83454 * libio/filedoalloc.c (local_isatty): New function.
83455 (_IO_file_doallocate): Use local_isatty.
83456 * stdio-common/perror.c (perror): In case a new stream is used
83457 forward the stream error.
83458 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
83459 error flag.
83460
83461 2011-05-20 Ulrich Drepper <drepper@gmail.com>
83462
83463 [BZ #11884]
83464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
83465 alloca.
83466 * include/alloca.h (extend_alloca_account): Define.
83467
83468 [BZ #11857]
83469 * posix/regex.h: Fix comments with documentation of user-accessible
83470 fields after compilation and describe correct free'ing of pattern
83471 after re_compile_pattern.
83472 Patch by Reuben Thomas <rrt@sc3d.org>.
83473
83474 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
83475
83476 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
83477 and -mno-altivec to prevent the compiler from using Altivec and/or
83478 VSX instructions when the corresponding registers are not available.
83479
83480 2011-05-19 Andreas Schwab <schwab@redhat.com>
83481
83482 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
83483
83484 2011-05-19 Ulrich Drepper <drepper@gmail.com>
83485
83486 * libio/freopen.c (freopen): Use __dup2, not dup2.
83487 * libio/freopen64.c (freopen64): Likewise.
83488
83489 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
83490
83491 [BZ #12775]
83492 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
83493 * math/Makefile (tests): Add test-powl.
83494 (CFLAGS-test-powl.c): Define.
83495 * math/test-powl.c: New file.
83496
83497 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
83498
83499 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
83500
83501 2011-05-17 Ulrich Drepper <drepper@gmail.com>
83502
83503 [BZ #11837]
83504 * iconvdata/gb18030.c: Update to GB18020-2005.
83505
83506 2011-05-16 Ulrich Drepper <drepper@gmail.com>
83507
83508 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
83509 RE_SYNTAX_POSIX_AWK): Update to match recent development.
83510 Patch by Aharon Robbins <arnold@skeeve.com>.
83511
83512 [BZ #11892]
83513 * stdlib/putenv.c (putenv): Don't always create copy of the variable
83514 on the stack.
83515
83516 [BZ #11895]
83517 * misc/pselect.c (__pselect): Handle timeout value errors hidden
83518 through underflows.
83519
83520 [BZ #12766]
83521 * misc/error.c (error_at_line): Ensure file_name and old_file_name
83522 point to strings before performing equality test for error_one_per_line
83523 mode.
83524
83525 [BZ #11697]
83526 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
83527
83528 [BZ #11820]
83529 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83530 (struct user_fpregs_struct): Avoid __uint*_t types.
83531
83532 [BZ #6420]
83533 * malloc/mtrace.c (tr_where): Add additional parameter to point to
83534 symbol info. Use it instead of calling _dl_addr locally.
83535 (lock_and_info): New function.
83536 (tr_freehook): Call lock_and_info and pass symbol info as additional
83537 parameter to tr_where.
83538 (tr_mallochook): Likewise.
83539 (tr_reallochook): Likewise.
83540 (tr_memalignhook): Likewise.
83541
83542 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
83543 used and couldn't be at all thread-safe.
83544
83545 2011-05-15 Ulrich Drepper <drepper@gmail.com>
83546
83547 * libio/freopen.c (freopen): Don't close old file descriptor
83548 before the new one is opened. Instead dup the new file descriptor
83549 to the old one after the new stream is created.
83550 * libio/freopen64.c (freopen64): Likewise.
83551 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
83552 * libio/fileops.c (_IO_new_file_close_it): Handle new
83553 _IO_FLAGS2_NOCLOSE flag.
83554 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
83555 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
83556 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
83557 _IO_FLAGS2_NOCLOSE flag.
83558 * include/unistd.h: Add hidden_proto for dup3.
83559 Define __have_dup3.
83560 * io/dup3.c: Define hidden symbol.
83561 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
83562
83563 [BZ #7101]
83564 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
83565 when an incomplete long option is used.
83566 * posix/tst-getopt_long1.c: New file.
83567 * posix/Makefile (tests): Add tst-getopt_long1.
83568
83569 [BZ #10138]
83570 * scripts/config.guess: Update from autoconf-2.68.
83571 * scripts/config.sub: Likewise.
83572
83573 [BZ #10157]
83574 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
83575 tests into ...
83576 (has_cpuclock): ...this. New function.
83577 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
83578 macro here based on has_cpuclock code.
83579
83580 [BZ #10149]
83581 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83582 First byte (not low byte) is now always NUL.
83583 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
83584
83585 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83586 Use non-cancelable interfaces.
83587
83588 [BZ #9809]
83589 * locale/iso-639.def: Add entry for Sorani.
83590
83591 [BZ #11901]
83592 * include/stdlib.h: Move include protection to the right place.
83593 Define abort_msg_s. Declare __abort_msg with it.
83594 * stdlib/abort.c (__abort_msg): Adjust type.
83595 * assert/assert.c (__assert_fail_base): New function. Majority
83596 of code from __assert_fail. Allocate memory for __abort_msg with
83597 mmap.
83598 (__assert_fail): Now call __assert_fail_base.
83599 * assert/assert-perr.c: Remove bulk of implementation. Use
83600 __assert_fail_base.
83601 * include/assert.hL Declare __assert_fail_base.
83602 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
83603 mmap.
83604 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
83605
83606 2011-05-14 Ulrich Drepper <drepper@gmail.com>
83607
83608 [BZ #11952]
83609 [BZ #12453]
83610 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
83611 until all modules are registered in the DTV.
83612 * elf/Makefile: Add rules to build and run tst-tls19.
83613 * elf/tst-tls19.c: New file.
83614 * elf/tst-tls19mod1.c: New file.
83615 * elf/tst-tls19mod2.c: New file.
83616 * elf/tst-tls19mod3.c: New file.
83617 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
83618
83619 [BZ #12083]
83620 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
83621 correctly.
83622
83623 [BZ #12601]
83624 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
83625 two-byte sequence errors.
83626 * iconvdata/Makefile (tests): Add bug-iconv8.
83627 * iconvdata/bug-iconv8.c: New file.
83628
83629 [BZ #12626]
83630 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
83631 buf2 definition.
83632
83633 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
83634
83635 [BZ #12432]
83636 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
83637 (dummy_getcfa): New function.
83638 (init): Get _Unwind_GetCFA address, use dummy if not found.
83639 (backtrace_helper): In recursion check, also check whether CFA changes.
83640 (__backtrace): Completely initialize arg.
83641
83642 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
83643 storing incomplete byte sequence in state object. Avoid testing for
83644 guaranteed too small input if we know there is enough data available.
83645
83646 2011-05-11 Andreas Schwab <schwab@redhat.com>
83647
83648 * Makeconfig (+link-pie): Indent.
83649 * Rules (binaries-pie): Define if $(have-fpie) and
83650 $(build-shared).
83651 (binaries-shared): Also filter out $(binaries-pie).
83652 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
83653 * nscd/Makefile (others-pie): Add nscd.
83654 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
83655 ($(objpfx)nscd): Remove command override.
83656 * login/Makefile (others-pie): Add pt_chown.
83657 ($(objpfx)pt_chown): Remove command override.
83658 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
83659 remove command overrides.
83660
83661 2011-05-13 Ulrich Drepper <drepper@gmail.com>
83662
83663 * libio/tst_putwc.c: Fix error messages.
83664
83665 [BZ #12724]
83666 * libio/fileops.c (_IO_new_file_close_it): Always flush when
83667 currently writing and seek to current position when not.
83668 * libio/Makefile (tests): Add bug-fclose1.
83669 * libio/bug-fclose1.c: New file.
83670
83671 2011-05-12 Ulrich Drepper <drepper@gmail.com>
83672
83673 [BZ #12511]
83674 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
83675 don't set DF_1_NODELETE here.
83676 (do_lookup_x): When entering new entry test for copy relocation
83677 and if necessary set DF_1_NODELETE flag.
83678 * elf/tst-unique4.cc: New file.
83679 * elf/tst-unique4.h: New file.
83680 * elf/tst-unique4lib.cc: New file.
83681 * elf/Makefile: Add rules to build and run tst-unique4.
83682 Patch by Piotr Bury <pbury@goahead.com>.
83683
83684 2011-05-11 Ulrich Drepper <drepper@gmail.com>
83685
83686 [BZ #12052]
83687 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
83688
83689 [BZ #12625]
83690 * misc/mntent_r.c (addmntent): Flush the stream after the output
83691
83692 [BZ #12393]
83693 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
83694 (is_trusted_path_normalize): Skip initial colon. Append slash
83695 to empty buffer. Duplicate is_trusted_path code but allow
83696 constructed patch to be prefix.
83697 (is_dst): Allow $ORIGIN followed by /.
83698 (_dl_dst_substitute): Correct clearing of check_for_trusted.
83699 Correct testing of result of is_trusted_path_normalize
83700 (decompose_rpath): Fix warning.
83701
83702 2011-05-10 Ulrich Drepper <drepper@gmail.com>
83703
83704 [BZ #11257]
83705 * grp/initgroups.c (internal_getgrouplist): When we found the service
83706 list through the initgroups entry in nsswitch.conf do not always
83707 continue on a successful lookup. Don't always use the
83708 __nss_group_database value if it is set.
83709 * nss/nsswitch.conf (initgroups): Change action for successful db
83710 lookup to continue for compatibility.
83711
83712 2011-05-09 Ulrich Drepper <drepper@gmail.com>
83713
83714 [BZ #11532]
83715 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
83716 and CP774 modules.
83717 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
83718 and CP774 modules.
83719 * iconvdata/tst-tables.sh: Likewise.
83720 * iconvdata/cp770.c: New file.
83721 * iconvdata/cp771.c: New file.
83722 * iconvdata/cp772.c: New file.
83723 * iconvdata/cp773.c: New file.
83724 * iconvdata/cp774.c: New file.
83725 * iconvdata/testdata/CP770: New file.
83726 * iconvdata/testdata/CP770..UTF8: New file.
83727 * iconvdata/testdata/CP771: New file.
83728 * iconvdata/testdata/CP771..UTF8: New file.
83729 * iconvdata/testdata/CP772: New file.
83730 * iconvdata/testdata/CP772..UTF8: New file.
83731 * iconvdata/testdata/CP773: New file.
83732 * iconvdata/testdata/CP773..UTF8: New file.
83733 * iconvdata/testdata/CP774: New file.
83734 * iconvdata/testdata/CP774..UTF8: New file.
83735
83736 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
83737 END CHARMAP line.
83738 * iconvdata/gen-8bit-gap.sh: Likewise.
83739 * iconvdata/gen-8bit.sh: Likewise.
83740
83741 * locale/iso-639.def: Add ary entry.
83742
83743 [BZ #11258]
83744 * locale/C-translit.h.in: Add U20A1 transliteration.
83745
83746 [BZ #12178]
83747 * locale/iso-639.def: Add wae entry.
83748 Patch by Kevin Bortis <bortis@translate-wae.ch>.
83749
83750 [BZ #12545]
83751 * locale/programs/localedef.c (construct_output_path): Use ssize_t
83752 for n.
83753
83754 [BZ #12711]
83755 * locale/C-translit.h.in: Add entry for U20B9.
83756 Patch by pravin.d.s@gmail.com.
83757
83758 2011-05-08 Ulrich Drepper <drepper@gmail.com>
83759
83760 [BZ #12713]
83761 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
83762 ENAMETOOLONG use generic getcwd.
83763 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
83764 in rtld. Use *stat64.
83765 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
83766 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
83767 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
83768 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
83769 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
83770 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
83771 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
83772 __fstatat64 macros.
83773 * include/dirent.h: Add libc_hidden_proto for rewinddir.
83774 * dirent/rewinddir.c: Add libc_hidden_def.
83775 * sysdeps/mach/hurd/rewinddir.c: Likewise.
83776 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
83777
83778 * include/dirent.h (__alloc_dir): Add flags parameter.
83779 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
83780 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
83781 __alloc_dir.
83782 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
83783 from fdopendir if O_CLOEXEC is already set.
83784
83785 2011-03-15 Alan Modra <amodra@gmail.com>
83786
83787 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
83788 l_tls_firstbyte_offset non-zero. Save padding offset in
83789 l_tls_firstbyte_offset for later use.
83790 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
83791 freeing static tls block.
83792
83793 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
83794
83795 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
83796 where #ifdef was intended. The intent is to prevent ARG_MAX from
83797 being defined by the kernel headers.
83798
83799 2011-05-07 Ulrich Drepper <drepper@gmail.com>
83800
83801 [BZ #12734]
83802 * resolv/resolv.h: Define RES_NOTLDQUERY.
83803 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
83804 no-tld-query and set RES_NOTLDQUERY.
83805 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
83806 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
83807 modern BIND to search name as TLD unless forbidden.
83808
83809 2011-05-07 Petr Baudis <pasky@suse.cz>
83810 Ulrich Drepper <drepper@gmail.com>
83811
83812 [BZ #12393]
83813 * elf/dl-load.c (fillin_rpath): Move trusted path check...
83814 (is_trusted_path): ...to here.
83815 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
83816 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
83817 using is_trusted_path_normalize() in setuid scripts.
83818
83819 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
83820
83821 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
83822 __BEGIN/__END_DECLS.
83823
83824 2011-05-06 Ulrich Drepper <drepper@gmail.com>
83825
83826 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
83827 NSS_STATUS_NOTFOUND if no record was found.
83828
83829 2011-05-05 Andreas Schwab <schwab@redhat.com>
83830
83831 * sunrpc/Makefile (headers): Add rpc/netdb.h.
83832 (headers-not-in-tirpc): Remove rpc/netdb.h
83833 * resolv/netdb.h: Revert last change.
83834
83835 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
83836
83837 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
83838 circular dependency between libgcc.a and libc.a.
83839
83840 2011-05-05 Andreas Schwab <schwab@redhat.com>
83841
83842 * resolv/netdb.h: Don't include <rpc/netdb.h>.
83843 * nis/Makefile: Don't install rpcsvc/*.
83844 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
83845 instead of <rpc/types.h>.
83846 (MAXHOSTNAMELEN): Define.
83847
83848 2011-05-03 Andreas Schwab <schwab@redhat.com>
83849
83850 * elf/ldconfig.c (add_dir): Don't crash on empty path.
83851
83852 2011-04-28 Maciej Babinski <mbabinski@google.com>
83853
83854 [BZ #12714]
83855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
83856 gethostbyname4_r when IPv6 results are possible.
83857
83858 2011-05-02 Ulrich Drepper <drepper@gmail.com>
83859
83860 [BZ #12723]
83861 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
83862 _PC_PIPE_BUF handling.
83863
83864 2011-04-30 Bruno Haible <bruno@clisp.org>
83865
83866 [BZ #12717]
83867 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
83868 * resolv/netdb.h (getnameinfo): Change type of flags parameter
83869 to 'int'.
83870 * inet/getnameinfo.c (getnameinfo): Likewise.
83871
83872 2011-04-29 Ulrich Drepper <drepper@gmail.com>
83873
83874 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
83875 to groups setting in database lookup.
83876 * nss/nsswitch.conf: Add initgroups entry.
83877
83878 2011-04-22 Ulrich Drepper <drepper@gmail.com>
83879
83880 [BZ #12685]
83881 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83882 mode string.
83883 Patch by Eric Blake <eblake@redhat.com>.
83884
83885 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
83886
83887 * sunrpc/Makefile (need-export-routines): Add svc_run.
83888 (routines): Remove svc_run.
83889 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83890 * sunrpc/clnt_perr.c (clnt_perrno): Export.
83891 * sunrpc/svc_run.c (svc_run): Likewise.
83892 * sunrpc/svc_udp.c (svcudp_create): Likewise.
83893
83894 2011-04-21 Ulrich Drepper <drepper@gmail.com>
83895
83896 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83897 problem in reallocation in last patch.
83898
83899 2011-04-20 Ulrich Drepper <drepper@gmail.com>
83900
83901 * sunrpc/Makefile: Move inclusion of Rules.
83902
83903 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83904
83905 * nss/nss_files/files-initgroups.c: New file.
83906 * nss/Makefile (libnss_files-routines): Add files-initgroups.
83907 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83908 _nss_files_initgroups_dyn.
83909
83910 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
83911
83912 * elf/elf.h (R_ARM_IRELATIVE): Define.
83913
83914 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83915
83916 * po/ru.po: Update from translation team.
83917
83918 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83919
83920 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83921 dependencies.
83922
83923 2011-02-06 Mike Frysinger <vapier@gentoo.org>
83924
83925 [BZ #12653]
83926 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83927 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83928 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83929 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83930 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83931
83932 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
83933
83934 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83935 differing bytes.
83936 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83937 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83938 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83939
83940 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83941
83942 [BZ #12420]
83943 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83944 storing it.
83945 * stdlib/bug-getcontext.c: New file.
83946 * stdlib/Makefile: Add rules to build and run bug-getcontext.
83947
83948 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83949
83950 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83951 instructions into .machine "z9-109".
83952 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83953 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83954
83955 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83956
83957 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83958 between environment variables and auxiliary vector.
83959
83960 2011-04-16 Ulrich Drepper <drepper@gmail.com>
83961
83962 * Makefile: Add rules to build linkobj/libc.so.
83963 * include/libc-symbols.h: Define libc_hidden_nolink.
83964 * include/rpc/auth.h: Mark functions which are to be hidden.
83965 * include/rpc/auth_des.h: Likewise.
83966 * include/rpc/auth_unix.h: Likewise.
83967 * include/rpc/clnt.h: Likewise.
83968 * include/rpc/des_crypt.h: Likewise.
83969 * include/rpc/key_prot.h: Likewise.
83970 * include/rpc/pmap_clnt.h: Likewise.
83971 * include/rpc/pmap_prot.h: Likewise.
83972 * include/rpc/pmap_rmt.h: Likewise.
83973 * include/rpc/rpc_msg.h: Likewise.
83974 * include/rpc/svc.h: Likewise.
83975 * include/rpc/svc_auth.h: Likewise.
83976 * include/rpc/xdr.h: Likewise.
83977 * nis/Makefile: Link all DSOs against linkobj/libc.so.
83978 * nss/Makefile: Likewise.
83979 * sunrpc/Makefile: Don't install headers. Build library with normal
83980 entry points. Don't build rpcinfo. Link RPC tests appropriately.
83981 * sunrpc/auth_des.c: Hide exported symbols by default, export some
83982 for the compat linking library. Remove use of INTDEF/INTUSE.
83983 * sunrpc/auth_none.c: Likewise.
83984 * sunrpc/auth_unix.c: Likewise.
83985 * sunrpc/authdes_prot.c: Likewise.
83986 * sunrpc/authuxprot.c: Likewise.
83987 * sunrpc/clnt_gen.c: Likewise.
83988 * sunrpc/clnt_perr.c: Likewise.
83989 * sunrpc/clnt_raw.c: Likewise.
83990 * sunrpc/clnt_simp.c: Likewise.
83991 * sunrpc/clnt_tcp.c: Likewise.
83992 * sunrpc/clnt_udp.c: Likewise.
83993 * sunrpc/clnt_unix.c: Likewise.
83994 * sunrpc/des_crypt.c: Likewise.
83995 * sunrpc/des_soft.c: Likewise.
83996 * sunrpc/get_myaddr.c: Likewise.
83997 * sunrpc/key_call.c: Likewise.
83998 * sunrpc/key_prot.c: Likewise.
83999 * sunrpc/netname.c: Likewise.
84000 * sunrpc/pm_getmaps.c: Likewise.
84001 * sunrpc/pm_getport.c: Likewise.
84002 * sunrpc/pmap_clnt.c: Likewise.
84003 * sunrpc/pmap_prot.c: Likewise.
84004 * sunrpc/pmap_prot2.c: Likewise.
84005 * sunrpc/pmap_rmt.c: Likewise.
84006 * sunrpc/publickey.c: Likewise.
84007 * sunrpc/rpc_cmsg.c: Likewise.
84008 * sunrpc/rpc_common.c: Likewise.
84009 * sunrpc/rpc_dtable.c: Likewise.
84010 * sunrpc/rpc_prot.c: Likewise.
84011 * sunrpc/rpc_thread.c: Likewise.
84012 * sunrpc/rtime.c: Likewise.
84013 * sunrpc/svc.c: Likewise.
84014 * sunrpc/svc_auth.c: Likewise.
84015 * sunrpc/svc_authux.c: Likewise.
84016 * sunrpc/svc_raw.c: Likewise.
84017 * sunrpc/svc_run.c: Likewise.
84018 * sunrpc/svc_simple.c: Likewise.
84019 * sunrpc/svc_tcp.c: Likewise.
84020 * sunrpc/svc_udp.c: Likewise.
84021 * sunrpc/svc_unix.c: Likewise.
84022 * sunrpc/svcauth_des.c: Likewise.
84023 * sunrpc/xcrypt.c: Likewise.
84024 * sunrpc/xdr.c: Likewise.
84025 * sunrpc/xdr_array.c: Likewise.
84026 * sunrpc/xdr_float.c: Likewise.
84027 * sunrpc/xdr_intXX_t.c: Likewise.
84028 * sunrpc/xdr_mem.c: Likewise.
84029 * sunrpc/xdr_rec.c: Likewise.
84030 * sunrpc/xdr_ref.c: Likewise.
84031 * sunrpc/xdr_sizeof.c: Likewise.
84032 * sunrpc/xdr_stdio.c: Likewise.
84033
84034 2011-04-10 Ulrich Drepper <drepper@gmail.com>
84035
84036 [BZ #12650]
84037 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
84038 * sysdeps/ia64/dl-tls.h: Likewise.
84039 * sysdeps/powerpc/dl-tls.h: Likewise.
84040 * sysdeps/s390/dl-tls.h: Likewise.
84041 * sysdeps/sh/dl-tls.h: Likewise.
84042 * sysdeps/sparc/dl-tls.h: Likewise.
84043 * sysdeps/x86_64/dl-tls.h: Likewise.
84044 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
84045
84046 2011-03-14 Andreas Schwab <schwab@redhat.com>
84047
84048 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
84049 rpath element also skip the following colon.
84050 (expand_dynamic_string_token): Add is_path parameter and pass
84051 down to DL_DST_REQUIRED and _dl_dst_substitute.
84052 (decompose_rpath): Call expand_dynamic_string_token with
84053 non-zero is_path. Ignore empty rpaths.
84054 (_dl_map_object_from_fd): Call expand_dynamic_string_token
84055 with zero is_path.
84056
84057 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
84058
84059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
84060 Make cancelable.
84061
84062 2011-04-09 Ulrich Drepper <drepper@gmail.com>
84063
84064 [BZ #12655]
84065 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
84066 Patch by Filipe David Manana <fdmanana@apache.org>.
84067
84068 2011-04-07 Andreas Schwab <schwab@redhat.com>
84069
84070 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
84071 Maintain aligned stack.
84072 (CHECK_RSP): Remove unused macro.
84073
84074 2011-04-03 Ulrich Drepper <drepper@gmail.com>
84075
84076 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
84077 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
84078
84079 2011-04-02 Ulrich Drepper <drepper@gmail.com>
84080
84081 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
84082
84083 * include/features.h: Mention __USE_XOPEN2K8 in comment.
84084
84085 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
84086
84087 [BZ #12518]
84088 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
84089 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
84090 * sysdeps/x86_64/memmove.c: New file.
84091 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
84092 (memcpy): Renamed to ...
84093 (__new_memcpy): This.
84094 (memcpy): Provide GLIBC_2_14 memcpy.
84095 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
84096 (memcpy): Provide GLIBC_2_2_5 memcpy.
84097
84098 2011-04-01 Ulrich Drepper <drepper@gmail.com>
84099
84100 [BZ #12631]
84101 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
84102
84103 2011-03-30 Andreas Schwab <schwab@redhat.com>
84104
84105 * misc/syncfs.c: New file.
84106 * misc/Makefile (routines): Add syncfs.
84107 * posix/unistd.h: Declare syncfs.
84108 * sysdeps/unix/syscalls.list: Add syncfs.
84109
84110 2011-04-01 Andreas Schwab <schwab@redhat.com>
84111
84112 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
84113 open_by_handle_at.
84114 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
84115 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84116 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84117 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84118 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84119 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
84120 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84121
84122 2011-04-01 Ulrich Drepper <drepper@gmail.com>
84123
84124 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
84125 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84126 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
84127 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84128 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84129 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84130 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84131
84132 * io/Makefile: Compile fallocate.c, fallocate64.c, and
84133 sync_file_range.c with -fexceptions.
84134 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
84135 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
84136 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
84137 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
84138 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
84139 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
84140 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
84141 sync_file_range as cancellation point
84142 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
84143 now a wrapper around __call_sync_file_range with cancellation handling.
84144 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
84145 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
84146 function name to __call_sync_file_range.
84147 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
84148 Add call_sync_file_range.
84149
84150 2011-04-01 Andreas Schwab <schwab@redhat.com>
84151
84152 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84153 bits/timex.h.
84154
84155 2011-04-01 Ulrich Drepper <drepper@gmail.com>
84156
84157 * iconv/iconv.h: Fix typo in comment.
84158 * io/fcntl.h: Likewise.
84159 * libio/stdio.h: Likewise.
84160 * posix/spawn.h: Likewise.
84161 * posix/unistd.h: Likewise.
84162 * stdlib/stdlib.h: Likewise.
84163 * time/time.h: Likewise.
84164 * wcsmbs/wchar.h: Likewise.
84165
84166 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
84167 open_by_handle): Add.
84168 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
84169 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
84170 Augment a few comments.
84171 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84172 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84173 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84175 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84176 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
84177 open_by_handle.
84178
84179 * io/fcntl.h (AT_EMPTY_PATH): Define.
84180
84181 2011-03-30 Ulrich Drepper <drepper@gmail.com>
84182
84183 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
84184 * sysdeps/unix/sysv/linux/bits/time.h: New file.
84185 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
84186 to...
84187 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
84188 * Versions.def: Add GLIBC_2.14.
84189 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
84190 Export.
84191
84192 2011-03-22 Ulrich Drepper <drepper@gmail.com>
84193
84194 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
84195 round counter.
84196 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84197
84198 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
84199
84200 [BZ #12597]
84201 * string/test-strncmp.c (do_page_test): New function.
84202 (check2): Likewise.
84203 (test_main): Call check2.
84204 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
84205
84206 2011-03-20 Ulrich Drepper <drepper@gmail.com>
84207
84208 [BZ #12587]
84209 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
84210 Handle cache information in CPU leaf 4.
84211 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84212
84213 2011-03-18 Ulrich Drepper <drepper@gmail.com>
84214
84215 [BZ #12583]
84216 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
84217 character representation.
84218 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
84219
84220 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
84221
84222 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
84223 END(__isnan) to END(__isnanf) to match function entry point/label
84224 EALIGN(__isnanf,...).
84225
84226 2011-03-10 Jakub Jelinek <jakub@redhat.com>
84227
84228 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
84229
84230 2011-03-10 Ulrich Drepper <drepper@gmail.com>
84231
84232 [BZ #12510]
84233 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
84234 copy from the symbol referenced in the relocation to initialize the
84235 used variable.
84236 Patch by Piotr Bury <pbury@goahead.com>.
84237 * elf/Makefile: Add rules to build and tst-unique3.
84238 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
84239 * elf/tst-unique3.cc: New file.
84240 * elf/tst-unique3.h: New file.
84241 * elf/tst-unique3lib.cc: New file.
84242 * elf/tst-unique3lib2.cc: New file.
84243
84244 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
84245
84246 2011-03-10 Mike Frysinger <vapier@gentoo.org>
84247
84248 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
84249 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
84250 to _start.
84251
84252 2011-03-06 Ulrich Drepper <drepper@gmail.com>
84253
84254 * elf/dl-load.c (_dl_map_object): If we are looking for the first
84255 to-be-loaded object along a path to loader is ld.so.
84256
84257 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
84258 Ulrich Drepper <drepper@gmail.com>
84259
84260 * sysdeps/x86_64/memset.S: After aligning destination, code
84261 branches to different locations depending on the value of
84262 misalignment, when multiarch is enabled. Fix this.
84263
84264 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
84265
84266 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
84267 Set _x86_64_preferred_memory_instruction for AMD processsors.
84268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84269 Set bit_Prefer_SSE_for_memop for AMD processors.
84270
84271 2011-03-04 Ulrich Drepper <drepper@gmail.com>
84272
84273 * libio/fmemopen.c (fmemopen): Optimize a bit.
84274
84275 2011-03-03 Andreas Schwab <schwab@redhat.com>
84276
84277 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
84278
84279 2011-03-03 Roland McGrath <roland@redhat.com>
84280
84281 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
84282
84283 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
84284
84285 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
84286 __bzero_ultra1 instead of __memset_ultra1.
84287
84288 2011-02-23 Andreas Schwab <schwab@redhat.com>
84289 Ulrich Drepper <drepper@gmail.com>
84290
84291 [BZ #12509]
84292 * include/link.h (struct link_map): Add l_orig_initfini.
84293 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
84294 returning unsuccessfully.
84295 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
84296 close of a file loaded at startup, restore the original l_initfini
84297 list.
84298 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
84299 list, store the pointer.
84300 * elf/Makefile ($(objpfx)noload-mem): New rule.
84301 (noload-ENV): Define.
84302 (tests): Add $(objpfx)noload-mem.
84303 * elf/noload.c: Include <memcheck.h>.
84304 (main): Call mtrace. Close all opened handles.
84305
84306 2011-02-17 Andreas Schwab <schwab@redhat.com>
84307
84308 [BZ #12454]
84309 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
84310 dependencies are missing.
84311
84312 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
84313
84314 Fix __if_freereq crash: Unlike the generic version which uses free,
84315 Hurd needs munmap.
84316 * sysdeps/mach/hurd/ifreq.h: New file.
84317
84318 2011-01-27 Petr Baudis <pasky@suse.cz>
84319 Ulrich Drepper <drepper@gmail.com>
84320
84321 [BZ 12445]#
84322 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
84323 to extend_alloca().
84324 * stdio-common/bug23.c: New file.
84325 * stdio-common/Makefile (tests): Add bug23.
84326
84327 2010-09-28 Andreas Schwab <schwab@redhat.com>
84328 Ulrich Drepper <drepper@gmail.com>
84329
84330 [BZ #12489]
84331 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
84332 before performing relro protection. At old place add assertion
84333 to make sure nothing changed.
84334
84335 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
84336 Glauber de Oliveira Costa <glommer@gmail.com>
84337
84338 * elf/elf.h: Add new ARM TLS relocs.
84339
84340 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
84341
84342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
84343 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
84344 cast from r3.
84345 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
84346 'tests' variable.
84347 * sysdeps/wordsize-64/tst-writev.c: New file.
84348
84349 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
84350
84351 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
84352 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
84353 insns in _dl_start to prevent a TOC reference before relocs are
84354 resolved.
84355
84356 2011-02-15 Ulrich Drepper <drepper@gmail.com>
84357
84358 [BZ #12469]
84359 * Makeconfig: Remove RANLIB definition.
84360 * Makerules: Don't use RANLIB.
84361 * aclocal.m4: Remove ranlib test.
84362 * configure.in: No need to check for ranlib.
84363 * elf/rtld-Rules: Don't use RANLIB.
84364
84365 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
84366
84367 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
84368 protection macro.
84369 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
84370 inclusion protection macro.
84371
84372 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
84373 SIGRTMIN and SIGRTMAX and print information in that case only when
84374 SIGRTMIN is defined.
84375
84376 2011-02-11 Jakub Jelinek <jakub@redhat.com>
84377
84378 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
84379 arginfo fn returning -1.
84380
84381 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
84382 and thousands string is zero terminated.
84383
84384 2011-02-03 Andreas Schwab <schwab@redhat.com>
84385
84386 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
84387 sysdeps/unix/sysv/linux/bits/socket.h.
84388
84389 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
84390
84391 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
84392 (__CPU_COUNT): Remove old macros.
84393 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
84394 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
84395 (__CPU_ALLOC, __CPU_FREE): Add macros.
84396 (__sched_cpualloc, __sched_cpufree): Add declarations.
84397
84398 2011-02-05 Ulrich Drepper <drepper@gmail.com>
84399
84400 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
84401 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
84402 * nscd/aicache.c (addhstaiX): Return timeout of added value.
84403 (readdhstai): Return value of addhstaiX call.
84404 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
84405 (addgrbyX): Return value returned by cache_addgr.
84406 (readdgrbyname): Return value returned by addgrbyX.
84407 (readdgrbygid): Likewise.
84408 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
84409 (addpwbyX): Return value returned by cache_addpw.
84410 (readdpwbyname): Return value returned by addhstbyX.
84411 (readdpwbyuid): Likewise.
84412 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
84413 (addservbyX): Return value returned by cache_addserv.
84414 (readdservbyname): Return value returned by addservbyX:
84415 (readdservbyport): Likewise.
84416 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
84417 (addhstbyX): Return value returned by cache_addhst.
84418 (readdhstbyname): Return value returned by addhstbyX.
84419 (readdhstbyaddr): Likewise.
84420 (readdhstbynamev6): Likewise.
84421 (readdhstbyaddrv6): Likewise.
84422 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
84423 (readdinitgroups): Return value returned by addinitgroupsX.
84424 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
84425 (prune_cache): Keep track of timeout value of re-added entries.
84426 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
84427 * nscd/nscd.h: Adjust prototypes of readd* functions.
84428
84429 2011-02-04 Roland McGrath <roland@redhat.com>
84430
84431 * nis/nis_server.c (nis_servstate): Use the right name for 0.
84432 (nis_stats): Likewise.
84433 * nis/nis_modify.c (nis_modify): Likewise.
84434 * nis/nis_remove.c (nis_remove): Likewise.
84435 * nis/nis_add.c (nis_add): Likewise.
84436
84437 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
84438
84439 * posix/fnmatch_loop.c: Add some consts.
84440
84441 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
84442
84443 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
84444
84445 [BZ #12460]
84446 * config.make.in (config-cflags-novzeroupper): Define.
84447 * configure.in: Substitute libc_cv_cc_novzeroupper.
84448 * elf/Makefile (AVX-CFLAGS): Define.
84449 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
84450 (CFLAGS-tst-auditmod4a.c): Likewise.
84451 (CFLAGS-tst-auditmod4b.c): Likewise.
84452 (CFLAGS-tst-auditmod6b.c): Likewise.
84453 (CFLAGS-tst-auditmod6c.c): Likewise.
84454 (CFLAGS-tst-auditmod7b.c): Likewise.
84455 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
84456
84457 2011-02-02 Ulrich Drepper <drepper@gmail.com>
84458
84459 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
84460 function to the callback.
84461 Patch partly by Jiri Olsa <jolsa@redhat.com>.
84462
84463 2011-02-02 Andreas Schwab <schwab@redhat.com>
84464
84465 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
84466 of errno.
84467
84468 2011-01-19 Ulrich Drepper <drepper@gmail.com>
84469
84470 [BZ #11724]
84471 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
84472 of constructors.
84473 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
84474 of destructors.
84475 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
84476
84477 [BZ #11724]
84478 * elf/Makefile: Add rules to build and run new test.
84479 * elf/tst-initorder.c: New file.
84480 * elf/tst-initorder.exp: New file.
84481 * elf/tst-initordera1.c: New file.
84482 * elf/tst-initordera2.c: New file.
84483 * elf/tst-initordera3.c: New file.
84484 * elf/tst-initordera4.c: New file.
84485 * elf/tst-initorderb1.c: New file.
84486 * elf/tst-initorderb2.c: New file.
84487 * elf/tst-order-a1.c: New file.
84488 * elf/tst-order-a2.c: New file.
84489 * elf/tst-order-a3.c: New file.
84490 * elf/tst-order-a4.c: New file.
84491 * elf/tst-order-b1.c: New file.
84492 * elf/tst-order-b2.c: New file.
84493 * elf/tst-order-main.c: New file.
84494 New test case by George Gensure <werkt0@gmail.com>.
84495
84496 2010-10-01 Andreas Schwab <schwab@redhat.com>
84497
84498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84499 decoding ACE if AI_CANONIDN.
84500
84501 2011-01-18 Ulrich Drepper <drepper@gmail.com>
84502
84503 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
84504
84505 2011-01-17 Ulrich Drepper <drepper@gmail.com>
84506
84507 * version.h (RELEASE): Bump for 2.13 release.
84508 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
84509
84510 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
84511
84512 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
84513 MADV_NOHUGEPAGE.
84514 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
84515 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
84516 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84517 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84518 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84519 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84520
84521 * posix/getconf.c: Update copyright year.
84522 * catgets/gencat.c: Likewise.
84523 * csu/version.c: Likewise.
84524 * debug/catchsegv.sh: Likewise.
84525 * debug/xtrace.sh: Likewise.
84526 * elf/ldconfig.c: Likewise.
84527 * elf/ldd.bash.in: Likewise.
84528 * elf/sprof.c (print_version): Likewise.
84529 * iconv/iconv_prog.c: Likewise.
84530 * iconv/iconvconfig.c: Likewise.
84531 * locale/programs/locale.c: Likewise.
84532 * locale/programs/localedef.c: Likewise.
84533 * malloc/memusage.sh: Likewise.
84534 * malloc/mtrace.pl: Likewise.
84535 * nscd/nscd.c (print_version): Likewise.
84536 * nss/getent.c: Likewise.
84537
84538 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
84539 PF_CAIF, and PF_ALG.
84540 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84541
84542 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
84543
84544 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
84545 (modules-names): Use them.
84546 (ifunc-test-modules, ifunc-pie-tests): Define.
84547 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
84548 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
84549 (test-extras): Likewise.
84550 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
84551 $(compile-command.c).
84552 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
84553 (all-built-dso): Define.
84554 (check-textrel.out, check-execstack.out): Depend on it.
84555
84556 * configure.in: Don't override --enable-multi-arch.
84557
84558 2011-01-15 Ulrich Drepper <drepper@gmail.com>
84559
84560 [BZ #6812]
84561 * nscd/hstcache.c (tryagain): Define.
84562 (cache_addhst): Return tryagain not notfound for temporary errors.
84563 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
84564 failed.
84565
84566 2011-01-14 Ulrich Drepper <drepper@gmail.com>
84567
84568 [BZ #10563]
84569 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
84570 to make the syscall.
84571 * sysdeps/unix/sysv/linux/setgroups.c: New file.
84572
84573 [BZ #12378]
84574 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
84575 and fall back to matching as normal character if the string ends before
84576 the matching ']' is found. This is what POSIX requires.
84577 * posix/testfnm.c: Adjust test result.
84578 * posix/globtest.sh: Adjust test result. Add new test.
84579 * posix/tst-fnmatch.input: Likewise.
84580 * posix/tst-fnmatch2.c: Add new test.
84581
84582 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
84583
84584 * elf/Makefile (check-execstack): Revert last change. Depend on
84585 check-execstack.h.
84586 (check-execstack.h): New target.
84587 (generated): Add check-execstack.h.
84588 * elf/check-execstack.c: Include "check-execstack.h".
84589 (main): Revert last change.
84590 (handle_file): Return zero if GNU_STACK is absent and
84591 DEFAULT_STACK_PERMS doesn't include PF_X.
84592
84593 2011-01-13 Ulrich Drepper <drepper@gmail.com>
84594
84595 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
84596 in child fails because the descriptor is already closed.
84597 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
84598 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
84599 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
84600
84601 [BZ #12397]
84602 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
84603 syscall.
84604
84605 [BZ #10484]
84606 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
84607 temporary buffer used to handle multi lookups locally.
84608 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
84609
84610 2011-01-12 Ulrich Drepper <drepper@gmail.com>
84611
84612 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
84613 loader is ld.so.
84614
84615 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
84616
84617 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
84618 alignment for SSE2.
84619
84620 2011-01-12 Ulrich Drepper <drepper@gmail.com>
84621
84622 [BZ #12394]
84623 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
84624 characters. When rounding increased number of integer digits recompute
84625 number of groups.
84626 * stdio-common/tst-grouping.c: New file.
84627 * stdio-common/Makefile: Add rules to build and run tst-grouping.
84628
84629 2011-01-09 Ulrich Drepper <drepper@gmail.com>
84630
84631 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
84632 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
84633
84634 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
84635 void.
84636 * bits/select.h: Likewise.
84637
84638 2011-01-08 Ulrich Drepper <drepper@gmail.com>
84639
84640 * po/ja.po: Update from translation team.
84641
84642 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
84643
84644 [BZ #11155]
84645 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
84646 implementation just like for lxstat, fxstatat, et al.
84647
84648 2010-12-27 Jim Meyering <meyering@redhat.com>
84649
84650 [BZ #12348]
84651 * posix/regexec.c (build_trtable): Return failure indication upon
84652 calloc failure. Otherwise, re_search_internal could infloop on OOM.
84653
84654 2010-12-25 Ulrich Drepper <drepper@gmail.com>
84655
84656 [BZ #12201]
84657 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
84658 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
84659 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
84660 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
84661
84662 [BZ #12207]
84663 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
84664
84665 [BZ #12204]
84666 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
84667 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
84668
84669 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
84670
84671 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
84672 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
84673 script has SORT_BY_INIT_PRIORITY.
84674 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
84675 NO_CTORS_DTORS_SECTIONS is defined.
84676 * elf/soinit.c: Likewise.
84677 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
84678 NO_CTORS_DTORS_SECTIONS is defined.
84679 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
84680 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
84681 * sysdeps/sh/init-first.c: Likewise.
84682 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
84683
84684 2010-12-24 Ulrich Drepper <drepper@gmail.com>
84685
84686 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
84687 always use the slow path.
84688
84689 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
84690
84691 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
84692 similar rule which adds the sysdep directories to the header search in
84693 order to pick up the correct platform stackinfo.h.
84694 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
84695 perform test if it is, otherwise return successfully without testing.
84696 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
84697 DEFAULT_STACK_PERMS define in stackinfo.h.
84698 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
84699 defined in stackinfo.h.
84700 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
84701 DEFAULT_STACK_PERMS defined in stackinfo.h.
84702 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
84703 * sysdeps/ia64/stackinfo.h: Likewise.
84704 * sysdeps/s390/stackinfo.h: Likewise.
84705 * sysdeps/sh/stackinfo.h: Likewise.
84706 * sysdeps/sparc/stackinfo.h: Likewise.
84707 * sysdeps/x86_64/stackinfo.h: Likewise.
84708 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
84709 PF_X for powerpc64. Retain PF_X for powerpc32.
84710
84711 2010-12-19 Ulrich Drepper <drepper@gmail.com>
84712
84713 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
84714 accurately.
84715 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
84716 GETDENTS_64BIT_ALIGNED.
84717
84718 2010-12-14 Ulrich Drepper <dreper@gmail.com>
84719
84720 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
84721
84722 2010-12-10 Andreas Schwab <schwab@redhat.com>
84723
84724 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
84725 _GNU_SOURCE.
84726
84727 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
84728 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
84729 Remove __restrict.
84730 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
84731 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
84732
84733 2010-12-09 Ulrich Drepper <drepper@gmail.com>
84734
84735 [BZ #11655]
84736 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
84737 are initialized.
84738
84739 2010-12-09 Jakub Jelinek <jakub@redhat.com>
84740
84741 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
84742
84743 2010-12-03 Ulrich Drepper <drepper@gmail.com>
84744
84745 * po/it.po: Update from translation team.
84746
84747 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
84748
84749 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
84750 unused codes.
84751
84752 2010-11-30 Ulrich Drepper <drepper@gmail.com>
84753
84754 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
84755
84756 2010-11-24 Andreas Schwab <schwab@redhat.com>
84757
84758 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
84759 specially.
84760 (gaih_getanswer_slice): Likewise.
84761
84762 2010-10-20 Jakub Jelinek <jakub@redhat.com>
84763
84764 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
84765
84766 2010-05-31 Petr Baudis <pasky@suse.cz>
84767
84768 [BZ #11149]
84769 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
84770 silently even in the chroot mode.
84771
84772 2010-11-22 Ulrich Drepper <drepper@gmail.com>
84773
84774 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
84775 last patch a bit. Pretty printing
84776
84777 2010-05-31 Petr Baudis <pasky@suse.cz>
84778
84779 [BZ #10085]
84780 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
84781 initialization of skip_initgroups_dyn.
84782
84783 2010-11-19 Ulrich Drepper <drepper@gmail.com>
84784
84785 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
84786 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84787
84788 2010-11-16 Ulrich Drepper <drepper@gmail.com>
84789
84790 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
84791
84792 2010-11-11 Andreas Schwab <schwab@redhat.com>
84793
84794 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
84795 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
84796 (tst-fnmatch-ENV): Set MALLOC_TRACE.
84797 ($(objpfx)tst-fnmatch-mem): New rule.
84798 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
84799 * posix/tst-fnmatch.c (main): Call mtrace.
84800
84801 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
84802
84803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84804 Support Intel processor model 6 and model 0x2c.
84805
84806 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
84807
84808 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
84809 signed comparison.
84810
84811 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
84812
84813 [BZ #12205]
84814 * string/test-strncasecmp.c (check_result): New function.
84815 (do_one_test): Use it.
84816 (check1): New function.
84817 (test_main): Use it.
84818 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
84819 Support strcasecmp and strncasecmp.
84820
84821 2010-11-08 Ulrich Drepper <drepper@gmail.com>
84822
84823 [BZ #12194]
84824 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
84825 * sysdeps/x86_64/bits/byteswap.h: Likewise.
84826
84827 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
84828
84829 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
84830 IFUNC support.
84831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84832 memset-x86-64.
84833 * sysdeps/x86_64/multiarch/bzero.S: New file.
84834 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
84835 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
84836 * sysdeps/x86_64/multiarch/memset.S: New file.
84837 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
84838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84839 Set bit_Prefer_SSE_for_memop for Intel processors.
84840 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
84841 Define.
84842 (index_Prefer_SSE_for_memop): Define.
84843 (HAS_PREFER_SSE_FOR_MEMOP): Define.
84844
84845 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
84846
84847 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
84848 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
84849
84850 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
84851
84852 [BZ #12191]
84853 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84854 (__x86_64_raw_data_cache_size_half): Likewise.
84855 (__x86_64_raw_shared_cache_size): Likewise.
84856 (__x86_64_raw_shared_cache_size_half): Likewise.
84857
84858 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84859 (__x86_64_raw_data_cache_size_half): Likewise.
84860 (__x86_64_raw_shared_cache_size): Likewise.
84861 (__x86_64_raw_shared_cache_size_half): Likewise.
84862 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
84863 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
84864 and __x86_64_raw_shared_cache_size_half. Round
84865 __x86_64_data_cache_size_half, __x86_64_data_cache_size
84866 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
84867 to multiple of 256 bytes.
84868
84869 2010-11-03 Ulrich Drepper <drepper@gmail.com>
84870
84871 [BZ #12167]
84872 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
84873 of inacessible symlinks. Verify result of symlink before returning it.
84874 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
84875 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
84876
84877 2010-10-28 Erich Ritz <erichritz@gmail.com>
84878
84879 * math/math.h (isinf): Fix typo in comment.
84880
84881 2010-11-01 Ulrich Drepper <drepper@gmail.com>
84882
84883 * po/da.po: Update from translation team.
84884
84885 2010-10-26 Ulrich Drepper <drepper@gmail.com>
84886
84887 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84888 is added to the list.
84889
84890 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84891 Ulrich Drepper <drepper@gmail.com>
84892
84893 * elf/dl-object.c (_dl_new_object): Don't append the new object to
84894 the global list here. Move code to...
84895 (_dl_add_to_namespace_list): ...here. New function.
84896 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84897 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84898 * elf/dl-load.c (lose): Don't remove the element from the list.
84899 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84900 (_dl_map_object): Likewise.
84901
84902 2010-10-25 Ulrich Drepper <drepper@gmail.com>
84903
84904 [BZ #12159]
84905 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84906 into all bytes of SSE register.
84907 Patch by Richard Li <richardpku@gmail.com>.
84908
84909 2010-10-24 Ulrich Drepper <drepper@gmail.com>
84910
84911 [BZ #12140]
84912 * malloc/malloc.c (_int_free): Fill correct number of bytes when
84913 perturbing.
84914
84915 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
84916
84917 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84918 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84919 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84920 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84922 submachine.
84923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84924
84925 2010-10-22 Andreas Schwab <schwab@redhat.com>
84926
84927 * include/dlfcn.h (__RTLD_SECURE): Define.
84928 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
84929 mode & __RTLD_SECURE instead.
84930 (open_path): Rename preloaded parameter to secure.
84931 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84932 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84933 * elf/dl-deps.c (openaux): Likewise.
84934 * elf/rtld.c (struct map_args): Remove is_preloaded.
84935 (map_doit): Don't use it.
84936 (dl_main): Likewise.
84937 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84938 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84939
84940 2010-09-09 Andreas Schwab <schwab@redhat.com>
84941
84942 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84943 (sysd-rules-targets): Remove duplicates.
84944 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84945 rtld-%.$o dependency.
84946
84947 2010-10-18 Andreas Schwab <schwab@redhat.com>
84948
84949 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84950 _dl_map_object do it.
84951
84952 2010-10-19 Ulrich Drepper <drepper@gmail.com>
84953
84954 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84955 fast fma builtins, define the macros in the C99 standard.
84956 (FP_FAST_FMAF): Likewise.
84957 (FP_FAST_FMAL): Likewise.
84958 * sysdeps/x86_64/bits/mathdef.h: Likewise.
84959
84960 * bits/mathdef.h: Update copyright year.
84961 * sysdeps/powerpc/bits/mathdef.h: Likewise.
84962
84963 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
84964
84965 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84966 builtins, define the macros in the C99 standard.
84967 (FP_FAST_FMAF): Likewise.
84968 (FP_FAST_FMAL): Likewise.
84969 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84970 multiply/add.
84971 (FP_FAST_FMAF): Likewise.
84972
84973 2010-10-15 Jakub Jelinek <jakub@redhat.com>
84974
84975 [BZ #3268]
84976 * math/libm-test.inc (fma_test): Some new testcases.
84977 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84978 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84979 y and infinite z. Do multiplication by C already in long double.
84980 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84981 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84982 y and infinite z. Do bitwise or of inexact bit into u.d.
84983 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84984 * sysdeps/i386/fpu/s_fmaf.S: Removed.
84985 * sysdeps/i386/fpu/s_fma.S: Removed.
84986 * sysdeps/i386/fpu/s_fmal.S: Removed.
84987
84988 2010-10-16 Jakub Jelinek <jakub@redhat.com>
84989
84990 [BZ #3268]
84991 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84992 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84993 computation is not scheduled after fetestexcept. Fix value
84994 of minimum denormal long double.
84995
84996 2010-10-14 Jakub Jelinek <jakub@redhat.com>
84997
84998 [BZ #3268]
84999 * math/libm-test.inc (fma_test): Add some more tests.
85000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
85001 correctly.
85002
85003 2010-10-15 Andreas Schwab <schwab@redhat.com>
85004
85005 * scripts/data/localplt-s390-linux-gnu.data: New file.
85006 * scripts/data/localplt-s390x-linux-gnu.data: New file.
85007
85008 2010-10-13 Jakub Jelinek <jakub@redhat.com>
85009
85010 [BZ #3268]
85011 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
85012 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
85013 instead of dbl-64.
85014 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
85015 inlines.
85016 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
85017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
85018 if one of x and y is very large and the other is subnormal.
85019 * sysdeps/s390/fpu/s_fmaf.c: New file.
85020 * sysdeps/s390/fpu/s_fma.c: New file.
85021 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
85022 * sysdeps/powerpc/fpu/s_fma.S: New file.
85023 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
85024 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
85025 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
85026
85027 2010-10-12 Jakub Jelinek <jakub@redhat.com>
85028
85029 [BZ #3268]
85030 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
85031 fma tests.
85032 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
85033 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
85034 * sysdeps/i386/i686/multiarch/s_fma.c: Include
85035 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
85036 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
85037 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
85038 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
85039
85040 2010-10-12 Ulrich Drepper <drepper@redhat.com>
85041
85042 [BZ #12078]
85043 * posix/regcomp.c (parse_branch): One more memory leak plugged.
85044 * posix/bug-regex31.input: Add test case.
85045
85046 2010-10-11 Ulrich Drepper <drepper@gmail.com>
85047
85048 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
85049 * posix/bug-regex31.input: New file.
85050
85051 [BZ #12078]
85052 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
85053 (parse_sub_exp): Fix last change, use postorder.
85054
85055 * posix/bug-regex31.c: New file.
85056 * posix/Makefile: Add rules to build and run bug-regex31.
85057
85058 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
85059
85060 [BZ #12078]
85061 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
85062
85063 [BZ #12108]
85064 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
85065 to have entries in sys_siglist.
85066
85067 [BZ #12093]
85068 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
85069 be NULL.
85070
85071 2010-10-07 Jakub Jelinek <jakub@redhat.com>
85072
85073 [BZ #3268]
85074 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
85075 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
85076 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
85077 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
85078 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
85079 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
85080 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
85081 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
85082 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
85083 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
85084 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
85085 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
85086 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
85087 * math/ftestexcept.c (fetestexcept): Likewise.
85088 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
85089 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
85090 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
85091 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
85092 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
85093 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
85094 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
85095
85096 2010-10-11 Ulrich Drepper <drepper@gmail.com>
85097
85098 [BZ #12107]
85099 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
85100 newline.
85101
85102 2010-10-06 Ulrich Drepper <drepper@gmail.com>
85103
85104 * string/bug-strstr1.c: New file.
85105 * string/Makefile: Add rules to build and run bug-strstr1.
85106
85107 2010-10-05 Eric Blake <eblake@redhat.com>
85108
85109 [BZ #12092]
85110 * string/str-two-way.h (two_way_long_needle): Always clear memory
85111 when skipping input due to the shift table.
85112
85113 2010-10-03 Ulrich Drepper <drepper@gmail.com>
85114
85115 [BZ #12005]
85116 * malloc/mcheck.c: Handle large requests.
85117
85118 [BZ #12077]
85119 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
85120 for strncmp and strncasecmp.
85121 * string/stratcliff.c: Add tests for strcmp and strncmp.
85122 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
85123
85124 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85125
85126 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
85127 __set_fpscr.
85128
85129 2010-09-30 Andreas Jaeger <aj@suse.de>
85130
85131 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
85132 (CGROUP_SUPER_MAGIC): Define.
85133 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85134 Handle btrfs and cgroup file systems.
85135 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
85136 Likewise.
85137
85138 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
85139
85140 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
85141 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
85142
85143 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
85144
85145 [BZ #12067]
85146 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
85147 trying to locate the ELF header.
85148
85149 2010-09-27 Andreas Schwab <schwab@redhat.com>
85150
85151 [BZ #11611]
85152 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
85153 Mask out sign-bit copies when constructing f_fsid.
85154
85155 2010-09-24 Petr Baudis <pasky@suse.cz>
85156
85157 * debug/stack_chk_fail_local.c: Add missing licence exception.
85158 * debug/warning-nop.c: Likewise.
85159
85160 2010-09-15 Joseph Myers <joseph@codesourcery.com>
85161
85162 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
85163 implementing getdents64 using getdents syscall, set d_type if
85164 __ASSUME_GETDENTS32_D_TYPE.
85165
85166 2010-09-16 Andreas Schwab <schwab@redhat.com>
85167
85168 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
85169 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
85170
85171 2010-09-21 Ulrich Drepper <drepper@redhat.com>
85172
85173 [BZ #12037]
85174 * posix/unistd.h: Undo change of feature selection for ftruncate from
85175 2010-01-11.
85176
85177 2010-09-20 Ulrich Drepper <drepper@redhat.com>
85178
85179 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
85180 detection.
85181
85182 2010-09-20 Andreas Schwab <schwab@redhat.com>
85183
85184 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
85185 fanotify_mark.
85186 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85187
85188 2010-09-14 Andreas Schwab <schwab@redhat.com>
85189
85190 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
85191 variables after CHECK_SP call.
85192 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
85193
85194 2010-09-13 Andreas Schwab <schwab@redhat.com>
85195 Ulrich Drepper <drepper@redhat.com>
85196
85197 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
85198 re-relocationg ld.so.
85199 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
85200 _dl_init_paths call.
85201 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
85202 here anymore.
85203
85204 2010-09-14 Ulrich Drepper <drepper@redhat.com>
85205
85206 * resolv/res_init.c (__res_vinit): Count the default server we added.
85207
85208 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
85209 Ulrich Drepper <drepper@redhat.com>
85210
85211 [BZ #11968]
85212 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85213 (____longjmp_chk): Use %ebx for saving value across system call.
85214 Add unwind info.
85215
85216 2010-09-06 Andreas Schwab <schwab@redhat.com>
85217
85218 * manual/Makefile: Don't mix pattern rules with normal rules.
85219
85220 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
85221
85222 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
85223 operation.
85224 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
85225 * libio/iofopncook.c (_IO_cookie_init): Likewise.
85226 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
85227 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
85228 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85229 Likewise.
85230
85231 2010-09-04 Ulrich Drepper <drepper@redhat.com>
85232
85233 [BZ #11979]
85234 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
85235 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
85236
85237 2010-09-02 Ulrich Drepper <drepper@redhat.com>
85238
85239 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
85240 * sysdeps/x86_64/addmul_1.S: Likewise.
85241 * sysdeps/x86_64/lshift.S: Likewise.
85242 * sysdeps/x86_64/mul_1.S: Likewise.
85243 * sysdeps/x86_64/rshift.S: Likewise.
85244 * sysdeps/x86_64/sub_n.S: Likewise.
85245 * sysdeps/x86_64/submul_1.S: Likewise.
85246
85247 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
85248
85249 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
85250 Define __sched_param instead of SCHED_* and sched_param when
85251 <bits/sched.h> is included with __need_schedparam defined.
85252 * bits/sched.h [__need_schedparam]
85253 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
85254 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
85255 (__defined_schedparam): Define to 1.
85256 (__sched_param): New structure, identical to sched_param.
85257 (__need_schedparam): Undefine.
85258
85259 2010-08-31 Mike Frysinger <vapier@gentoo.org>
85260
85261 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
85262 (epoll_create1): Declare.
85263
85264 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
85265
85266 2010-08-31 Andreas Schwab <schwab@redhat.com>
85267
85268 [BZ #7066]
85269 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
85270 shifting retval into place.
85271
85272 2010-09-01 Ulrich Drepper <drepper@redhat.com>
85273
85274 * nis/rpcsvc/nis.h: Update copyright notice.
85275 * nis/rpcsvc/nis.x: Likewise.
85276 * nis/rpcsvc/nis_callback.h: Likewise.
85277 * nis/rpcsvc/nis_callback.x: Likewise.
85278 * nis/rpcsvc/nis_object.x: Likewise.
85279 * nis/rpcsvc/nis_tags.h: Likewise.
85280 * nis/rpcsvc/yp.h: Likewise.
85281 * nis/rpcsvc/yp.x: Likewise.
85282 * nis/rpcsvc/ypupd.h: Likewise.
85283 * nis/yp_xdr.c: Likewise.
85284 * nis/ypupdate_xdr.c: Likewise.
85285
85286 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
85287 mainly the body of pmap_getport. Add parameters to specify timeouts.
85288 (pmap_getport): Use __libc_rpc_getport.
85289 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
85290 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
85291 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
85292
85293 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
85294
85295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
85296 fanotify_mark.
85297
85298 2010-08-27 Roland McGrath <roland@redhat.com>
85299
85300 * sysdeps/i386/i686/multiarch/Makefile
85301 (CFLAGS-varshift.c): New variable.
85302
85303 2010-08-27 Ulrich Drepper <drepper@redhat.com>
85304
85305 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
85306 * sysdeps/i386/i686/multiarch/varshift.c: New file.
85307
85308 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
85309
85310 * sysdeps/x86_64/strlen.S: Minimal code improvement.
85311
85312 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
85313
85314 * sysdeps/x86_64/strlen.S: Unroll the loop.
85315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85316 strlen-sse2 strlen-sse2-bsf.
85317 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
85318 __strlen_no_bsf if bit_Slow_BSF is set.
85319 (__strlen_sse42): Removed.
85320 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
85321 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
85322
85323 2010-08-25 Roland McGrath <roland@redhat.com>
85324
85325 * sysdeps/x86_64/multiarch/varshift.S: File removed.
85326 * sysdeps/x86_64/multiarch/varshift.c: New file.
85327 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
85328 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
85329 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
85330 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
85331
85332 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
85333
85334 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85335 strlen-sse2 strlen-sse2-bsf.
85336 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
85337 __strlen_sse2_bsf if bit_Slow_BSF is unset.
85338 (__strlen_sse2): Removed.
85339 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
85340 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
85341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
85342 bit_Slow_BSF for Atom.
85343 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
85344 (index_Slow_BSF): Define.
85345 (HAS_SLOW_BSF): Define.
85346
85347 2010-08-25 Ulrich Drepper <drepper@redhat.com>
85348
85349 [BZ #10851]
85350 * resolv/res_init.c (__res_vinit): When no server address at all
85351 is given default to loopback.
85352
85353 2010-08-24 Roland McGrath <roland@redhat.com>
85354
85355 * configure.in: Remove config-name.h generation.
85356 * configure: Regenerated.
85357 * config-name.in: File removed.
85358 * scripts/config-uname.sh: New file.
85359 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
85360 ($(objdir)config-name.h): New target.
85361
85362 * sunrpc/rpc_parse.h: Avoid nested comment.
85363
85364 2010-08-24 Richard Henderson <rth@redhat.com>
85365 Ulrich Drepper <drepper@redhat.com>
85366 H.J. Lu <hongjiu.lu@intel.com>
85367
85368 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
85369 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
85370 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
85371 Replace _mm_srli_si128 with __m128i_shift_right. Replace
85372 _mm_alignr_epi8 with _mm_loadu_si128.
85373 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
85374 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
85375 (__m128i_shift_right): Removed.
85376 * sysdeps/i386/i686/multiarch/varshift.h: New file.
85377 * sysdeps/i386/i686/multiarch/varshift.S: New file.
85378 * sysdeps/x86_64/multiarch/varshift.h: New file.
85379 * sysdeps/x86_64/multiarch/varshift.S: New file.
85380
85381 2010-08-21 Mike Frysinger <vapier@gentoo.org>
85382
85383 * configure.in: Move assembler checks to before sysdep dir checking.
85384
85385 2010-08-20 Petr Baudis <pasky@suse.cz>
85386
85387 * LICENSES: Sync the sunrpc license.
85388
85389 2010-08-19 Ulrich Drepper <drepper@redhat.com>
85390
85391 * sunrpc/auth_des.c: Update copyright notice once again.
85392 * sunrpc/auth_none.c: Likewise.
85393 * sunrpc/auth_unix.c: Likewise.
85394 * sunrpc/authdes_prot.c: Likewise.
85395 * sunrpc/authuxprot.c: Likewise.
85396 * sunrpc/bindrsvprt.c: Likewise.
85397 * sunrpc/clnt_gen.c: Likewise.
85398 * sunrpc/clnt_perr.c: Likewise.
85399 * sunrpc/clnt_raw.c: Likewise.
85400 * sunrpc/clnt_simp.c: Likewise.
85401 * sunrpc/clnt_tcp.c: Likewise.
85402 * sunrpc/clnt_udp.c: Likewise.
85403 * sunrpc/clnt_unix.c: Likewise.
85404 * sunrpc/des_crypt.c: Likewise.
85405 * sunrpc/des_soft.c: Likewise.
85406 * sunrpc/get_myaddr.c: Likewise.
85407 * sunrpc/getrpcport.c: Likewise.
85408 * sunrpc/key_call.c: Likewise.
85409 * sunrpc/key_prot.c: Likewise.
85410 * sunrpc/openchild.c: Likewise.
85411 * sunrpc/pm_getmaps.c: Likewise.
85412 * sunrpc/pm_getport.c: Likewise.
85413 * sunrpc/pmap_clnt.c: Likewise.
85414 * sunrpc/pmap_prot.c: Likewise.
85415 * sunrpc/pmap_prot2.c: Likewise.
85416 * sunrpc/pmap_rmt.c: Likewise.
85417 * sunrpc/rpc/auth.h: Likewise.
85418 * sunrpc/rpc/auth_unix.h: Likewise.
85419 * sunrpc/rpc/clnt.h: Likewise.
85420 * sunrpc/rpc/des_crypt.h: Likewise.
85421 * sunrpc/rpc/key_prot.h: Likewise.
85422 * sunrpc/rpc/netdb.h: Likewise.
85423 * sunrpc/rpc/pmap_clnt.h: Likewise.
85424 * sunrpc/rpc/pmap_prot.h: Likewise.
85425 * sunrpc/rpc/pmap_rmt.h: Likewise.
85426 * sunrpc/rpc/rpc.h: Likewise.
85427 * sunrpc/rpc/rpc_des.h: Likewise.
85428 * sunrpc/rpc/rpc_msg.h: Likewise.
85429 * sunrpc/rpc/svc.h: Likewise.
85430 * sunrpc/rpc/svc_auth.h: Likewise.
85431 * sunrpc/rpc/types.h: Likewise.
85432 * sunrpc/rpc/xdr.h: Likewise.
85433 * sunrpc/rpc_clntout.c: Likewise.
85434 * sunrpc/rpc_cmsg.c: Likewise.
85435 * sunrpc/rpc_common.c: Likewise.
85436 * sunrpc/rpc_cout.c: Likewise.
85437 * sunrpc/rpc_dtable.c: Likewise.
85438 * sunrpc/rpc_hout.c: Likewise.
85439 * sunrpc/rpc_main.c: Likewise.
85440 * sunrpc/rpc_parse.c: Likewise.
85441 * sunrpc/rpc_parse.h: Likewise.
85442 * sunrpc/rpc_prot.c: Likewise.
85443 * sunrpc/rpc_sample.c: Likewise.
85444 * sunrpc/rpc_scan.c: Likewise.
85445 * sunrpc/rpc_scan.h: Likewise.
85446 * sunrpc/rpc_svcout.c: Likewise.
85447 * sunrpc/rpc_tblout.c: Likewise.
85448 * sunrpc/rpc_util.c: Likewise.
85449 * sunrpc/rpc_util.h: Likewise.
85450 * sunrpc/rpcinfo.c: Likewise.
85451 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
85452 * sunrpc/rpcsvc/key_prot.x: Likewise.
85453 * sunrpc/rpcsvc/klm_prot.x: Likewise.
85454 * sunrpc/rpcsvc/mount.x: Likewise.
85455 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
85456 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
85457 * sunrpc/rpcsvc/rex.x: Likewise.
85458 * sunrpc/rpcsvc/rstat.x: Likewise.
85459 * sunrpc/rpcsvc/rusers.x: Likewise.
85460 * sunrpc/rpcsvc/sm_inter.x: Likewise.
85461 * sunrpc/rpcsvc/spray.x: Likewise.
85462 * sunrpc/rpcsvc/yppasswd.x: Likewise.
85463 * sunrpc/rtime.c: Likewise.
85464 * sunrpc/svc.c: Likewise.
85465 * sunrpc/svc_auth.c: Likewise.
85466 * sunrpc/svc_authux.c: Likewise.
85467 * sunrpc/svc_raw.c: Likewise.
85468 * sunrpc/svc_run.c: Likewise.
85469 * sunrpc/svc_simple.c: Likewise.
85470 * sunrpc/svc_tcp.c: Likewise.
85471 * sunrpc/svc_udp.c: Likewise.
85472 * sunrpc/svc_unix.c: Likewise.
85473 * sunrpc/svcauth_des.c: Likewise.
85474 * sunrpc/xcrypt.c: Likewise.
85475 * sunrpc/xdr.c: Likewise.
85476 * sunrpc/xdr_array.c: Likewise.
85477 * sunrpc/xdr_float.c: Likewise.
85478 * sunrpc/xdr_mem.c: Likewise.
85479 * sunrpc/xdr_rec.c: Likewise.
85480 * sunrpc/xdr_ref.c: Likewise.
85481 * sunrpc/xdr_sizeof.c: Likewise.
85482 * sunrpc/xdr_stdio.c: Likewise.
85483
85484 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
85485 handling.
85486
85487 2010-08-19 Andreas Schwab <schwab@redhat.com>
85488
85489 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
85490
85491 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
85492
85493 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
85494 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
85495 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
85496 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
85497 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
85498 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
85499 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
85500 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
85501 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
85502 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
85503 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
85504 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
85505 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
85506 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
85507
85508 2010-07-26 Anton Blanchard <anton@samba.org>
85509
85510 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
85511 * malloc/arena.c (heap_trim): Likewise.
85512
85513 2010-08-16 Ulrich Drepper <drepper@redhat.com>
85514
85515 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
85516 here. Not...
85517 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
85518 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
85519
85520 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
85521
85522 * sysdeps/i386/elf/Makefile: New file.
85523
85524 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
85525
85526 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
85527 from fanotify_init.
85528 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
85529 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85530
85531 2010-08-15 Ulrich Drepper <drepper@redhat.com>
85532
85533 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
85534 of strncasecmp_l.
85535 * sysdeps/multiarch/strcmp.S: Likewise.
85536
85537 2010-08-14 Ulrich Drepper <drepper@redhat.com>
85538
85539 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85540 strncase_l-nonascii.
85541 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85542 Add strncase_l-ssse3.
85543 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
85544 * sysdeps/x86_64/strcmp.S: Likewise.
85545 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
85546 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
85547 * sysdeps/x86_64/strncase.S: New file.
85548 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
85549 * sysdeps/x86_64/strncase_l.S: New file.
85550 * string/Makefile (strop-tests): Add strncasecmp.
85551 * string/test-strncasecmp.c: New file.
85552
85553 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
85554 warning.
85555
85556 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
85557 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
85558
85559 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
85560
85561 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
85562
85563 2010-08-12 Ulrich Drepper <drepper@redhat.com>
85564
85565 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
85566 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
85567 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
85568
85569 2010-05-01 Alan Modra <amodra@gmail.com>
85570
85571 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
85572 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
85573 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
85574 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
85575 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
85576 tidying. Don't tail-call __sigjmp_save for static lib.
85577 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
85578 save location.
85579 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
85580 (CALL_MCOUNT): Add eh info, and nop after bl.
85581 (TAIL_CALL_SYSCALL_ERROR): New macro.
85582 (PSEUDO_RET): Use it.
85583 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
85584 Correct save location of integer regs and cr.
85585 (_dl_profile_resolve): Correct cr save location. Delete nops
85586 after bl when SHARED. Reduce cfi size a little by better
85587 placement of cfi directives.
85588 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
85589 make a stack frame. Instead use parm save area as a temp.
85590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
85591 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
85592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
85593 Don't make a stack frame for parent, use parm save area.
85594 Increase child stack frame to 112 bytes. Don't save unused reg,
85595 and adjust reg usage. Set up cfi on error recovery and
85596 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
85597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
85598 (__makecontext): Add dummy nop after jump to exit.
85599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
85600 Use correct parm save area and cr save, reduce stack frame.
85601 Correct cfi for possible PSEUDO_RET frame setup.
85602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
85603 Branch to local label emitted by PSEUDO_RET rather than
85604 __syscall_error.
85605
85606 2010-08-12 Andreas Schwab <schwab@redhat.com>
85607
85608 [BZ #11904]
85609 * locale/programs/locale.c (print_assignment): New function.
85610 (show_locale_vars): Use it.
85611
85612 2010-08-11 Ulrich Drepper <drepper@redhat.com>
85613
85614 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
85615 field.
85616 (struct statfs64): Likewise.
85617 (_STATFS_F_FLAGS): Define.
85618 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
85619 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85620 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
85621 (ST_VALID): Define locally.
85622 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
85623 __statvfs_getflags, use the provided value.
85624 * sysdeps/unix/sysv/linux/kernel-features.h: Define
85625 __ASSUME_STATFS_F_FLAGS.
85626
85627 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
85628
85629 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
85630 Add sys/fanotify.h.
85631 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
85632 fanotify_mask for GLIBC_2.13.
85633 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
85634 fanotify_init and fanotify_mark.
85635 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85636 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
85637
85638 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
85639 Add prlimit.
85640 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
85641 prlimit64 for GLIBC_2.13.
85642 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
85643 prlimit64.
85644 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
85645 syscall.
85646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
85647 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85648 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
85649 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
85650 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
85651 add prlimit alias.
85652 * sysdeps/unix/sysv/linux/prlimit.c: New file.
85653
85654 [BZ #11903]
85655 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
85656 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
85657
85658 * nss/Makefile: Add rules to build and run tst-nss-test1.
85659 * shlib-versions: Add entry for libnss_test1.
85660 * nss/nss_test1.c: New file.
85661 * nss/tst-nss-test1.c: New file.
85662
85663 * nss/nsswitch.c (__nss_database_custom): Define new variable.
85664 (__nss_configure_lookup): Set appropriate entry in
85665 __nss_configure_lookup to true.
85666 * nss/nsswitch.h: Define enum with indeces of databases in
85667 databases and __nss_database_custom arrays. Declare
85668 __nss_database_custom.
85669 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
85670 to avoid using nscd when custom rules are installed.
85671 * nss/getXXbyYY_r.c: Likewise.
85672 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
85673
85674 * nss/nss_files/files-parse.c: Whitespace fixes.
85675
85676 2010-08-09 Ulrich Drepper <drepper@redhat.com>
85677
85678 [BZ #11883]
85679 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
85680 * posix/fnmatch_loop.c: Likewise.
85681
85682 2010-07-17 Andi Kleen <ak@linux.intel.com>
85683
85684 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
85685 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
85686 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
85687 * Versions.def [GLIBC_2.13]: Add.
85688
85689 2010-08-06 Ulrich Drepper <drepper@redhat.com>
85690
85691 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85692 Also fail if tpwd after pwuid call is NULL.
85693
85694 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
85695
85696 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
85697 when converting to ms.
85698
85699 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
85700
85701 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
85702 EOPNOTSUPP errors with ENOTTY.
85703 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
85704 EOPNOTSUPP errors with ENOTTY.
85705
85706 2010-07-31 Ulrich Drepper <drepper@redhat.com>
85707
85708 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85709 Add strcasecmp_l-ssse3.
85710 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
85711 strcasecmp.
85712 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
85713 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
85714 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
85715
85716 2010-07-30 Ulrich Drepper <drepper@redhat.com>
85717
85718 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
85719
85720 * string/Makefile (strop-tests): Add strcasecmp.
85721 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85722 strcasecmp_l-nonascii.
85723 (gen-as-const-headers): Add locale-defines.sym.
85724 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
85725 * sysdeps/x86_64/strcasecmp.S: New file.
85726 * sysdeps/x86_64/strcasecmp_l.S: New file.
85727 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
85728 * sysdeps/x86_64/locale-defines.sym: New file.
85729 * string/test-strcasecmp.c: New file.
85730
85731 * string/test-strcasestr.c: Test both ends of the range of characters.
85732 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
85733
85734 2010-07-29 Roland McGrath <roland@redhat.com>
85735
85736 [BZ #11856]
85737 * manual/locale.texi (Yes-or-No Questions): Fix example code.
85738
85739 2010-07-27 Ulrich Drepper <drepper@redhat.com>
85740
85741 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
85742 for ld.so.
85743
85744 2010-07-27 Andreas Schwab <schwab@redhat.com>
85745
85746 * manual/memory.texi (Malloc Tunable Parameters): Document
85747 M_PERTURB.
85748
85749 2010-07-26 Roland McGrath <roland@redhat.com>
85750
85751 [BZ #11840]
85752 * configure.in (-fgnu89-inline check): Set and substitute
85753 gnu89_inline, not libc_cv_gnu89_inline.
85754 * configure: Regenerated.
85755 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
85756
85757 2010-07-26 Ulrich Drepper <drepper@redhat.com>
85758
85759 * string/test-strnlen.c: New file.
85760 * string/Makefile (strop-tests): Add strnlen.
85761 * string/tester.c (test_strnlen): Add a few more test cases.
85762 * string/tst-strlen.c: Better error reporting.
85763
85764 * sysdeps/x86_64/strnlen.S: New file.
85765
85766 2010-07-24 Ulrich Drepper <drepper@redhat.com>
85767
85768 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
85769 lower-latency instructions.
85770
85771 2010-07-23 Ulrich Drepper <drepper@redhat.com>
85772
85773 * string/test-strcasestr.c: New file.
85774 * string/test-strstr.c: New file.
85775 * string/Makefile (strop-tests): Add strstr and strcasestr.
85776 * string/str-two-way.h: Don't undefine MAX.
85777 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
85778
85779 2010-07-21 Andreas Schwab <schwab@redhat.com>
85780
85781 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85782 strcasestr-nonascii.
85783 (CFLAGS-strcasestr-nonascii.c): Define.
85784 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
85785 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
85786 Remove unused attribute.
85787
85788 2010-07-20 Roland McGrath <roland@redhat.com>
85789
85790 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
85791 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
85792 ld.so.cache was broken. With it, there is no way to disable dsocaps
85793 like LD_HWCAP_MASK can disable hwcaps.
85794
85795 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
85796
85797 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
85798
85799 2010-07-16 Ulrich Drepper <drepper@redhat.com>
85800
85801 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
85802 call in strcasestr.
85803 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
85804 __strcasestr_sse42_nonascii.
85805 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
85806 strcasestr-nonascii.c.
85807 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
85808
85809 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
85810
85811 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
85812 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
85813 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
85814 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
85815
85816 2010-07-09 Ulrich Drepper <drepper@redhat.com>
85817
85818 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
85819 fcntl.
85820
85821 2010-07-06 Andreas Schwab <schwab@redhat.com>
85822
85823 [BZ #11577]
85824 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
85825 dl_signal_cerror.
85826
85827 2010-07-06 Ulrich Drepper <drepper@redhat.com>
85828
85829 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
85830 _PC_PIPE_BUF using F_GETPIPE_SZ.
85831
85832 2010-07-05 Roland McGrath <roland@redhat.com>
85833
85834 * manual/arith.texi (Rounding Functions): Fix rint description
85835 implicit in round description.
85836
85837 2010-07-02 Ulrich Drepper <drepper@redhat.com>
85838
85839 * elf/Makefile: Fix linking for a few tests to make recent linker
85840 happy.
85841
85842 2010-06-30 Andreas Schwab <schwab@redhat.com>
85843
85844 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85845 $(common-objpfx)libc_nonshared.a.
85846
85847 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
85848
85849 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
85850 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
85851 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85852 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85853 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
85854 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
85855 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85856 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
85858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
85859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
85860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
85862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
85864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
85865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
85866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
85867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
85869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
85871 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
85872 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
85873 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
85874 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
85875 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
85876 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
85877 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
85878 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
85879 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
85880 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85881 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85882 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85897
85898 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
85899
85900 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85901 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
85902 * string/memmove.c (memmove): Renamed to ...
85903 (MEMMOVE): ...this. Default to memmove.
85904 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85905 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85906 (END_CHK): Define.
85907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85908 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85909 mempcpy-ssse3-back memmove-ssse3-back.
85910 * sysdeps/x86_64/multiarch/bcopy.S: New file .
85911 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85912 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85913 * sysdeps/x86_64/multiarch/memcpy.S: New file.
85914 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85915 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85916 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85917 * sysdeps/x86_64/multiarch/memmove.c: New file.
85918 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85919 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85920 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85921 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85922 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85923 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85924 Define.
85925 (index_Fast_Copy_Backward): Define.
85926 (HAS_ARCH_FEATURE): Define.
85927 (HAS_FAST_REP_STRING): Define.
85928 (HAS_FAST_COPY_BACKWARD): Define.
85929
85930 2010-06-21 Andreas Schwab <schwab@redhat.com>
85931
85932 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85933 Restore proper fallback handling.
85934
85935 2010-06-19 Ulrich Drepper <drepper@redhat.com>
85936
85937 [BZ #11701]
85938 * posix/group_member.c (__group_member): Correct checking loop.
85939
85940 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85941 OOM in getpwuid_r correctly. Return error number when the caller
85942 should return, otherwise -1.
85943 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85944 call returning > 0 value.
85945 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85946
85947 2010-06-07 Andreas Schwab <schwab@redhat.com>
85948
85949 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85950 libc_nonshared.a from targets in modules-names.
85951
85952 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
85953
85954 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85955 requires it.
85956
85957 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
85958
85959 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85960 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85961 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85962 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85963
85964 2010-06-02 Andreas Schwab <schwab@redhat.com>
85965
85966 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85967
85968 2010-06-14 Ulrich Drepper <drepper@redhat.com>
85969
85970 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85971 and F_GETPIPE_SZ.
85972 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85973 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85974 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85975 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85976 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85977 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85978
85979 2010-06-14 Roland McGrath <roland@redhat.com>
85980
85981 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85982
85983 2010-06-07 Jakub Jelinek <jakub@redhat.com>
85984
85985 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85986 __REDIRECT followed by __THROW.
85987 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85988 * posix/getopt.h (getopt): Likewise.
85989
85990 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
85991
85992 * hurd/lookup-at.c (__file_name_lookup_at): Accept
85993 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
85994 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85995 in AT_FLAGS.
85996 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85997 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85998
85999 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
86000
86001 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
86002
86003 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
86004
86005 [BZ #11640]
86006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86007 Properly check family and model.
86008
86009 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
86010
86011 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
86012
86013 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
86014
86015 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
86016
86017 2010-05-21 Ulrich Drepper <drepper@redhat.com>
86018
86019 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
86020 symbol reference.
86021
86022 2010-05-19 Andreas Schwab <schwab@redhat.com>
86023
86024 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
86025 symbol reference.
86026
86027 2010-05-21 Andreas Schwab <schwab@redhat.com>
86028
86029 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
86030 and internal_recvmmsg.
86031 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
86032 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
86033 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
86034 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
86035
86036 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
86037 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
86038 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
86039
86040 2010-05-20 Andreas Schwab <schwab@redhat.com>
86041
86042 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
86043
86044 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
86045
86046 POWER7 optimizations.
86047 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
86048 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
86049
86050 2010-05-19 Ulrich Drepper <drepper@redhat.com>
86051
86052 * version.h: Update for 2.13 development version.
86053
86054 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
86055
86056 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
86057 exceptions. Return 0.
86058
86059 2010-05-07 Roland McGrath <roland@redhat.com>
86060
86061 * elf/ldconfig.c (main): Add a const.
86062
86063 2010-05-06 Ulrich Drepper <drepper@redhat.com>
86064
86065 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
86066 (args_options): Add no-idn option.
86067 (ahosts_keys_int): Add idn_flags to ai_flags.
86068 (parse_option): Handle 'i' option to clear idn_flags.
86069
86070 * malloc/malloc.c (_int_free): Possible race in the most recently
86071 added check. Only act on the data if no current modification
86072 happened.
86073
86074 See ChangeLog.17 for earlier changes.